Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24722 - irssi can't compile on AMD Athlon XP (FLAGS corrected, still happens)
Summary: irssi can't compile on AMD Athlon XP (FLAGS corrected, still happens)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Highest critical
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
: 64338 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-18 03:33 UTC by Ioannis Aslanidis (RETIRED)
Modified: 2004-09-18 11:19 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ioannis Aslanidis (RETIRED) gentoo-dev 2003-07-18 03:33:31 UTC
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"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-07-18 03:42:36 UTC
run revdep-rebuild 
try reemerge perl
Comment 2 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-07-18 03:58:27 UTC
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*.?_*
Comment 3 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-07-18 04:00:32 UTC
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.
Comment 4 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-07-18 04:56:51 UTC
I did what you said, corrected dependencies and reemerged perl. Problem persists.
Comment 5 John Mylchreest (RETIRED) gentoo-dev 2003-07-18 12:17:20 UTC
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?
Comment 6 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-07-18 12:23:00 UTC
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?)
Comment 7 John Mylchreest (RETIRED) gentoo-dev 2003-07-18 13:04:33 UTC
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 ;)
Comment 8 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-07-18 13:42:15 UTC
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... :)
Comment 9 Lina Pezzella (RETIRED) gentoo-dev 2003-07-23 07:55:04 UTC
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"
Comment 10 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-07-23 07:56:47 UTC
irssi-cvs did work for me, so I don't know what's going on with your system, so better give a detailed description.
Comment 11 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-07-23 07:57:54 UTC
CFLAGS="-march=pentium3 -O3 -pipe"
 try chaging this to 
CFLAGS="-mcpu=pentium3 -O3 -pipe"
Comment 12 Lina Pezzella (RETIRED) gentoo-dev 2003-07-23 10:03:53 UTC
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.
Comment 13 John Mylchreest (RETIRED) gentoo-dev 2003-07-23 11:09:51 UTC
can you please tell me what version of perl you used and paste to me your "emerge info" output please.

thanks :)
Comment 14 Lina Pezzella (RETIRED) gentoo-dev 2003-07-23 12:12:07 UTC
Fixed it!

Steps:
emerge -v libperl perl
revdep-rebuild
emerge -uv irssi
Comment 15 John Mylchreest (RETIRED) gentoo-dev 2003-07-29 06:44:08 UTC
:)
closing
Comment 16 Miguel Sousa Filipe 2003-10-06 14:15:34 UTC
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..)
Comment 17 Sven Wegener gentoo-dev 2004-09-18 11:19:09 UTC
*** Bug 64338 has been marked as a duplicate of this bug. ***