Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349047 - media-gfx/inkscape-0.48.0 fails to build
Summary: media-gfx/inkscape-0.48.0 fails to build
Status: RESOLVED DUPLICATE of bug 330397
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-19 01:51 UTC by Fabiano
Modified: 2010-12-19 01:53 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabiano 2010-12-19 01:51:07 UTC
I cannot build media-gfx/inkscape-0.48.0 in my system (0.47 builds ok).

My system is x86 most stable, with some testing packages, including cairo (=1.10.0-r3), which I would bet is the issue here.


Reproducible: Always

Steps to Reproduce:
My default USE flags for this app are: "dia gnome lcms nls spell wmf" and the rest disabled.

I tried to filter them out, but got the same results. My command line:

1. USE=" -dia -gnome -lcms -nls -spell -wmf" emerge inkscape -v


Actual Results:  
It fails to build, with this compiler error:

...
  CXX    2geom/sweep.o
  CXX    2geom/transforms.o
  CXX    2geom/numeric/matrix.o
2geom/svg-elliptical-arc.cpp: In member function ‘virtual std::vector<double, std::allocator<double> > Geom::SVGEllipticalArc::allNearestPoints(const Geom::Point&, double, double) const’:
2geom/svg-elliptical-arc.cpp:602: warning: ‘dsq’ may be used uninitialized in this function
2geom/svg-elliptical-arc.cpp:602: note: ‘dsq’ was declared here
2geom/svg-elliptical-arc.cpp:603: warning: ‘mi1’ may be used uninitialized in this function
2geom/svg-elliptical-arc.cpp:603: note: ‘mi1’ was declared here
2geom/svg-elliptical-arc.cpp:603: warning: ‘mi2’ may be used uninitialized in this function
2geom/svg-elliptical-arc.cpp:603: note: ‘mi2’ was declared here
  AR     libinkversion.a
  AR     libinkscape.a
  AR     dom/libdom.a
  AR     libcroco/libcroco.a
  AR     libavoid/libavoid.a
  AR     libgdl/libgdl.a
  AR     libcola/libcola.a
  AR     libvpsc/libvpsc.a
  AR     livarot/libvarot.a
  AR     2geom/lib2geom.a
  CXXLD  inkscape
  CXXLD  inkview
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libcairomm-1.0.so: undefined reference to `cairo_glitz_surface_create'
collect2: ld returned 1 exit status
make[2]: ** [inkview] Erro 1
make[2]: ** Esperando que outros processos terminem.
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libcairomm-1.0.so: undefined reference to `cairo_glitz_surface_create'
collect2: ld returned 1 exit status
make[2]: ** [inkscape] Erro 1
make[2]: Saindo do diretório `/dados/portage/tmp/portage/media-gfx/inkscape-0.48.0/work/inkscape-0.48.0/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/dados/portage/tmp/portage/media-gfx/inkscape-0.48.0/work/inkscape-0.48.0'
make: ** [all] Erro 2
emake failed
 * ERROR: media-gfx/inkscape-0.48.0 failed:
 *   compile failure
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3606:  Called gnome2_src_compile
 *   environment, line 2741:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"


Expected Results:  
App builded.

 # emerge --info =media-gfx/inkscape-0.48.0
Portage 2.2.0_alpha9 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-tuxonice-r1-k8-f1 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-tuxonice-r1-k8-f1-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-gentoo-2.0.1
Timestamp of tree: Sat, 18 Dec 2010 22:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.5.4-r3, 2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.3.4, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.33 (sys-kernel/linux-headers)
Repositories: gentoo fabianos_local
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/hddtemp /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -msse3 -Os -pipe -fomit-frame-pointer"
DISTDIR="/dados/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ http://mirror.datapipe.net/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://gentoo.mirrors.hoobly.com/"
LANG="pt_BR.UTF-8"
LC_ALL="pt_BR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pt_BR"
MAKEOPTS="-j3"
PKGDIR="/dados/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/dados/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amr amrnb amrwb apache2 berkdb branding bzip2 cairo cddb cdparanoia cdr cli consolekit cracklib crypt css cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fortran gdbm gif gnome gpm gstreamer gtk iconv id3tag imlib java jpeg kde lcms libnotify mad mikmod mmx mmxext mng modules mozilla mp3 mp4 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline rtc sdl session spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype type1 unicode usb vcd vim vim-syntax vorbis win32codecs x264 x86 xcb xcomposite xine xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel hdsp hdspm pcsp" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga vesa fbdev nvidia nv" 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, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

What other information can I provide?

Regards,
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-12-19 01:53:28 UTC
> /usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libcairomm-1.0.so: undefined
> reference to `cairo_glitz_surface_create'
> collect2: ld returned 1 exit status

caused by bug 330397. solution is same as usual with undefined reference errors. same simple one. re-emerge the package owning the broken file.
re-emerge cairomm.


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