>>> Test phase [test]: dev-libs/libtommath-0.36-r1 cc -O2 -march=prescott -pipe -I./ -Wall -W -Wshadow -Wsign-compare -O3 -funroll-loops -fomit-frame-pointer -c -o demo/demo.o demo/demo.c demo/demo.c: In function 'myrng': demo/demo.c:40: warning: unused parameter 'dat' demo/demo.c: In function 'main': demo/demo.c:59: warning: unused variable 'mp' demo/demo.c:58: warning: unused variable 'old_kara_s' demo/demo.c:58: warning: unused variable 'old_kara_m' demo/demo.c:58: warning: unused variable 'err' demo/demo.c:58: warning: unused variable 'n' demo/demo.c:58: warning: unused variable 'i' demo/demo.c:56: warning: unused variable 't' cc -O2 -march=prescott -pipe -I./ -Wall -W -Wshadow -Wsign-compare -O3 -funroll-loops -fomit-frame-pointer demo/demo.o libtommath.a -o test demo/demo.o: In function `ndraw': demo.c:(.text+0x163): undefined reference to `mp_toradix' demo/demo.o: In function `main': demo.c:(.text+0x197): undefined reference to `mp_init' demo.c:(.text+0x1a6): undefined reference to `mp_init' demo.c:(.text+0x1b5): undefined reference to `mp_init' demo.c:(.text+0x1c4): undefined reference to `mp_init' demo.c:(.text+0x1d3): undefined reference to `mp_init' demo/demo.o:demo.c:(.text+0x1e2): more undefined references to `mp_init' follow demo/demo.o: In function `main': demo.c:(.text+0x1fc): undefined reference to `KARATSUBA_MUL_CUTOFF' demo.c:(.text+0x206): undefined reference to `KARATSUBA_SQR_CUTOFF' demo.c:(.text+0x210): undefined reference to `TOOM_MUL_CUTOFF' <snip> demo/demo.o:demo.c:(.text+0x1e7f): more undefined references to `mp_toradix' follow demo/demo.o: In function `main': demo.c:(.text+0x1f4a): undefined reference to `mp_gcd' collect2: ld returned 1 exit status make: *** [test] Error 1 * * ERROR: dev-libs/libtommath-0.36-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_test * environment, line 2052: Called die * The specific snippet of code: * hasq test $FEATURES && die "Make test failed. See above for details."; maybe you want to restrict it for now. Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23.16 i686) ================================================================= System uname: 2.6.23.16 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz Timestamp of tree: Wed, 20 Feb 2008 19:00:01 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa avahi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox fortran gdbm gif gimp gnome gpm gtk hal iconv ipv6 isdnlog jpeg kde latex mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime raw readline reflection samba sdl session smp spell spl sse sse2 ssl svg tcpd test tetex tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xine xml xorg xv zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Decided to RESTRICT=test on this version because the test suite appears to pass on the newer version in the tree. Workaround, I know..such is life ;) Thanks.
oops, I like to assign bugs to myself if I fix them. reopen
and close again, (sorry for the bugspam)