built-in test fails when emerging ppl with test enabled Reproducible: Always Steps to Reproduce: 1. FEATURES=test emerge =dev-libs/ppl-0.10.2-r1 2. 3. Actual Results: make[4]: *** [check-local] Error 1 according to emerge .log, lpsol utility fails to correcty solve IP task Expected Results: test positive i need a working integer-programming solver and i am ready to spend some time to fix or narrow the problem if it matters, my gmp version is 4.3.1 failed emerge .log will be in next post emerge --info follows Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.3.2, glibc-2.11.2-r0, 2.6.34-gentoo-r6 x86_64) ================================================================= System uname: Linux-2.6.34-gentoo-r6-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-1.12.11.1 Timestamp of tree: Sat, 20 Nov 2010 00:00:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.10 dev-lang/python: 2.4.6, 2.5.4-r4, 2.6.4-r99 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11.1 sys-devel/binutils: 2.18-r3, 2.20.1-r1 sys-devel/gcc: 3.4.6-r2, 4.1.2, 4.3.2-r3, 4.4.3-r2 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=k8 -pipe -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -foptimize-sibling-calls -fprefetch-loop-arrays" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O3 -march=k8 -pipe -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -foptimize-sibling-calls -fprefetch-loop-arrays" DISTDIR="/usr/distfiles" FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans" GENTOO_MIRRORS="ftp://gentoo.bloodhost.ru/ ftp://ftp.chg.ru/pub/Linux/gentoo/" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB" MAKEOPTS="--jobs --load-average=3" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="lzma" PORTAGE_CONFIGROOT="/" 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="/tmp/" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/sage-on-gentoo /usr/local/portage/layman/oss-overlay /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac acpi alsa amd64 asf bdf berkdb branding bzip2 cairo cdr cli consolekit crypt cxx dbus doc dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gmp gpm gstreamer gtk iconv jadetex jpeg latex lcms libnotify mad mathextra mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib multislot ncurses nptl nptlonly objc objc++ ogg opengl openmp oss pam pango pcre pdf perl png ppds pppd pulseaudio python qt3support qt4 readline sdl session sndfile source spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb utf vorbis wavpack wma x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 254911 [details] failed emerge log
Strange, on my system ppl_lpsol isn't even built, despite the configure test saying it will be. checking whether to build the ppl_lcdd program... yes checking whether to build the ppl_lpsol program... yes
Fun, there's an automagic dependency on glpk I missed. I'll look into it.
What version of glpk do you have installed? With 4.44 I get the same failures but with 4.35 it passes.
(In reply to comment #4) > What version of glpk do you have installed? With 4.44 I get the same failures > but with 4.35 it passes. 4.44 now i will downgrade to 4.35 and re-run test
added USE=lpsol for the glpk dependency.
with glpk 4.35, test passed i wonder if it is possible to build ppl_lpsol without glpk? By the way, dev-libs/ppl-0.10.2-r1 installs files incorrectly 1) it installs licence files such as gpl.pdf into /usr/share/doc/ppl-... 2) it does not instal examples i suggest patch to the ebuild, tested on my computers: # diff ppl-0.10.2-r1.ebuild ppl-0.10.2-r2.ebuild 16c16 < IUSE="doc pch test watchdog" --- > IUSE="doc pch test watchdog examples" 60,63c60,74 < if ! use doc; then < rm -r "${D}"/usr/share/doc/${PF}/ppl-user*-html < rm -r "${D}"/usr/share/doc/${PF}/pwl-user*-html < fi --- > dox="${D}"/usr/share/doc/${PF} > use doc || rm -r "${dox}"/ppl-user*-html "${dox}"/pwl-user*-html > rm "${dox}"/gpl* "${dox}"/fdl* || die "failed to erase licences" > > use examples && { > cd "${WORKDIR}/${P}/demos" || die "no such dir ${WORKDIR}/${P}/demos" > for x in ${PN}_* ; do > einfo "Installing examples for $x" > y="${x}/examples" > rm "${y}"/Makefile* || die "no such dir $y or no Makefile in it" > insinto /usr/share/doc/${PF}/examples/${x} > doins "${y}"/* || die "doins on dir $y failed" > done > einfo "examples installed in /usr/share/doc/${PF}/examples" > }
(In reply to comment #7) > with glpk 4.35, test passed > > i wonder if it is possible to build ppl_lpsol without glpk? No, it uses GLPK's input routines according to the docs. I'll narrow down the version where it broke and send this upstream. > By the way, dev-libs/ppl-0.10.2-r1 installs files incorrectly > > 1) it installs licence files such as gpl.pdf into /usr/share/doc/ppl-... > 2) it does not instal examples > > i suggest patch to the ebuild, tested on my computers: > > # diff ppl-0.10.2-r1.ebuild ppl-0.10.2-r2.ebuild > > 16c16 > < IUSE="doc pch test watchdog" > --- > > IUSE="doc pch test watchdog examples" > 60,63c60,74 > < if ! use doc; then > < rm -r "${D}"/usr/share/doc/${PF}/ppl-user*-html > < rm -r "${D}"/usr/share/doc/${PF}/pwl-user*-html > < fi > --- > > dox="${D}"/usr/share/doc/${PF} > > use doc || rm -r "${dox}"/ppl-user*-html "${dox}"/pwl-user*-html > > rm "${dox}"/gpl* "${dox}"/fdl* || die "failed to erase licences" > > > > use examples && { > > cd "${WORKDIR}/${P}/demos" || die "no such dir ${WORKDIR}/${P}/demos" > > for x in ${PN}_* ; do > > einfo "Installing examples for $x" > > y="${x}/examples" > > rm "${y}"/Makefile* || die "no such dir $y or no Makefile in it" > > insinto /usr/share/doc/${PF}/examples/${x} > > doins "${y}"/* || die "doins on dir $y failed" > > done > > einfo "examples installed in /usr/share/doc/${PF}/examples" > > } > Thanks, I'll look into that too.
Fixed in 0.11.1.
(In reply to comment #9) > Fixed in 0.11.1. Please push to stable then (I just hit this bug).
Then you should file a stabilization bug, not reopen old stuff.