Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461748 - sys-devel/boost-m4: econf failed - checking for the Boost system library... configure: error: Unable to determine whether to use -R or -rpath
Summary: sys-devel/boost-m4: econf failed - checking for the Boost system library... c...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Nathan Phillip Brink (binki) (RETIRED)
URL: https://github.com/tsuna/boost.m4/pul...
Whiteboard:
Keywords:
: 462282 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-14 18:44 UTC by Randy Andy
Modified: 2013-03-19 10:34 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Andy 2013-03-14 18:44:45 UTC
>>> Emerging (1 of 1) media-gfx/povray-3.7.0_rc7
 * povray-3.7.0.RC7.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                              [ ok ]
>>> Unpacking source...
>>> Unpacking povray-3.7.0.RC7.tar.bz2 to /var/tmp/portage/media-gfx/povray-3.7.0_rc7/work
>>> Source unpacked in /var/tmp/portage/media-gfx/povray-3.7.0_rc7/work
>>> Preparing source in /var/tmp/portage/media-gfx/povray-3.7.0_rc7/work/povray-3.7.0.RC7 ...
 * Applying povray-3.7.0_rc7-user-conf.patch ...                                                                              [ ok ]
 * Applying povray-3.7.0_rc7-boost-1.50.patch ...                                                                             [ ok ]
 * Applying povray-3.7.0_rc5-automagic.patch ...                                                                              [ ok ]
 * Running eautoreconf in '/var/tmp/portage/media-gfx/povray-3.7.0_rc7/work/povray-3.7.0.RC7' ...
 * Running libtoolize --install --copy --force --automake ...                                                                 [ ok ]
 * Running aclocal ...                                                                                                        [ ok ]
 * Running autoconf ...                                                                                                       [ ok ]
 * Running autoheader ...                                                                                                     [ ok ]
 * Running automake --add-missing --copy ...                                                                                  [ ok ]
 * Running elibtoolize in: povray-3.7.0.RC7/unix/config/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/povray-3.7.0_rc7/work/povray-3.7.0.RC7 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/media-gfx/povray-3.7.0_rc7/work/povray-3.7.0_rc7_build"
 * econf: updating povray-3.7.0.RC7/unix/config/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating povray-3.7.0.RC7/unix/config/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/media-gfx/povray-3.7.0_rc7/work/povray-3.7.0.RC7/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --docdir=/usr/share/doc/povray-3.7.0_rc7 COMPILED_BY=Portage (Gentoo Linux) on big-server.localdomain --disable-debug --with-openexr=/usr/lib64 --without-libmkl --with-libtiff=/usr/lib64 --with-libsdl=/usr/lib64 --with-x=/usr/lib64 --disable-strip --disable-optimiz --disable-optimiz-arch
configure: loading site script /usr/share/config.site

===============================================================================
Configure POV-Ray version 3.7.0.RC7
===============================================================================

This is an unofficial version compiled by:
 Portage (Gentoo Linux) on big-server.localdomain
The POV-Ray Team(tm) is not responsible for supporting this version.

Environment
-----------
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to print strings... printf
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
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... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether $C_INCLUDE_PATH contains the "." path... no
checking whether $CPLUS_INCLUDE_PATH contains the "." path... no

Programs
--------
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for stdlib.h... (cached) yes
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether the x86_64-pc-linux-gnu-g++ compiler works... yes
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for C++ compiler vendor... gnu
checking for x86_64-pc-linux-gnu-g++ version... 4.7.2
checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib

