Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269547 - dev-cpp/pangomm-2.24.0 and dev-cpp/gtkmm-2.16.0 fail to compile
Summary: dev-cpp/pangomm-2.24.0 and dev-cpp/gtkmm-2.16.0 fail to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords: Bug
Depends on:
Blocks:
 
Reported: 2009-05-12 13:31 UTC by Nikola Petkanski
Modified: 2009-05-12 15:01 UTC (History)
0 users

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 Nikola Petkanski 2009-05-12 13:31:20 UTC
I was trying to update my Gentoo and I was unable to get dev-cpp/pangomm-2.24.0 and dev-cpp/gtkmm-2.16.0 compiled.

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-cpp/pangomm-2.24.0 -v


Actual Results:  
...
i686-pc-linux-gnu-g++ -march=athlon-xp -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -Wl,-O1 -o generate_extra_defs generate_defs_pango.o  /usr/lib/libglibmm-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/../../../i686-pc-linux-gnu/lib /usr/lib/libcairomm-1.0.so -L/usr/lib /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libpixman-1.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libexpat.so /usr/lib/libglitz-glx.so /usr/lib/libGL.so /usr/lib/libXmu.so /usr/lib/libXt.so /usr/lib/libSM.so -luuid /usr/lib/libICE.so /usr/lib/libXi.so /usr/lib/libXext.so -lpthread /usr/lib/libglitz.so /usr/lib/libpng12.so /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -lz -lm /usr/lib/libglibmm_generate_extra_defs-2.4.so /usr/lib/libsigc-2.0.so /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so /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_pango.o: In function `main':
generate_defs_pango.cc:(.text+0x7d): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
/usr/lib/libglibmm-2.4.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)@GLIBCXX_3.4.9'
/usr/lib/libglibmm-2.4.so: undefined reference to `std::basic_ostream<wchar_t, std::char_traits<wchar_t> >& std::__ostream_insert<wchar_t, std::char_traits<wchar_t> >(std::basic_ostream<wchar_t, std::char_traits<wchar_t> >&, wchar_t const*, int)@GLIBCXX_3.4.9'
collect2: ld returned 1 exit status
make[3]: *** [generate_extra_defs] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-cpp/pangomm-2.24.0/work/pangomm-2.24.0/tools/extra_defs_gen'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-cpp/pangomm-2.24.0/work/pangomm-2.24.0/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-cpp/pangomm-2.24.0/work/pangomm-2.24.0'
make: *** [all] Error 2
 *
 * ERROR: dev-cpp/pangomm-2.24.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 1286:  Called gnome2_src_compile
 *             environment, line 1051:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-cpp/pangomm-2.24.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-cpp/pangomm-2.24.0/temp/environment'.
 *

>>> Failed to emerge dev-cpp/pangomm-2.24.0, Log file:

>>>  '/var/tmp/portage/dev-cpp/pangomm-2.24.0/temp/build.log'

 * Messages for package dev-cpp/pangomm-2.24.0:

 *
 * ERROR: dev-cpp/pangomm-2.24.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 1286:  Called gnome2_src_compile
 *             environment, line 1051:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-cpp/pangomm-2.24.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-cpp/pangomm-2.24.0/temp/environment'.
 *


Expected Results:  
The software should have been upgraded.

dx-pc ~ # emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-2.0.0
Timestamp of tree: Mon, 11 May 2009 14:15:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://mirrors.ludost.net/gentoo/ http://distfiles.gentoo.bg/ ftp://mirrors.ludost.net/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ "
LANG="en_GB.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="bg en en_US en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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="3dnow 3dnowext X a52 aac aalib acl acpi alsa amr apache2 autoipd avahi branding bzip2 cairo cgi cjk cleartype cli codecs consolekit cracklib crypt ctype cups curl dbus dri dts encode extensions fam ffmpeg flac fontconfig fortran fuse gd gdbm gif glitz gnome gnutls gpm gsm gstreamer gtk hal hvm iconv imlib ipv6 isdnlog ithreads java javascript jpeg kerberos logitech-mouse logrotate lzo mad md5sum mdnsresponder-compat midi mmx mmxext mp2 mp3 mudflap musepack mysql mysqli ncurses network nls nptl nptlonly ogg opengl openmp pam pcntl pcre pdf perl php png posix pppd python rar readline reflection samba sdl session sflat smp sockets speex spell spl sqlite srt sse ssl suhosin svg sysfs tcpd theora threads truetype unicode v4l v4l2 vhosts vorbis wavpack wddx x264 x86 xml xmlrpc xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="bg en en_US en_GB" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


dx-pc ~ # gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/gcc-4.3.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.3 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.3/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.3-r2 p1.1, pie-10.1.5'
Thread model: posix
gcc version 4.3.3 (Gentoo 4.3.3-r2 p1.1, pie-10.1.5)
Comment 1 Nikola Petkanski 2009-05-12 13:36:00 UTC
I've tried to re-compile dev-cpp/glibmm, but this does not seem to fix the problem.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2009-05-12 13:43:27 UTC
You still have linkage left over from gcc 3.4.6. Please follow the general upgrade instructions as outlined here:
http://www.gentoo.org/doc/en/gcc-upgrading.xml#upgrade-general

Closing Invalid since this is not strictly a bug, just very bothersome.
Comment 3 Nikola Petkanski 2009-05-12 15:01:56 UTC
(In reply to comment #2)
> You still have linkage left over from gcc 3.4.6. Please follow the general
> upgrade instructions as outlined here:
> http://www.gentoo.org/doc/en/gcc-upgrading.xml#upgrade-general
> 
> Closing Invalid since this is not strictly a bug, just very bothersome.
> 

Thanks for your help, Peter!

I've managed to solve the problem by using these commands:

env-update && source /etc/profile
/usr/share/gcc-data/i686-pc-linux-gnu/4.3.3/fix_libtool_files.sh 3.4.6
emerge --oneshot libtool
revdep-rebuild

Have a nice day :)