Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2010 17:57:38 -0700
From:      "Scott Sanbeg" <ssanbeg@gmail.com>
To:        <freebsd-ports@freebsd.org>
Cc:        skv@FreeBSD.org
Subject:   Perl 5.10 to 5.12 UPDATING Instructions Fail (WAS: Re: pkg_version notification and perl)
Message-ID:  <BE0FBB05598D4F39899917B1F9B5EF97@sunrise>

next in thread | raw e-mail | index | archive | help
>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
</dev/tty

Segmentation fault (core dumped)

LD_LIBRARY_PATH=/usr/ports/lang/perl5.12/work/perl-5.12.1  ./miniperl -Ilib
make_patchnum.pl

LD_LIBRARY_PATH=/usr/ports/lang/perl5.12/work/perl-5.12.1  ./miniperl -Ilib
autodoc.pl

Segmentation fault (core dumped)

*** Error code 139

Segmentation fault (core dumped)

*** Error code 139

2 errors

*** Error code 1

 

Stop in /usr/ports/lang/perl5.12.

*** Error code 1

 

Stop in /usr/ports/lang/perl5.12.

 

===>>> 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

 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BE0FBB05598D4F39899917B1F9B5EF97>