Libraries
---------
checking whether to link with cygwin DLL... no
checking whether to enable static linking... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for Boost headers version >= 1.37.0... yes
checking for Boost's header version... 1_52
checking for the flags needed to use pthreads... <command-line>:0:12: warning: missing terminating " character [enabled by default]
<command-line>:0:13: warning: missing terminating " character [enabled by default]
-pthread
checking for the toolset name used by Boost for x86_64-pc-linux-gnu-g++... gcc47 -gcc
checking boost/system/error_code.hpp usability... yes
checking boost/system/error_code.hpp presence... yes
checking for boost/system/error_code.hpp... yes
checking for the Boost system library... configure: error: Unable to determine whether to use -R or -rpath

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-gfx/povray-3.7.0_rc7/work/povray-3.7.0_rc7_build/config.log
 * ERROR: media-gfx/povray-3.7.0_rc7 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 3663:  Called autotools-utils_src_configure
 *        environment, line  828:  Called econf '--docdir=/usr/share/doc/povray-3.7.0_rc7' 'COMPILED_BY=Portage (Gentoo Linux) on big-server.localdomain' '--disable-debug' '--with-openexr=/usr/lib64' '--without-libmkl' '--with-libtiff=/usr/lib64' '--with-libsdl=/usr/lib64' '--with-x=/usr/lib64' '--disable-strip' '--disable-optimiz' '--disable-optimiz-arch'
 *   phase-helpers.sh, line  521:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/povray-3.7.0_rc7'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/povray-3.7.0_rc7'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/povray-3.7.0_rc7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/povray-3.7.0_rc7/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/povray-3.7.0_rc7/work/povray-3.7.0_rc7_build'
 * S: '/var/tmp/portage/media-gfx/povray-3.7.0_rc7/work/povray-3.7.0.RC7'

>>> Failed to emerge media-gfx/povray-3.7.0_rc7, Log file:

