Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590278 - media-gfx/inkscape-0.91-r2 - attribute-rel-svg.cpp:(.text+0x33f): undefined reference to `Glib::ustring::ustring(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
Summary: media-gfx/inkscape-0.91-r2 - attribute-rel-svg.cpp:(.text+0x33f): undefined r...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
Depends on:
Reported: 2016-08-02 08:09 UTC by Tom
Modified: 2018-07-16 13:51 UTC (History)
5 users (show)

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

build.log.7z (build.log.7z,46.26 KB, application/x-7z)
2016-08-02 08:13 UTC, Tom

Note You need to log in before you can comment on or make changes to this bug.
Description Tom 2016-08-02 08:09:29 UTC
Cannot emerge inkscape look like problem with gcc c11 mayby i wrong
This problem exist too when i clear all use flags

Reproducible: Always

Steps to Reproduce:
1. emerge media-gfx/inkscape-0.91-r2

Portage 2.2.26 (python 3.4.5-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-5.3.0, glibc-2.22, 4.6.0-gentoo x86_64)
System uname: Linux-4.6.0-gentoo-x86_64-AMD_E-450_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2.0
KiB Mem:     3657512 total,    222220 free
KiB Swap:    9767484 total,   8559492 free
sh bash 4.3_p42
ld GNU ld (Funtoo 2.25) 2.25.0
ccache version 3.2.7 [disabled]
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.3.5-r8::gentoo, 3.4.5::gentoo, 3.5.1-r2::gentoo
dev-util/ccache:          3.2.7::gentoo
dev-util/cmake:           3.6.1::gentoo
sys-apps/baselayout:      2.2.0-r6::gentoo
sys-apps/openrc:          0.18.3-r2::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25-r2::gentoo
sys-devel/gcc:            4.9.3-r3::gentoo, 5.3.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22::gentoo

    location: /usr/portage
    sync-type: git
    sync-uri: git://
    priority: -1000

    location: /mnt/sda7/github/eS-overlay
    masters: gentoo
    priority: 1

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

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

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-Os -pipe -march=native"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -pipe -march=native"
FEATURES="binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-mtune=native -pipe"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en pl_PL pl"
USE="X a52 aac acl alsa amd64 apng berkdb bluetooth bluray bzip2 cdda cddb cdio cdr consolekit cracklib crypt cups cxx dbus dc1394 declarative directfb dri dts dv dvd dvdr dvdread encode exif faac faad fbcon ffmpeg flac freetds ftp gdbm gif gpm gtk gtk3 ico iconv icu idn iec61883 ieee1394 ios ipod ipv6 jack javascript jpeg jpeg2k kde kipi lame legacy-systray libass libguess libmpeg2 libnotify lock lzma mad matroska mjpeg mmx modules mp3 mpeg mtp mudflap multilib mysql ncurses networkmanager nls nptl nsplugin odbc ogg opengl openmp pam pch pcre pdf phonon plasma png policykit postproc pppd pulseaudio python qml qt3support qt5 quicktime readline resolvconf semantic-desktop session sndfile sse sse2 ssl startup-notification svg taglib tcpd theora threads thunar tiff truetype twolame udev unicode v4l vorbis vpx wav wavpack webp wifi win32codecs wmf x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 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 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 ssse4 ssse4a 3dnow" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev syaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en pl_PL pl" NGINX_MODULES_EXTERNAL="access_key ajp auth_pam dav_ext echo aws_auth cache purge sticky accept_language concat metrics upload_progress backtrace fancyindex headers_more naxsi ndk push_stream rtmp slowfs_cache auth_digest circle_gif encrypted_session upstream_check mogilefs live_audio_track modsecurity auto_lib array-var drizzle stream-echo encrypted-session rds-csv rds-json redis2 replace-filter set-misc srcache xss notice ocsp_proxy notice clojure php_session vts" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip v2 random_index realip map memcached proxy referer rewrite scgi split_clients ssi upstream_hash mail mail_ssl map mp4 perl secure_link upstream_ip_hash upstream_keepalive upstream_least_conn userid v2 ssl limit_conn limit_req stub_status sub uwsgi spdy geoip gunzip gzip_static addition auth_request dav degradation flv image_filter uwsgi xslt slice nginx_modules_dynamic_geoip% nginx_modules_dynamic_image_filter% nginx_modules_dynamic_mail% nginx_modules_dynamic_perl% nginx_modules_dynamic_xslt" NGINX_MODULES_MAIL="smtp imap pop3" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4 python3_5" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="vesa v4l amdgpu radeon" 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"
Comment 1 Tom 2016-08-02 08:13:06 UTC
Created attachment 442274 [details]
Comment 2 Ben Kohler gentoo-dev 2016-08-02 16:07:40 UTC
Most likely you have not rebuilt all libstdc++ consumers after your upgrade to gcc-5.  Particularly here it looks like gdk-pixbuf hasn't been rebuilt.

Please read that gcc-5 abi news item and use revdep-rebuild to rebuild all libstdc++ consumers
Comment 3 Tom 2016-08-02 20:08:24 UTC
Hi I rebuild all libstdc++ .
But any way rebuild gdk-pixbuf not give positive result
Comment 4 Andrew Petelin 2017-04-20 14:52:31 UTC
The same error after the whole system rebuild (migration to gcc-5.4.0-r3).

Comment 5 Ryoto Yayame 2017-11-11 12:08:27 UTC
(In reply to Tom from comment #3)
> Hi I rebuild all libstdc++ .
> But any way rebuild gdk-pixbuf not give positive result

Just in case, he's not talking about libstdc++ as a package, he's talking about rebuilding every packages using the library which comes from the gcc package.

As per news 2015-10-22-gcc-5-new-c++11-abi, you have to run (if using >=gentoolkit-0.3.1):

revdep-rebuild --library '' -- --exclude gcc

(You only need to run it once, if successful. This library still exists, so revdep-rebuild will list the same packages every time, even if already rebuilt).

(If anyone did it more manually, to split the long list of packages to rebuild, and still gets errors with Inkscape, do note in particular that Inkscape uses gtkmm:2.4, not gtkmm:3.0... I emerged gtkmm without specifying a slot, which installed gtkmm:3.0 without recompiling gtkmm:2.4... after I did, Inkscape emerged successfully... -well, inkscape-0.92.1-r1 in my case).
Comment 6 Pacho Ramos gentoo-dev 2018-07-16 13:51:55 UTC
please retry after rebuilding as suggested. Also, we have now gcc7 and, with currently updated systems, I cannot reproduce this issue. Also, initial bug report ir referring to a Funtoo system, not Gentoo