Date: Tue, 25 Nov 2003 23:55:55 +1000 (EST) From: Stephen McKay <smckay@internode.on.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/59682: portupgrade uses ports when you want it to use packages Message-ID: <200311251355.hAPDttJJ009941@dungeon.home> Resent-Message-ID: <200311251400.hAPE0dlI099951@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 59682 >Category: ports >Synopsis: portupgrade uses ports when you want it to use packages >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 25 06:00:39 PST 2003 >Closed-Date: >Last-Modified: >Originator: Stephen McKay >Release: FreeBSD 4.9-RELEASE i386 >Organization: none >Environment: >Description: I'm updating a machine to 4.9-RELEASE, and upgrading all the ports too. I've mirrored all the packages locally, and I'm trying to get portupgrade to stop downloading and building ports from source. The -PP flag should do that but it is not always effective, as shown here: ... ** Package name changed from 'gtk-thinice-engine' (x11-toolkits/gnome-themes) to 'gnome-themes' (x11-toolkits/gnome-themes). ---> Upgrading 'gtk-thinice-engine-2.0.2' to 'gnome-themes-2.4.0' (x11-toolkits /gnome-themes) ---> Building '/usr/ports/x11-toolkits/gnome-themes' ... Even though gnome-themes-2.4.0.tgz (the package) was there for the taking, portupgrade downloaded the source and started compiling it. Heck, by that point in the upgrade, gnome-themes was probably at 2.4.0 already, so that's doubly bad. Since the ports build system was now in charge, all sorts of stuff was pulled in and built from source, even though prebuilt packages for all of them were ready to be installed. Eventually it all fell over since port building code doesn't do upgrading very well. >How-To-Repeat: "portupgrade -PP gtk-thinice-engine" seems to do it for me. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311251355.hAPDttJJ009941>