Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Perl 5.10 to 5.12 UPDATING Instructions Fail (WAS: Re: pkg..

 
   FreeBSD Hosting (Home) -> FreeBSD Ports RSS
Next:  Some problems about www/cherokee  
Author Message
Scott Sanbeg

External


Since: Jul 15, 2010
Posts: 1



(Msg. 1) Posted: Thu Jul 15, 2010 5:57 pm
Post subject: Perl 5.10 to 5.12 UPDATING Instructions Fail (WAS: Re: pkg_version
Archived from groups: mailing>freebsd>ports (more info?)

>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 Sad
>
>--
>Sergey Skvortsov
>mailto: skv.TakeThisOut@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.TakeThisOut@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.TakeThisOut@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



_______________________________________________
freebsd-ports.TakeThisOut@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

 >> Stay informed about: Perl 5.10 to 5.12 UPDATING Instructions Fail (WAS: Re: pkg.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Perl voodoo in ports/UPDATING - --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In regard to the new Perl version, ports/UPDATING has of course been changed with some instructions on how to proceed.....

Proper Updating of Perl Modules - My boss loves FreeBSD to death. So much so that everything that is to be updated or installed is to be done via the ports tree. I happen to like Ports, so don't get me wrong, however, when it comes to Perl modules, should I be doing this directly from....

Updating perl entries in make.conf (via package) - This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD4E47B84C8EFED46FF5EEE68 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I am updating several 5.x machines, and in the process..

postgresql83-server instructions.. - This is a multi-part message in MIME format. --------------070306040209020803010606 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi. Nice job with this port, but yesterday a newbee, ask-me about ..

Instructions for xorg 7.2 upgrade using portmaster - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Howdy, Thanks to all who've inquired about doing the xorg upgrade using portmaster. I appreciate your patience in waiting for me to provide instructions for it, but it's been quite an exciting journey. I..
   FreeBSD Hosting (Home) -> FreeBSD Ports All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]