Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is Perl 5.8.0 unmasked then?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
alshain
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 202
Location: London, UK

PostPosted: Wed Dec 11, 2002 4:40 pm    Post subject: Is Perl 5.8.0 unmasked then? Reply with quote

Well, doing an emerge -up world shows:

These are the packages that I would merge, in order.

Calculating world dependencies ...done!
[ebuild U ] sys-devel/perl-5.8.0-r3 [5.6.1-r7]

But looking at the ebuild shows:

KEYWORDS="~x86 ~sparc ~ppc ~alpha"

So it should be masked, right?! I'm using the stable profile.

Or could this be related to a strange going on where if an ebuild has the ~ removed then even if you add it again and/or rsync, it will still remain unmaked. I've noticed this before - is it just me?

Andrew
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Dec 11, 2002 4:49 pm    Post subject: Reply with quote

5.8 is still masked on my system. Do you have ACCEPT_KEYWORDS set for your shell env?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
patrickfo
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2002
Posts: 79
Location: France

PostPosted: Wed Dec 11, 2002 4:51 pm    Post subject: perl 5.8-r3 "~x86" Reply with quote

hello
on all perl -5.8-r3 "~x86"
on two of them update world => perl-5.8.0-r3
and on another perl-5.8.0-r2 ( which is "x86"
curious isn't it?
Back to top
View user's profile Send private message
Lolo-
n00b
n00b


Joined: 04 Aug 2002
Posts: 62
Location: SQY (France)

PostPosted: Wed Dec 11, 2002 5:04 pm    Post subject: Reply with quote

it depends on which rsync server you contacted ?
Back to top
View user's profile Send private message
patrickfo
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2002
Posts: 79
Location: France

PostPosted: Wed Dec 11, 2002 5:16 pm    Post subject: perl-5.8.0-r2 Reply with quote

another emerge rsync and all are perl-5.8.0-r2
just a question of time?
Back to top
View user's profile Send private message
alshain
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 202
Location: London, UK

PostPosted: Wed Dec 11, 2002 5:21 pm    Post subject: Reply with quote

kanuslupus wrote:
5.8 is still masked on my system. Do you have ACCEPT_KEYWORDS set for your shell env?


Nope - I have learned from experience never to try that! I've tried a couple more rsyncs and update worlds and now 5.8.0-r2 is unmasked (it was 5.8.0-r3 before). the r2 ebuild has the ~ removed so I presume it's been deliberately unmasked. I think I'll wait a bit to see if any other wierd things happen before I update!

Andrew
Back to top
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Wed Dec 11, 2002 5:41 pm    Post subject: Reply with quote

Code:
*  sys-devel/perl
      Latest version available: 5.6.1-r7
      Latest version installed: 5.6.1-r7
      Size of downloaded files: 5,843 kB
      Homepage:    http://www.perl.org
      Description: Larry Wall's Practical Extraction and Reporting Language


After a
Code:
export ACCEPT_KEYWORDS=~x86

Code:
*  sys-devel/perl
      Latest version available: 5.6.1-r9
      Latest version installed: 5.6.1-r7
      Size of downloaded files: 5,843 kB
      Homepage:    http://www.perl.org
      Description: Larry Wall's Practical Extraction and Reporting Language


Still no 5.8 in here..
_________________
Lego my ego, and I'll lego your knowledge

www.tuxslare.org - My reborn website :P
Back to top
View user's profile Send private message
doug-x07
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2002
Posts: 122
Location: Paris, France

PostPosted: Wed Dec 11, 2002 7:44 pm    Post subject: Reply with quote

I directly emerged the perl-5.8.0-r3.ebuild about a week back. Getting it to compile was fun, had a few segmentation faults but not sure if that was due to the ebuild or other gcc issues I had been having. I saw the post and ran emerge -up world --pretend after having rsynced , surprised by the output for perl
Code:
 [ebuild    U ] sys-devel/perl-5.6.1-r7
Does that mean that when you run ebuilds from the unstable branch you have to manage them until they make it into the stable branch or give up running emerge world?
_________________
#! /usr/bin/perl
if( @first != $succeed ) {
post { $question->forum && eval '$answers' };
try { $again } catch { $problem && $resolve };
bless $posters; }
Back to top
View user's profile Send private message
alshain
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 202
Location: London, UK

PostPosted: Wed Dec 11, 2002 8:09 pm    Post subject: Reply with quote

Well, 5.8.0 is gone again now! Probably unmasked accidentally (twice). :D

I'm a bit relieved - 5.8.0 breaks virtually everything dependent on Perl. I upgraded to 5.8.0 when I was one with Mandrake and that was one of the many last straws that eventually convinced me to switch to Gentoo.

Andrew
Back to top
View user's profile Send private message
Lockup
Guru
Guru


Joined: 25 Jul 2002
Posts: 430

PostPosted: Wed Dec 11, 2002 8:41 pm    Post subject: Reply with quote

well earlier today i did an emerge -u world...which upgraded perl to 5.8.
now(a few hours later) an emerge -up world:
Code:

 emerge -up world

These are the packages that I would merge, in order.

Calculating world dependencies ...done!
[ebuild    UD] sys-devel/perl-5.6.1-r7 [5.8.0-r3]


*scratch*
perl stuff seems to "work" still...hrm
Back to top
View user's profile Send private message
Lockup
Guru
Guru


Joined: 25 Jul 2002
Posts: 430

PostPosted: Wed Dec 11, 2002 8:46 pm    Post subject: Reply with quote

oh....ill shut up and downgrade:

Code:

root@Beast app-games # frozen-bubble
        [[ Frozen-Bubble-0.9.3 ]]

  http://www.frozen-bubble.org/

  Copyright (c) 2000, 2001, 2002 Guillaume Cottenceau.
  Artwork: Alexis Younes <73lab at free.fr>
           Amaury Amblard-Ladurantie <amaury at linuxfr.org>
  Soundtrack: Matthias Le Bidan <matthias.le_bidan at caramail.com>
  Design & Programming: Guillaume Cottenceau <guillaume.cottenceau at free.fr>

  Sponsored by MandrakeSoft <http://www.mandrakesoft.com/>

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License version 2, as
  published by the Free Software Foundation.

[SDL Init] Segmentation fault
Back to top
View user's profile Send private message
alshain
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 202
Location: London, UK

PostPosted: Wed Dec 11, 2002 9:21 pm    Post subject: Reply with quote

Lockup wrote:
oh....ill shut up and downgrade:

Code:

[SDL Init] Segmentation fault


Ah yes, that brings back memories!

Andrew
Back to top
View user's profile Send private message
lemming
n00b
n00b


Joined: 07 Aug 2002
Posts: 57
Location: Kanab, UT

PostPosted: Wed Dec 11, 2002 10:13 pm    Post subject: Reply with quote

The thing to remember that any XS modules will need to be recompiled to work with 5.8 perl.

perldoc perldelta has the details.

Probably to be safe, you should re-emerge any Perl modules after innstalling 5.8.
_________________
-mark
Back to top
View user's profile Send private message
asroka
n00b
n00b


Joined: 01 Nov 2002
Posts: 19
Location: Los Angeles, CA USA

PostPosted: Fri Dec 20, 2002 10:38 pm    Post subject: build perl from the source Reply with quote

perl is actually really easy to build from the source. What I have done is build 5.8.0 from the source (not the ebuild) which by default puts it in /usr/local/bin and kept 5.6.1 installed as well which is in /opt or some such place. This way nothing that depends on perl breaks but I can still use the new features of 5.8 for development such as interpreter threads and the improved perl compiler, etc.

To build perl from the source get it from:
http://www.perl.com/CPAN-local/src/stable.tar.gz

then just run the following commands in the directory where you untarred it:

rm -f config.sh Policy.sh
sh Configure
make
make test
make install

If you want to use 5.8.0 by default at this point all you have to do is:
rm /usr/bin/perl
ln -s /usr/local/bin/perl /usr/bin/perl

However this might break scripts if they are dependent on 5.6.1 binary (XS) code and use /usr/bin/perl as the shebang

BTW, I did that last trick on a PIII 733 running Gentoo with Gnome and a whole bunch of apps and nothing broke (That I know of ;-) However, I wasn't brave enough to do it to my server which uses the current portage versions of mod_perl and a bunch of other stuff. All depends on how dependent you are on perl for your day-to-day stuff.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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