From owner-freebsd-ports@FreeBSD.ORG Fri Jul 16 01:27:08 2010 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 D9208106564A; Fri, 16 Jul 2010 01:27:08 +0000 (UTC) (envelope-from ssanbeg@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id A06C98FC14; Fri, 16 Jul 2010 01:27:08 +0000 (UTC) Received: by pxi8 with SMTP id 8so796952pxi.13 for ; Thu, 15 Jul 2010 18:27:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:mime-version:content-type:x-mailer:x-mimeole :thread-index; bh=6icBiZpQri4kOaa8OZL2us4O/p7sU5f6lb8vAsQx+8Q=; b=E4aCcZwlU4cIeVgM2L9UWXgxeBVcAvLkLyMY4kMTu3nswJiYz7CkPJhAz3fI+VJSxQ WPd7NzyJNk0F3iDUPLbyj5tSoMlc1Vvh+kPuFT0oZCEmum+/L8f+cMxjDSqyfdJuTb3l t25NVd178K7f6u8rj2EiQJHbYXhfSGN0zwBrs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:mime-version:content-type :x-mailer:x-mimeole:thread-index; b=UZInqiLqGLQTEJylWvJjnG4CxztF7GROrb6+tK8dAl4cAQ2O4LMed/tuUC2ZkRgt8E ZsUH8jWjN3O0XV6q10yCwVzIZv4SYfWNipQ3CE7VXkRtRS5sTBxR63RBEX4uqKaurcV0 iPPBv1mca+vwHMNGkDxcAxM+Z9jkTJvyfIf5E= Received: by 10.114.59.15 with SMTP id h15mr349796waa.209.1279241871824; Thu, 15 Jul 2010 17:57:51 -0700 (PDT) Received: from sunrise (pool-98-117-108-60.sttlwa.fios.verizon.net [98.117.108.60]) by mx.google.com with ESMTPS id l29sm12515618rvb.7.2010.07.15.17.57.49 (version=SSLv3 cipher=RC4-MD5); Thu, 15 Jul 2010 17:57:50 -0700 (PDT) From: "Scott Sanbeg" To: Date: Thu, 15 Jul 2010 17:57:38 -0700 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18197 thread-index: AcskgeLt9o+bejYMSJ6i9sSZK9rdnQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: skv@FreeBSD.org Subject: Perl 5.10 to 5.12 UPDATING Instructions Fail (WAS: Re: pkg_version notification and 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: Fri, 16 Jul 2010 01:27:08 -0000 >On 15.07.2010 15:05, Naram Qashat wrote: >> On 07/15/10 06:41, Jerry wrote: >>> I just ran 'portsnap' to update my port tree, followed >>> by "/usr/sbin/pkg_version -vIL=" which produced this output: >>> >>> These ports need updating: >>> perl-5.10.1_1> succeeds index (index has 5.10.1) >>> startup-notification-0.10< needs updating (index has 0.10_1) >>> >>> You will notice the discrepancy with perl. This never occurred before. >>> Is there something wrong on my system or does the problem exist >>> elsewhere? >> >> There is a typo in the Makefile for perl5.10, PORTREVISION is missing an >> I, it says PORTREVISON instead. > >Fixed :( > >-- >Sergey Skvortsov >mailto: skv@FreeBSD.org Hello All, I've just subscribed to this list and have hand-built the thread for the outbound email. I will keep the pasted information to a minimum; let me know if you need the 'script' output for the attempted update that fails, below. One thing I want to point out is that Naram wrote: >>> These ports need updating: >>> perl-5.10.1_1> succeeds index (index has 5.10.1) . and what I'm seeing here, is this: root@anchorage:~# /usr/sbin/pkg_version -vIL= perl-threaded-5.10.1_1 < needs updating (index has 5.10.1_2) Nevertheless the update succeeds after using 'portmaster -a'. Yea! So that is indeed fixed. ===>>> Upgrade of perl-threaded-5.10.1_1 to perl-threaded-5.10.1_2 succeeded However, there appears to still be an issue. In short, the instructions in /usr/ports/UPDATING for going from perl5.10 to perl5.12 fails; namely. 20100715: AFFECTS: users of lang/perl* AUTHOR: skv@FreeBSD.org lang/perl5.12 is out. If you want to switch to it from, for example lang/perl5.10, that is: -- snip -- Portmaster users: env DISABLE_CONFLICTS=1 portmaster -o lang/perl5.12 lang/perl5.10 <-- fails -- snip - Here is the environment in part: root@anchorage:~# uname -a FreeBSD anchorage.home 8.0-RELEASE-p4 FreeBSD 8.0-RELEASE-p4 #0: Wed Jul 14 15:08:21 PDT 2010 root@anchorage.xxxx:/usr/obj/usr/src/sys/ANCHORAGE amd64 root@anchorage:~# freebsd-update fetch -- snip -- No updates needed to update system to 8.0-RELEASE-p4. root@anchorage:~# portsnap fetch -- snip -- Updating from Thu Jul 15 12:58:21 PDT 2010 to Thu Jul 15 14:37:25 PDT 2010. Fetching 4 metadata patches... done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 1 patches. done. Applying patches... done. Fetching 0 new ports or files... done. root@anchorage:~# portsnap update Removing old files and directories... done. Extracting new files: /usr/ports/net/ifstated/ Building new INDEX files... done. root@anchorage:~# date -u Fri Jul 16 00:16:45 UTC 2010 root@anchorage:~# date Thu Jul 15 17:17:20 PDT 2010 Now attempting the update from perl5.10 to 5.12 per instructions: root@anchorage:/usr/ports# date -u Fri Jul 16 00:48:04 UTC 2010 root@anchorage:/usr/ports# date Thu Jul 15 17:48:15 PDT 2010 root@anchorage:/usr/ports# script /var/tmp/perl_upgrade env DISABLE_CONFLICTS=1 portmaster -o lang/perl5.12 lang/perl5.10 Script started, output file is /var/tmp/perl_upgrade ===>>> Port directory: /usr/ports/lang/perl5.12 -- snip -- ===>>> All dependencies are up to date ===> Cleaning for perl-threaded-5.12.1 ===>>> Waiting on fetch & checksum for lang/perl5.12 <<<=== ===> License check disabled, port has not defined LICENSE ===> Found saved configuration for perl-5.10.1_1 But not perl-5.10.1_2. I do not know if it matters but I do want to alert the maintainers that perl-5.10.1_1 is referenced throughout the attempted build, and not 1_2. ===>>> Waiting on fetch & checksum for lang/perl5.12 <<<=== ===> License check disabled, port has not defined LICENSE ===> Found saved configuration for perl-5.10.1_1 => perl-5.12.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles//perl. => Attempting to fetch from ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/../../src/. ===>>> Waiting on fetch & checksum for lang/perl5.12 <<<=== ===> License check disabled, port has not defined LICENSE ===> Found saved configuration for perl-5.10.1_1 => perl-5.12.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles//perl. => Attempting to fetch from ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/../../src/. perl-5.12.1.tar.bz2 -- snip - GGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -std=c89 -g -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat `sh cflags "optimize='-g'" globals.o` -DPIC -fPIC globals.c CCCMD = cc -DPERL_CORE -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.1/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -std=c89 -g -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat LD_LIBRARY_PATH=/usr/ports/lang/perl5.12/work/perl-5.12.1 cc -Wl,-E -fstack-protector -L/usr/local/lib -o miniperl gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o miniperlmain.o opmini.o perlmini.o -lm -lcrypt -lutil LD_LIBRARY_PATH=/usr/ports/lang/perl5.12/work/perl-5.12.1 ./miniperl -w -Ilib -MExporter -e '' || /usr/bin/make minitest Segmentation fault (core dumped) LD_LIBRARY_PATH=/usr/ports/lang/perl5.12/work/perl-5.12.1 ./miniperl -Ilib make_patchnum.pl Segmentation fault (core dumped) *** Error code 139 1 error You may see some irrelevant test failures if you have been unable to build lib/Config.pm, or the Unicode data files. cd t && (rm -f perl; /bin/ln -s ../miniperl perl) && LD_LIBRARY_PATH=/usr/ports/lang/perl5.12/work/perl-5.12.1 ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t re/*.t op/*.t uni/*.t >> make failed for lang/perl5.12 ===>>> Aborting update Script done, output file is /var/tmp/perl_upgrade There, you have it. The results are identical with and w/o running 'script'; by using setenv DISABLE_CONFLICTS=1 or per instructions, in single-user mode, insuring that no dependent apps are loaded or running during the attempted update, etc. Scott