From owner-freebsd-perl@FreeBSD.ORG Mon Jan 5 11:04:17 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6158D16A4CE for ; Mon, 5 Jan 2004 11:04:17 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07BC343D8D for ; Mon, 5 Jan 2004 11:03:49 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.10/8.12.10) with ESMTP id i05J2xFR017738 for ; Mon, 5 Jan 2004 11:02:59 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i05J2xot017732 for perl@freebsd.org; Mon, 5 Jan 2004 11:02:59 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 5 Jan 2004 11:02:59 -0800 (PST) Message-Id: <200401051902.i05J2xot017732@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: perl@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2004 19:04:17 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/09/29] ports/57384 perl [PATCH] mail/p5-Mail-SpamAssassin 2.60 1 problem total. From owner-freebsd-perl@FreeBSD.ORG Tue Jan 6 09:51:46 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AA4116A4CE; Tue, 6 Jan 2004 09:51:46 -0800 (PST) Received: from odot.okladot.state.ok.us (odot.okladot.state.ok.us [192.149.244.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD65043D3F; Tue, 6 Jan 2004 09:51:41 -0800 (PST) (envelope-from root@techpc04.okladot.state.ok.us) Received: from notes9c.okladot.state.ok.us (notes9a.okladot.state.ok.us [10.36.36.31])LAA23120; Tue, 6 Jan 2004 11:50:56 -0600 Received: from techpc04.okladot.state.ok.us ([199.27.9.37]) by notes9c.okladot.state.ok.us (Lotus Domino Release 5.0.12) with ESMTP id 2004010611521905:384088 ; Tue, 6 Jan 2004 11:52:19 -0600 Received: by techpc04.okladot.state.ok.us (Postfix, from userid 0) id 4355C5C29; Tue, 6 Jan 2004 11:52:38 -0600 (CST) To: Joe Marcus Clarke In-Reply-To: <1073064581.779.10.camel@gyros> References: <20031231234158.8EF1C5C29@techpc04.okladot.state.ok.us> <20031231234158.8EF1C5C29@techpc04.okladot.state.ok.us> <1073064581.779.10.camel@gyros> Message-Id: <20040106175238.4355C5C29@techpc04.okladot.state.ok.us> Date: Tue, 6 Jan 2004 11:52:38 -0600 (CST) From: root@techpc04.okladot.state.ok.us (UDSD387) X-MIMETrack: Itemize by SMTP Server on Notes9c/ODOT(Release 5.0.12 |February 13, 2003) at 01/06/2004 11:52:19 AM,2003) at 01/06/2004 11:52:19 AM, Serialize complete at 01/06/2004 11:52:19 AM cc: freebsd-gnome@freebsd.org cc: freebsd-perl@freebsd.org cc: freebsd-ports@freebsd.org cc: Paul Seniura Subject: follow-up Re: I'm having an awful time updating gdm2 and other ports X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Seniura List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 17:51:46 -0000 On Friday January 02 2003, Joe Marcus Clarke said: > On Wed, 2003-12-31 at 18:41, Paul Seniura wrote: > > The root of this whole problem is that starting-up Gnome2 gets stuck after it shows the splash screen. Or if I have it bring up the Login Panel first, it won't go past you entering your id & password. I have no tell-tale signs in the logs that show what the problem actually is. > > > > I'm now trying to 'portupgrade gdm2' to get it updated with yesterday's CVS changes (I'm actually using CTM to track -Current). > > > > Talk about "when it rains, it pours..." > > > > The Makefile for gdm2 does no checking whatsoever for perl itself and perl macros in its BUILD_DEPENDS, as some other ports properly do. > > > > Earlier this week I had done a 'use.perl port' and have had no problems with configure/installing new ports or updating them. > > Not until yesterday's gdm2 changes came thru, that is. > > > > This is what 'portupgrade gdm2' shows today: > > > > [...] > > ===> Configuring for gdm2-2.4.4.6 > > checking for intltool >= 0.21... 0.28 found > > checking for perl... /usr/bin/perl > > configure: error: XML::Parser perl module is required for intltool > > ===> Script "configure" failed unexpectedly. > > Please report the problem to gnome@FreeBSD.org [maintainer] and attach > > the "/src/ports/x11/gdm2/work/gdm-2.4.4.6/config.log" including the > > output of the failure of your make command. Also, it might be a good > > idea to provide an overview of all packages installed on your system > > (e.g. an `ls /var/db/pkg`). > > *** Error code 1 > > > > Stop in /src/ports/x11/gdm2. > > ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade1357.57 make > > ** Fix the problem and try again. > > [...] > > This Perl module is included with intltool-0.28, and is installed in a ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Well, no -- not exactly. ;) Per your suggestion, with the CTM deltas as of this morning, I did a 'portupgrade --force' to re-install 'textproc/intltool' (only). Remember 'use.perl port' is now in effect. During the 'install' phase of 'textproc/intltool' (after the 'gmake' phase), it showed: [...] ===> Installing for intltool-0.28_1 ===> intltool-0.28_1 depends on file: /usr/local/lib/perl5/site_perl/5.8.2/mach/XML/Parser.pm - not found ===> Verifying reinstall for /usr/local/lib/perl5/site_perl/5.8.2/mach/XML/Parser.pm in /usr/ports/textproc/p5-XML-Parser ===> Extracting for p5-XML-Parser-2.34 >> Checksum OK for XML-Parser-2.34.tar.gz. ===> Patching for p5-XML-Parser-2.34 [...] So the perl58 version of the 'XML::Parser' module is in its own port (not in intltool). And the above produced the desired effect i.e. to get the p5-* version of such modules installed. But there isn't such a check in x11/gdm2's Makefile -- there's no check for depending on *any* perl pieces, period. This leads me back to the original question, please see below... > non-default location with regard to Perl. However, there is a hack in > the gdm2 Makefile that points intltool-merge to this file. You probably > should try reinstalling intltool. > > > So I did 'use.port system' and 'rehash' and checked to see that /etc/make.conf was updated properly and the symlinks -- and even rebooted -- to no avail, because 'perl -v' is still showing 5.8.2 and will still cause the above problem. > > > > Yes I have seen PR/55760 but what good will it do if the maintainer won't commit that huge patch to make it 'official'? Will 55760 fix _this_ problem with gdm2 anyway? I don't see how, because gdm2 itself has no logic to check for perl and co. > > > > I have no idea what other perl modules are required by gdm2 and in which p5-* collection. > > So I thought to try installing a meta-port such as print/p5-GnomePrint to get a bunch of p5-* parts installed which would include the XML::Parser module among others, and hopefully enough of them to make gdm2 happy. > > > > "When it rains, it pours..." > > > > ...because now doing a portupgrade --new for p5-GnomePrint is griping thusly: > > > > [...] > > install -C -o root -g wheel -m 444 /src/ports/www/gtkhtml/work/gtkhtml-1.1.10/gtkhtmlConf.sh /usr/X11R6/etc/gtkhtmlConf.sh > > ===> Running ldconfig > > /sbin/ldconfig -m /usr/X11R6/lib > > ===> Registering installation for gtkhtml-1.1.10_2 > > ===> Returning to build of p5-GnomePrint-0.7009 > > ===> Configuring for p5-GnomePrint-0.7009 > > Cannot load Gtk::Install::Files: Can't locate Gtk/Install/Files.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.2/mach > > /usr/local/lib/perl5/site_perl/5.8.2 /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.2 > > /BSDPAN /usr/local/lib/perl5/5.8.2/mach /usr/local/lib/perl5/5.8.2 .) at ../Depends.pm line 93. > > > > *** Error code 2 > > > > Stop in /src/ports/print/p5-GnomePrint. > > ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade44917.47 make > > ** Fix the problem and try again. > > [...] > > This looks like You need to reinstall p5-Gtk In my earlier msg, I mentioned trying to get the prerequisite p5-* modules by choosing the p5-GnomePrint port. This is something I merely picked out of thin air, after studying what port might be a good "catch-all" -- because there doesn't seem to be any docs written on what-all you need to do if you switch 'use.perl' from 'system' to 'port'. During that same run I quoted before for p5-GnomePrint, thru a long series of required ports, 'p5-Gtk' was attempted with problems: >>>>snip>>>> [...] ===> p5-GdkImlib-0.7009 depends on file: /usr/local/lib/perl5/site_perl/5.8.2/mach/Gtk.pm - not found ===> Verifying install for /usr/local/lib/perl5/site_perl/5.8.2/mach/Gtk.pm in /usr/ports/x11-toolkits/p5-Gtk ===> Extracting for p5-Gtk-0.7009 >> Checksum OK for Gtk-Perl-0.7009.tar.gz. ===> Patching for p5-Gtk-0.7009 ===> Applying FreeBSD patches for p5-Gtk-0.7009 ===> p5-Gtk-0.7009 depends on file: /usr/local/lib/perl5/site_perl/5.8.2/XML/Writer.pm - found ===> p5-Gtk-0.7009 depends on file: /usr/local/lib/perl5/site_perl/5.8.2/mach/XML/Parser.pm - not found ===> Verifying install for /usr/local/lib/perl5/site_perl/5.8.2/mach/XML/Parser.pm in /usr/ports/textproc/p5-XML-Parser ===> Extracting for p5-XML-Parser-2.34 >> Checksum OK for XML-Parser-2.34.tar.gz. ===> Patching for p5-XML-Parser-2.34 ===> p5-XML-Parser-2.34 depends on file: /usr/local/bin/perl5.8.2 - found ===> p5-XML-Parser-2.34 depends on shared library: expat.4 - found ===> Configuring for p5-XML-Parser-2.34 Checking if your kit is complete... Looks good [...] ===> Checking if textproc/p5-XML-Parser already installed ===> p5-XML-Parser-2.34 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of textproc/p5-XML-Parser without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /src/ports/textproc/p5-XML-Parser. ===> Returning to build of p5-Gtk-0.7009 ===> p5-Gtk-0.7009 depends on file: /usr/local/bin/perl5.8.2 - found ===> p5-Gtk-0.7009 depends on executable: pkg-config - found ===> p5-Gtk-0.7009 depends on shared library: glib12.3 - found ===> p5-Gtk-0.7009 depends on shared library: gtk12.2 - found ===> Configuring for p5-Gtk-0.7009 Packages to compile: Gtk. Checking if your kit is complete... Looks good Warning: prerequisite XML::Parser 0 not found. Argument "0.4.1" isn't numeric in numeric lt (<) at /usr/local/lib/perl5/5.8.2/ExtUtils/MakeMaker.pm line 390. Subroutine MY::postamble redefined at ./Makefile.PL line 172. Current perl supports threads. Enabling thread support Located Gtk version 1.2.10... [...] Can't locate XML/Parser.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.2/mach /usr/local/lib/perl5/site_perl/5.8.2 /$ FORCE installing header: GtkTypes.h FORCE installing header: GdkTypes.h FORCE installing header: MiscTypes.h Use of uninitialized value in join or string at ../Depends.pm line 229. Use of uninitialized value in concatenation (.) or string at ../Depends.pm line 194. Use of uninitialized value in string ne at /usr/local/lib/perl5/5.8.2/BSDPAN/ExtUtils/MM_Unix.pm line 44. Unrecognized argument in LIBS ignored: '-Wl,-E' Writing Makefile for Gtk Writing Makefile for Gtk::base ===> Building for p5-Gtk-0.7009 /usr/local/bin/perl5.8.2 ../tools/genext.pl Gtk [...] ===> Returning to build of p5-Gnome-0.7009 ===> p5-Gnome-0.7009 depends on file: /usr/local/lib/perl5/site_perl/5.8.2/mach/Gtk.pm - not found ===> Verifying install for /usr/local/lib/perl5/site_perl/5.8.2/mach/Gtk.pm in /usr/ports/x11-toolkits/p5-Gtk ===> Building for p5-Gtk-0.7009 make: don't know how to make build/perl-gtk-ref.pod. Stop *** Error code 2 Stop in /src/ports/x11-toolkits/p5-Gtk/work/Gtk-Perl-0.7009. *** Error code 1 Stop in /src/ports/x11-toolkits/p5-Gtk. ===> Returning to build of p5-Gnome-0.7009 [...] <<< and probably all Perl > modules). Modules need to be built for the version of Perl under which > they will run. Well that is my _basic_ question in all this -- ;) How do we find out what "all Perl modules" are needed when we change 'use.ports' from 'system' to 'port'? And I'm only needing the pieces that are used by portupgrade (i.e. config/make scripts etc.). What brought all this on (re: my previous msg) was the fact that x11/gdm2 does not have any refs in its Makefile for requiring any perl stuff at all. Clearly gdm2 _does_ need _some_ perl pieces in order to do its 'install' phase. And there are probably many other ports that are lacking in their Makefiles in a similar manner. Some ports have such checks e.g. intltool itself; others don't that need 'em e.g. gdm2. I'll attempt to figure out the ports I got 'bit' on and try whipping up some patches (esp. gdm2 ;) if p5-GnomePrint still fails today. Unless y'all have such patches waiting in a queue somewhere? ;) > Joe > > > > The portupgrade run above had already installed a ton of prerequisite ports, and was "returning" to finish p5-GnomePrint. > > Something got missed somewhere, but I can't see where (I do the 2>&1 thing and 'tee' the output to a file for later review). > > > > I need help, please! > > > > I'm having similar trouble with KDE taking forever to start up, and once it is ready, it again takes forever to bring up a simple "Open File" dialog, no matter what app. > > > > If I keep getting into this much trouble with FreeBSD, I won't be able to show how free software can be used in our agency! 'They' will tell me to drop this project, and we'll forever be stuck with M$! When I get everything up-to-snuff with p5-* on Gnome2 and KDE, I'll see if we still have these "takes too long" problems. Thank you again, -- Paul Seniura System Specialist State of Okla. D.O.T. From owner-freebsd-perl@FreeBSD.ORG Tue Jan 6 10:11:26 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C5E016A4CE; Tue, 6 Jan 2004 10:11:26 -0800 (PST) Received: from bache.ece.cmu.edu (BACHE.ECE.CMU.EDU [128.2.129.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AE0743D2F; Tue, 6 Jan 2004 10:11:25 -0800 (PST) (envelope-from allbery@ece.cmu.edu) Received: by bache.ece.cmu.edu (Postfix, from userid 953) id F0D75B8; Tue, 6 Jan 2004 13:11:23 -0500 (EST) Received: from [128.2.138.11] (VPN11.ECE.CMU.EDU [128.2.138.11]) by bache.ece.cmu.edu (Postfix) with ESMTP id 23206A0; Tue, 6 Jan 2004 13:10:52 -0500 (EST) From: "Brandon S. Allbery KF8NH" To: Paul Seniura In-Reply-To: <20040106175238.4355C5C29@techpc04.okladot.state.ok.us> References: <20031231234158.8EF1C5C29@techpc04.okladot.state.ok.us> <20031231234158.8EF1C5C29@techpc04.okladot.state.ok.us> <1073064581.779.10.camel@gyros> <20040106175238.4355C5C29@techpc04.okladot.state.ok.us> Content-Type: text/plain Message-Id: <1073412562.32632.3.camel@pyanfar.ece.cmu.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 06 Jan 2004 13:09:22 -0500 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-35.6 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: Joe Marcus Clarke cc: freebsd-perl@freebsd.org cc: freebsd-ports@freebsd.org cc: freebsd-gnome@freebsd.org Subject: Re: follow-up Re: I'm having an awful time updating gdm2 and other ports X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 18:11:26 -0000 On Tue, 2004-01-06 at 12:52, UDSD387 wrote: > Well that is my _basic_ question in all this -- ;) > How do we find out what "all Perl modules" are needed when we change 'use.ports' from 'system' to 'port'? > And I'm only needing the pieces that are used by portupgrade (i.e. config/make scripts etc.). Any time you run "use.perl", do "env FORCE_PKG_REGISTER=1 portupgrade -f p5-\*". (I consider the need for the FORCE_PKG_REGISTER thing a bug, but don't know how to get around it. The problem appears to be that portupgrade doesn't actually upgrade them in dependency order, so the upgrade tends to lose when some module forces install of another, which discovers that it's "already installed" and aborts.) -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [WAY too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon univ. KF8NH From owner-freebsd-perl@FreeBSD.ORG Tue Jan 6 11:50:51 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88B3C16A4D0; Tue, 6 Jan 2004 11:50:51 -0800 (PST) Received: from odot.okladot.state.ok.us (odot.okladot.state.ok.us [192.149.244.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B4FE43D48; Tue, 6 Jan 2004 11:50:19 -0800 (PST) (envelope-from root@techpc04.okladot.state.ok.us) Received: from notes9c.okladot.state.ok.us (notes9a.okladot.state.ok.us [10.36.36.31])NAA52674; Tue, 6 Jan 2004 13:49:19 -0600 Received: from techpc04.okladot.state.ok.us ([199.27.9.37]) by notes9c.okladot.state.ok.us (Lotus Domino Release 5.0.12) with ESMTP id 2004010613504094:384720 ; Tue, 6 Jan 2004 13:50:40 -0600 Received: by techpc04.okladot.state.ok.us (Postfix, from userid 0) id D07EB5C29; Tue, 6 Jan 2004 13:51:08 -0600 (CST) To: "Brandon S. Allbery KF8NH" From: "Paul Seniura aka UDSD387" In-Reply-To: <1073412562.32632.3.camel@pyanfar.ece.cmu.edu> References: <20031231234158.8EF1C5C29@techpc04.okladot.state.ok.us> <20031231234158.8EF1C5C29@techpc04.okladot.state.ok.us> <1073064581.779.10.camel@gyros> <20040106175238.4355C5C29@techpc04.okladot.state.ok.us> <1073412562.32632.3.camel@pyanfar.ece.cmu.edu> Message-Id: <20040106195108.D07EB5C29@techpc04.okladot.state.ok.us> Date: Tue, 6 Jan 2004 13:51:08 -0600 (CST) X-MIMETrack: Itemize by SMTP Server on Notes9c/ODOT(Release 5.0.12 |February 13, 2003) at 01/06/2004 01:50:40 PM,2003) at 01/06/2004 01:50:41 PM, Serialize complete at 01/06/2004 01:50:41 PM cc: Paul Seniura cc: freebsd-perl@freebsd.org cc: freebsd-gnome@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: follow-up Re: I'm having an awful time updating gdm2 and other ports X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Seniura List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 19:50:51 -0000 > Any time you run "use.perl", do "env FORCE_PKG_REGISTER=1 portupgrade -f > p5-\*". Ah, thank you for reminding me -- that was going to be my last-ditch effort, install all the p5-* ports to kingdom-come. ;) Guess I'll go git it running... > (I consider the need for the FORCE_PKG_REGISTER thing a bug, but don't > know how to get around it. The problem appears to be that portupgrade > doesn't actually upgrade them in dependency order, so the upgrade tends > to lose when some module forces install of another, which discovers that > it's "already installed" and aborts.) Of course one other way of 'fixing' this has come to mind: Have FreeBSD install perl-5.8.x as its 'system' instead of 5.6.x. ;) Now that Steve Jobs is thru with his spiel, the Internet ought to be un-clogged so we can grab all those p5 things. ;) Thank you again, -- Paul Seniura System Specialist State of Okla. D.O.T. From owner-freebsd-perl@FreeBSD.ORG Tue Jan 6 14:14:29 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEF7116A4F5; Tue, 6 Jan 2004 14:14:29 -0800 (PST) Received: from odot.okladot.state.ok.us (odot.okladot.state.ok.us [192.149.244.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E40243D4C; Tue, 6 Jan 2004 14:14:20 -0800 (PST) (envelope-from root@techpc04.okladot.state.ok.us) Received: from notes9c.okladot.state.ok.us (notes9a.okladot.state.ok.us [10.36.36.31])QAA22280; Tue, 6 Jan 2004 16:13:34 -0600 Received: from techpc04.okladot.state.ok.us ([199.27.9.37]) by notes9c.okladot.state.ok.us (Lotus Domino Release 5.0.12) with ESMTP id 2004010616145617:385571 ; Tue, 6 Jan 2004 16:14:56 -0600 Received: by techpc04.okladot.state.ok.us (Postfix, from userid 0) id CCACF5C29; Tue, 6 Jan 2004 16:15:30 -0600 (CST) To: "Brandon S. Allbery KF8NH" From: "Paul Seniura" In-Reply-To: <1073412562.32632.3.camel@pyanfar.ece.cmu.edu> References: <20031231234158.8EF1C5C29@techpc04.okladot.state.ok.us> <20031231234158.8EF1C5C29@techpc04.okladot.state.ok.us> <1073064581.779.10.camel@gyros> <20040106175238.4355C5C29@techpc04.okladot.state.ok.us> <1073412562.32632.3.camel@pyanfar.ece.cmu.edu> <20040106195108.D07EB5C29@techpc04.okladot.state.ok.us> Message-Id: <20040106221530.CCACF5C29@techpc04.okladot.state.ok.us> Date: Tue, 6 Jan 2004 16:15:30 -0600 (CST) X-MIMETrack: Itemize by SMTP Server on Notes9c/ODOT(Release 5.0.12 |February 13, 2003) at 01/06/2004 04:14:56 PM,2003) at 01/06/2004 04:14:57 PM, Serialize complete at 01/06/2004 04:14:57 PM cc: freebsd-ports@freebsd.org cc: freebsd-perl@freebsd.org cc: freebsd-gnome@freebsd.org cc: Paul Seniura Subject: I need to clarify (Re: I'm having an awful time updating gdm2 and other ports) X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Seniura List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 22:14:30 -0000 Here is the scenario: You don't have any p5-* pieces installed. You've freshly switched to 'use.perl port' from 'system'. Then comes a CVS update for x11/gdm2. You need to upgrade x11/gdm2; it's already installed. This time you need its configure/make/install scripts to run under perl-5.8.x. You hope gdm2's Makefile properly specifies what it requires, like other ports do. So you run portupgrade. And it breaks during gdm2's 'install' phase. What do you do? Okay now allow me to expand on that scenario with some details, please. I did the switch from perl-5.6.x to perl-5.8.x last week without having any of the p5-* items installed beforehand. Never needed any p5-* before -- the only items needing perl at this stage are ports during their configure / make / install / run-time phases (I myself haven't needed perl). There's nothing _specifically_ telling you _what else_ to do when you do this 'use.perl port' switch. Specifically. I was 'assuming' that any port needing a perl module -- for whatever reason e.g. configure / make / install / run-time -- would have appropriate entries in that port's Makefile (some '.if's around BUILD_DEPENDS, LIB_DEPENDS, etc., as appropriate, based on PERL_VERSION or SITE_PERL (unsure?)). Then came along some CTM deltas for x11/gdm2. The next time I ran portupgrade is what got broke. x11/gdm2's Makefile does *not* have checks for perl-anything but it *did* require certain perl modules for it to be installed successfully, as shown in my previous msgs e.g. gdm2 clearly needs the XML::Parser module during its install phase so an appropriate item should've been added to gdm2's Makefile -- probably in this case to the RUN_DEPENDS string (is there such a thing as INSTALL_DEPENDS ?). Suitable mechanisms _are_ available in the Makefile and many other ports use them, but gdm2 didn't say what it needed so I never got the requisite p5-* pieces it needed e.g. gdm2's Makefile should've caused the textproc/p5-XML-Parser port to be installed before gdm2 itself was installed. So I needed a workaround. To get those p5-* pieces needed by gdm2, I was 'hoping' the p5-GnomePrint port would pull in those missing pieces if _it_ had a correct Makefile. There I go 'assuming' again... (you know what 'assume' means... ;) > Any time you run "use.perl", do "env FORCE_PKG_REGISTER=1 portupgrade -f > p5-\*". It ran very quickly. It only re-installed the p5-XML-Parser and p5-XML-Writer ports because those were the only p5-* pieces I've managed to figure out being required by gdm2 and/or other ports -- after my assumption p5-GnomePrint properly pull in those missing pieces as noted. I'm running this portupgrade 'force' again on a list of ports that failed when I tried to install p5-GnomePrint, hoping it'll eventually fix other glitches, too. I ought to open a PR for gdm2 to be fixed -- because other ports do check for "which perl" and adjust themselves accordingly. Probably a lot of other ports need to similarly check on other things besides "which perl", too. ;) -- Paul Seniura System Specialist State of Okla. D.O.T. From owner-freebsd-perl@FreeBSD.ORG Tue Jan 6 14:19:39 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F88016A4CE; Tue, 6 Jan 2004 14:19:39 -0800 (PST) Received: from ms-smtp-01-eri0.southeast.rr.com (ms-smtp-01-lbl.southeast.rr.com [24.25.9.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id D774943D39; Tue, 6 Jan 2004 14:19:36 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) i06MJTHG016715; Tue, 6 Jan 2004 17:19:29 -0500 (EST) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) i06MJKxc003037; Tue, 6 Jan 2004 17:19:20 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Paul Seniura In-Reply-To: <20040106221530.CCACF5C29@techpc04.okladot.state.ok.us> References: <20031231234158.8EF1C5C29@techpc04.okladot.state.ok.us> <20031231234158.8EF1C5C29@techpc04.okladot.state.ok.us> <1073064581.779.10.camel@gyros> <20040106175238.4355C5C29@techpc04.okladot.state.ok.us> <1073412562.32632.3.camel@pyanfar.ece.cmu.edu> <20040106195108.D07EB5C29@techpc04.okladot.state.ok.us> <20040106221530.CCACF5C29@techpc04.okladot.state.ok.us> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-u6RS13yPCKAziY5GM3PI" Organization: MarcusCom, Inc. Message-Id: <1073427579.776.37.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 06 Jan 2004 17:19:40 -0500 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on creme-brulee.marcuscom.com X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-gnome@freebsd.org cc: freebsd-perl@freebsd.org cc: freebsd-ports@freebsd.org cc: "Brandon S. Allbery KF8NH" Subject: Re: I need to clarify (Re: I'm having an awful time updating gdm2 and other ports) X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 22:19:39 -0000 --=-u6RS13yPCKAziY5GM3PI Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2004-01-06 at 17:15, Paul Seniura wrote: > Here is the scenario: >=20 > You don't have any p5-* pieces installed. > You've freshly switched to 'use.perl port' from 'system'. > Then comes a CVS update for x11/gdm2. > You need to upgrade x11/gdm2; it's already installed. > This time you need its configure/make/install scripts to run under perl-5= .8.x. > You hope gdm2's Makefile properly specifies what it requires, like other = ports do. > So you run portupgrade. > And it breaks during gdm2's 'install' phase. >=20 > What do you do? You read the FAQ at http://www.freebsd.org/gnome, and do the update correctly. It does work. Your problem is you tried to upgrade gdm2 on a system were all the other ports were not up-to-date already. Bad idea (for just about anything). Instead, you should have used portupgrade -ra to do things properly, and in the correct order. Had you done that, all your Perl dependencies would have been recorded correctly. Joe >=20 >=20 > Okay now allow me to expand on that scenario with some details, please. >=20 > I did the switch from perl-5.6.x to perl-5.8.x last week > without having any of the p5-* items installed beforehand. >=20 > Never needed any p5-* before -- the only items needing perl at this stage > are ports during their configure / make / install / run-time phases > (I myself haven't needed perl). >=20 > There's nothing _specifically_ telling you _what else_ to do > when you do this 'use.perl port' switch. Specifically. >=20 > I was 'assuming' that any port needing a perl module -- for whatever reas= on > e.g. configure / make / install / run-time -- would have appropriate entr= ies > in that port's Makefile (some '.if's around BUILD_DEPENDS, LIB_DEPENDS, e= tc., > as appropriate, based on PERL_VERSION or SITE_PERL (unsure?)). >=20 > Then came along some CTM deltas for x11/gdm2. > The next time I ran portupgrade is what got broke. > x11/gdm2's Makefile does *not* have checks for perl-anything > but it *did* require certain perl modules for it to be > installed successfully, as shown in my previous msgs > e.g. gdm2 clearly needs the XML::Parser module > during its install phase > so an appropriate item should've been added to > gdm2's Makefile -- probably in this case > to the RUN_DEPENDS string > (is there such a thing as INSTALL_DEPENDS ?). >=20 > Suitable mechanisms _are_ available in the Makefile > and many other ports use them, > but gdm2 didn't say what it needed > so I never got the requisite p5-* pieces it needed > e.g. gdm2's Makefile should've caused the textproc/p5-XML-Parser port > to be installed before gdm2 itself was installed. >=20 > So I needed a workaround. > To get those p5-* pieces needed by gdm2, I was 'hoping' > the p5-GnomePrint port would pull in those missing pieces > if _it_ had a correct Makefile. >=20 > There I go 'assuming' again... > (you know what 'assume' means... ;) >=20 > > Any time you run "use.perl", do "env FORCE_PKG_REGISTER=3D1 portupgrade= -f > > p5-\*". >=20 > It ran very quickly. > It only re-installed the p5-XML-Parser and p5-XML-Writer ports > because those were the only p5-* pieces I've managed to > figure out being required by gdm2 and/or other ports -- after my > assumption p5-GnomePrint properly pull in those missing pieces > as noted. >=20 > I'm running this portupgrade 'force' again on a list of ports that > failed when I tried to install p5-GnomePrint, hoping it'll eventually > fix other glitches, too. >=20 >=20 > I ought to open a PR for gdm2 to be fixed -- > because other ports do check for "which perl" and > adjust themselves accordingly. > Probably a lot of other ports need to similarly > check on other things besides "which perl", too. ;) >=20 >=20 >=20 > -- Paul Seniura > System Specialist > State of Okla. D.O.T. >=20 > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-u6RS13yPCKAziY5GM3PI Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQA/+zR7b2iPiv4Uz4cRAt4DAJ4jdnS6zQHBV4aTg4fIbOtRSsEZ2QCfTIzU pXpxPx68FEmxKTx/PrK1GZE= =r9zs -----END PGP SIGNATURE----- --=-u6RS13yPCKAziY5GM3PI-- From owner-freebsd-perl@FreeBSD.ORG Tue Jan 6 15:23:16 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 015BF16A4CE; Tue, 6 Jan 2004 15:23:16 -0800 (PST) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDA8943D45; Tue, 6 Jan 2004 15:23:14 -0800 (PST) (envelope-from DougB@freebsd.org) Received: from dougb.net ([24.130.160.161]) by comcast.net (rwcrmhc13) with SMTP id <2004010623231301500bck79e>; Tue, 6 Jan 2004 23:23:14 +0000 Date: Tue, 6 Jan 2004 15:23:13 -0800 (PST) From: Doug Barton To: Paul Seniura aka UDSD387 In-Reply-To: <20040106195108.D07EB5C29@techpc04.okladot.state.ok.us> Message-ID: <20040106152154.I59047@qbhto.arg> References: <20031231234158.8EF1C5C29@techpc04.okladot.state.ok.us> <1073064581.779.10.camel@gyros> <20040106175238.4355C5C29@techpc04.okladot.state.ok.us> <1073412562.32632.3.camel@pyanfar.ece.cmu.edu> <20040106195108.D07EB5C29@techpc04.okladot.state.ok.us> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "freebsd-ports@freebsd.org" cc: "freebsd-perl@freebsd.org" cc: "freebsd-gnome@freebsd.org" cc: "Brandon S. Allbery KF8NH" Subject: Re: follow-up Re: I'm having an awful time updating gdm2 and other ports X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 23:23:16 -0000 [ For future reference, there is way too much cross posting here. ] On Tue, 6 Jan 2004, Paul Seniura aka UDSD387 wrote: > > Of course one other way of 'fixing' this has come to mind: > Have FreeBSD install perl-5.8.x as its 'system' instead of 5.6.x. ;) There is no more "system" perl in FreeBSD. You can install whatever version you want on your 5.x system. This is how it should be. Doug -- This .signature sanitized for your protection