>>>  '/var/tmp/portage/media-gfx/povray-3.7.0_rc7/temp/build.log'
 * 
 * The following package has failed to build or install:
 * 
 *  (media-gfx/povray-3.7.0_rc7::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/media-gfx/povray-3.7.0_rc7/temp/build.log'


Reproducible: Always

Steps to Reproduce:
1.Compile povray-3.7.0_rc7 with installed ev-libs/boost-1.52.0-r6 and sys-devel/boost-m4-0.3


Actual Results:  
checking for the Boost system library... configure: error: Unable to determine whether to use -R or -rpath

Expected Results:  
compile successfully 
I tried to recompile my installed povray-3.7.0_rc6 version without success.

My /etc/portage/package.env, cause I use some LTO optimization except for the listed packages:

dev-libs/libaio no-lto.conf
dev-libs/boost no-lto.conf
sys-devel/boost-m4 no-lto.conf
dev-lang/perl no-lto.conf
sys-fs/e2fsprogs no-lto.conf
x11-libs/qt-script no-lto.conf
x11-base/xorg-server no-lto.conf
app-misc/strigi no-lto.conf
kde-base/kdelibs no-lto.conf
kde-base/okular no-lto.conf
media-video/avidemux no-lto.conf
dev-tex/luatex no-lto.conf
app-office/libreoffice no-lto.conf
app-office/calligra no-lto.conf
media-gfx/inkscape no-lto.conf
media-gfx/povray no-lto.conf
dev-db/mariadb no-lto.conf
Comment 1 Randy Andy 2013-03-14 18:46:57 UTC
emerge --info =media-gfx/povray-3.7.0_rc7
Portage 2.2.0_alpha166 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.2, glibc-2.16.0, 3.7.10-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.7.10-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2
KiB Mem:     8169660 total,    287932 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Thu, 14 Mar 2013 15:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo betagarden
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer -flto=4 -fuse-linker-plugin"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer -flto=4 -fuse-linker-plugin"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --keep-going --autounmask-write"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -flto=4 -fuse-linker-plugin"
MAKEOPTS="-j4"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/betagarden"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aacs aalib accessibility acpi additions addressbook aften alsa amd64 amr animgif apm apng audiofile autoipd autotrace avahi bash-completion berkdb binary-drivers binfilter bluetooth bluray branding bzip2 c++0x cairo canvas ccache cdda cddb cdio cdparanoia cdr cdrdao cdrom cgi chipcard chroot cjk clamav cli clucene compressed-lumas consolekit corefonts cover cracklib crypt css cups custom-cpuopts cvs cvsgraph cxx daemon dar64 dbus dc1394 declarative dhcpcd dia dirac disk-partition djbfft djvu dri dts dv dvd dvdnav dvdr dvi dynamic editor emboss emovix enca encode enscript excel exif extensions extrafilters extras fam fame fat ffmpeg fftw finger firefox firefox3 flac flash flv fmod fontconfig foomaticdb fortran fortran2003 fpx frei0r fuse g3dvl gallium gcj gd gdbm geolocation gif gimp glew glib glut gnokii gold gpac gphoto2 gpm graphviz gsl gstreamer gtk gtk3 gzip hddtemp hdri howl-compat html http httpd iconv icq id3 id3tag ieee1394 image imagemagick imap imlib inkjar inotify introspection ipc iptv ipv6 irc ivtv jabber java java6 javacomm javascript jbig jce jingle joystick jpeg juju kde kdepim kdm kexiv2 kig-scripting kino kipi kmail kontact ladspa lame lcdfilter lcms ldap lensfun libcaca libnotify librrd libsamplerate libv4l libv4l2 libvisual lightning live llvm lm_sensors logrotate logwatch loop-aes lto lua lzma lzo mad marble math matroska mdnsresponder-compat melt metric midi mikmod mime mjpeg mmx mng modplug modules mono mouse mozdevelop mozilla mp3 mp3rtp mp4 mpd mpeg mpg123 mpi mpi-threads mplayer mpu401 mtp mudflap muine multilib multimedia multiprocess musepack music musicbrainz mysql mysqli nano-syntax nas ncurses network network-cron nfs nfsv4 nls nntp normalize nptl nsplugin nss ntfs nut nuv obex ocean odk ofa ogg ogg123 ogm okular opencl openctl openexr opengl openmedia openmp openssl opensslcrypt oss pam pango pch pcm pcre pda pdf pdfimport perforce perl pg-intdatetime phonon php physfs pipe plasma player plotutils pmount pmu png pnm podcast policykit pop postgis postproc ppds prison private-headers profile profiler proj ps pstoedit pvr python python3 q32 qalculate qos qt3support qt4 quesoglc quicktime quodlibet radio rar raw readline redeyes rle romio rsh rss rtc rtmp rtsp ruby scale0tilt scanner schedule schroedinger sdl sdl-image sdl-sound sdlaudio search secure-delete semantic-desktop sensord session sftp shaders shine shorten shout sift skins slideshow smp sms sndfile sound soundextract soundtouch soup source spamassassin speex spell sql srt srtp sse sse2 sse2check ssh ssl ssse3 startup-notification statistics stats stk stream suid svg svgz sysfs syslog szip t1lib tbb tcl tcmalloc tcpd teletext templates tga tgif themes theora threads threadsafe thumbnail thumbnails tiff timidity tk toolame tools transcode tremor truetype tv_check tv_combiner tv_pick_cgi twolame type3 udev udisks umfpack unicode unzip upower urlpicpreview usb utempter utils uudeview v4l v4l2 vaapi vamp vcd vcdinfo vcdx vdpau vdr video vim vim-syntax virtuoso visibility vlm vorbis vpx vrml vxml wav wavpack weather-metar weather-xoap webcam webdav webgl webkit webp windeco winpopup wma wma-fixed wmf word-perfect wordperfect wxwidgets wxwindows x11vnc x264 xanim xattr xcb xcf xcomposite xface xforms xine xinerama xml xmlreader xmlwriter xmp xorg xpm xscreensaver xsl xslt xterm xulrunner xv xvid xvmc xwax_decoders_aac xwax_decoders_cd xwax_decoders_flac xwax_decoders_misc xwax_decoders_mp3 xwax_decoders_ogg youtube yv12 zeroconf zip zlib zvbi" ABI_X86="64" ALSA_CARDS="hda-intel" 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="authn_core authz_core socache_shmcb unixd 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="*" 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="presenter-console presenter-minimizer" LINGUAS="de en de_DE" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="nvidia v4l2" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Christoph Junghans (RETIRED) gentoo-dev 2013-03-15 19:59:23 UTC
This is actually a problem in sys-devel/boost-m4 introduced in bug #460362.
Comment 3 Viktor Yu. Kovalskii 2013-03-16 03:27:49 UTC
Emerging =media-gfx/povray-3.7.0_rc7 with =sys-devel/boost-m4-0.3_pre121130 is successful but with =sys-devel/boost-m4-0.3 failed.
Comment 4 Randy Andy 2013-03-16 10:24:57 UTC
Thank you guys for the hints. 
I can state Victors last comment and so I will mask 
boost-m4-0.3 now for myself.
Comment 5 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2013-03-18 05:46:25 UTC
It looks like a -Wl,--as-needed bug in the fix for bug #460362: https://github.com/binki/boost.m4/commit/ee15a2a951ca347da2b56c7cec462b727e42e9d5#L0R412

Command line for the LINK_IFELSEish call that worked:

x86_64-pc-linux-gnu-g++
-o conftest
-O2
-pipe
-m64
-pthread
-D__BINKI_TRACER_DCXDELLLAPPY 
-DPOVLIBDIR=\"/usr/share/povray\"
-DPOVCONFDIR=\"/etc/povray\" 
-Wl,-O1
-Wl,--as-needed
-m64
-L/usr/lib
conftest.o
-lboost_system-mt 
-pthread


Failing commandline from the -R (first) test:

x86_64-pc-linux-gnu-g++
-o conftest
-O2
-pipe
-m64
-pthread
-D__BINKI_TRACER_DCXDELLLAPPY 
-DPOVLIBDIR=\"/usr/share/povray\"
-DPOVCONFDIR=\"/etc/povray\" 
-Wl,-O1
-Wl,--as-needed
-m64
-lboost_system-mt
-L/usr/lib
-Wl,-R,/usr/lib
conftest.o 
-pthread

The -Wl,--as-needed switch requires -lboost_system-mt to be in LIBS instead of LDFLAGS so that it comes after conftest.o in gcc’s commandline.

I’ll work with upstream to fix this. I’ll plan to create a patched boost-m4-0.4_pre20130319 when I get the chance.

Sorry for the delay.
Comment 6 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2013-03-18 06:13:53 UTC
Pending upstream action.

@Gentoo bug reporters: Please read the following lines that portage prints out when such failures as this happen:

    !!! Please attach the following file when seeking support:
    !!! /var/tmp/portage/media-gfx/povray-3.7.0_rc7/work/povray-3.7.0_rc7_build/config.log
     * ERROR: media-gfx/povray-3.7.0_rc7 failed (configure phase):
     *   econf failed

That would have helped me to start identifying where the bug is while I was still waiting for unstable boost to emerge so that I could reproduce the issue locally ;-). And not all bugs are reliably reproducable like this one, so often more information, especially information portage explicitly requests, will not hurt ;-).
Comment 7 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2013-03-18 18:52:14 UTC
+*boost-m4-0.4 (18 Mar 2013)
+                  
+  18 Mar 2013; Nathan Phillip Brink <binki@gentoo.org> +boost-m4-0.4.ebuild,
+  -boost-m4-0.3.ebuild:
+  Bump to boost-m4-0.4, fixing LDFLAGS=-Wl,--as-needed which was broken in
+  boost-m4-0.3. Fixes bug #461748.

Please verify again that boost-m4-0.4 works.

Thanks for the bug :-).
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2013-03-19 07:10:14 UTC
That version works
Comment 9 Martin von Gagern 2013-03-19 10:34:38 UTC
*** Bug 462282 has been marked as a duplicate of this bug. ***