Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 570604 - media-gfx/inkscape-0.91-r1: undefined reference to `Glib::bu│' ild_filename(Glib::ArrayHandle<std::__cxx11::basic_string<char, std::c│ * har_traits<char>, std::allocator<char> >, Glib::Container_Helpers::Typ│ eTraits<std::__cxx11::basic_string<char, std:
Summary: media-gfx/inkscape-0.91-r1: undefined reference to `Glib::bu│' ild_filename(G...
Status: RESOLVED DUPLICATE of bug 542482
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-02 14:56 UTC by Emmanuel Rosa
Modified: 2016-01-08 15:02 UTC (History)
0 users

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


Attachments
ebuild log (inkspace-0.91-r1.log.gz,82.33 KB, text/plain)
2016-01-02 15:02 UTC, Emmanuel Rosa
Details
emerge --info '=media-gfx/inkscape-0.91-r1::gentoo' (file_570604.txt,6.32 KB, text/plain)
2016-01-02 15:04 UTC, Emmanuel Rosa
Details
emerge -pqv '=media-gfx/inkscape-0.91-r1::gentoo' (file_570604.txt,186 bytes, text/plain)
2016-01-02 15:06 UTC, Emmanuel Rosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Rosa 2016-01-02 14:56:36 UTC
The inkscape-0.91-r1 ebuild has been failing with many "undefined reference to..." errors.

Reproducible: Always

Steps to Reproduce:
1. emerge inkscape
Actual Results:  
collect2: error: ld returned 1 exit status
Makefile:6905: recipe for target 'inkview' failed
make[3]: *** [inkview] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-gfx/inkscape-0.91-r1/work/inkscape-0.91/src'
Makefile:5059: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/var/tmp/portage/media-gfx/inkscape-0.91-r1/work/inkscape-0.91/src'
Makefile:1411: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-gfx/inkscape-0.91-r1/work/inkscape-0.91'
Makefile:1107: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: media-gfx/inkscape-0.91-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/inkscape-0.91-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/inkscape-0.91-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-gfx:inkscape-0.91-r1:20160102-083127.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-gfx/inkscape-0.91-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/inkscape-0.91-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/inkscape-0.91-r1/work/inkscape-0.91'
 * S: '/var/tmp/portage/media-gfx/inkscape-0.91-r1/work/inkscape-0.91'

Expected Results:  
inkscape should have installed.

Portage 2.2.26 (python 2.7.11-final-0, default/linux/x86/13.0/desktop, gcc-5.3.0, glibc-2.22-r1, 4.3.3-gentoo i686)
=================================================================
System uname: Linux-4.3.3-gentoo-i686-Pentium-R-_Dual-Core_CPU_E5200_@_2.50GHz-with-gentoo-2.2
KiB Mem:     3360176 total,    984356 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 02 Jan 2016 05:45:02 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r1::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.4.1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

erosa-overlay
    location: /var/lib/layman/erosa-overlay-test
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/ca-certificates.conf /etc/dconf /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 /usr/X11R6/lib/X11/xkb"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -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 userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.ISO-8859-1"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa apng asf berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib cups cxx dbus divx dri dts dvd emboss encode exif faac fam fat ffmpeg firefox flac fontconfig foomaticdb fortran gdbm gif gimp git glamor glitz gnutls gpm groovy gstreamer gtk gtk2 hipe iconv imagemagick ipv6 java jpeg kpoll lcms libffi libnotify mad mailwrapper mercurial mmx mng modules moznoirc moznomail mp3 mp4 mpeg ncurses network nls nptl nptlonly nsplugin ntfs objc ogg opengl openmp pam pango pcre pdf perl pic png policykit ppds python qt3support readline real realmedia sdl seccomp session smp spell sqlite3 sse sse2 ssl startup-notification subversion svg tcpd tiff truetype udev udisks unicode upower usb vorbis wma wmp wxwidgets x264 x86 xattr xcb xml xscreensaver xv xvid zlib" ABI_X86="32" ALSA_CARDS="intel8x0" 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 author" CAMERAS="hp215 ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" 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 ublox 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="en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 Emmanuel Rosa 2016-01-02 15:02:50 UTC
Created attachment 421636 [details]
ebuild log
Comment 2 Emmanuel Rosa 2016-01-02 15:04:48 UTC
Created attachment 421638 [details]
emerge --info '=media-gfx/inkscape-0.91-r1::gentoo'
Comment 3 Emmanuel Rosa 2016-01-02 15:06:33 UTC
Created attachment 421640 [details]
emerge -pqv '=media-gfx/inkscape-0.91-r1::gentoo'
Comment 4 Anthony Basile gentoo-dev 2016-01-02 20:15:53 UTC
try running `revdep-rebuild --library 'libstdc\+\+\.so\.6' before emerging inkscape.  we think you are running into bug #542482.  if revdep-rebuild fixes this, then we can close this dup of #542482.
Comment 5 Pacho Ramos gentoo-dev 2016-01-02 20:29:47 UTC
Per:
https://forums.gentoo.org/viewtopic-p-7774236.html?sid=efe9c83c7fb7b1a17eed4bab70a307e2

it's indeed that problem
Comment 6 Emmanuel Rosa 2016-01-03 04:19:58 UTC
At first, running revdep-rebuild --library 'libstdc\+\+\.so\.6 prior to emerging inkscape had no effect. revdep=rebuild didn't find anything. However, revdep-rebuild mentioned that it's the new Python version and the previous version is revdep-rebuild.sh. I have revdep-rebuild.sh a go and it found a TON of packages. After that, inkscape emerged just fine.

Thank you.
Comment 7 Pacho Ramos gentoo-dev 2016-01-08 15:02:12 UTC
That looks like a bug in latest gentoolkit then ;), for this one, this is a dupe

*** This bug has been marked as a duplicate of bug 542482 ***