Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104476 - inkscape 0.42.2 depends on >=glib-2.6
Summary: inkscape 0.42.2 depends on >=glib-2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 06:16 UTC by Samuel Penn
Modified: 2005-12-25 08:14 UTC (History)
1 user (show)

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 Samuel Penn 2005-09-01 06:16:07 UTC
When upgrading from Inkscape 0.41-r1 to 0.42.2 on AMD64, the compilation on   
Inkscape fails, with the compile errors given in the box below. I didn't have 
any problems with the building of the previous version. 
    

Reproducible: Always
Steps to Reproduce:
1.emerge inkscape 
 
 
 
Actual Results:  
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  
-I/usr/lib/perl5/5.8.5/x  
86_64-linux/CORE  -I/usr/include/python2.3 -I/usr/include/freetype2  -pthread  
-D  
ORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include  
-I/usr/in  
clude/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0  
-I/usr/include/gconf/2  
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0    
-  
I/usr/include/freetype2 -I/usr/include/freetype2/config    
-DPOTRACE=\"potrace\"  
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gdkmm-2.4  
-I/u  
sr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4  
-I/usr/lib/glibmm-2.4/include  
 -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include  
-I  
/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0  
-I  
/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2  
-I/u   sr/include/freetype2/config -I/usr/include/gtkmm-2.4  
-I/usr/lib/gtkmm-2.4/includ   e -I/usr/include/atkmm-1.6  
-I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/   include/gtkspell-2.0    
-I../cxxtest    -Wall -W -Wpointer-arith -Wcast-align -Ws   ign-compare  
-Woverloaded-virtual -Wswitch  -Wno-unused-parameter -O2 -MT io/xslt    
stream.o -MD -MP -MF "io/.deps/xsltstream.Tpo" -c -o io/xsltstream.o `test -f  
'i   o/xsltstream.cpp' || echo './'`io/xsltstream.cpp; \  
then mv -f "io/.deps/xsltstream.Tpo" "io/.deps/xsltstream.Po"; else rm -f  
"io/.d   eps/xsltstream.Tpo"; exit 1; fi  
make[2]: *** [io/sys.o] Error 1  
make[2]: *** Waiting for unfinished jobs....  
make[2]: Leaving directory  
`/var/tmp/portage/inkscape-0.42.2/work/inkscape-0.42.   2/src'  
make[1]: *** [all-recursive] Error 1  
make[1]: Leaving directory  
`/var/tmp/portage/inkscape-0.42.2/work/inkscape-0.42.   2'  
make: *** [all] Error 2  
  
!!! ERROR: media-gfx/inkscape-0.42.2 failed.  
!!! Function gnome2_src_compile, Line 48, Exitcode 2  
!!! compile failure  
  
   

Expected Results:  
Installed the new version of Inkscape. 

fenris root # emerge -pv inkscape 
 
These are the packages that I would merge, in order: 
 
Calculating dependencies ...done! 
[ebuild     U ] media-gfx/inkscape-0.42.2 [0.41-r1] -bonobo -debug -doc 
-effects -gnome -inkjar (-mmx) +perl -plugin +python +spell 0 kB
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-09-01 14:39:56 UTC
`emerge --info` is missing
Comment 2 Samuel Penn 2005-09-02 06:12:06 UTC
fenris root # emerge --info 
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, 
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11 x86_64) 
================================================================= 
System uname: 2.6.11-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3200+ 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 27 2005, 
20:38:31)] 
dev-lang/python:     2.3.4-r1 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r1 
sys-devel/libtool:   1.5.10-r4 
virtual/os-headers:  2.6.8.1-r4 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O2" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr//lib/mozilla/defaults/pref /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://194.117.143.72/mirrors/gentoo 
http://ftp.easynet.nl/mirror/gentoo/ ftp://194.117.143.69/mirrors/gentoo 
http://194.117.143.71 ftp://194.117.143.70/mirrors/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://wotan.glendale/gentoo-portage" 
USE="amd64 X aalib alsa avi berkdb bitmap-fonts cdparanoia crypt cups curl dvd 
dvdread eds encode esd fam flac foomaticdb fortran gd gif gimpprint gpm 
gstreamer gtk gtk2 imagemagick imlib ipv6 jabber java jpeg junit kde ldap lzw 
lzw-tiff mad motif mozilla mozsvg mp3 mpeg ncurses nls ogg oggvorbis opengl 
oss pam pdflib perl png python qt quicktime readline sdl spell ssl svg tcltk 
tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales 
vorbis xine xinerama xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux 
elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS 
 
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2005-11-06 07:37:25 UTC
i can't reproduce this error here, and the error log you gave apparently doesn't
provide enough info.. there's no hint why io/sys.o failed. could you please
provide a few more lines of the emerge output?
Comment 4 Samuel Penn 2005-11-06 08:12:57 UTC
Okay, just tried it again and I get the same problem. Looking back up the 
build, I can see the following error: 
 
io/sys.cpp:22:25: glib/gstdio.h: No such file or directory 
 
I'm guessing that it's expecting this file in /usr/include/glib-2.0. There is 
a glib directory here, but no gstdio.h. The current version of glib I have 
installed is as follows: 
 
