Emerging of libdnet fails, probably due to a wrong version of dev-libs/check. The error occurs while building the tests : make[1]: Entering directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/test' Making all in check make[2]: Entering directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/test/check' [...blah...] i686-pc-linux-gnu-gcc -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -o check_arp check_arp.o ../../src/libdnet.a -L/usr/lib -lcheck check_arp.o(.text+0x2a1): In function `main': : undefined reference to `suite_free' collect2: ld returned 1 exit status make[2]: *** [check_arp] Error 1 The ebuild doesn't seem to use the makecheck and test use flags, so it's "not possible" to disable the check. I tried also with libdnet-1.8-r1 and I have the same error. Reproducible: Always Steps to Reproduce: 1. emerge libdnet 2. 3. Actual Results: # emerge libdnet Calculating dependencies ...done! >>> emerge (1 of 1) dev-libs/libdnet-1.7 to / >>> md5 src_uri ;-) libdnet-1.7.tar.gz >>> Unpacking source... >>> Unpacking libdnet-1.7.tar.gz to /var/tmp/portage/libdnet-1.7/work >>> Source unpacked. * econf: updating /var/tmp/portage/libdnet-1.7/work/libdnet-1.7/config.guess with /usr/share/gnuconfig/config.guess * econf: updating /var/tmp/portage/libdnet-1.7/work/libdnet-1.7/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... found checking for working autoconf... found checking for working automake-1.4... found checking for working autoheader... found checking for working makeinfo... found checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for a BSD compatible install... /bin/install -c checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gethostbyname... yes checking for socket... yes checking for putmsg in -lstr... no checking for open_mib in -lnm... no checking for libcheck... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for fcntl.h... yes checking for unistd.h... yes checking for sys/bufmod.h... no checking for sys/dlpi.h... no checking for sys/dlpihdr.h... no checking for sys/dlpi_ext.h... no checking for sys/ioctl.h... yes checking for sys/mib.h... no checking for sys/ndd_var.h... no checking for sys/socket.h... yes checking for sys/sockio.h... no checking for sys/sysctl.h... yes checking for sys/time.h... yes checking for net/bpf.h... no checking for net/if.h... yes checking for net/if_arp.h... yes checking for net/if_dl.h... no checking for net/pfvar.h... no checking for net/raw.h... no checking for net/route.h... yes checking for netinet/ip_fw.h... no checking for linux/ip_fw.h... no checking for linux/ip_fwchains.h... no checking for linux/netfilter_ipv4/ipchains_core.h... yes checking for ip_fil_compat.h... no checking for netinet/ip_fil_compat.h... no checking for ip_compat.h... no checking for netinet/ip_compat.h... no checking for ip_fil.h... no checking for netinet/ip_fil.h... no checking for hpsecurity.h... no checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... (cached) yes checking for pid_t... yes checking for size_t... yes checking for sockaddr_in6 struct in <netinet/in.h>... yes checking for sa_len in sockaddr struct... no checking for arp_dev in arpreq struct... yes checking for rt_msghdr struct in <net/route.h>... no checking whether i686-pc-linux-gnu-gcc needs -traditional... no checking for working memcmp... yes checking for err... yes checking for strlcat... no checking for strlcpy... no checking for Berkeley Packet Filter... no checking for Linux proc filesystem... yes checking for Linux PF_PACKET sockets... yes checking for SNMP MIB2 STREAMS... no checking for route(7) STREAMS... no checking for arp(7) ioctls... yes checking for raw IP sockets ip_{len,off} host byte ordering... no checking for cooked raw IP sockets... no configure: creating ./config.status config.status: creating Makefile config.status: creating dnet-config config.status: creating include/Makefile config.status: creating include/dnet/Makefile config.status: creating man/Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating test/check/Makefile config.status: creating test/dnet/Makefile config.status: creating include/config.h Making all in include make[1]: Entering directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/include' make all-recursive make[2]: Entering directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/include' Making all in dnet make[3]: Entering directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/include/dnet' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/include/dnet' make[3]: Entering directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/include' make[3]: Leaving directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/include' make[2]: Leaving directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/include' make[1]: Leaving directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/include' Making all in man make[1]: Entering directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/man' Making all in src make[1]: Entering directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/src' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c addr-util.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c addr.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c blob.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c ip-util.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c ip6.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c rand.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c strlcat.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c strlcpy.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c arp-ioctl.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c eth-linux.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c fw-ipchains.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c intf.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c ip.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c route-linux.c rm -f libdnet.a ar cru libdnet.a addr-util.o addr.o blob.o ip-util.o ip6.o rand.o strlcat.o strlcpy.o arp-ioctl.o eth-linux.o fw-ipchains.o intf.o ip.o route-linux.o ranlib libdnet.a make[1]: Leaving directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/src' Making all in test make[1]: Entering directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/test' Making all in check make[2]: Entering directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/test/check' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c check_addr.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c check_arp.c check_arp.c: In function `main': check_arp.c:74: warning: implicit declaration of function `suite_free' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c check_blob.c check_blob.c: In function `main': check_blob.c:173: warning: implicit declaration of function `suite_free' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c check_eth.c check_eth.c: In function `main': check_eth.c:63: warning: implicit declaration of function `suite_free' check_addr.c: In function `main': check_addr.c:359: warning: implicit declaration of function `suite_free' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c check_fw.c check_fw.c: In function `main': check_fw.c:72: warning: implicit declaration of function `suite_free' check_fw.c: At top level: check_fw.c:41: warning: `test_fw_close' defined but not used i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c check_ip.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c check_intf.c check_ip.c: In function `main': check_ip.c:79: warning: implicit declaration of function `suite_free' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c check_rand.c check_intf.c: In function `main': check_intf.c:82: warning: implicit declaration of function `suite_free' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/include -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -c check_route.c check_rand.c: In function `main': check_rand.c:94: warning: implicit declaration of function `suite_free' i686-pc-linux-gnu-gcc -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -o check_addr check_addr.o ../../src/libdnet.a -L/usr/lib -lcheck check_route.c: In function `main': check_route.c:67: warning: implicit declaration of function `suite_free' i686-pc-linux-gnu-gcc -mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse -Wall -o check_arp check_arp.o ../../src/libdnet.a -L/usr/lib -lcheck check_arp.o(.text+0x2a1): In function `main': : undefined reference to `suite_free' collect2: ld returned 1 exit status make[2]: *** [check_arp] Error 1 make[2]: *** Waiting for unfinished jobs.... check_addr.o(.text+0x1825): In function `main': : undefined reference to `suite_free' collect2: ld returned 1 exit status make[2]: *** [check_addr] Error 1 make[2]: Leaving directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/test/check' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libdnet-1.7/work/libdnet-1.7/test' make: *** [all-recursive] Error 1 !!! ERROR: dev-libs/libdnet-1.7 failed. !!! Function src_compile, Line 510, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. # emerge info Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r5 i686) ================================================================= System uname: 2.6.10-gentoo-r5 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.5.3 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r6,sys-devel/autoconf-2.13 Automake: sys-devel/automake-1.7.9-r1,sys-devel/automake-1.8.5-r3,sys-devel/automake-1.5,sys-devel/automake-1.4_p6,sys-devel/automake-1.6.3,sys-devel/automake-1.9.4 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1,sys-kernel/linux26-headers-2.6.8.1-r2 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/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/lib/fax /usr/lib/mozilla/defaults/pref /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/bind /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://gentoo.zie.pg.gda.pl http://www.gigaload.org/gentoo.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 16bit 3dnow 3dnowex X X509 Xaw3d aac aalib acl acpi acpi4linux adns afs aim alsa amd anthy apache2 apm arts artswrappersuid async athena audiofile avibdf berkdb bidi bitmap-fonts bluetooth bootsplash bzip2 bzlib canna caps cdda cddb cdio cdparanoia cdr cdrom cjk clamav clanJavaScript clanVoice codecs crypt cscope css ctype cups curl devfs26 dga dict directfb divx4linux djbfft dmx dnd doc dts dv dvb dvd dvdr dvdread emboss encode ethereal evo exif extensions f77 faac faad fam fame fastcgi fbcon fbdev fdftk ffmpeg fftw flac flash fmod font-server foomaticdb fortran fpx freetype freewnn ftp gcj gd gdbm geoip ggi gif gimp gimpprint glut gmp gphoto2 graphviz gs gstreamer gtk gtk2 hal hbci icc icc-pgo iconv icq idea ieee1394 imagemagick imap imlib imlib2 inifile innodb ipv6 irmc jack jasper java javamail javascript jbig jce jikes joystick jp2 jpeg jpeg2k junit justify kde koffice-plugin ladcca lcms lesstif libcaca libclamav libsamplerate libwww lirc live lm_sensors logitech-mouse ltsp lzo lzw lzw-tiff m17n-lib mad maildir makecheck maps matroska mbox mcal md5sum memlimit mhash mikmod mime ming mjpeg mmap mmx mmx2 mng monkey motif mozcalendar mozilla moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer msn music mysql mysqli mythtv nas ncurses netcdf network nls nocardbus nocd nocstrike nodod notfc nothemes ntlm nvidia oav objc odbc offensiveofx ogg oggvorbis openal openexr opengl oscar pam parse-clocks pcre pda pdf pdflib perl php physfs pic pie plotutils png portaudio povray ppds print private pthreads pwdb python qt quicktime rdesktop readline real recode rrdtool rtc ruby samba sasl scanner screenshot sdk sdl server silc skk slang slp smime sndfile sockets sounds sox spamassassin speedo speex spell sqlite sqlite3 sse sse2 ssl stencil-buffer stream streamzap subject-rewrite svg svga sysvipc szip tcltk tcpd tetex tga theora tidy tiff tools transcode translator truetype truetype-fonts type1type1-fonts ucs2 ucs4 uim unicode usb userlocales utf8 v4l v4l2 vcd vcd-imager vhosts videos vidix vim-with-x virus-scan vnc vorbis wifi winbind wma123 wmf wxwindows xadmin xanim xface xfs xim xine xinerama xml xml2 xmms xosd xpm xprint xscreensaver xv xvid xvmc yahoo yv12 zlib video_cards_nvidia linguas_ar linguas_delinguas_en linguas_fr linguas_hu linguas_jp linguas_ro linguas_ru linguas_sp"
I cant't even get it to build anything in test/check let alone fail... Making all in check make[2]: Entering directory `/buildroot/portage/libdnet-1.8-r1/work/libdnet-1.8/test/check' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/buildroot/portage/libdnet-1.8-r1/work/libdnet-1.8/test/check'
btw, what happens when you try with sane CFLAGS?
# CFLAGS="" emerge dev-libs/libdnet and # USE="" CFLAGS="" emerge dev-libs/libdnet Same error for both
modify /etc/make.conf and just set optimization level and mcpu in your CFLAGS e.g: CFLAGS="-O2 -mcpu=i686"
I just tried, same error : i686-pc-linux-gnu-gcc -O2 -mcpu=i686 -Wall -o .libs/check_arp check_arp.o ../../src/.libs/libdnet.so -L/usr/lib -lcheck check_addr.o(.text+0x161a): In function `main': : undefined reference to `suite_free' What is this suite_free? Part of libdnet or another lib?
i cant reproduce the problem... but i found this link: http://mail.libexpat.org/pipermail/expat-bugs/2004-July/001932.html Maybe adding this code to the ebuild would help you: src_unpack() { unpack ${A} cd ${S}/test/check cd for file in $(ls check*) do sed -i -e 's/suite_free(s);/#suite_free(s);/g' $file done }
corrected-> src_unpack() { unpack ${A} cd ${S}/test/check for file in $(ls check*) do sed -i -e 's/suite_free(s);/#suite_free(s);/g' $file done }
Errrr. check_addr.c:359:10: invalid preprocessing directive #suite_free I imagine that you want to comment this line? I tried with the following: src_unpack() { unpack ${A} cd ${S}/test/check for file in $(ls check*) do sed -i -e 's/suite_free(s);/\/\/suite_free(s);/g' $file done } According to http://mail.libexpat.org/pipermail/expat-bugs/2004-July/001932.html the API has changed, so I tried to replace suite_free(s) with srunner_free(s) : src_unpack() { unpack ${A} cd ${S}/test/check for file in $(ls check*) do sed -i -e 's/suite_free(s);/srunner_free(s);/g' $file done } emerge succeeds too. I think this version is cleaner. Thanks for you help! :-)
dont try changin it to srunner_free(s) because its called just before suite_free(s), you currently calling it twice doing that , just erase or comment it as i did :P
Oups, hehe. You'r right. I reemerged it with suite_free commented. Thanks again!
Fixed. Thanks guys.