Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529018 - x11-libs/cairo-1.12.16-r3 fails to build with undefined reference to `cairo_boilerplate_get_target_by_name'
Summary: x11-libs/cairo-1.12.16-r3 fails to build with undefined reference to `cairo_b...
Status: RESOLVED DUPLICATE of bug 510782
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexandre Rostovtsev (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-12 10:12 UTC by Justin Lecher (RETIRED)
Modified: 2014-11-12 11:03 UTC (History)
2 users (show)

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


Attachments
cairo-1.12.16-r3:20141112-095855.log (cairo-1.12.16-r3:20141112-095855.log,522.30 KB, text/plain)
2014-11-12 10:13 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2014-11-12 10:12:48 UTC
d-parameter -Wno-attributes -Wno-long-long -Winline -flto -fno-strict-aliasing -fno-common -Wno-unused-but-set-variable -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -O2 -pipe -ftracer -march=native -mtune=native -g -Wimplicit-function-declaration -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -o .libs/cairo-sphinx cairo_sphinx-sphinx.o  ../../util/cairo-script/.libs/libcairo-script-interpreter.so -llzo2 ../../boilerplate/.libs/libcairoboilerplate.a /var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16-abi_x86_32.x86/src/.libs/libcairo.so ../../src/.libs/libcairo.so -lpthread -lpixman-1 -lfontconfig -lfreetype -lEGL -ldl -lpng16 -lxcb-shm -lxcb-render -lxcb -lXrender -lX11 -lXext -lz -lGL -lglib-2.0 -lrt -lm
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/temp/ccPNuGm0.ltrans0.ltrans.o: In function `do_client':
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:1376: undefined reference to `cairo_boilerplate_get_target_by_name'
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:1389: undefined reference to `cairo_boilerplate_xmalloc'
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/temp/ccPNuGm0.ltrans0.ltrans.o: In function `clients_init':
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:271: undefined reference to `cairo_boilerplate_xmalloc'
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/temp/ccPNuGm0.ltrans0.ltrans.o: In function `do_server':
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:1176: undefined reference to `cairo_boilerplate_xmalloc'
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/temp/ccPNuGm0.ltrans0.ltrans.o: In function `clients_add_command':
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:307: undefined reference to `cairo_boilerplate_xmalloc'
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:318: undefined reference to `cairo_boilerplate_xmalloc'
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/temp/ccPNuGm0.ltrans0.ltrans.o:/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:331: more undefined references to `cairo_boilerplate_xmalloc' follow
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/temp/ccPNuGm0.ltrans0.ltrans.o: In function `do_server':
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:1232: undefined reference to `cairo_boilerplate_xrealloc'
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/temp/ccPNuGm0.ltrans0.ltrans.o: In function `clients_send_trace.isra.5':
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:803: undefined reference to `cairo_boilerplate_xrealloc'
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/temp/ccPNuGm0.ltrans0.ltrans.o: In function `do_server':
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:295: undefined reference to `cairo_boilerplate_xrealloc'
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/temp/ccPNuGm0.ltrans0.ltrans.o: In function `do_client':
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:1433: undefined reference to `cairo_boilerplate_xrealloc'
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/temp/ccPNuGm0.ltrans1.ltrans.o: In function `_surface_create.lto_priv.8':
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:984: undefined reference to `cairo_boilerplate_xmalloc'
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/temp/ccPNuGm0.ltrans1.ltrans.o: In function `get_surface_size':
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:894: undefined reference to `cairo_boilerplate_xmalloc'
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/temp/ccPNuGm0.ltrans1.ltrans.o: In function `_context_create.lto_priv.9':
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:1001: undefined reference to `cairo_boilerplate_xmalloc'
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/temp/ccPNuGm0.ltrans1.ltrans.o: In function `recorder.lto_priv.11':
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:1080: undefined reference to `cairo_boilerplate_xmalloc'
/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16/util/cairo-sphinx/sphinx.c:1113: undefined reference to `cairo_boilerplate_xrealloc'
collect2: error: ld returned 1 exit status
Makefile:590: recipe for target 'cairo-sphinx' failed
make[4]: *** [cairo-sphinx] Error 1
make[4]: Leaving directory '/var/tmp/portage/x11-libs/cairo-1.12.16-r3/work/cairo-1.12.16-abi_x86_32.x86/util/cairo-sphinx'



$ einfo x11-libs/cairo
Portage 2.2.14 (python 2.7.8-final-0, default/linux/amd64/13.0, gcc-4.9.2-asneeded, glibc-2.20, 3.17.2-lh-nvidia x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.2-lh-nvidia-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16343640 total,   1988476 free
KiB Swap:    3987452 total,   3925468 free
Timestamp of tree: Tue, 11 Nov 2014 08:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.10 [enabled]
app-shells/bash:          4.3_p30-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r2
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.2
dev-util/ccache:          3.1.10-r1
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.4.7, 4.5.4, 4.6.4, 4.7.4, 4.8.3, 4.9.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3-r2
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo sunrise betagarden dummy science last-hope
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ftracer   -march=native -mtune=native -g -Wimplicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/systemd/system /usr/share/eselect/ /usr/share/gnupg/qualified.txt /usr/share/nano/ /var/lib/hsqldb /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/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"
CXXFLAGS="-O2 -pipe -ftracer   -march=native -mtune=native -g -Wenum-compare"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS=" -vt --keep-going --autounmask-write --autounmask --quiet-build=n"
FCFLAGS="-O2 -pipe -ftracer   -march=native -mtune=native -g"
FEATURES="assume-digests binpkg-logs buildsyspkg ccache cgroup collision-protect compressdebug distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -ftracer   -march=native -mtune=native -g"
GENTOO_MIRRORS=" /mnt/tmpfs/ http://gentoo.j-schmitz.net/mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
MAKEOPTS="-j12 -l9"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-z -e -9 -v"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--omit-dir-times"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /local/overlays/betagarden /local/overlays/dummy /local/overlays/sci /local/overlays/lh-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 avx bash-completion berkdb branding bzip2 cairo caps cli cracklib crypt cxx dbus dri fortran gdbm gif gmp gnome gnome-keyring gstreamer gtk iconv icu ipv6 jpeg jpeg2k mmx mmxext modules multilib ncurses network-cron nls nptl nsplugin numa opengl openmp pam pcre pgo png pulseaudio qt3support raw readline session smp sse sse2 sse2_4way sse2check sse3 sse4 sse41 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification systemd tcpd threads tiff truetype unicode vaapi vdpau xattr xinerama zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="adc65 agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a jl2005c kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 pentax polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z topfield toshiba_pdrm11 tp6801" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth" 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" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport scripting-javascript wiki-publisher nlpsolver" LINGUAS="en" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi stub_status" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4 pypy" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm armeb" QEMU_USER_TARGETS="i386 x86_64 arm armeb" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND

=================================================================
                        Package Settings
=================================================================

x11-libs/cairo-1.12.16-r3 was built with the following:
USE="X glib lto opengl svg xcb (-aqua) -debug -directfb (-drm) (-gallium) (-gles2) -legacy-drivers -openvg (-qt4) -static-libs -valgrind -xlib-xcb" ABI_X86="32 64 -x32"
CFLAGS="-O2 -pipe -ftracer -march=native -mtune=native -frecord-gcc-switches -g -Wimplicit-function-declaration"
CXXFLAGS="-O2 -pipe -ftracer -march=native -mtune=native -frecord-gcc-switches -g -Wenum-compare"
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-11-12 10:13:47 UTC
Created attachment 389162 [details]
cairo-1.12.16-r3:20141112-095855.log

build.log
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-11-12 11:03:13 UTC

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