Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486816 - gnome-base/librsvg-2.39.0: undefined symbol leads to compilation failure
Summary: gnome-base/librsvg-2.39.0: undefined symbol leads to compilation failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-02 18:15 UTC by Guilherme Amadio
Modified: 2013-12-21 17:18 UTC (History)
1 user (show)

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


Attachments
Full build log. (build.log,106.37 KB, text/plain)
2013-10-11 18:59 UTC, Guilherme Amadio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guilherme Amadio gentoo-dev 2013-10-02 18:15:36 UTC
While updating my system, librsvg (dependency of imagemagick) failed to compile with the following error:

Undefined symbols for architecture x86_64:
  "_canonicalize_file_name", referenced from:
      __rsvg_handle_allow_load in librsvg_2_la-rsvg-base.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status


Reproducible: Always
Comment 1 Rafał Mużyło 2013-10-03 05:15:01 UTC
Attach full build log.
Comment 2 Guilherme Amadio gentoo-dev 2013-10-11 18:59:47 UTC
Created attachment 360664 [details]
Full build log.

Here is the full build log.
Comment 3 Stuart Shelton 2013-10-12 18:23:38 UTC
Same problem here on Mac OS 10.8.5.

$ emerge --info
Portage 2.2.7-prefix (prefix/darwin/macos/10.8/x64, gcc-4.2.1, unavailable, 12.5.0 x86_64)
=================================================================
System uname: Darwin-12.5.0-x86_64-i386-64bit
Timestamp of tree: Sat, 12 Oct 2013 01:06:18 +0000
app-shells/bash:      4.2_p39-r1
dev-java/java-config: 2.1.11-r3
dev-lang/python:      2.7.5-r2, 3.3.2-r2
dev-util/cmake:       2.8.11.2
dev-util/pkgconfig:   0.28
sys-devel/autoconf:   2.69
sys-devel/automake:   1.11.6, 1.12.4
sys-devel/gcc-config: 1.8-r00.1
sys-devel/libtool:    2.4.2
sys-devel/make:       3.82-r4
Repositories: gentoo_prefix srcshelton macos
Installed sets: @preserved-rebuild
ACCEPT_KEYWORDS="amd64 amd64-linux ppc-macos x64-macos x86 x86-linux x86-macos ~amd64 ~amd64-linux ~ppc-macos ~x64-macos ~x86 ~x86-linux ~x86-macos"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
CBUILD="x86_64-apple-darwin12"
CFLAGS="-O2 -fno-math-errno -march=core2 -mtune=generic -mssse3 -msse4 -mfpmath=sse -pipe"
CHOST="x86_64-apple-darwin12"
CONFIG_PROTECT="/etc /opt/gentoo/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /opt/gentoo/etc/ca-certificates.conf /opt/gentoo/etc/env.d /opt/gentoo/etc/env.d/java/ /opt/gentoo/etc/fonts/fonts.conf /opt/gentoo/etc/gconf /opt/gentoo/etc/revdep-rebuild /opt/gentoo/etc/terminfo"
CXXFLAGS="-O2 -fno-math-errno -march=core2 -mtune=generic -mssse3 -msse4 -mfpmath=sse -pipe"
DISTDIR="/opt/gentoo/usr/portage/distfiles"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync metadata-transfer news nostrip parallel-fetch preserve-libs protect-owned sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS="-j5"
PKGDIR="/opt/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/opt/gentoo/"
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="/opt/gentoo/var/tmp"
PORTDIR="/opt/gentoo/usr/portage"
PORTDIR_OVERLAY="/opt/gentoo/usr/portage/local/overlay /opt/gentoo/usr/local/portage"
SYNC="rsync://prefix.gentooexperimental.org/gentoo-portage-prefix"
USE="X aqua ares bash-completion berkdb bzip2 cairo chroot common-lisp coreaudio cracklib cxx expat faac faad fftw flac fontconfig gdbm gmp graphviz gs gtk gtk3 hpn iconv icu idea idn ipv6 ithreads java jbig jpeg jpeg2k lcms libedit lzma md5sum mmap mmx mmxext modules mp3 ncurses network nls objc objc++ ogg opengl openmp openssl pcre perl png prefix python rar readline slang sndfile speex spell sqlite sqlite3 sse sse2 ssl svg tcl theora threads tiff trace truetype unicode urandom utils vim-syntax vorbis wmf x64-macos xcb xml xpm xvid zlib" 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="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" 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 ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_3 python2_7" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 5 Fabian Groffen gentoo-dev 2013-12-21 13:25:22 UTC
Thanks, patch added
Comment 6 Pacho Ramos gentoo-dev 2013-12-21 17:18:27 UTC
  21 Dec 2013; Fabian Groffen <grobian@gentoo.org>
  +files/librsvg-2.39.0-canonicalize-realpath.patch, librsvg-2.39.0.ebuild:
  Add patch from upstream to fix compilation on non-glibc platforms