Attaching build log. Reproducible: Always Portage 2.2.0_alpha110_p35 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r2, 3.4.2-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.4.2-gentoo-r1-x86_64-Intel-R-_Core-TM-_i3-2120_CPU_@_3.30GHz-with-gentoo-2.2 Timestamp of tree: Thu, 30 Aug 2012 15:30:01 +0000 app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r2, 3.2.3 dev-util/cmake: 2.8.8-r3 dev-util/pkgconfig: 0.27 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.10.5 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.4 (virtual/os-headers) sys-libs/glibc: 2.15-r2 Repositories: gentoo proaudio mozilla sardemff7 x11 sabayon kde sunrise my-tree Installed sets: ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=native -O2 -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=n --complete-graph --binpkg-respect-use=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/pro-audio /var/lib/layman/mozilla /var/lib/layman/sardemff7 /var/lib/layman/x11 /var/lib/layman/sabayon /var/lib/layman/kde /var/lib/layman/sunrise /home/de/dev-tree" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 a53 aac aalib acc acpi adns alsa amd64 amr atm audiofile branding bzip2 cdda cdr cli consolekit cracklib css cups custom-cflags custom-optimization dbus dbx declarative dga dirac dri dts dv dvd dvdr emboss encode enscript exif ffmpeg firefox flac fortran gdu gif gles glut gmp gsm gstreamer gzip iconv imlib ipc jpeg jpeg2k kde ladspa lame lcms libedit libnotify libsamplerate libwww lzma lzo mad matroska matrox mikmod mime minimal mmap mmx mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack networkmanager nntp nocd nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp optimization orc osc pam pango pdf phonon plasma png policykit posix ppds pppd qt3support qt4 quicktime raw readline schroedinger sharedmem shorten smp sndfile sockets socks5 speex spell sse sse2 sse3 sse4 sse4_1 ssse3 startup-notification strong-optimization svg symlink sysfs taglib tcpd theora threads tiff toolame truetype twolame udev udisks unicode upower usb vaapi vcd vhosts vorbis wavpack wmf wxwidgets x264 xcb xcomposite xine xinerama xml xorg xpm xv xvid xvmc 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 322703 [details] Failed build log of xapian
(In reply to comment #1) > Created attachment 322703 [details] > Failed build log of xapian Please give me the steps to reproduce. In particular, I need to know what USE flags you used. You can also obtain this info from the last few lines of emerge --info xapian xapian has been in the tree a long time and I tested many times over and never hit anything, so I need details if this is a corner case.
# emerge --info =dev-libs/xapian-1.2.12 Portage 2.2.0_alpha124 (default/linux/amd64/10.0, gcc-4.7.1, glibc-2.16.0, 3.5.0-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.5.0-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.2 Timestamp of tree: Tue, 04 Sep 2012 10:30:01 +0000 app-shells/bash: 4.2_p37 dev-lang/python: 2.6.8, 2.7.3-r2, 3.2.3-r1 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.10.5 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.3 sys-devel/binutils: 2.22.90 sys-devel/gcc: 4.7.1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4::gnome sys-kernel/linux-headers: 3.5 (virtual/os-headers) sys-libs/glibc: 2.16.0 Repositories: gentoo marduk gnome ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA IBM-J1.6 AdobeFlash-10.3 skype-eula" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=nocona -mtune=corei7-avx -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=nocona -mtune=corei7-avx -fomit-frame-pointer -pipe" DISTDIR="/var/portage/distfiles" EMERGE_DEFAULT_OPTS=" --autounmask=n --binpkg-respect-use=y --buildpkg-exclude virtual/* --jobs --keep-going --misspell-suggestions=n --oneshot --quiet-build --quiet-unmerge-warn --usepkg " FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks fixlafiles news noinfo notitles parallel-fetch parallel-install protect-owned sandbox sfperms skiprocheck strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ja" MAKEOPTS="-j1" PKGDIR="/var/portage/packages" PORTAGE_COMPRESS="" PORTAGE_COMPRESS_FLAGS="" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage" PORTDIR_OVERLAY="/var/lib/layman/marduk /var/lib/layman/gnome" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acpi aes amd64 aperfmperf apic arat arch_perfmon avx bts cjk clflush cmov constant_tsc cx16 cx8 de ds_cpl dtes64 dts epb ept est flexpriority fpu fxsr ht ida introspection lahf_lm lm mca mce mmx monitor msr mtrr multilib nls nonstop_tsc nopl nx pae pam pat pbe pcid pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pts rdtscp sep smx ss sse sse2 sse4_1 sse4_2 ssse3 syscall tm tm2 tpr_shadow tsc tsc_deadline_timer unicode utf8 vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="auth_digest authn_file group_file dav dav_fs authz_groupfile" CAMERAS="*" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="*" GRUB_PLATFORMS="efi-32 efi-64 emu pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LINGUAS="ja" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="intel i915 i965 modesetting" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
# equery u =dev-libs/xapian-1.2.12 [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for dev-libs/xapian-1.2.12: U I + - brass : Enabled brass backend db support - - chert : Enabled chert backend db support - - doc : Adds extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally - - flint : Enabled flint backend db support - - inmemory : Enabled inmemory backend db support - - remote : Enabled remot backend db support + + sse : fast floating point optimization for PentiumIII+ class chips + + sse2 : faster floating point optimization for SSE2 capable chips - - static-libs : Build static libraries
I've also tried w/ gcc 4.6.3 with the same results.
Ok I just tried it with all USE flags swiched on and it built, so let's see what USE flag(s) is the catalyst.
Here are my findings: -brass -chert -flint -remote inmemory: Fail -brass -chert flint inmemory remote: Pass -brass -remote chert flint inmemory: Fail -brass chert flint inmemory remote: Pass -brass -chert -inmemory flint remote: Pass -brass -inmemory chert flint remote: Pass -brass -flint chert inmemory remote: Fail -brass -chert -flint -inmemory -remote: Fail -brass -chert -inmemory -remote flint: Fail -brass -flint -inmemory -remote chert: Fail -brass -inmemory -remote chert flint: Fail -brass -chert -flint inmemory remote: Fail -brass -flint -inmemory chert remote: Fail -brass -chert -flint -inmemory remote: Fail -brass -flint -remote chert inmemory: Fail -brass -chert -remote flint inmemory: Fail brass chert flint inmemory remote: Pass -chert -flint -remote brass inmemory: Fail -chert -flint brass inmemory remote: Fail -chert -flint -inmemory brass remote: Fail -chert -remote brass flint inmemory: Fail -chert -inmemory brass flint remote: Pass -chert -inmemory -remote brass flint: Fail -chert brass flint inmemory remote: Pass -chert -flint -inmemory -remote brass: Fail -flint -inmemory brass chert remote: Fail -flint -remote brass chert inmemory: Fail -flint -inmemory -remote brass chert: Fail -flint brass chert inmemory remote: Fail -inmemory brass chert flint remote: Pass -inmemory -remote brass chert flint: Fail -remote brass chert flint inmemory: Fail I don't currently see the pattern.
Ok, in all the Passing ones, "flint" is on. But apparenly "flint" isn't enough. It needs at least one other flag, but not just *any* flag. The following combinations pass: -brass -chert flint inmemory remote: Pass -brass chert flint inmemory remote: Pass -brass -chert -inmemory flint remote: Pass -brass -inmemory chert flint remote: Pass brass chert flint inmemory remote: Pass -chert -inmemory brass flint remote: Pass -chert brass flint inmemory remote: Pass -inmemory brass chert flint remote: Pass I don't know what the different backends mean. But the most minimal combination that works appears to be "-brass -chert -inmemory flint remote" so I'll use that one for the time being.
(In reply to comment #5) > I've also tried w/ gcc 4.6.3 with the same results. Thanks for the exhaustive analysis! This has nothing to do with gcc or glibc. It happens on a completely stable system too, gcc-4.5.4 and glibc-2.15-r2. Looks like all passing tests need both flint and remote. Subtracting those you get the remaining 8 possibilities: -brass -chert inmemory -brass chert inmemory -brass -chert -inmemory -brass chert -inmemory brass chert inmemory brass -chert -inmemory brass -chert inmemory brass chert -inmemory I need to pass this bug upstream. As far as gentoo is concerned, I may just have to drop USE=flint and remote and force --enable them. Let's see what upstream has to say first.
Upstream bug filed: http://trac.xapian.org/ticket/603 Also, this happens with xapian-1.2.12 which is the latest version. Changing topic to reflect this.
brass flint remote worked for me.
This bug is related (just stating the obvious): bug 409027.
(In reply to comment #12) > This bug is related (just stating the obvious): bug 409027. My suggestion to upstream is that, since it doesn't make sense to have no backends, to just make some decision here about what needs to be hardcoded and remove the options from the build system. Removing backends might be useful to slim down, but not if it breaks things.
USE=flint and remote dropped and forced enabled. Upstream is aware of the issue and suggest we simply not expose the options for now.
*** Bug 409027 has been marked as a duplicate of this bug. ***