Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 82795

Summary: xmlgawk compile error
Product: Gentoo Linux Reporter: Michal Luczak <warf.spambox>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal CC: michael
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michal Luczak 2005-02-21 04:18:13 UTC
When I try to emerge gawk using +xml flags I've got following error:

i686-pc-linux-gnu-gcc  -O3 -mtune=pentium4 -pipe  -export-dynamic -o pgawk  array.o awkgram.o builtin.o dfa.o ext.o field.o gawkmisc.o getopt.o getopt1.o io.o main.o msg.o node.o random.o re.o regex.o replace.o version.o eval_p.o profile_p.o  -ldl -lm 
io.o(.text+0x1c4): In function `iop_close':
: undefined reference to `XML_PullerFree'
io.o(.text+0x1ef8): In function `iop_alloc':
: undefined reference to `XML_PullerCreate'
io.o(.text+0x1f1c): In function `iop_alloc':
: undefined reference to `XML_PullerEnable'
io.o(.text+0x2def): In function `get_a_record':
: undefined reference to `XML_PullerNext'
main.o(.text+0x1266): In function `main':
: undefined reference to `XML_ExpatVersion'
collect2: ld returned 1 exit status
make[2]: *** [gawk] Error 1
make[2]: *** Waiting for unfinished jobs....
io.o(.text+0x1c4): In function `iop_close':
: undefined reference to `XML_PullerFree'
io.o(.text+0x1ef8): In function `iop_alloc':
: undefined reference to `XML_PullerCreate'
io.o(.text+0x1f1c): In function `iop_alloc':
: undefined reference to `XML_PullerEnable'
io.o(.text+0x2def): In function `get_a_record':
: undefined reference to `XML_PullerNext'
main.o(.text+0x1266): In function `main':
: undefined reference to `XML_ExpatVersion'
collect2: ld returned 1 exit status
make[2]: *** [pgawk] 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

!!! ERROR: sys-apps/gawk-3.1.4-r4 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! xmlgawk make failed


Reproducible: Always
Steps to Reproduce:
1. USE="xml" emerge -uv sys-apps/gawk






Expected Results:  
proper compilation of gawk :-)

Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.4.3,
glibc-2.3.4.20050125-r0, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1,
Feb 18 2005, 12:54:06)]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.6.3, 1.5, 1.9.4, 1.8.5-r3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.19-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mtune=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mtune=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.inode.at/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cscope cups curl
emboss encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gpm gtk
gtk2 imagemagick imlib ipv6 jack java jpeg junit ldap libg++ libwww mad mikmod
mmx motif mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pdflib perl
plotutils png postgres python quicktime readline ruby samba sasl sdl slang snmp
spell sqlite sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts unicode xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Herbie Hopkins (RETIRED) gentoo-dev 2005-02-21 05:29:33 UTC
same problem here on amd64, gawk-3.1.4-r3 worked without probs.
Comment 2 Sven Wegener gentoo-dev 2005-02-21 05:40:19 UTC

*** This bug has been marked as a duplicate of 82620 ***