Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218743 - inkscape-0.45.1-r1 does not compile: 'g_assert' was not declared in this scope
Summary: inkscape-0.45.1-r1 does not compile: 'g_assert' was not declared in this scope
Status: RESOLVED DUPLICATE of bug 203002
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-21 16:18 UTC by David Raison
Modified: 2008-04-22 17:02 UTC (History)
1 user (show)

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


Attachments
inkscape-0.45.1-r1-gassert.patch (inkscape-0.45.1-r1-gassert.patch,7.00 KB, patch)
2008-04-21 17:11 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Raison 2008-04-21 16:18:06 UTC
attributes.cpp: In function ‘unsigned int sp_attribute_lookup(const gchar*)’:
attributes.cpp:400: error: ‘g_assert’ was not declared in this scope
distcc[23229] ERROR: compile attributes.cpp on localhost failed
make[2]: *** [attributes.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.45.1-r1/work/inkscape-0.45.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.45.1-r1/work/inkscape-0.45.1'
make: *** [all] Error 2
 * 
 * ERROR: media-gfx/inkscape-0.45.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2581:  Called gnome2_src_compile
 *             environment, line 1954:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure

Reproducible: Always

Steps to Reproduce:
1.emerge inkscape
2.
3.




leto ~ # emerge --info
Portage 2.1.4.4 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r1 i686)
=================================================================
System uname: 2.6.25-gentoo-r1 i686 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
Timestamp of tree: Sun, 20 Apr 2008 13:02:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.ynet.sk/pub"
LC_ALL="en_GB.UTF-8"
LINGUAS="en en_GB ja"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac alsa anthy berkdb bzip2 cairo cdr cjk cli console cpufreq cracklib crypt cups dbus deskbar divx dri dts dv dvd dvdnav dvdr dvdread encode exif fam ffmpeg firefox flac fortran gdbm gif gimp gimpprint glitz gpm gtk gtk2 hal iconv immqt ipod ipv6 isdnlog joystick jpeg jpeg2k kqemu libsamplerate lm_sensors logitech-mouse mad magic matroska mdnsresponder-compat midi mmx mmxext mng mozdevelop mp2 mp3 mp4 mpeg mplayer msn mudflap musepack musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oscar pam pcre pdf png ppds pppd prime pulseaudio quicktime readline real realmedia reflection sdl session smartcard smp sound spl sse sse2 ssl ssse3 stream subversion svg tcpd theora tiff truetype unicode vidix vim-syntax visualization vorbis wifi win32codecs wma wmf wmp x264 x86 xcomposite xine xinerama xml xorg xosd xscreensaver xv xvid zlib zrtp" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB ja" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-04-21 16:24:01 UTC
Sorry was looking at a different bug, I think I'll take a break now ^^;;
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-21 17:11:03 UTC
Created attachment 150512 [details, diff]
inkscape-0.45.1-r1-gassert.patch

This is due to changes in glib. The attached patch is supposed to solve this, but I haven't compile-tested it, though I know it applies against our tarball.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-21 17:25:03 UTC
(In reply to comment #2)
> Created an attachment (id=150512) [edit]
> inkscape-0.45.1-r1-gassert.patch
> 
And, btw. It's fixes in 0.46, but that's not stable, of course.

Comment 4 Markus Meier gentoo-dev 2008-04-21 17:32:39 UTC
yes, it is fixed in 0.46, that's why I'm not going to patch 0.45. already reported in bug #203002.

*** This bug has been marked as a duplicate of bug 203002 ***
Comment 5 David Raison 2008-04-22 15:52:28 UTC
fixing a bug in a pkg marked as stable by installing a package marked as unstable?
nice practics ;)
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 16:16:14 UTC
(In reply to comment #5)
> fixing a bug in a pkg marked as stable by installing a package marked as
> unstable?
> nice practics ;)
> 

Actually, this bug is caused by unstable glib-2.16* being installed on your system. As I understand it, the plan is to avoid this bug in the all-stable branch is to stable inkscape when glib is stabled. 
Comment 7 David Raison 2008-04-22 16:25:03 UTC
no problem, I was just joking.
The problem is, once you're into unstable software, it's hard to go back to stable ;)
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 17:02:37 UTC
(In reply to comment #7)
> no problem, I was just joking.
> The problem is, once you're into unstable software, it's hard to go back to
> stable ;)

Then either go ~arch or stable. You'll see lots more like this if not.