[ebuild     U ] dev-libs/glib-2.6.5 [2.4.8] -doc -hardened -static 2,301 kB 
 
I'm going to try upgrading glib and see if that makes any difference. Some of 
the build output is included below (the error is about a third of the way 
down). 
 
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/lib/perl5/5.8.6/x86_64-linux/CORE  -I/usr/include/python2.4 
-I/usr/include/freetype2  -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 
-I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0   
-I/usr/include/freetype2 -I/usr/include/freetype2/config   
-DPOTRACE=\"potrace\" -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread 
-I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include 
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include 
-I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/freetype2/config 
-I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 
-I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0   
-I../cxxtest    -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare 
-Woverloaded-virtual -Wswitch  -Wno-unused-parameter -O2 -MT io/sys.o -MD -MP 
-MF "io/.deps/sys.Tpo" -c -o io/sys.o `test -f 'io/sys.cpp' || echo 
'./'`io/sys.cpp; \ 
then mv -f "io/.deps/sys.Tpo" "io/.deps/sys.Po"; else rm -f 
"io/.deps/sys.Tpo"; exit 1; fi 
io/sys.cpp:22:25: glib/gstdio.h: No such file or directory 
 
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/lib/perl5/5.8.6/x86_64-linux/CORE  -I/usr/include/python2.4 
-I/usr/include/freetype2  -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 
-I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0   
-I/usr/include/freetype2 -I/usr/include/freetype2/config   
-DPOTRACE=\"potrace\" -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread 
-I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include 
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include 
-I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/freetype2/config 
-I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 
-I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0   
-I../cxxtest    -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare 
-Woverloaded-virtual -Wswitch  -Wno-unused-parameter -O2 -MT io/uristream.o 
-MD -MP -MF "io/.deps/uristream.Tpo" -c -o io/uristream.o `test -f 
'io/uristream.cpp' || echo './'`io/uristream.cpp; \ 
then mv -f "io/.deps/uristream.Tpo" "io/.deps/uristream.Po"; else rm -f 
"io/.deps/uristream.Tpo"; exit 1; fi 
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/lib/perl5/5.8.6/x86_64-linux/CORE  -I/usr/include/python2.4 
-I/usr/include/freetype2  -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 
-I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0   
-I/usr/include/freetype2 -I/usr/include/freetype2/config   
-DPOTRACE=\"potrace\" -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread 
-I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include 
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include 
-I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/freetype2/config 
-I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 
-I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0   
-I../cxxtest    -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare 
-Woverloaded-virtual -Wswitch  -Wno-unused-parameter -O2 -MT io/xsltstream.o 
-MD -MP -MF "io/.deps/xsltstream.Tpo" -c -o io/xsltstream.o `test -f 
'io/xsltstream.cpp' || echo './'`io/xsltstream.cpp; \ 
then mv -f "io/.deps/xsltstream.Tpo" "io/.deps/xsltstream.Po"; else rm -f 
"io/.deps/xsltstream.Tpo"; exit 1; fi 
make[2]: *** [io/sys.o] Error 1 
make[2]: *** Waiting for unfinished jobs.... 
make[2]: Leaving directory 
`/var/tmp/portage/inkscape-0.42.2/work/inkscape-0.42.2/src' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/inkscape-0.42.2/work/inkscape-0.42.2' 
make: *** [all] Error 2 
 
!!! ERROR: media-gfx/inkscape-0.42.2 failed. 
!!! Function gnome2_src_compile, Line 48, Exitcode 2 
!!! compile failure 
!!! If you need support, post the topmost build error, NOT this status 
message. 
 
 
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2005-11-06 08:35:10 UTC
right, this is odd

$ equery f glib | grep gstdio.h
/usr/include/glib-2.0/glib/gstdio.h

i guess just remerging glib will fix this. if not, please reopen
Comment 6 Samuel Penn 2005-11-06 08:43:18 UTC
Try again after bug update collision... 
 
Fixed for me after the glib upgrade, so the bug would appear to be a broken 
dependency with the inkscape ebuild. 
Comment 7 Simon Stelling (RETIRED) gentoo-dev 2005-11-06 09:02:44 UTC
yup, you're right. if you have a look at the functions declared in gstdio.h and
compare them with this list:
http://developer.gnome.org/doc/API/2.0/glib/ix05.html it seems that inkscape
depends on >=2.6 and not >=2.4.1 
Comment 8 Simon Stelling (RETIRED) gentoo-dev 2005-11-06 09:03:05 UTC
reassigning per my last comment
Comment 9 Marcelo Goes (RETIRED) gentoo-dev 2005-12-24 15:37:40 UTC
Confirmed. With glib-2.4.8, inkscape-0.43 and 0.43-r1 don't even get past the configure script. So, I added >=dev-libs/glib-2.6.5 to DEPEND/RDEPEND in 0.43/0.43-r1's ebuilds.

graphics, zypher: any objection against wiping out ebuilds prior to 0.43? We seem to have __a_lot__ of inkscape ebuilds.
Comment 10 Luca Barbato gentoo-dev 2005-12-24 21:32:36 UTC
Looks ok, thank you for helping us =)
Comment 11 Marcelo Goes (RETIRED) gentoo-dev 2005-12-25 08:14:56 UTC
Okies, 'tis done. :-)