I get the following configure error: checking for Boost headers version >= 1.33.0... /usr/include checking for Boost's header version... 1_34_1 checking for the toolset name used by Boost for x86_64-pc-linux-gnu-g++... gcc43 checking boost/test/unit_test.hpp usability... no checking boost/test/unit_test.hpp presence... yes configure: WARNING: boost/test/unit_test.hpp: present but cannot be compiled configure: WARNING: boost/test/unit_test.hpp: check for missing prerequisite headers? configure: WARNING: boost/test/unit_test.hpp: see the Autoconf documentation configure: WARNING: boost/test/unit_test.hpp: section "Present But Cannot Be Compiled" configure: WARNING: boost/test/unit_test.hpp: proceeding with the preprocessor's result configure: WARNING: boost/test/unit_test.hpp: in the future, the compiler will take precedence checking for boost/test/unit_test.hpp... yes checking for the Boost unit_test_framework library... configure: error: Cannot compile a test that uses Boost unit_test_framework Reproducible: Always Steps to Reproduce: 1. install gcc-4.3.1 2. try to emerge libopenraw Actual Results: fails to install Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.7-r2, 2.6.24-gentoo-r4 x86_64) ================================================================= System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+ Timestamp of tree: Thu, 28 Aug 2008 19:33:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.5.2-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -msse3 -pipe" CHOST="x86_64-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/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d /etc/xdg" CXXFLAGS="-O2 -march=k8 -msse3 -pipe" DISTDIR="/mnt/rh/gentoo/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.po.opole.pl/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="pl_PL" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" 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="/mnt/rh/gentoo/build" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emboss encode evo exif fam firefox flac fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv isdnlog jpeg kerberos lame lcms ldap mad midi mikmod mmx mp3 mpeg mudflap multilib musepack ncurses nls nptl nptlonly nvidia offensive ogg opengl openmp pam pcre pdf perl png postscript ppds pppd python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl svg sysfs tcpd tetex tiff truetype truetype-fonts unicode usb userlocales vorbis xcb xml xorg xv xvid xvmc zlib" ALSA_CARDS="intel8x0 emu10k1" 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia s3 vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 164058 [details] output of config.log
This does not appear to be a GCC 4.3.1 issue. I just tested and this package compiles fine on ~amd64 with 4.3.1 and boost 1.35. Possibly a boost 1.34 issue?
So it is probably boost-1.34+gcc-4.3.1 issue, since I compiled it ok with boost-1.34+gcc-4.1.2. Probably adding dependency in ebuild on boost-1.35 for gcc-4.3 would solve the problem.
(In reply to comment #3) Can you try bumping your boost to 1.35 to verify? Assigned to maintainer.
Verified. Works ok with gcc-4.3.1 and boost-1.35.
(In reply to comment #5) I guess either boost 1.35 should be stabilized or the mask for the combo should be put in or possibly the config script can be patched. I am CCing the boost maintainer so he can comment. Please feel free to remove yourself if you feel this is incorrect.
All we have to do is to wait bug 245192 to fixed and adjust the dep.
+ 18 Jun 2009; Samuli Suominen <ssuominen@gentoo.org> + libopenraw-0.0.8.ebuild: + Raise boost depend to 1.35 wrt #236113, thanks to Tomasz Golinski for + reporting. I can go stable in about 2 weeks..
*it