Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343145 - sys-devel/libperl-5.8.8-r2 doesn't install libperl.so after perl downgrade (5.12 -> 5.8)
Summary: sys-devel/libperl-5.8.8-r2 doesn't install libperl.so after perl downgrade (5...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 343159 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-28 20:25 UTC by Joseph
Modified: 2010-10-29 19:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
imigemagick.log (imagemagick-6.6.2.5-20101028-200305.log,419.51 KB, text/plain)
2010-10-28 21:36 UTC, Joseph
Details
libperl-5.8.8-r2 log (sys-devel_libperl-5.8.8-r2_20101028-154624.log,45.00 KB, text/plain)
2010-10-29 19:12 UTC, Joseph
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph 2010-10-28 20:25:13 UTC
I'm downgrading to perl-5.8 and I had problem doing it so.
First I had a block:
[blocks B     ] <sys-devel/libperl-5.10.1 ("<sys-devel/libperl-5.10.1" is blocking dev-lang/perl-5.12.2-r1)

I unmerge libperl-5.10.1 and mask:
>=dev-lang/perl-5.12.2-r1
>=sys-devel/libperl-5.10.1
but it sill was giving me the same error message, so I run:

emerge -1 --nodeps =libperl-5.8.8* && emerge --nodeps =perl-5.8.8*

this worked but when I run "perl-cleaner --all" it tries to recompile imagemagick and I get error:

libtool: install: warning: remember to run `libtool --finish /usr/lib/ImageMagick-6.6.2/modules-Q16/coders'
make[2]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/work/ImageMagick-6.6.2-5'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/work/ImageMagick-6.6.2-5'
make: *** [install] Error 2
 * ERROR: media-gfx/imagemagick-6.6.2.5 failed:
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  54:  Called src_install
 *   environment, line 2654:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" install || die;
 *
 * If you need support, post the output of 'emerge --info =media-gfx/imagemagick-6.6.2.5',
 * the complete build log and the output of 'emerge -pqv =media-gfx/imagemagick-6.6.2.5'.
 * The complete build log is located at '/var/log/portage/media-gfx:imagemagick-6.6.2.5:20101028-200305.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/temp/environment'.
 * S: '/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/work/ImageMagick-6.6.2-5'

How to go about it?



Reproducible: Always




Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r0, 2.6.30-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r8-i686-AMD_Athlon-TM-_XP_2500+-with-gentoo-1.12.13
Timestamp of tree: Sat, 23 Oct 2010 02:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
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/ccache:     2.4-r7
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.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.1.2, 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="x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibidio.org/pub/linux/distributions/gentoo/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo http://gentoo.binarycompass.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j4"
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/kde-sunset /var/lib/layman/voip"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac foomaticdb fortran gdbm gif gpm gtk hal iconv ipv6 java jpeg kde kpathsea lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline scanner sdl session spell ssl startup-notification svg sysfs tcpd tetex tiff truetype type1 unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="via82xx" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias cgi" 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 en_US" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv vesa fbdev" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-10-28 20:53:46 UTC
Perl downgrade is very bad idea (propably unsupported too) but that said, need full build.log attached here
Comment 2 Joseph 2010-10-28 21:36:10 UTC
Created attachment 252423 [details]
imigemagick.log

Someone suggested on the forum that I shouldn't have a problem downgrading perl, so I went ahead with it.
Here is the imigemagick.log
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2010-10-29 05:45:06 UTC
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lperl

Where did =libperl-5.8.8* put the libperl.so?
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2010-10-29 11:50:07 UTC
*** Bug 343159 has been marked as a duplicate of this bug. ***
Comment 5 Joseph 2010-10-29 13:20:52 UTC
running locate libperl.so shows:

/usr/lib/perl5/5.8.2/i686-linux/CORE/libperl.so.1.5.8
/usr/lib/perl5/5.8.2/i686-linux/CORE/libperl.so.1
/usr/lib/perl5/5.8.2/i686-linux/CORE/libperl.so
/usr/lib/perl5/5.8.4/i686-linux/CORE/libperl.so.1.5.8
/usr/lib/perl5/5.8.4/i686-linux/CORE/libperl.so.1
/usr/lib/perl5/5.8.4/i686-linux/CORE/libperl.so
/usr/lib/perl5/5.8.5/i686-linux/CORE/libperl.so.1.5.8
/usr/lib/perl5/5.8.5/i686-linux/CORE/libperl.so.1
/usr/lib/perl5/5.8.5/i686-linux/CORE/libperl.so
/usr/lib/perl5/5.8.6/i686-linux/CORE/libperl.so.1.5.8
/usr/lib/perl5/5.8.6/i686-linux/CORE/libperl.so.1
/usr/lib/perl5/5.8.6/i686-linux/CORE/libperl.so
/usr/lib/perl5/5.8.7/i686-linux/CORE/libperl.so.1.5.8
/usr/lib/perl5/5.8.7/i686-linux/CORE/libperl.so.1
/usr/lib/perl5/5.8.7/i686-linux/CORE/libperl.so
/usr/lib/perl5/5.8.8/i686-linux/CORE/libperl.so.1.5.8
/usr/lib/perl5/5.8.8/i686-linux/CORE/libperl.so.1
/usr/lib/perl5/5.8.8/i686-linux/CORE/libperl.so
/usr/lib/libperl.so.1
/usr/lib/libperl.so.1.5.8

so it is there.
I've recompile perl-5.8.8-r8, tried to emerge imagemagick but it fails with the same error.
Comment 6 Joseph 2010-10-29 13:43:31 UTC
I've downgraded perl-cleaner to 1.05 run it: "perl-cleaner all" it finish OK
but imagemagick still fails.
Comment 7 Joseph 2010-10-29 15:55:22 UTC
Would un-merging perl-12 running revdep-rebuild and emerging perl-5.8 worked?
Is un-merging perl dangerous?
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-10-29 18:37:41 UTC
(In reply to comment #5)
> /usr/lib/libperl.so.1
> /usr/lib/libperl.so.1.5.8
> 
> so it is there.

no it isn't, what you need is "/usr/lib/libperl.so" for -lperl to work with linker.

post the build.log of =libperl-5.8.8* here.
Comment 9 Joseph 2010-10-29 19:12:35 UTC
Created attachment 252511 [details]
libperl-5.8.8-r2 log

Here it is.
I've emerged it with, as I had a blocker.
emerge --nodeps =perl-5.8.8*

could it be the reason
Comment 10 Joseph 2010-10-29 19:19:42 UTC
I re-emerge libperl-5.8.8-r2 without "--nodeps" but 
/usr/lib/libperl.so
was not created 
Comment 11 Joseph 2010-10-29 19:58:38 UTC
SOVED!
Thank you for your help.

Re-emerging emerge =perl-5.8.8* (without "--nodeps" solved the problem.
/usr/lib/libperl.so 
was created and package imagemagick compiles OK

So I think to downgrade perl it is a two stage process, running:
emerge -1 --nodeps =libperl-5.8.8* && emerge --nodeps =perl-5.8.8*
because of the strange block, next running it without "--nodeps"
emerge -1 libperl && emerge perl
perl-cleaner all

Last question:
Is :perl-cleaner-2.7" compatible with perl-5.8.8 or I need to stay with 1.05 version?