From owner-freebsd-ports@FreeBSD.ORG Tue Jun 23 05:31:54 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5A7D106564A for ; Tue, 23 Jun 2009 05:31:54 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 49DD78FC0A for ; Tue, 23 Jun 2009 05:31:53 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so36157fgb.12 for ; Mon, 22 Jun 2009 22:31:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=xbF4tCO+BMeBii3GU40heUwwAH1h8lusTo8N0c1Gyhg=; b=mmf9GH1X9onqJCKPiKC32GaqPXE5v848g8n4IstXul90RXSpbIImnWXEMB0yoAoM6R nY9JJ60Ke3ADJ5qYEvGyqNciTSYm4Dz1xgg0eSFhk9KI5p/JfL2BvAvNa+uCLSaIf/5I OKCq9oA5uk7aKXpq2KkCM6gFeO/6zrt2e5w0M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=k3kxPX2UsGl3zRNuofCLMhLmA4aLfnoZjpf7LKemh0K0d42f0JjVa3lt7AsJV+d+zW 610zJ0y2Ov+7ny8sTF+UHRXOWdafaaYsUrOix/YwkNtZOMaKUJwPhysClI/mU97sr8dx srPlaR/Hw+OOkF+PcGg2sV88It7AHXrRgbXgY= Received: by 10.86.31.3 with SMTP id e3mr7695165fge.26.1245735112774; Mon, 22 Jun 2009 22:31:52 -0700 (PDT) Received: from tiger.minsk.domain (minsk.agava.net [212.98.174.157]) by mx.google.com with ESMTPS id 4sm9643832fgg.17.2009.06.22.22.31.50 (version=SSLv3 cipher=RC4-MD5); Mon, 22 Jun 2009 22:31:51 -0700 (PDT) Date: Tue, 23 Jun 2009 08:31:36 +0300 From: "Sergey V. Dyatko" To: Scott Bennett Message-ID: <20090623083136.058b204e@tiger.minsk.domain> In-Reply-To: <200906230212.n5N2CHfB012467@mp.cs.niu.edu> References: <200906230212.n5N2CHfB012467@mp.cs.niu.edu> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Cc: dougb@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: [REPOST] problem upgrading perl 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, 23 Jun 2009 05:31:55 -0000 В Mon, 22 Jun 2009 21:12:17 -0500 (CDT) Scott Bennett пишет: SB> On Thu, 18 Jun 2009 11:42:51 -0700 Doug Barton SB> wrote: SB> >Jim Trigg wrote: SB> >> Actually, he was suggesting changing from perl\* to perl-\* so SB> >> it would only match the perl port. SB> > SB> >FYI, the \* at the end is not needed, 'portmaster perl-' will work SB> >just fine. SB> > SB> >> Unfortunately, that won't work as there is at SB> >> least one other port that will match that -- net/p5-perl-ldap SB> >> (portname perl-ldap). SB> > SB> >It's generally a good idea to check your facts before posting to SB> >the list. Since the glob code goes by the directory names SB> >in /var/db/pkg, and since the prefix will be there in the SB> >directory name, this won't be an issue. SB> > SB> >In any case, I updated the instructions for this, and the other SB> >portmaster examples in /usr/ports/UPDATING a couple days ago so SB> >hopefully no one else will stumble over this. SB> > SB> Thank you for doing that. Unfortunately, it might have been SB> more appropriate to have simply replaced that note with another SB> that cautions anyone attempting the perl upgrade that the upgrade SB> has not been fully tested against all ports that may list the new SB> perl as a build dependency. It should also warn that portmaster is SB> *NOT* a good tool to use for this upgrade, even if the note shows SB> how to attempt it. Using the specific port name for perl when SB> restarting the upgrade process, I was able to resume for a short SB> time. However, portmaster has two design problems that apply SB> here. The first is that if portmaster encounters a port that fails SB> to build properly, it stops cold, rather than continuing to build SB> other ports that do build correctly, summarizing the build errors SB> at the end. This means that each time an error occurs, it requires SB> a manual restart (after the error has been corrected) that will run SB> only until the next error is encountered. The second design problem SB> is that the -R option, which is supposed to avoid rebuilding ports SB> that have already been successfully rebuilt, nevertheless rebuilds SB> the specified dependency port--in this case, SB> perl-threaded-5.10.0_3--*every single time* without checking to see SB> whether it was already successfully built. This is terribly SB> time-consuming and wasteful. One might argue that the command says SB> to rebuild the port specified, but there really needs to be some SB> way to tell it not to do so. Back to the problems with the SB> builds...a half dozen or more port rebuild failures were SB> correctable by simply entering the failed port's directory, doing a SB> "make deinstall && make reinstall", and then returning to restart SB> (again) portmaster, which then, of course, began by rebuilding perl SB> another time (sigh). Full testing of the perl upgrade should have SB> made this process unnecessary, it seems to me. Eventually, though, SB> I encountered a problem with a port called SB> misc/gnome-icon-theme-2.26.0_1. (I do not use and haven't SB> knowingly installed gnome, so I really don't know why this port was SB> installed in the first place. OTOH, I also have a strong suspicion SB> that it can't simply be eliminated either.) The rebuilding of this SB> port aborted thusly: SB> SB> ===> Installing for gnome-icon-theme-2.26.0_1 SB> ===> Generating temporary packing list SB> ===> Checking if misc/gnome-icon-theme already installed SB> Making install in 8x8 SB> gmake[1]: Entering directory SB> `/usr/ports/misc/gnome-icon-theme/work/gnome-icon-theme-2.26.0/8x8' SB> Making install in emblems gmake[2]: Entering directory SB> `/usr/ports/misc/gnome-icon-theme/work/gnome-icon-theme-2.26.0/8x8/emblems' SB> gmake[3]: Entering directory SB> `/usr/ports/misc/gnome-icon-theme/work/gnome-icon-theme-2.26.0/8x8/emblems' SB> gmake[3]: Nothing to be done for `install-exec-am'. test -z SB> "/usr/local/share/icons/gnome/8x8/emblems" || ../.././install-sh -c SB> -d "/usr/local/share/icons/gnome/8x8/emblems" install -o root -g SB> wheel -m 444 'emblem-default.png' SB> '/usr/local/share/icons/gnome/8x8/emblems/emblem-default.png' SB> install -o root -g wheel -m 444 'emblem-new.png' SB> '/usr/local/share/icons/gnome/8x8/emblems/emblem-new.png' install SB> -o root -g wheel -m 444 'emblem-readonly.png' SB> '/usr/local/share/icons/gnome/8x8/emblems/emblem-readonly.png' SB> install -o root -g wheel -m 444 'emblem-symbolic-link.png' SB> '/usr/local/share/icons/gnome/8x8/emblems/emblem-symbolic-link.png' SB> install -o root -g wheel -m 444 'emblem-unreadable.png' SB> '/usr/local/share/icons/gnome/8x8/emblems/emblem-unreadable.png' (cd /usr/local/share/icons/gnome/8x8 SB> && /usr/local/libexec/icon-name-mapping -c emblems) Can't locate SB> XML/Simple.pm in @INC (@INC SB> contains: /usr/local/lib/perl5/5.10.0/BSDPAN /usr/local/lib/perl5/site_perl/5.10.0/mach /usr/local/lib/perl5/site_perl/5.10.0 /usr/ local/lib/perl5/5.10.0/mach /usr/local/lib/perl5/5.10.0 .) that's answer on you question. just reinstall p5-XML-Simple SB> at /usr/local/libexec/icon-name-mapping line 12. BEGIN SB> failed--compilation aborted at /usr/local/libexec/icon-name-mapping SB> line 12. gmake[3]: *** [install-data-local] Error 2 gmake[3]: SB> Leaving directory SB> `/usr/ports/misc/gnome-icon-theme/work/gnome-icon-theme-2.26.0/8x8/emblems' SB> gmake[2]: *** [install-am] Error 2 gmake[2]: Leaving directory SB> `/usr/ports/misc/gnome-icon-theme/work/gnome-icon-theme-2.26.0/8x8/emblems' SB> gmake[1]: *** [install-recursive] Error 1 gmake[1]: Leaving SB> directory SB> `/usr/ports/misc/gnome-icon-theme/work/gnome-icon-theme-2.26.0/8x8' SB> gmake: *** [install-recursive] Error 1 *** Error code 2 SB> SB> Stop in /usr/ports/misc/gnome-icon-theme. SB> SB> ===>>> A backup package for gnome-icon-theme-2.26.0_1 should SB> be located in /usr/ports/packages/portmaster-backup SB> SB> ===>>> Installation of gnome-icon-theme-2.26.0_1 SB> (misc/gnome-icon-theme) failed ===>>> Aborting update SB> SB> ===>>> Update for gnome-icon-theme-2.26.0_1 failed SB> ===>>> Aborting update SB> SB> ===>>> The following actions were performed: SB> Re-installation of perl-threaded-5.10.0_3 SB> Re-installation of gnome-desktop-2.26.2_1 SB> SB> hellas# dirs SB> /usr/ports ~ SB> SB> If someone can tell me how to proceed from here, I'll give it SB> another try. However, once again the ports subsystem is testing my SB> tolerance for frustration, so if there's no real hope of completing SB> the entire rebuilding process for ports with build dependencies SB> upon perl, please let me know, so I can try to undo what I've done SB> so far and return to the old perl. Thanks in advance for any help. SB> Again, please copy me in on responses to avoid a delay of up to a SB> day for the next list digest to reach me. SB> SB> -- wbr, tiger