Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92267 - Gawk 3.1.4 fails with undefined references to libiconv
Summary: Gawk 3.1.4 fails with undefined references to libiconv
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-11 09:51 UTC by Joshua
Modified: 2005-05-20 09:21 UTC (History)
0 users

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


Attachments
emerge log (log,42.39 KB, text/plain)
2005-05-11 10:49 UTC, Joshua
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua 2005-05-11 09:51:33 UTC
Compilation fails with undefined refs to libiconv and XML_Puller...
I have rebuild expat, glibc, etc... no change

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
Last error messages: 
gcc  -O2 -mcpu=i686 -fomit-frame-pointer -march=pentium3 -pipe  
-export-dynamic -L/usr/lib -o gawk  array.o awkgram.o builtin.o dfa.o ext.o 
field.o gawkmisc.o getopt.o getopt1.o io.o xml_puller.o main.o msg.o node.o 
random.o re.o regex.o replace.o version.o eval.o profile.o  -ldl -lm  -lexpat 
xml_puller.o(.text+0xd4): In function `XML_PullerAllocateAndCheck': 
: undefined reference to `libiconv' 
xml_puller.o(.text+0xb82): In function `XML_PullerCreate': 
: undefined reference to `libiconv_open' 
xml_puller.o(.text+0xbbc): In function `XML_PullerCreate': 
: undefined reference to `libiconv_close' 
xml_puller.o(.text+0xc54): In function `XML_PullerFree': 
: undefined reference to `libiconv_close' 
collect2: ld returned 1 exit status 
make[2]: *** [gawk] Error 1 
make[2]: Leaving directory `/var/tmp/portage/gawk-3.1.4-r4/work/xmlgawk' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/gawk-3.1.4-r4/work/xmlgawk' 
make: *** [all] Error 2 
 

Expected Results:  
compile 

Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.5-r0, 
2.6.12-rc1 i686) 
================================================================= 
System uname: 2.6.12-rc1 i686 Intel(R) Pentium(R) M processor 1400MHz 
Gentoo Base System version 1.4.16 
dev-lang/python:     2.3.3-r1 
sys-apps/sandbox:    1.2.5-r1 
sys-devel/autoconf:  2.59-r4 
sys-devel/automake:  1.8.5-r1 
sys-devel/binutils:  2.15.92.0.2-r8 
sys-devel/libtool:   1.5.2-r5 
virtual/os-headers:  2.4.21-r1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i386-pc-linux-gnu" 
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -march=pentium3 -pipe" 
CHOST="i386-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -march=pentium3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ http://gentoo.ccccom.com 
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirrors.tds.net/gentoo 
ftp://gentoo.ccccom.com" 
LINGUAS="eo fr" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/stuff/gentoo/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X aalib acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts 
cdparanoia cdr crypt cscope cups curl dga directfb doc dvd emacs emboss encode 
ethereal evo fbcon fdftk flac flash foomaticdb fortran gd gdbm gif ginac gmp 
gphoto2 gtk2 guile iconv imagemagick imlib innodb jabber jack java jikes jpeg 
kde ladcca lcms lesstif libg++ libwww mad mbox mcal memlimit mikmod mmx motif 
mozilla mp3 mpeg mpi mysql nas ncurses nls nocd offensive ogg oggvorbis opengl 
pcmcia pdflib perl png pnp ppds prelude python qt quicktime readline ruby sasl 
scanner sdl slang slp snmp speex spell sqlite sse ssl svga tcltk tcpd theora 
tiff truetype truetype-fonts trusted type1-fonts unicode usb vhosts vorbis wmf 
xine xinerama xml xml2 xosd xv yaz zeroconf zlib video_cards_radeon linguas_eo 
linguas_fr userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Comment 1 SpanKY gentoo-dev 2005-05-11 10:43:24 UTC
run `emerge gawk >& log` and post the log as an attachment
Comment 2 Joshua 2005-05-11 10:49:38 UTC
Created attachment 58680 [details]
emerge log
Comment 3 Joshua 2005-05-15 14:49:44 UTC
setting USE flag -xml lets gawk compile. 
It seems this is a problem;
http://clunkjay.net/blog/index.php?p=107
Comment 4 Joshua 2005-05-20 09:21:43 UTC
It seems I have a weirdness going on with libiconv (my fault) so I'll resolve 
that and I think it will take care of things.  Either way, setting use flag 
-xml does the trick