From owner-freebsd-ports@FreeBSD.ORG Tue May 15 21:52:55 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A7F616A400 for ; Tue, 15 May 2007 21:52:55 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 3F1EA13C458 for ; Tue, 15 May 2007 21:52:55 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id B978E1A3C1A; Tue, 15 May 2007 14:53:45 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id F1DA551488; Tue, 15 May 2007 17:52:53 -0400 (EDT) Date: Tue, 15 May 2007 17:52:53 -0400 From: Kris Kennaway To: Sam Lawrance Message-ID: <20070515215253.GA43265@xor.obsecurity.org> References: <20070510212817.GA67897@xor.obsecurity.org> <20070511202905.GO826@turion.vk2pj.dyndns.org> <20070511205243.GI1066@k7.mavetju> <200705120235.01113.danny@ricin.com> <20070512011248.GA39007@xor.obsecurity.org> <20070513071312.GA34544@xor.obsecurity.org> <2A6AA96C-4526-4A72-B30F-973B0C165EF1@brooknet.com.au> <20070513072616.GA34743@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: Danny Pansters , freebsd-ports@freebsd.org, Kris Kennaway Subject: Re: first? patch [ HEADS UP: xorg 7.2 ready for testing ] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 21:52:55 -0000 On Mon, May 14, 2007 at 10:29:30PM +1000, Sam Lawrance wrote: > > On 13/05/2007, at 5:26 PM, Kris Kennaway wrote: > > >On Sun, May 13, 2007 at 05:20:53PM +1000, Sam Lawrance wrote: > >> > >>On 13/05/2007, at 5:13 PM, Kris Kennaway wrote: > >> > >>>On Sun, May 13, 2007 at 05:04:29PM +1000, Sam Lawrance wrote: > >>>> > >>>>On 12/05/2007, at 11:12 AM, Kris Kennaway wrote: > >>>> > >>>>>On Sat, May 12, 2007 at 02:35:00AM +0200, Danny Pansters wrote: > >>>>> > >>>>>>I ran into a little problem with the gstreamer-plugins, to be > >>>>>>exact with > >>>>>>the 'bad' plugin. What's in a name. Attached patch to gstreamer- > >>>>>>plugins which > >>>>>>eliminates X11BASE from configure args fixes it. > >>>>> > >>>>>This actually seems to indicate that something you have installed > >>>>>references /usr/X11R6 in a .la file. I actually built this > >>>>>successfully myself during the upgrade tests, so I guess something > >>>>>went wrong with the upgrade on your machine. Can you please > >>>>>provide > >>>>>the full log, as well as the result of > >>>>> > >>>>>find /usr/local/lib -name \*.la | xargs grep /usr/X11R6/lib/ > >>>>>libfontconfig.la > >>>> > >>>>Just a quick "me too". Last night I installed 6.2-RELEASE with > >>>>gnome > >>>>and goffice from the release packageset, then proceeded to > >>>>follow the > >>>>xorg upgrade instructions. The two errors I got are listed > >>>>below. I > >>>>will try to investigate tonight. > >>> > >>>OK, still waiting for the log from Danny, so maybe you'll get in > >>>first > >>>with yours. > >> > >>I hope there's a nice prize, or showgirls springing out of big cakes. > >> > >>http://people.freebsd.org/~lawrance/xorg-upgrade.bz2 > > I think I have figured this out. In short: portupgrade does not > include new, previously not installed, dependencies in its list of > tasks when updating. In this particular case, gstreamer-plugins-bad > was built before one of its dependencies was updated, and we end up > with a crufty old reference to X11R6. > > Less short: > > Before the xorg upgrade, gstreamer-plugins-bad was not installed on > my system. It was installed during the upgrade as part of running > "portupgrade -a". > > Upon further inspection of the xorg-upgrade log above I noticed that > there were two build attempts for gstreamer-plugins-bad, and neither > was directly performed by portupgrade (ie. the ports framework did > it). The first attempt was as a dependency of gstreamer-plugins- > dts. The second (and successful) attempt was as a dependency of > gstreamer-plugins-xvid. > > I reverted the system to its original state and ran "portupgrade -an" > to show the order of updates that portupgrade would perform. > gstreamer-plugins-bad was not in the list. I think this means is > that if a port being upgraded has a new dependency, that dependency > will _not_ be included in the list portupgrade uses to determine > which packages to update and at what point. That sounds correct. It is the same portupgrade design flaw that forces us to do the manual out-of-order libXft upgrade :( I guess we will have to also special-case this port too, perhaps by replacing the portupgrade -a by portupgrade -a -x "gstreamer*" and then adding a portupgrade "gstreamer*" step afterwards for users who have it installed. If anyone can think of a cleaner solution please let me know. Kris