Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is perl slotted?
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
sgarcia
Apprentice
Apprentice


Joined: 21 May 2003
Posts: 254
Location: Bakersfield, CA

PostPosted: Sun Jul 25, 2010 3:16 am    Post subject: Is perl slotted? Reply with quote

I was under the impression that perl, like python, was slotted. However, I just tried to run perl-cleaner to get all my perl packages re-done, and I get these messages:

Code:
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-devel/libperl:1

  ('installed', '/', 'sys-devel/libperl-5.10.1', 'nomerge') pulled in by
    >=sys-devel/libperl-5.10.1 required by ('installed', '/', 'dev-lang/perl-5.12.1-r1', 'nomerge')
    (and 1 more)

  ('ebuild', '/', 'sys-devel/libperl-5.8.8-r2', 'merge') pulled in by
    ~sys-devel/libperl-5.8.8 required by ('ebuild', '/', 'dev-lang/perl-5.8.8-r8', 'merge')
    <sys-devel/libperl-5.9 required by ('ebuild', '/', 'dev-lang/perl-5.8.8-r8', 'merge')
    (and 1 more)

dev-lang/perl:0

  ('installed', '/', 'dev-lang/perl-5.12.1-r1', 'nomerge') pulled in by
    ~dev-lang/perl-5.12.1 required by ('ebuild', '/', 'virtual/perl-version-0.82', 'merge')
    >=dev-lang/perl-5.10.1 required by ('installed', '/', 'sys-devel/libperl-5.10.1', 'nomerge')
    ~dev-lang/perl-5.12.1 required by ('ebuild', '/', 'virtual/perl-libnet-1.22', 'merge')
    (and 129 more)

  ('ebuild', '/', 'dev-lang/perl-5.8.8-r8', 'merge') pulled in by
    ~dev-lang/perl-5.8.8 required by ('ebuild', '/', 'sys-devel/libperl-5.8.8-r2', 'merge')
    ~dev-lang/perl-5.8.8 required by ('installed', '/', 'virtual/perl-DB_File-1.814', 'nomerge')
    (and 123 more)


Do I need to uninstall perl 5.8?
_________________
Ignorance killed the cat. Curiosity was framed.
Back to top
View user's profile Send private message
nexus780
Apprentice
Apprentice


Joined: 17 Sep 2004
Posts: 206
Location: Manchester

PostPosted: Sun Jul 25, 2010 5:56 am    Post subject: Reply with quote

Perl (at least normally) is unfortunately not slotted. However if it were slotted you wouldn't have a problem, when emerge says "slot conflict" it means that whatever you're trying to do is trying to pull in two libperl packages in the same slot, namely the default slot "0". What are you trying to do?
Back to top
View user's profile Send private message
sgarcia
Apprentice
Apprentice


Joined: 21 May 2003
Posts: 254
Location: Bakersfield, CA

PostPosted: Sun Jul 25, 2010 2:47 pm    Post subject: Reply with quote

I was just trying to do a world upgrade. A number of packages were failing because of problems with perl packages, so I figured that perl-clean would rebuild those packages so they would work with the new perl.

I think I've got it solved. Some obscure perl package was pulling in perl 5.8 -- I don't know where 5.10 was coming from, but once I got rid of it, all my packages are now rebuilding.
_________________
Ignorance killed the cat. Curiosity was framed.
Back to top
View user's profile Send private message
nexus780
Apprentice
Apprentice


Joined: 17 Sep 2004
Posts: 206
Location: Manchester

PostPosted: Wed Jul 28, 2010 9:28 am    Post subject: Reply with quote

Ah yes I encountered that problem a couple of times, I think it was with kdelibs. For the future (and for people finding this thread) I found an easy way to identify the offending package (ie. the one that pulls in an old version of perl, kdelibs, or whatever) is to package.mask the old version of perl/kdelibs/whatever. Then portage gives a clear indication which package is depending on the old version.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10619
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jul 28, 2010 11:09 am    Post subject: Reply with quote

More directly, you can use equery to show the dependencies of an explicitly stated version:
Code:
equery depends =libperl-5.8.8-r2
:wink:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
miroR
l33t
l33t


Joined: 05 Mar 2008
Posts: 826

PostPosted: Sat Oct 23, 2010 9:36 pm    Post subject: Reply with quote

John R. Graham wrote:
More directly, you can use equery to show the dependencies of an explicitly stated version:
Code:
equery depends =libperl-5.8.8-r2
:wink:

- John

