Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46382 - libyaz fails to build
Summary: libyaz fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-31 11:06 UTC by Blu3
Modified: 2004-04-16 19:41 UTC (History)
0 users

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


Attachments
config.cache (config.cache,4.06 KB, text/plain)
2004-04-06 11:47 UTC, Blu3
Details
config.log (config.log,4.86 KB, text/plain)
2004-04-06 11:48 UTC, Blu3
Details
config.status (config.status,7.91 KB, text/plain)
2004-04-06 11:48 UTC, Blu3
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Blu3 2004-03-31 11:06:45 UTC
make[1]: Entering directory `/var/tmp/portage/yaz-2.0.8/work/yaz-2.0.8/src'
/bin/sh ../libtool --mode=link gcc  -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer  -o libyaz.la -rpath /usr/lib -version-info 2:0:0 version.lo options.lo log.lo marcdisp.lo oid.lo wrbuf.lo nmemsdup.lo xmalloc.lo readconf.lo tpath.lo nmem.lo matchstr.lo atoin.lo siconv.lo marc8.lo odr_bool.lo ber_bool.lo ber_len.lo ber_tag.lo odr_util.lo odr_null.lo ber_null.lo odr_int.lo ber_int.lo odr_tag.lo odr_cons.lo odr_seq.lo odr_oct.lo ber_oct.lo odr_bit.lo ber_bit.lo odr_oid.lo ber_oid.lo odr_use.lo odr_choice.lo odr_any.lo ber_any.lo odr.lo odr_mem.lo dumpber.lo odr_enum.lo comstack.lo tcpip.lo waislen.lo unix.lo z-accdes1.lo z-accform1.lo z-acckrb1.lo z-core.lo z-diag1.lo z-espec1.lo z-estask.lo z-exp.lo z-grs.lo z-mterm2.lo z-opac.lo z-uifr1.lo z-rrf1.lo z-rrf2.lo z-sum.lo z-sutrs.lo z-oclcui.lo zes-expi.lo zes-exps.lo zes-order.lo zes-pquery.lo zes-psched.lo zes-pset.lo zes-update0.lo z-date.lo z-univ.lo zes-update.lo zes-admin.lo z-charneg.lo prt-ext.lo ill-core.lo item-req.lo ill-get.lo zget.lo yaz-ccl.lo diagbib1.lo logrpn.lo otherinfo.lo pquery.lo sortspec.lo z3950oid.lo charneg.lo zoom-c.lo zoom-opt.lo grs1disp.lo zgdu.lo soap.lo srw.lo srwutil.lo opacdisp.lo cclfind.lo ccltoken.lo cclerrms.lo cclqual.lo cclptree.lo cclqfile.lo cclstr.lo cql.lo cqlstdio.lo cqltransform.lo cqlutil.lo xcqlutil.lo cqlstring.lo cqlstrer.lo eventl.lo seshigh.lo statserv.lo requestq.lo tcpdchk.lo service.lo  -L/usr/lib -lxml2 -lz -lpthread -lm  -Lno/lib -lwrap -lnsl
/bin/sh ../libtool --mode=link gcc  -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer  -o libyazthread.la -rpath /usr/lib -version-info 2:0:0  thr-nmem.lo thr-statserv.lo thr-eventl.lo -L/usr/lib -lxml2 -lz -lpthread -lm  -Lno/lib -lwrap -lnsl
../libtool: line 1: cd: no/lib: No such file or directory
libtool: link: cannot determine absolute directory name of `no/lib'
make[1]: *** [libyazthread.la] Error 1
make[1]: *** Waiting for unfinished jobs....
../libtool: line 1: cd: no/lib: No such file or directory
libtool: link: cannot determine absolute directory name of `no/lib'
make[1]: *** [libyaz.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/yaz-2.0.8/work/yaz-2.0.8/src'
make: *** [all-recursive] Error 1

!!! ERROR: dev-libs/yaz-2.0.8 failed.


# grep "no/" *
config.log:configure:6482: gcc -o conftest -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer  -Ino/include  conftest.c  -Lno/lib -lwrap -lnsl 1>&5
config.log:configure:6827: gcc -o conftest -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer  -Ino/include  conftest.c -lpthread  -Lno/lib -lwrap -lnsl 1>&5
config.status:s%@CPPFLAGS@% -Ino/include%g
config.status:s%@LIBS@%-L/usr/lib -lxml2 -lz -lpthread -lm  -Lno/lib -lwrap -lnsl%g
libtool:        no/*-*-irix* | no/*-*-nonstopux*)
ltmain.sh:      no/*-*-irix* | no/*-*-nonstopux*)
yaz-config:yazextralibs="-L/usr/lib -lxml2 -lz -lpthread -lm  -Lno/lib -lwrap -lnsl"


# emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-rc2)
=================================================================
System uname: 2.6.5-rc2 i686 AMD Athlon(tm)
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache keepwork sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow S3TC X X509 acpi acpi4linux aim alsa apache2 arts artswrappersuid avi bluetooth bonobo caps cdf cdr chroot cle266 crypt cups debug dga dnd dv dvb dvd dvdr encode esd ethereal faad fam fax ffmpeg fftw flash flexresp foomaticdb freetype fs gd gdbm geoip gif gimpprint glut gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml icq idea imagemagick imap imlib imlib2 ipv6 irda irmc jabber jack jack-caps jack-tmpfs java javascript jbig jpeg kde lcms libg++ libgda libwww lirc ltsp mad mbox mcal md5sum mdb memlimit mikmod mmap mmx mng mozcalendar mozilla mozinterfaceinfo mozp3p mozsvg mpeg mpeg4 mpi msn ncurses nls nptl nvidia nviz oav odbc offensive oggvorbis openal opengl oscar oss pam parse-clocks pcap pda pdflib perl php pic plotutils png pnp postgres ppds python quicktime readline samba scanner sdl slang slp snmp socks5 sox speex spell sse ssl t1lib tcltk theora tiff transcode transparent-proxy truetype type1 usb v4l wmf x86 xgetdefault xine xinerama xml2 xmms xosd xv xvid yahoo yaz zlib zvbi"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-04-01 00:58:34 UTC
please attach:
config.cache
config.log
config.status
Comment 2 Blu3 2004-04-06 11:47:20 UTC
Created attachment 28796 [details]
config.cache
Comment 3 Blu3 2004-04-06 11:48:01 UTC
Created attachment 28797 [details]
config.log
Comment 4 Blu3 2004-04-06 11:48:31 UTC
Created attachment 28798 [details]
config.status
Comment 5 Blu3 2004-04-13 13:49:16 UTC
Inspecting these files, it looks like $enable_tcpd test is broken.  It appears to be set to "no" and thus the result is "no/lib" and "no/include".

configure:6482: gcc -o conftest -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer  -Ino/include  conftest.c  -Lno/lib -lwrap -lnsl 1>&5

configure:6508: checking for fnmatch.h


# Check whether --enable-tcpd or --disable-tcpd was given.
if test "${enable_tcpd+set}" = set; then
  enableval="$enable_tcpd"
  :
fi

if test "$enable_tcpd" != ""; then
        oldLibs=$LIBS
        oldCPPFLAGS=$CPPFLAGS
        if test "$enable_tcpd" != "yes"; then
                LIBS="$LIBS -L$enable_tcpd/lib"
                CPPFLAGS="$CPPFLAGS -I$enable_tcpd/include"
        fi
        echo $ac_n "checking for working tcpd.h""... $ac_c" 1>&6
echo "configure:6468: checking for working tcpd.h" >&5
        LIBS="$LIBS -lwrap -lnsl"
        cat > conftest.$ac_ext <<EOF
#line 6471 "configure"
Comment 6 Blu3 2004-04-13 13:52:33 UTC
# ./configure --help|grep tcpd
  --enable-tcpd[=PREFIX]  enable TCP wrapper for server if available

# grep tcpd /usr/portage/dev-libs/yaz/yaz-2.0.8.ebuild
IUSE="tcpd"
                tcpd? ( sys-apps/tcp-wrappers )"
        myopts="${myopts} `use_enable tcpd tcpd /usr`"

# grep tcpd /etc/make.conf
     -tcpd -qt -motif"
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-04-16 19:41:50 UTC
fixed in cvs.