From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ms81S-0003Ig-Og for garchives@archives.gentoo.org; Mon, 28 Sep 2009 04:39:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7699EE07B4; Mon, 28 Sep 2009 04:39:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0A925E07B4 for ; Mon, 28 Sep 2009 04:39:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id A939067876 for ; Mon, 28 Sep 2009 04:39:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.532 X-Spam-Level: X-Spam-Status: No, score=-0.532 required=5.5 tests=[BAYES_00=-2.599, RCVD_NUMERIC_HELO=2.067] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SgRfcRf6N-j0 for ; Mon, 28 Sep 2009 04:39:28 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id D9F4167535 for ; Mon, 28 Sep 2009 04:39:26 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1Ms818-0005LA-0r for gentoo-user@gentoo.org; Mon, 28 Sep 2009 06:39:18 +0200 Received: from 65.127.232.176 ([65.127.232.176]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Sep 2009 06:39:18 +0200 Received: from grant.b.edwards by 65.127.232.176 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Sep 2009 06:39:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] glibmm 2.20.1 emerge fails to compile Date: Mon, 28 Sep 2009 04:38:55 +0000 (UTC) Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 65.127.232.176 User-Agent: slrn/pre0.9.9-102 (Linux) Sender: news X-Archives-Salt: e9bfe255-7b6a-4757-83e4-363265a477c7 X-Archives-Hash: 1071536d82f1d6f17072141253ee4b6e I tried doing an upgrade (the usual emerge -auvND world), and it choked on glibmm 2.20.1. The compile failed the basic error seems to be this: generate_defs_glib.o: In function `main': generate_defs_glib.cc:(.text+0x6b): undefined reference to `std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, int)' I've done a revdep-rebuild to make sure things are consistent, and it says things are OK. Google doesn't seem to know that error message, and I couldn't find anything relevent at bugs.gentoo.org. The only thing I can think of is that it has to do with some libraries having been compiled with an older version of gcc, but I'm not sure how to check for that... Below is a somewhat redacted trace of the output from emerge. These are the packages that would be merged, in order: Calculating dependencies ......... done! [ebuild U ] dev-cpp/glibmm-2.20.1 [2.16.4] USE="-test%" [ebuild U ] media-libs/schroedinger-1.0.7 [1.0.5] [ebuild NS ] sys-kernel/gentoo-sources-2.6.30-r6 [2.6.28-r5, 2.6.30-r4] USE="-build -symlink" [ebuild N ] dev-cpp/pangomm-2.24.0 USE="-debug -doc" [uninstall ] dev-cpp/gtkmm-2.12.7 [...] >>> Emerging (1 of 32) dev-cpp/glibmm-2.20.1 * glibmm-2.20.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking glibmm-2.20.1.tar.bz2 to /var/tmp/portage/dev-cpp/glibmm-2.20.1/work * Fixing OMF Makefiles ...  [ ok ] * Running elibtoolize in: glibmm-2.20.1/scripts * Applying portage-2.2.patch ... * Applying sed-1.5.6.patch ... * Applying as-needed-2.2.6.patch ... >>> Source unpacked in /var/tmp/portage/dev-cpp/glibmm-2.20.1/work >>> Compiling source in /var/tmp/portage/dev-cpp/glibmm-2.20.1/work/glibmm-2.20.1 ... * econf: updating glibmm-2.20.1/scripts/config.guess with /usr/share/gnuconfig/config.guess * econf: updating glibmm-2.20.1/scripts/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-gtk-doc configure: WARNING: unrecognized options: --disable-gtk-doc 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 [...] make all-recursive make[1]: Entering directory `/var/tmp/portage/dev-cpp/glibmm-2.20.1/work/glibmm-2.20.1' Making all in tools make[2]: Entering directory `/var/tmp/portage/dev-cpp/glibmm-2.20.1/work/glibmm-2.20.1/tools' Making all in m4 make[3]: Entering directory `/var/tmp/portage/dev-cpp/glibmm-2.20.1/work/glibmm-2.20.1/tools/m4' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/dev-cpp/glibmm-2.20.1/work/glibmm-2.20.1/tools/m4' Making all in pm make[3]: Entering directory `/var/tmp/portage/dev-cpp/glibmm-2.20.1/work/glibmm-2.20.1/tools/pm' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/dev-cpp/glibmm-2.20.1/work/glibmm-2.20.1/tools/pm' Making all in extra_defs_gen make[3]: Entering directory `/var/tmp/portage/dev-cpp/glibmm-2.20.1/work/glibmm-2.20.1/tools/extra_defs_gen' /bin/sh ../../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../glib -I../../gio -Wall -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -O2 -march=pentium-m -pipe -MT generate_extra_defs.lo -MD -MP -MF .deps/generate_extra_defs.Tpo -c -o generate_extra_defs.lo generate_extra_defs.cc i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../glib -I../../gio -Wall -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -O2 -march=pentium-m -pipe -MT generate_defs_glib.o -MD -MP -MF .deps/generate_defs_glib.Tpo -c -o generate_defs_glib.o generate_defs_glib.cc libtool: compile: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../glib -I../../gio -Wall -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -O2 -march=pentium-m -pipe -MT generate_extra_defs.lo -MD -MP -MF .deps/generate_extra_defs.Tpo -c generate_extra_defs.cc -fPIC -DPIC -o .libs/generate_extra_defs.o mv -f .deps/generate_defs_glib.Tpo .deps/generate_defs_glib.Po i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../glib -I../../gio -Wall -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -O2 -march=pentium-m -pipe -MT generate_defs_gio.o -MD -MP -MF .deps/generate_defs_gio.Tpo -c -o generate_defs_gio.o generate_defs_gio.cc mv -f .deps/generate_extra_defs.Tpo .deps/generate_extra_defs.Plo /bin/sh ../../libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++ -O2 -march=pentium-m -pipe -version-info 3:0:2 -Wl,-O1 -o libglibmm_generate_extra_defs-2.4.la -rpath /usr/lib generate_extra_defs.lo -Wl,--export-dynamic -lsigc-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--export-dynamic -lsigc-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--export-dynamic -lsigc-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 mv -f .deps/generate_defs_gio.Tpo .deps/generate_defs_gio.Po libtool: link: i686-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/crtbeginS.o .libs/generate_extra_defs.o -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib /usr/lib/libsigc-2.0.so -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/lib /usr/lib/libgio-2.0.so -L/usr/lib /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -L/usr/lib/gcc/i686-pc-linux-gnu/4.3.2 -L/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../.. /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../crtn.o -march=pentium-m -Wl,-O1 -Wl,--export-dynamic -Wl,--export-dynamic -Wl,--export-dynamic -Wl,-soname -Wl,libglibmm_generate_extra_defs-2.4.so.1 -o .libs/libglibmm_ generate_extra_defs-2.4.so.1.2.0 libtool: link: (cd ".libs" && rm -f "libglibmm_generate_extra_defs-2.4.so.1" && ln -s "libglibmm_generate_extra_defs-2.4.so.1.2.0" "libglibmm_generate_extra_defs-2.4.so.1") libtool: link: (cd ".libs" && rm -f "libglibmm_generate_extra_defs-2.4.so" && ln -s "libglibmm_generate_extra_defs-2.4.so.1.2.0" "libglibmm_generate_extra_defs-2.4.so") libtool: link: ( cd ".libs" && rm -f "libglibmm_generate_extra_defs-2.4.la" && ln -s "../libglibmm_generate_extra_defs-2.4.la" "libglibmm_generate_extra_defs-2.4.la" ) /bin/sh ../../libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++ -O2 -march=pentium-m -pipe -Wl,-O1 -o generate_extra_defs generate_defs_glib.o libglibmm_generate_extra_defs-2.4.la -Wl,--export-dynamic -lsigc-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--export-dynamic -lsigc-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 /bin/sh ../../libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++ -O2 -march=pentium-m -pipe -Wl,-O1 -o generate_defs_gio generate_defs_gio.o libglibmm_generate_extra_defs-2.4.la -Wl,--export-dynamic -lsigc-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--export-dynamic -lsigc-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 libtool: link: i686-pc-linux-gnu-g++ -O2 -march=pentium-m -pipe -Wl,-O1 -o .libs/generate_extra_defs generate_defs_glib.o -Wl,--export-dynamic -Wl,--export-dynamic ./.libs/libglibmm_generate_extra_defs-2.4.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/lib /usr/lib/libsigc-2.0.so /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so -lm -lgcc_s -lc /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so libtool: link: i686-pc-linux-gnu-g++ -O2 -march=pentium-m -pipe -Wl,-O1 -o .libs/generate_defs_gio generate_defs_gio.o -Wl,--export-dynamic -Wl,--export-dynamic ./.libs/libglibmm_generate_extra_defs-2.4.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/lib /usr/lib/libsigc-2.0.so /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so -lm -lgcc_s -lc /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so generate_defs_glib.o: In function `main': generate_defs_glib.cc:(.text+0x6b): undefined reference to `std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, int)' collect2: ld returned 1 exit status make[3]: *** [generate_extra_defs] Error 1 make[3]: *** Waiting for unfinished jobs.... generate_defs_gio.o: In function `main': generate_defs_gio.cc:(.text+0x450): undefined reference to `std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, int)' generate_defs_gio.cc:(.text+0x466): undefined reference to `std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, int)' generate_defs_gio.cc:(.text+0x47c): undefined reference to `std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, int)' generate_defs_gio.cc:(.text+0x492): undefined reference to `std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, int)' generate_defs_gio.cc:(.text+0x4a8): undefined reference to `std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, int)' generate_defs_gio.o:generate_defs_gio.cc:(.text+0x4be): more undefined references to `std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, int)' follow [...]