Summary: | media-gfx/xsvg-0.2.1: xsvg.o: undefined reference to symbol 'XRenderFindVisualFormat' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Bays <mbays> |
Component: | Current packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | orzel |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
emerge-info.txt emerge-history.txt environment media-gfx:xsvg-0.2.1:20160507-115225.log |
$ emerge --info '=media-gfx/xsvg-0.2.1::gentoo' && emerge -pqv '=media-gfx/xsvg-0.2.1::gentoo' Portage 2.2.27 (python 2.7.11-final-0, default/linux/x86/13.0/desktop, gcc-4.8.5, glibc-2.23, 4.4.3 i686) ================================================================= System Settings ================================================================= System uname: Linux-4.4.3-i686-Intel-R-_Pentium-R-_4_CPU_2.66GHz-with-gentoo-2.2 KiB Mem: 2062540 total, 909744 free KiB Swap: 2939820 total, 2927040 free Timestamp of repository gentoo: Sat, 20 Feb 2016 00:45:01 +0000 sh bash 4.3_p42-r2 ld GNU ld (Gentoo 2.24 p1.4) 2.24 ccache version 3.2.4 [disabled] app-shells/bash: 4.3_p42-r2::gentoo dev-java/java-config: 2.2.0-r2::gentoo dev-lang/perl: 5.22.1::gentoo dev-lang/python: 2.7.11-r2::gentoo, 3.4.3-r7::gentoo dev-util/ccache: 3.2.4::gentoo dev-util/cmake: 3.4.3::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.20.5::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::<unknown repository>, 2.69-r1::gentoo sys-devel/automake: 1.5::<unknown repository>, 1.10.3::gentoo, 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.8.5::gentoo, 5.3.0::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.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.23::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 crossdev-portage location: /usr/local/portage-crossdev masters: gentoo gamerlay priority: 0 martin-s-local-portage-repo location: /usr/local/portage masters: gentoo priority: 1 gamerlay location: /var/lib/layman/gamerlay masters: gentoo priority: 50 haskell location: /var/lib/layman/haskell masters: gentoo priority: 50 interactive-fiction location: /var/lib/layman/interactive-fiction masters: gentoo priority: 50 sunrise location: /var/lib/layman/sunrise masters: gentoo priority: 50 tox-overlay location: /var/lib/layman/tox-overlay masters: gentoo priority: 50 zugaina location: /var/lib/layman/zugaina masters: gentoo priority: 50 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage-distfiles" EMERGE_DEFAULT_OPTS="--nospinner" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_GB.utf8" LC_ALL="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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 --exclude=/.git" PORTAGE_TMPDIR="/mnt/seabass/tmp-portage" USE="X a52 aac aalib acl acpi alsa apache2 avi bash-completion berkdb branding bzip2 caca cairo cdda cdr cli consolekit cracklib crypt cxx dbus dga directfb dri dts dvd dvdr emacs emboss encode exif fam fbcon firefox flac fortran gatos gdbm gif glamor gpm gtk guile iconv ipv6 jpeg lcms ldap libnotify mad mng modules mozilla mp3 mp4 mpeg ncurses nls nptl nsplugin ogg oggvorbis opengl openmp oss pam pango pcre pdf perl png policykit ppds profile python qt3support qt4 readline real sdl seccomp session spell ssl startup-notification svg svga tcpd theora tiff truetype udev udisks unicode upower usb v4l v4l2 vorbis wxwidgets x264 x86 xattr xcb xml xv xvid zlib" ABI_X86="32" 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 cs4236" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so 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" CPU_FLAGS_X86="sse mmxext mmx sse2" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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="vesa intel i915" 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, INSTALL_MASK, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= media-gfx/xsvg-0.2.1::gentoo was built with the following: USE="" CFLAGS="-O2 -march=pentium3 -pipe" CXXFLAGS="-O2 -march=pentium3 -pipe" LDFLAGS="" >>> Attempting to run pkg_info() for 'media-gfx/xsvg-0.2.1' * pkg_info() is not defined: 'xsvg-0.2.1.ebuild' [ebuild R ] media-gfx/xsvg-0.2.1 Created attachment 433512 [details]
emerge-info.txt
confirmedmv -f .deps/xsvg.Tpo .deps/xsvg.Po
x86_64-pc-linux-gnu-gcc -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -o xsvg
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: xsvg.o: undefined reference to symbol 'XRenderFindVisualFormat'
/usr/lib64/libXrender.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:345: recipe for target 'xsvg' failed
Created attachment 433514 [details]
emerge-history.txt
Created attachment 433516 [details]
environment
Created attachment 433518 [details]
media-gfx:xsvg-0.2.1:20160507-115225.log
I got the exact same output. removed |
Created attachment 427418 [details] build log Compilation fails with gcc-4.8.5. Please see attached log. Entering the work directory and running the link command with an extra "-lXrender -lX11" succeeds. So perhaps the solution is to add these flags. However I didn't see where in the configure or automake scripts to do that.