Thanks, John!
Otherwise, for half literate users it just wouldn't be easy to undestand the clarity of indication that portage gives on which package is depending on the old version... :-)
(Precise/exhaustive explanation/information is so much better than incomplete, for short or long-term newbies that is, and I am one, forever... It' too much all this compilation hassle for my late middle-age...)
So, thanks to John, I was able to find out that:
Code:
myBox # equery depends =libperl-5.8.8-r2
[ Searching for packages depending on =libperl-5.8.8-r2... ]
dev-lang/perl-5.8.8-r8 (<sys-devel/libperl-5.9)
                       (>=sys-devel/libperl-5.8.8-r1)
                       (~sys-devel/libperl-5.8.8)
myBox #

So at least, now I am left with a pretty clear dilemma...
Unmerge libperl or seek for more understanding of the arcane workings of Gentoo!

This is why:
Code:
myBox # emerge -avtuDN world

These are the packages that would be merged, in reverse order:

... [snip]...
[nomerge      ] xfce-extra/xfce4-cpugraph-plugin-0.4.0  USE="-debug"
[ebuild     U ]  dev-util/xfce4-dev-tools-4.7.2 [4.7.0] 0 kB
[ebuild     U ] sys-fs/mdadm-3.1.4 [3.0] USE="-static" 0 kB
[nomerge      ] xfce-extra/xfce4-cpugraph-plugin-0.4.0  USE="-debug"
[nomerge      ]  xfce-base/xfce4-panel-4.6.4  USE="startup-notification -debug"
[nomerge      ]   xfce-base/exo-0.3.107  USE="hal libnotify python -debug"
[ebuild     U ]    dev-lang/perl-5.12.2-r1 [5.8.8-r8] USE="berkdb gdbm -build -debug -doc -ithreads (-perlsuid%)" 0 kB
[ebuild     U ]     sys-devel/libperl-5.10.1 [5.8.8-r2] USE="(-berkdb%*) (-debug%) (-gdbm%*) (-ithreads%)" 0 kB

Total: 72 packages (59 upgrades, 1 downgrade, 3 new, 9 reinstalls), Size of downloads: 10,853 kB

myBox #

At this point the emerge never makes it anymore. It fails to upgrade to sys-devel/libperl-5.10.1 ...
It appears that libperl-5.8.8-r2 is making the rest of the upgrade impossible... (I am upgrading a system after a few months, and this is where I'm stuck now...).
I don't want to lose my current partly upgraded installation.
(I have the backup when I last upgraded back a few months ago, but I don't want to go through the same 20-30 hours of compiling again to reach this same point I am stuck at right now)...
I also ran
Code:
perl-cleaner --all
and it reinstalled vim and imagemagick, and also (sic!) downgraded libperl :-(:
Code:
at8-g250-c ~ #  perl-cleaner --all

 * Beginning a clean up of .ph files
 * Excluding files for 5.8.8 and 5.8.8/x86_64-linux from cleaning     
     
 * Locating ph files for removal
     
 * Updating ph files.           
 * Ignore all "No such file..." messages!   
     
 * Locating packages for an update           
 * Locating ebuilds linked against libperl   
 *   Adding to list: app-editors/vim:0
 *   Adding to list: media-gfx/imagemagick:0

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD] sys-devel/libperl-5.8.8-r2 [5.10.1] USE="berkdb%* gdbm%* -debug% -ithreads%" 0 kB
[ebuild   R   ] media-gfx/imagemagick-6.6.2.5  USE="X bzip2 cxx jpeg lcms openmp perl png svg tiff truetype xml zlib -autotrace -djvu -fftw -fontconfig -fpx -graphviz -gs -hdri -jbig -jpeg2k -lqr -openexr -q32 -q8 -raw -static-libs -wmf" VIDEO_CARDS="-nvidia" 0 kB
[ebuild   R   ] app-editors/vim-7.2.442  USE="X acl gpm nls perl python -bash-completion -cscope -debug -minimal -ruby -vim-pager" 0 kB       

Total: 3 packages (1 downgrade, 2 reinstalls), Size of downloads: 0 kB

And perl-cleaner did what it said it would.
The only problem being, the emerge world command above did't budge. Namely the upgrade that the command:
Code:
emerge -avtuDN world
tries to accomplish fails at installing
Code:
[ebuild     U ]     sys-devel/libperl-5.10.1 [5.8.8-r2]
... It loses all sense and drops out of environment brainless...
The perl-cleaner than reverts to libperl-5.8.8-r2 again, and I'm just nowhere.
The system is functional completely though, still...
Anyone has a same/similar issue as I report above?
Would it be solved by issuing:
Code:
emerge -C sys-devel/libperl

and then upgrading:
Code:
myBox # emerge -avtuDN world

Or would that make things worse yet...?
Thanks if anyone with clear insight into Gentoo's mysterious workings reveals the right steps in these circumstances...
Back to top
View user's profile Send private message
miroR
l33t
l33t


Joined: 05 Mar 2008
Posts: 826

PostPosted: Sat Oct 23, 2010 11:20 pm    Post subject: Reply with quote

This is my problem...
The only package depending on libperl that boggles my brainz is perl itself (pls. see my previous post).
But...
But, take a look at what depends on that perl version:
Code:
myBox # equery depends =perl-5.8.8-r8
[ Searching for packages depending on =perl-5.8.8-r8... ]
app-admin/perl-cleaner-2.7 (dev-lang/perl)
app-admin/sudo-1.7.2_p7 (dev-lang/perl)
app-arch/cabextract-1.3 (extra-tools? dev-lang/perl)
app-cdr/k3b-1.92.0_rc3 (dev-lang/perl)
app-editors/vim-7.2.442 (perl? dev-lang/perl)
app-office/openoffice-bin-3.2.0 (>=dev-lang/perl-5.0)
app-portage/epm-1.33 (>=dev-lang/perl-5)
app-portage/flagedit-0.0.8 (dev-lang/perl)
app-portage/genlop-0.30.8-r2 (>=dev-lang/perl-5.8.0-r12)
app-portage/gentoolkit-0.2.4.6.1-r1 (dev-lang/perl)
app-portage/profuse-0.25.4 (dev-lang/perl)
app-portage/ufed-0.40.1 (dev-lang/perl)
app-text/convmv-1.10 (dev-lang/perl)
dev-lang/nasm-2.08.02 (dev-lang/perl)
dev-libs/atk-1.30.0 (>=dev-lang/perl-5)
dev-libs/klibc-1.5.12-r1 (dev-lang/perl)
dev-libs/libtasn1-2.7 (>=dev-lang/perl-5.6)
dev-libs/openssl-1.0.0a-r3 (>=dev-lang/perl-5)
dev-perl/AnyEvent-5.2.5.1 (dev-lang/perl[-build])
dev-perl/Array-RefElem-1.00 (dev-lang/perl[-build])
dev-perl/Authen-SASL-2.12 (dev-lang/perl)
dev-perl/Crypt-PasswdMD5-1.3 (dev-lang/perl)
dev-perl/Crypt-SSLeay-0.57 (>=dev-lang/perl-5)
dev-perl/Curses-1.28 (dev-lang/perl[-build])
dev-perl/Curses-UI-0.96.07 (dev-lang/perl)
dev-perl/DBD-mysql-4.01.3 (dev-lang/perl)
dev-perl/DBI-1.609 (dev-lang/perl[-build])
dev-perl/Data-DumpXML-1.06 (dev-lang/perl)
dev-perl/DateManip-5.56 (dev-lang/perl[-build])
dev-perl/DelimMatch-1.06 (dev-lang/perl)
dev-perl/Digest-HMAC-1.01-r1 (dev-lang/perl)
dev-perl/Digest-SHA1-2.12 (dev-lang/perl[-build])
dev-perl/Error-0.17.016 (dev-lang/perl[-build])
dev-perl/Event-1.09 (dev-lang/perl)
dev-perl/Event-ExecFlow-0.64 (dev-lang/perl[-build])
dev-perl/Event-RPC-0.90 (dev-lang/perl)
dev-perl/HTML-Parser-3.64 (dev-lang/perl)
                          (dev-lang/perl[-build])
dev-perl/HTML-Tagset-3.20 (dev-lang/perl[-build])
dev-perl/HTML-Tree-3.23 (dev-lang/perl)
dev-perl/IO-Socket-SSL-1.33 (dev-lang/perl[-build])
dev-perl/Locale-gettext-1.05-r1 (dev-lang/perl[-build])
dev-perl/Net-Daemon-0.43 (dev-lang/perl[-build])
dev-perl/Net-SMTP-SSL-1.01 (dev-lang/perl)
dev-perl/Net-SSLeay-1.36 (dev-lang/perl[-build])
dev-perl/PlRPC-0.2020-r1 (dev-lang/perl)
dev-perl/TermReadKey-2.30 (dev-lang/perl[-build])
dev-perl/Test-Pod-1.42 (dev-lang/perl[-build])
dev-perl/Tk-JPEG-Lite-2.01403 (dev-lang/perl[-build])
dev-perl/URI-1.38 (dev-lang/perl[-build])
dev-perl/XML-LibXML-1.70 (dev-lang/perl[-build])
dev-perl/XML-NamespaceSupport-1.11 (dev-lang/perl[-build])
dev-perl/XML-Parser-2.36-r1 (dev-lang/perl)
dev-perl/XML-SAX-0.16 (dev-lang/perl)
dev-perl/XML-Simple-2.18 (dev-lang/perl[-build])
dev-perl/YAML-Tiny-1.41 (dev-lang/perl[-build])
dev-perl/extutils-depends-0.302 (dev-lang/perl[-build])
dev-perl/extutils-pkgconfig-1.07 (dev-lang/perl)
dev-perl/glib-perl-1.200 (dev-lang/perl)
dev-perl/gtk2-ex-formfactory-0.65-r1 (dev-lang/perl)
dev-perl/gtk2-fu-0.10 (dev-lang/perl)
dev-perl/gtk2-perl-1.202 (dev-lang/perl)
dev-perl/libintl-perl-1.16 (dev-lang/perl)
dev-perl/libwww-perl-5.836 (dev-lang/perl[-build])
dev-perl/perl-tk-804.029 (dev-lang/perl[-build])
dev-perl/yaml-0.71 (dev-lang/perl[-build])
dev-util/gtk-doc-am-1.15 (>=dev-lang/perl-5.6)
dev-util/intltool-0.41.1 (>=dev-lang/perl-5.8.1)
dev-util/libconf-0.40.00 (dev-lang/perl)
dev-vcs/git-1.7.1-r1 (perl? dev-lang/perl[-build])
dev-vcs/subversion-1.6.11 (dev-lang/perl)
                          (dev-lang/perl[-build])
kde-base/ark-4.3.5 (dev-lang/perl)
kde-base/attica-4.4.5 (dev-lang/perl)
kde-base/dolphin-4.4.5 (dev-lang/perl)
kde-base/dragonplayer-4.4.5 (dev-lang/perl)
kde-base/drkonqi-4.4.5 (dev-lang/perl)
kde-base/gwenview-4.4.5 (dev-lang/perl)
kde-base/juk-4.4.5 (dev-lang/perl)
kde-base/kalarm-4.4.4 (dev-lang/perl)
kde-base/kamera-4.4.5 (dev-lang/perl)
kde-base/kcalc-4.4.4 (dev-lang/perl)
kde-base/kcharselect-4.4.4 (dev-lang/perl)
kde-base/kcheckpass-4.4.5 (dev-lang/perl)
kde-base/kcminit-4.4.5 (dev-lang/perl)
kde-base/kcmshell-4.4.5 (dev-lang/perl)
kde-base/kcolorchooser-4.4.5 (dev-lang/perl)
kde-base/kcontrol-4.4.5 (dev-lang/perl)
kde-base/kde-l10n-4.4.4 (dev-lang/perl)
kde-base/kdebase-cursors-4.4.5 (dev-lang/perl)
kde-base/kdebase-data-4.4.5 (dev-lang/perl)
kde-base/kdebase-desktoptheme-4.4.5 (dev-lang/perl)
kde-base/kdebase-kioslaves-4.4.5 (dev-lang/perl)
kde-base/kdebase-menu-4.4.5 (dev-lang/perl)
kde-base/kdebase-menu-icons-4.4.5 (dev-lang/perl)
kde-base/kdebase-startkde-4.4.5 (dev-lang/perl)
kde-base/kdebase-wallpapers-4.4.5 (dev-lang/perl)
kde-base/kdebugdialog-4.4.5 (dev-lang/perl)
kde-base/kdegraphics-strigi-analyzer-4.4.5 (dev-lang/perl)
kde-base/kdelibs-4.4.5 (dev-lang/perl)
kde-base/kdelirc-4.4.4 (dev-lang/perl)
kde-base/kdemultimedia-kioslaves-4.4.5 (dev-lang/perl)
kde-base/kdepasswd-4.4.5 (dev-lang/perl)
kde-base/kdepimlibs-4.4.5 (dev-lang/perl)
kde-base/kdessh-4.3.5 (dev-lang/perl)
kde-base/kdesu-4.4.5 (dev-lang/perl)
kde-base/kdf-4.3.5 (dev-lang/perl)
kde-base/kdialog-4.4.5 (dev-lang/perl)
kde-base/kdm-4.4.5 (dev-lang/perl)
kde-base/kdnssd-4.4.5 (dev-lang/perl)
kde-base/keditbookmarks-4.4.5 (dev-lang/perl)
kde-base/keditfiletype-4.4.5 (dev-lang/perl)
kde-base/kephal-4.4.5 (dev-lang/perl)
kde-base/kfile-4.4.5 (dev-lang/perl)
kde-base/kfind-4.4.5 (dev-lang/perl)
kde-base/kfmclient-4.4.5 (dev-lang/perl)
kde-base/kgamma-4.4.5 (dev-lang/perl)
kde-base/kglobalaccel-4.4.5 (dev-lang/perl)
kde-base/kgpg-4.4.4 (dev-lang/perl)
kde-base/khelpcenter-4.4.5 (dev-lang/perl)
kde-base/khotkeys-4.4.5 (dev-lang/perl)
kde-base/kiconfinder-4.4.5 (dev-lang/perl)
kde-base/killbots-4.4.4 (dev-lang/perl)
kde-base/kinfocenter-4.4.5 (dev-lang/perl)
kde-base/kioclient-4.4.5 (dev-lang/perl)
kde-base/klipper-4.4.5 (dev-lang/perl)
kde-base/kmag-4.4.4 (dev-lang/perl)
kde-base/kmenuedit-4.4.5 (dev-lang/perl)
kde-base/kmimetypefinder-4.4.5 (dev-lang/perl)
kde-base/kmix-4.4.5 (dev-lang/perl)
kde-base/knetattach-4.4.5 (dev-lang/perl)
kde-base/knewstuff-4.4.5 (dev-lang/perl)
kde-base/knotify-4.4.5 (dev-lang/perl)
kde-base/kolourpaint-4.4.5 (dev-lang/perl)
kde-base/kompare-4.4.4 (dev-lang/perl)
kde-base/konqueror-4.4.5 (dev-lang/perl)
kde-base/konsole-4.4.5 (dev-lang/perl)
kde-base/konsolekalendar-4.4.4 (dev-lang/perl)
kde-base/kpasswdserver-4.4.5 (dev-lang/perl)
kde-base/kquitapp-4.4.5 (dev-lang/perl)
kde-base/kreadconfig-4.4.5 (dev-lang/perl)
kde-base/krosspython-4.4.4 (dev-lang/perl)
kde-base/kruler-4.4.5 (dev-lang/perl)
kde-base/krunner-4.4.5 (dev-lang/perl)
kde-base/ksaneplugin-4.4.5 (dev-lang/perl)
kde-base/kscd-4.4.5 (dev-lang/perl)
kde-base/kscreensaver-4.4.5 (dev-lang/perl)
kde-base/ksmserver-4.4.5 (dev-lang/perl)
kde-base/ksnapshot-4.4.5 (dev-lang/perl)
kde-base/ksplash-4.4.5 (dev-lang/perl)
kde-base/kstart-4.4.5 (dev-lang/perl)
kde-base/kstartupconfig-4.4.5 (dev-lang/perl)
kde-base/kstyles-4.4.5 (dev-lang/perl)
kde-base/ksysguard-4.4.5 (dev-lang/perl)
kde-base/ksystraycmd-4.4.5 (dev-lang/perl)
kde-base/ktimer-4.3.5 (dev-lang/perl)
kde-base/ktimezoned-4.4.5 (dev-lang/perl)
kde-base/ktouch-4.4.4 (dev-lang/perl)
kde-base/ktraderclient-4.4.5 (dev-lang/perl)
kde-base/kuiserver-4.4.5 (dev-lang/perl)
kde-base/kurifilter-plugins-4.4.5 (dev-lang/perl)
kde-base/kwallet-4.3.5 (dev-lang/perl)
kde-base/kwalletd-4.4.5 (dev-lang/perl)
kde-base/kwin-4.4.5 (dev-lang/perl)
kde-base/kwrite-4.4.5 (dev-lang/perl)
kde-base/kwrited-4.4.5 (dev-lang/perl)
kde-base/libkcddb-4.4.5 (dev-lang/perl)
kde-base/libkcompactdisc-4.4.5 (dev-lang/perl)
kde-base/libkdcraw-4.4.5 (dev-lang/perl)
kde-base/libkdegames-4.4.5 (dev-lang/perl)
kde-base/libkdepim-4.4.5 (dev-lang/perl)
kde-base/libkexiv2-4.4.5 (dev-lang/perl)
kde-base/libkipi-4.4.5 (dev-lang/perl)
kde-base/libkonq-4.4.5 (dev-lang/perl)
kde-base/libkpgp-4.4.4 (dev-lang/perl)
kde-base/libksane-4.4.5 (dev-lang/perl)
kde-base/libkworkspace-4.4.5 (dev-lang/perl)
kde-base/libplasmaclock-4.4.5 (dev-lang/perl)
kde-base/libplasmagenericshell-4.4.5 (dev-lang/perl)
kde-base/libtaskmanager-4.4.5 (dev-lang/perl)
kde-base/mplayerthumbs-4.4.5 (dev-lang/perl)
kde-base/nepomuk-4.3.5 (dev-lang/perl)
kde-base/nsplugins-4.4.5 (dev-lang/perl)
kde-base/okteta-4.3.5 (dev-lang/perl)
kde-base/okular-4.4.5 (dev-lang/perl)
kde-base/phonon-kde-4.4.5 (dev-lang/perl)
kde-base/plasma-apps-4.4.5 (dev-lang/perl)
kde-base/plasma-runtime-4.4.5 (dev-lang/perl)
kde-base/plasma-workspace-4.4.5 (dev-lang/perl)
kde-base/policykit-kde-4.3.5 (dev-lang/perl)
kde-base/powerdevil-4.4.5 (dev-lang/perl)
kde-base/printer-applet-4.3.5 (dev-lang/perl)
kde-base/pykde4-4.4.5 (dev-lang/perl)
kde-base/qguiplatformplugin_kde-4.4.5 (dev-lang/perl)
kde-base/renamedlg-plugins-4.4.5 (dev-lang/perl)
kde-base/solid-4.4.5 (dev-lang/perl)
kde-base/solid-runtime-4.4.5 (dev-lang/perl)
kde-base/superkaramba-4.3.5 (dev-lang/perl)
kde-base/svgpart-4.4.5 (dev-lang/perl)
kde-base/sweeper-4.3.5 (dev-lang/perl)
kde-base/systemsettings-4.4.5 (dev-lang/perl)
kde-base/thumbnailers-4.4.5 (dev-lang/perl)
media-fonts/terminus-font-4.30 (dev-lang/perl)
media-gfx/imagemagick-6.6.2.5 (perl? >=dev-lang/perl-5.8.6-r6)
media-video/dvdrip-0.98.10-r2 (dev-lang/perl[-build])
media-video/kaffeine-1.0_pre3 (dev-lang/perl)
media-video/vdr-1.7.14 (dev-lang/perl)
net-misc/curl-7.20.0-r2 (test? dev-lang/perl)
net-nds/openldap-2.4.23 (!minimal & perl? dev-lang/perl[-build])
net-p2p/ktorrent-3.3.4 (dev-lang/perl)
net-print/cups-1.3.11-r2 (perl? dev-lang/perl)
perl-core/Archive-Tar-1.54 (dev-lang/perl[-build])
perl-core/Compress-Raw-Bzip2-2.024 (dev-lang/perl[-build])
perl-core/Compress-Raw-Zlib-2.024 (dev-lang/perl[-build])
perl-core/Digest-MD5-2.39 (dev-lang/perl[-build])
perl-core/ExtUtils-CBuilder-0.27.03 (dev-lang/perl[-build])
perl-core/ExtUtils-ParseXS-2.22.05 (dev-lang/perl[-build])
perl-core/File-Spec-3.31 (dev-lang/perl[-build])
perl-core/IO-Compress-2.024 (dev-lang/perl[-build])
perl-core/IO-Zlib-1.10 (dev-lang/perl[-build])
perl-core/MIME-Base64-3.08 (dev-lang/perl[-build])
perl-core/Module-Build-0.36.07 (dev-lang/perl[-build])
perl-core/Package-Constants-0.02 (dev-lang/perl)
perl-core/Pod-Escapes-1.04 (dev-lang/perl)
perl-core/Pod-Simple-3.14 (dev-lang/perl[-build])
perl-core/Scalar-List-Utils-1.23 (dev-lang/perl[-build])
perl-core/Storable-2.20 (dev-lang/perl[-build])
perl-core/Sys-Syslog-0.27 (dev-lang/perl)
perl-core/Test-Harness-3.17 (dev-lang/perl)
perl-core/Test-Simple-0.94 (dev-lang/perl[-build])
perl-core/digest-base-1.16 (dev-lang/perl[-build])
perl-core/libnet-1.22 (dev-lang/perl)
sys-apps/help2man-1.37.1 (dev-lang/perl)
sys-apps/util-linux-2.17.2 (perl? dev-lang/perl)
sys-devel/autoconf-2.13 (dev-lang/perl)
sys-devel/autoconf-2.65-r1 (dev-lang/perl)
sys-devel/automake-1.8.5-r3 (dev-lang/perl)
sys-devel/automake-1.9.6-r3 (dev-lang/perl)
sys-devel/automake-1.10.3 (dev-lang/perl)
sys-devel/automake-1.11.1 (dev-lang/perl)
sys-devel/libperl-5.8.8-r2 (~dev-lang/perl-5.8.8)
x11-libs/libX11-1.3.4 (test? dev-lang/perl)
x11-libs/libsexy-0.1.11-r1 (>=dev-lang/perl-5)
x11-misc/icon-naming-utils-0.8.90 (>=dev-lang/perl-5)
xfce-base/exo-0.3.107 (>=dev-lang/perl-5.6)
myBox #

If I unmerged libperl I might lose the installation...
I backed up my system at the state it currently is... With the fine linux utility called dd on entire root and boot partition (for those who are still newer than me in the linux world)...
But I think I had better wait for this bug (if it is a bug) to be solved... Or something else... I'm really stuck here.
Back to top
View user's profile Send private message
sera
Retired Dev
Retired Dev


Joined: 29 Feb 2008
Posts: 1017
Location: CET

PostPosted: Sun Oct 24, 2010 10:41 am    Post subject: Reply with quote

And simply telling portage to emerge perl before world doesn't work?

Code:
emerge -1 perl
Back to top
View user's profile Send private message
miroR
l33t
l33t


Joined: 05 Mar 2008
Posts: 826

PostPosted: Sun Oct 24, 2010 1:42 pm    Post subject: perl-5.8.8-r8 fails to upgrade to perl-5..12.2-r1 Reply with quote

sera wrote:
And simply telling portage to emerge perl before world doesn't work?

Code:
emerge -1 perl

Thanks for kind consideration and advice, in the first place...
Just to say, that in the meantime, and this must be of use for the other newbies, even longer-time ones like me, I made a lucky typo and consequently made a little progress.
Instead od
Code:
emerge -avtuDN world
I unintentionally entered
Code:
emerge -avruDN world
that is "r" instead of "t", and I got most of the remaining packages upgraded.
I am now left with a buch of less than ten packages total, to upgrade.
-r is for --resume what can be done, dropping what can't.

I am trying to see if you ardvice helps any.
No, it doesn't.
dev-lang/perl-5.12.2-r1 installs in the very same fashion as I've seen many times in the last day or two.
It's losing completely sight of the system it is in, going blind and dropping out of my konsole shell:
Code:
...
nl_langinfo() found.
Checking to see if your C compiler knows about "volatile"...
Choosing the C types to be used for Perl's internal types...
Checking how many bits of your UVs your NVs can preserve...
Checking to find the largest integer value your NVs can hold...
The largest integer your NVs can preserve is equal to 256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0
Checking whether NV 0.0 is all bits zero in memory...
0.0 is represented as all bits zero in memory
Checking to see if you have off64_t...
pause() found.
poll() found.
readlink() found.
exe: no job control in this shell
myBox UU #

That "UU" is what it is left at, it is not a location in my filesystem where I was when issued the suggested command.
Pls. also note how it has:
"no job control in this shell"!
At this point, if I issue "exit" (nothing else can make anything happen in that shell), it will proceed and get me a dozen or less sreenful of some compilation (I am getting those right now), it will eventually even report "Source configured." (I am still waiting for that right now, but take my word for it... wait... wait... yes,exactly.)
And eventually it failed.
Like this:
Code:

....

/bin/sh: line 2: /usr/local/bin/ln: Permission denied
/bin/sh: line 2: /usr/local/bin/ln: Permission denied
/bin/sh: line 2: /usr/local/bin/ln: Permission denied
/bin/sh: line 2: /usr/local/bin/ln: Permission denied
/bin/sh: line 2: /usr/local/bin/ln: Permission denied
LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2:/usr/lib64/fglrx:/usr/lib32/fglrx  ./miniperl -Ilib autodoc.pl
/usr/local/bin/ln perl5122delta.pod pod/perldelta.pod
make: /usr/local/bin/ln: Command not found
make: *** [pod/perldelta.pod] Error 127
 * ERROR: dev-lang/perl-5.12.2-r1 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2896:  Called die
 * The specific snippet of code:
 *       emake -j1 || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =dev-lang/perl-5.12.2-r1',
 * the complete build log and the output of 'emerge -pqv =dev-lang/perl-5.12.2-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-lang/perl-5.12.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/perl-5.12.2-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2'

>>> Failed to emerge dev-lang/perl-5.12.2-r1, Log file:

>>>  '/var/tmp/portage/dev-lang/perl-5.12.2-r1/temp/build.log'

 * Messages for package dev-lang/perl-5.12.2-r1:

 * UPDATE THE PERL MODULES:
 * After updating dev-lang/perl you must reinstall
 * the installed perl modules.
 * Use: perl-cleaner --all
 * ERROR: dev-lang/perl-5.12.2-r1 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2896:  Called die
 * The specific snippet of code:
 *       emake -j1 || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =dev-lang/perl-5.12.2-r1',
 * the complete build log and the output of 'emerge -pqv =dev-lang/perl-5.12.2-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-lang/perl-5.12.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/perl-5.12.2-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2'

 * GNU info directory index is up-to-date.
myBox #


What it is doing anyway with inconsequential files in /usr/local/bin ?
Ah, well, I'll follow the advice it gave in the bottom and post things:

Code:
myBox # emerge --info =dev-lang/perl-5.12.2-r1
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.3.4, glibc-2.11.2-r0, 2.6.31-gentoo-r6-100115_0100 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r6-100115_0100-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-1.12.13
Timestamp of tree: Sat, 23 Oct 2010 22:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.1.2, 4.3.4, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.espri.arizona.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://prometheus.cs.wmich.edu/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirror.bih.net.ba/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo "
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB hr it de en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/vdr-testing /var/lib/layman/vdr-devel /var/lib/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 jpeg kde lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB hr it de en_US" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
myBox #

Following more of the advice it gave as it failed:
Code:

myBox # emerge -pqv =dev-lang/perl-5.12.2-r1
[ebuild     U ] dev-lang/perl-5.12.2-r1 [5.8.8-r8] USE="berkdb gdbm -build -debug -doc -ithreads (-perlsuid%)"
myBox #

I am lost what to try next. I don't get this...
This is hard on my late middle age... ;-) ...
Back to top
View user's profile Send private message
miroR
l33t
l33t


Joined: 05 Mar 2008
Posts: 826

PostPosted: Sun Oct 24, 2010 4:05 pm    Post subject: I had to mask libperl-5.8.8-r2 in package.mask Reply with quote

I added this line to /etc/portage/package.mask
>sys-devel/libperl-5.8.8-r2

All is now upgraded, just the perl is prevented from.

Code:
*  dev-lang/perl
      Latest version available: 5.12.2-r1
      Latest version installed: 5.8.8-r8


If anyone even in the future reads this, let us know why this perl hassle, what caused it... I mean it killed my brainz dead just to finish off the rest of the upgrade, without perl...
Back to top
View user's profile Send private message
miroR
l33t
l33t


Joined: 05 Mar 2008
Posts: 826

PostPosted: Mon Oct 25, 2010 2:22 pm    Post subject: Looks like it's bug 342451 Reply with quote

Here:
https://bugs.gentoo.org/show_bug.cgi?id=342451
Fresh and inviting!
Back to top
View user's profile Send private message
rlodwig
n00b
n00b


Joined: 23 Sep 2009
Posts: 12

PostPosted: Mon Oct 25, 2010 3:33 pm    Post subject: Reply with quote

This question is going to illustrate my profound ignorance, but have you tried your emerge as root (if not already)?
Back to top
View user's profile Send private message
miroR
l33t
l33t


Joined: 05 Mar 2008
Posts: 826

PostPosted: Mon Oct 25, 2010 3:57 pm    Post subject: root only Reply with quote

I never bothered creating much else than root on my system anyway... Well, almost...
Thanks for your care, anyway.
But this does go a little deeper than I can trully follow it either, yes...
Back to top
View user's profile Send private message
miroR
l33t
l33t


Joined: 05 Mar 2008
Posts: 826

PostPosted: Tue Oct 26, 2010 12:56 pm    Post subject: The UN-inconsequential files in /usr/local/bin Reply with quote

The "bug" or bug is SOLVED.
But it is explained in context of a different bug mentioned above.
Pls. take a look if ever your stumble upon an issue as this one that killed some amount of nerves here.
https://bugs.gentoo.org/show_bug.cgi?id=342451
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