I have reducd my processor flags as suggested some days before. No I have it the most simple but optimal possible. When I emerge irssi-0.8.6-r2, the compilation finds 'undefined references' and ld returns 1 exit status. Reproducible: Always Steps to Reproduce: 1. emerge irssi Actual Results: What happens is that when I emerge irssi, the compilation fails. (more references follow) /usr/lib/perl5/5.8.0/i686-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x7a1): In function `XS_DynaLoader_dl_find_symbol': : undefined reference to `PL_stack_sp' /usr/lib/perl5/5.8.0/i686-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x7db): In function `XS_DynaLoader_dl_find_symbol': : undefined reference to `PL_stack_base' /usr/lib/perl5/5.8.0/i686-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x807): In function `XS_DynaLoader_dl_undef_symbols': : undefined reference to `PL_markstack_ptr' /usr/lib/perl5/5.8.0/i686-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x810): In function `XS_DynaLoader_dl_undef_symbols': : undefined reference to `PL_stack_base' /usr/lib/perl5/5.8.0/i686-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x816): In function `XS_DynaLoader_dl_undef_symbols': : undefined reference to `PL_stack_sp' /usr/lib/perl5/5.8.0/i686-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x820): In function `XS_DynaLoader_dl_undef_symbols': : undefined reference to `PL_markstack_ptr' /usr/lib/perl5/5.8.0/i686-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x841): In function `XS_DynaLoader_dl_undef_symbols': : undefined reference to `PL_stack_sp' collect2: ld returned 1 exit status make[3]: *** [irssi] Error 1 make[3]: Leaving directory `/var/tmp/portage/irssi-0.8.6-r2/work/irssi-0.8.6/src/fe-text' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/irssi-0.8.6-r2/work/irssi-0.8.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/irssi-0.8.6-r2/work/irssi-0.8.6' make: *** [all-recursive-am] Error 2 !!! ERROR: net-irc/irssi-0.8.6-r2 failed. !!! Function src_compile, Line 65, Exitcode 2 !!! (no error message) Expected Results: I expected that the compilation would work correctly after all. Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-xfs-r3 i686 AMD Athlon(tm) XP 1800+ GENTOO_MIRRORS="http://ftp.belnet.be/mirrors/rsync.gentoo.org/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="mad berkdb nas gnome 3dnow aalib acpi apm arts avi cdr crypt cups curl dga directfb doc dvb dvd emacs encode esd ethereal evo fbcon X kde alsa zlib ipv6 firebird flash gb gd gdbm ggi gif gnomegphoto2 gpm gtk gtkhtml guile icc imlib java jikes jpeg junit ladcca lcms leim libg++ libwww mbox mikmod memlimit mmx motif mozilla mpeg mule ncurses nls oav oggvorbis opengl oss pam pdflib perl plotutils png pnp prebuilt python qt quicktime readline ruby samba scanner sdl slang slp spell ssl svga tcltk tcpd tetex tiff truetype usb wmf xml xml2 xmms xv x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -pipe" CXXFLAGS="-mcpu=athlon-xp -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
run revdep-rebuild try reemerge perl
The problem seems worse than I first though. Bellow the results: oot@BlackHat ioannis # revdep-rebuild Checking reverse dependencies... Packages containing binaries and libraries broken by any package update, will be recompiled. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... broken /usr/lib/python2.2/site-packages/gtk-2.0/gtk/glmodule.so (requires libgtkgl-2.0.so.1) broken /usr/lib/ocaml/stublibs/dlllablglade.so (requires libglade-gnome.so.0 libglade.so.0) broken /usr/bin/gnomexmms (requires libpanel_applet.so.0) broken /opt/Globus/bin/ud (requires libtermcap.so.2) broken /opt/JBuilder9/bin/cvs (requires libgssapi_krb5.so.2 libkrb4.so.2 libdes425.so.3 libk5crypto.so.3 libcom_err.so.3 libkrb5.so.3) done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... done. (/root/.revdep-rebuild.4_ebuilds) Evaluating package order... done. (/root/.revdep-rebuild.5_order) All prepared. Starting rebuild... emerge --oneshot --nodeps =dev-ml/lablgtk-1.2.5 =dev-python/pygtk-1.99.16 =media-sound/xmms-1.2.7-r22 .......... Calculating dependencies ...done! >>> emerge (1 of 3) dev-ml/lablgtk-1.2.5 to / >>> md5 src_uri ;-) lablgtk-1.2.5.tar.gz >>> Unpacking source... >>> Unpacking lablgtk-1.2.5.tar.gz to /var/tmp/portage/lablgtk-1.2.5/work >>> Source unpacked. gnome opengl /bin/sh: line 1: libglade-config: command not found libglade-config failed make: *** [configure] Error 2 !!! ERROR: dev-ml/lablgtk-1.2.5 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! ./configure failed Result is not OK, you have following chances: - if emerge failed during build, fix the problems and re-run revdep-rebuild or - use -X or --package-names as first argument (try to rebuild package, not exact ebuild - ignores SLOT!) or - set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask (and remove /root/.revdep-rebuild.5_order to be evaluated again) or - modify the above emerge command and run it manually or - compile or unmerge unsatisfied packages manually, remove temporary files and try again (you can edit package/ebuild list first) To remove temporary files, please run: rm /root/.revdep-rebuild*.?_*
emerge --oneshot --nodeps =dev-ml/lablgtk-1.2.5 =dev-python/pygtk-1.99.16 =media-sound/xmms-1.2.7-r22 I removed the --nodeps and now it seems to work... depedencies were required, will report soon.
I did what you said, corrected dependencies and reemerged perl. Problem persists.
i have the same issue with the current stable release of irssi. the irssi-cvs ebuild which was committed today works ok however. does anyone know who the current irssi maintainer is? perhaps they would like to diff out a patch from cvs?
This is a bigger trouble than I first thought... how can we know who the mantainer is? (meanwhile i move to cvs version, but... what would be the commands, in order, to be installed?)
to move to the cvs ebuild you can do this: emerge sync && emerge unmerge irssi && emerge irssi-cvs As far as the maintainer goes, i will speak to someone who can tell me soon, the Changelog is a little vague as to who actually looks after it. If i find no one is maintaining it then I am prepared to take over this. The cvs ebuild is pretty nice though ;)
If you have to take it... lemme help you in some way or lemme see how you do what ;) I'm planning about mantaining rnmap... recent release... :)
I have the exact same problem. I ran revdep-rebuild, it finished successfully. I did emerge -e perl. That also finished successfully. I still can't emerge irssi or irssi-cvs. Linux sequoia 2.4.20-gentoo-r5 #2 Tue Jul 15 15:19:32 GMT 2003 i686 Pentium III (Katmai) GenuineIntel GNU/Linux model name : Pentium III (Katmai) stepping : 3 cpu MHz : 548.656 cache size : 512 KB USE="aalib acpi -apache2 apm avi -canna crypt directfb ethereal fbcon gif -gnome -gphoto2 gpm -gps gtk java jikes jpeg -kde kerberos oggvorbis opengl oss pam -pcmcia -pda pdflib png quicktime sasl -scanner spell sse ssl svga tcpd truetype X xmms xv x86" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="${CFLAGS}" ACCEPT_KEYWORDS="~x86" FEATURES="ccache" CCACHE_SIZE="500M"
irssi-cvs did work for me, so I don't know what's going on with your system, so better give a detailed description.
CFLAGS="-march=pentium3 -O3 -pipe" try chaging this to CFLAGS="-mcpu=pentium3 -O3 -pipe"
I can emerge irssi-cvs by doing USE="-perl" emerge -uv irssi-cvs. This works for now, but i'd really like to have perl support in my irssi client... The error for both irssi and irssi-cvs is exactly as you stated below, so I'm not re-pasting it.
can you please tell me what version of perl you used and paste to me your "emerge info" output please. thanks :)
Fixed it! Steps: emerge -v libperl perl revdep-rebuild emerge -uv irssi
:) closing
maybe this means that it should be advisable to make ppl aware that revdep-rebuild is something that we should do? can someone tell me what this means..: reemerging libperl and perl + revdep-rebuild solves compile problems... is it some problem with the way gentoo stores the perl libs? i-m saying this because I have problemas with xchat and perl lately.. (cant load perl plugins..)
*** Bug 64338 has been marked as a duplicate of this bug. ***