After upgrade my system, vtk fails to rebuilt (seems like --as-need bug?) Reproducible: Always Steps to Reproduce: 1.emerge vtk 2. 3. Actual Results: [ 97%] Building CXX object Views/CMakeFiles/vtkViewsPythonD.dir/vtkParallelCoordinatesHistogramRepresentationPython.cxx.o In file included from /usr/include/python2.6/Python.h:8, from /var/tmp/portage/sci-libs/vtk-5.6.0-r2/work/VTK/Common/vtkPython.h:46, from /var/tmp/portage/sci-libs/vtk-5.6.0-r2/work/VTK/Wrapping/Python/vtkPythonAppInit.cxx:23, from /var/tmp/portage/sci-libs/vtk-5.6.0-r2/work/VTK/Wrapping/Python/vtkParaPythonAppInit.cxx:16: /usr/include/python2.6/pyconfig.h:1079:1: warning: "_XOPEN_SOURCE" redefined In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4/i686-pc-linux-gnu/bits/os_defines.h:44, from /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:40, from /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4/iostream:44, from /var/tmp/portage/sci-libs/vtk-5.6.0-r2/work/VTK/Common/vtkIOStream.h:35, from /var/tmp/portage/sci-libs/vtk-5.6.0-r2/work/VTK/Common/vtkSystemIncludes.h:40, from /var/tmp/portage/sci-libs/vtk-5.6.0-r2/work/VTK/Common/vtkIndent.h:24, from /var/tmp/portage/sci-libs/vtk-5.6.0-r2/work/VTK/Common/vtkObjectBase.h:43, from /var/tmp/portage/sci-libs/vtk-5.6.0-r2/work/VTK/Common/vtkObject.h:41, from /var/tmp/portage/sci-libs/vtk-5.6.0-r2/work/VTK/Parallel/vtkMultiProcessController.h:35, from /var/tmp/portage/sci-libs/vtk-5.6.0-r2/work/VTK/Parallel/vtkMPIController.h:43, from /var/tmp/portage/sci-libs/vtk-5.6.0-r2/work/VTK/Wrapping/Python/vtkPythonAppInit.cxx:20, from /var/tmp/portage/sci-libs/vtk-5.6.0-r2/work/VTK/Wrapping/Python/vtkParaPythonAppInit.cxx:16: /usr/include/features.h:160:1: warning: this is the location of the previous definition Linking CXX executable ../../bin/pvtkpython [ 97%] [ 97%] Building CXX object Views/CMakeFiles/vtkViewsPythonD.dir/vtkParallelCoordinatesRepresentationPython.cxx.o Building CXX object Views/CMakeFiles/vtkViewsPythonD.dir/vtkParallelCoordinatesViewPython.cxx.o [ 97%] Building CXX object Views/CMakeFiles/vtkViewsPythonD.dir/vtkViewsPythonInit.cxx.o Scanning dependencies of target vtkpython [ 97%] Building CXX object Wrapping/Python/CMakeFiles/vtkpython.dir/vtkPythonAppInit.cxx.o Linking CXX executable ../../bin/vtkpython Linking CXX shared library ../bin/libvtkViewsPythonD.so /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libmpich.so: undefined reference to `aio_return64' /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libmpich.so: undefined reference to `aio_error64' /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libmpich.so: undefined reference to `aio_read64' /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libmpich.so: undefined reference to `aio_suspend64' /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../libmpich.so: undefined reference to `aio_write64' collect2: ld returned 1 exit status distcc[1322] ERROR: compile (null) on localhost failed make[2]: *** [bin/pvtkpython] Error 1 make[1]: *** [Wrapping/Python/CMakeFiles/pvtkpython.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 97%] Built target vtkpython [ 97%] Built target vtkViewsPythonD make: *** [all] Error 2 * ERROR: sci-libs/vtk-5.6.0-r2 failed: * Make failed! * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 7159: Called cmake-utils_src_compile * environment, line 1600: Called _execute_optionaly 'src_compile' * environment, line 568: Called enable_cmake-utils_src_compile * environment, line 2099: Called cmake-utils_src_make * environment, line 1619: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * * If you need support, post the output of 'emerge --info =sci-libs/vtk-5.6.0-r2', * the complete build log and the output of 'emerge -pqv =sci-libs/vtk-5.6.0-r2'. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage/sci-libs/vtk-5.6.0-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-libs/vtk-5.6.0-r2/temp/environment'. * S: '/var/tmp/portage/sci-libs/vtk-5.6.0-r2/work/VTK' * Messages for package sci-libs/vtk-5.6.0-r2: * ERROR: sci-libs/vtk-5.6.0-r2 failed: * Make failed! * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 7159: Called cmake-utils_src_compile * environment, line 1600: Called _execute_optionaly 'src_compile' * environment, line 568: Called enable_cmake-utils_src_compile * environment, line 2099: Called cmake-utils_src_make * environment, line 1619: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * * If you need support, post the output of 'emerge --info =sci-libs/vtk-5.6.0-r2', * the complete build log and the output of 'emerge -pqv =sci-libs/vtk-5.6.0-r2'. * The complete build log is located at '/var/tmp/portage/sci-libs/vtk-5.6.0-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-libs/vtk-5.6.0-r2/temp/environment'. * S: '/var/tmp/portage/sci-libs/vtk-5.6.0-r2/work/VTK' Expected Results: Compile & link fine Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.1, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.34-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_2.66GHz-with-gentoo-1.12.13 Timestamp of tree: Fri, 20 Aug 2010 17:45:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.1 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.4_p6-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA dlj-1.1 RTCW-ETEULA ut2003 AdobeFlash-10 AdobeFlash-10.1" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -mmmx -msse -msse2 -m32" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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="-O2 -march=pentium4 -pipe -mmmx -msse -msse2 -m32" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--load-average=4 -j" FEATURES="assume-digests ccache collision-protect distcc distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo " LANG="en_US.iso88591" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en es es_ES" MAKEOPTS="-j9" PKGDIR="/usr/local/portage/binpackages" PORTAGE_COMPRESS="lzma" PORTAGE_COMPRESS_FLAGS="-9" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acpi alsa apic berkdb ccache cli cracklib cups custom-cflags custom-optimization cxx dbus doc gdbm gnome gpm gtk hal iconv mmx mmxext modules mudflap ncurses nls nptl nptlonly nvidia opengl openmp pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd threads unicode x86 xorg xvmc zlib" ALSA_CARDS="ens1371" 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es es_ES" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson2" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Does this Problem is still valid? Here it works and libmpich2.so has the symbols.
(In reply to comment #1) > Does this Problem is still valid? Here it works and libmpich2.so has the > symbols. No, it worked after a few updates more. Thanks for asking, I didn't take care it worked after some 'emerge world' upgrade (too much packages for cheking one by one)