Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49829 - media-gfx/giram-0.3.4 failes to compile after upgrading to gtk+-2.4.0-r1
Summary: media-gfx/giram-0.3.4 failes to compile after upgrading to gtk+-2.4.0-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-03 05:22 UTC by Andre Hinrichs
Modified: 2005-08-19 16:33 UTC (History)
1 user (show)

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


Attachments
giram-0.3.5-fbsd.patch (giram-0.3.5-fbsd.patch,2.48 KB, patch)
2005-08-12 18:27 UTC, Marcelo Goes (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Hinrichs 2004-05-03 05:22:23 UTC
Did an 'emerge -e world' just two weeks ago and everything compiled fine.
Now, after upgrading the gtk+, atk and pango packages I decided to recompile
again, but unfortunately compile of giram fails.

Here is the error message:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../src -I../../src -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include    -g -O2 -Wall -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -O3 -march=i686 -funroll-loops -pipe -DPLUGINS_DIR="\"/usr/lib/giram/plug-ins/\"" -DHELPFILE="\"/usr/share/doc/giram-0.3.4/Tutorial\"" -c gtkcolorbutton.c
gtkcolorbutton.c:26:2: warning: #warning GTK_DISABLE_DEPRECATED
gtkcolorbutton.c: In function `gtk_color_button_destroy':
gtkcolorbutton.c:60: error: structure has no member named `title'
gtkcolorbutton.c:62: error: structure has no member named `title'
gtkcolorbutton.c:63: error: structure has no member named `title'
gtkcolorbutton.c:66: error: structure has no member named `gcs'
gtkcolorbutton.c:68: error: structure has no member named `gcs'
gtkcolorbutton.c:69: error: structure has no member named `gcs'
gtkcolorbutton.c:72: error: structure has no member named `color'
gtkcolorbutton.c:74: error: structure has no member named `color'
gtkcolorbutton.c:75: error: structure has no member named `color'
gtkcolorbutton.c: In function `gtk_color_button_class_init':
gtkcolorbutton.c:101: error: structure has no member named `color_changed'
gtkcolorbutton.c:105: error: structure has no member named `color_changed'
gtkcolorbutton.c: In function `gtk_color_button_init':
gtkcolorbutton.c:117: error: structure has no member named `title'
gtkcolorbutton.c:119: error: structure has no member named `color'
gtkcolorbutton.c:120: error: structure has no member named `preview'
gtkcolorbutton.c:121: error: structure has no member named `gcs'
gtkcolorbutton.c: At top level:
gtkcolorbutton.c:170: error: conflicting types for `gtk_color_button_new'
/usr/include/gtk-2.0/gtk/gtkcolorbutton.h:79: error: previous declaration of `gtk_color_button_new'
gtkcolorbutton.c: In function `gtk_color_button_new':
gtkcolorbutton.c:178: error: structure has no member named `title'
gtkcolorbutton.c:179: error: structure has no member named `width'
gtkcolorbutton.c:180: error: structure has no member named `height'
gtkcolorbutton.c:182: error: structure has no member named `color'
gtkcolorbutton.c:187: error: structure has no member named `color'
gtkcolorbutton.c:191: error: structure has no member named `color'
gtkcolorbutton.c:194: error: structure has no member named `preview'
gtkcolorbutton.c:195: error: structure has no member named `preview'
gtkcolorbutton.c:195: error: structure has no member named `preview'
gtkcolorbutton.c:198: error: structure has no member named `preview'
gtkcolorbutton.c:199: error: structure has no member named `preview'
gtkcolorbutton.c:200: error: structure has no member named `preview'
gtkcolorbutton.c: In function `gtk_color_button_update':
gtkcolorbutton.c:220: error: structure has no member named `gcs'
gtkcolorbutton.c:221: error: structure has no member named `gcs'
gtkcolorbutton.c:221: error: structure has no member named `color'
gtkcolorbutton.c: In function `gtk_color_button_state_changed':
gtkcolorbutton.c:229: error: structure has no member named `gcs'
gtkcolorbutton.c:230: error: structure has no member named `gcs'
gtkcolorbutton.c: In function `gtk_color_button_clicked':
gtkcolorbutton.c:243: error: structure has no member named `gcs'
gtkcolorbutton.c:245: error: structure has no member named `gcs'
gtkcolorbutton.c:246: error: structure has no member named `gcs'
gtkcolorbutton.c:248: error: structure has no member named `gcs'
gtkcolorbutton.c:248: error: structure has no member named `gcs'
gtkcolorbutton.c:250: error: structure has no member named `gcs'
gtkcolorbutton.c:253: error: structure has no member named `gcs'
gtkcolorbutton.c:254: error: structure has no member named `gcs'
gtkcolorbutton.c:255: error: structure has no member named `gcs'
gtkcolorbutton.c:256: error: structure has no member named `gcs'
gtkcolorbutton.c:256: error: structure has no member named `gcs'
gtkcolorbutton.c:260: error: structure has no member named `gcs'
gtkcolorbutton.c:260: error: structure has no member named `color'
gtkcolorbutton.c:261: error: structure has no member named `gcs'
gtkcolorbutton.c: In function `gtk_color_button_paint':
gtkcolorbutton.c:271: error: structure has no member named `width'
gtkcolorbutton.c:272: error: structure has no member named `width'
gtkcolorbutton.c:275: error: structure has no member named `color'
gtkcolorbutton.c:277: error: structure has no member named `height'
gtkcolorbutton.c:278: error: structure has no member named `preview'
gtkcolorbutton.c:279: error: structure has no member named `width'
gtkcolorbutton.c:280: error: structure has no member named `preview'
gtkcolorbutton.c: In function `gtk_color_button_color_changed':
gtkcolorbutton.c:290: error: structure has no member named `gcs'
gtkcolorbutton.c:293: error: structure has no member named `color'
gtkcolorbutton.c: At top level:
gtkcolorbutton.c:300: error: conflicting types for `gtk_color_button_set_color'
/usr/include/gtk-2.0/gtk/gtkcolorbutton.h:82: error: previous declaration of `gtk_color_button_set_color'
gtkcolorbutton.c: In function `gtk_color_button_set_color':
gtkcolorbutton.c:305: error: structure has no member named `color'
gtkcolorbutton.c:307: error: structure has no member named `gcs'
gtkcolorbutton.c:309: error: structure has no member named `gcs'
make[3]: *** [gtkcolorbutton.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/giram-0.3.4/work/giram-0.3.4/src/widgets'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/giram-0.3.4/work/giram-0.3.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/giram-0.3.4/work/giram-0.3.4'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-gfx/giram-0.3.4 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.emerge -Du world
2.emerge -e world




Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.9
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
http://ds.thn.htu.se/linux/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j 3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync8.de.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acl alsa apache2 apm arts audiofile avi berkdb bonobo cdr
crypt cups curl divx4linux dvd emacs encode esd flac flash foomaticdb gd gdbm
ggi gif gmp gnome gphoto2 gpm gtk gtk2 gtkhtml guile icq imagemagick imlib java
jpeg kde lcms ldap leim libg++ libwww mad maildir mikmod motif mozilla mpeg
mysql nas ncurses nls nocardbus odbc oggvorbis opengl oss pam pcmcia pda pdflib
perl plotutils png ppds python qt quicktime readline samba sasl scanner sdl
slang speex spell ssl svga tcltk tcpd tetex theora tiff truetype unicode usb wmf
wxwindows x86 xml xml2 xmms xv xvid zlib"
Comment 1 Andrew Fant (RETIRED) gentoo-dev 2004-06-03 11:36:16 UTC
For what it's worth, I attempted to compile from the tarball for 0.3.5 from the giram website on a system with gtk+ 2.4.1, and it failed in exactly the same.  This looks like something that needs to be checked by the application developer.

Andy
Comment 2 psk 2004-12-28 06:18:22 UTC
It fail for me too
Comment 3 Jean Bréfort 2005-01-22 05:30:19 UTC
There are several problems there.

- First, stable packages should NOT have -DGTK_DISABLE_DEPRECATED and analogs in their CFLAGS settings, just because some feautures might become deprecated.

- Second, giram developpers have their own version of GtkColorButton. This could work before gtk-2.4 but there is now a GtkColorButton (starting from 2.4.0) in GTK. Tey should not have used a Gtk prefixed custom widget.

- Third, it seems that giram is not maintained. There have been no news in 2004 and cvs ChangeLog did not change since feb. 22, 2004
Comment 4 Sophie Hamilton 2005-04-11 14:16:28 UTC
I also have this problem...

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 1400MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 02:51:43)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
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-r7
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://distfiles.gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/ciaran/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apm avi berkdb bitmap-fonts cdr crypt cups curl dga divx4linux dvd emboss encode esd fam flac foomaticdb fortran gd gdbm gif gmail gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jack java jbig joystick jpeg kde kdeenablefinalladspa libg++ libwww mad mikmod mmx motif mp3 mpeg multitarget mysql ncurses nls nodrm nptl oggvorbis opengl oss pam pdflib perl pic png povray python qt quicktime readline real samba sdl slang sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts v4l xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-07-27 17:09:30 UTC
This needs to be either fixed or the ebuild should be removed from the tree.
Looking at the pathetic state of the ebuild's homepage, I suggest to remove this.
Comment 6 Marcelo Goes (RETIRED) gentoo-dev 2005-08-12 18:27:58 UTC
Created attachment 65806 [details, diff]
giram-0.3.5-fbsd.patch

If anyone is interested, FreeBSD has some patches for giram (
http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/giram/files/ ), but I
still get a problem with view.c.
Comment 7 Marcelo Goes (RETIRED) gentoo-dev 2005-08-13 09:07:47 UTC
Ok, got it to work. Bumped to version 0.3.5 and backported patch for 0.3.4, both
compile and run with gcc-3.4.

Can anyone else confirm all is good?
Comment 8 Andre Hinrichs 2005-08-15 02:53:30 UTC
Well, I can confirm that both 0.3.4 and 0.3.5 compile and run on my system.

It seems that they do not hurt functionality but it would be nice not to see
these libtool messages:

/bin/sh ../libtool --mode=link gcc  -DGTK_DISABLE_DEPRECATED
-DGDK_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -O3 -march=pentium3
-fomit-frame-pointer -DPLUGINS_DIR="\"/usr/lib/giram/plug-ins/\""
-DHELPFILE="\"/usr/share/doc/giram-0.3.5/Tutorial\""  -o librender_povray.la 
-avoid-version -module -rpath /usr/share/giram/0.3/modules render_povray.lo
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
../libtool: line 1957: test: =: unary operator expected
../libtool: line 2250: test: !=: unary operator expected
../libtool: line 1957: test: =: unary operator expected
../libtool: line 2250: test: !=: unary operator expected
../libtool: line 1957: test: =: unary operator expected
../libtool: line 2220: test: !=: unary operator expected
../libtool: line 2250: test: !=: unary operator expected
../libtool: line 1957: test: =: unary operator expected
../libtool: line 2220: test: !=: unary operator expected
../libtool: line 2250: test: !=: unary operator expected
../libtool: line 1957: test: =: unary operator expected
../libtool: line 2250: test: !=: unary operator expected
../libtool: line 1957: test: =: unary operator expected
../libtool: line 2250: test: !=: unary operator expected
../libtool: line 1957: test: =: unary operator expected
../libtool: line 2220: test: !=: unary operator expected
../libtool: line 2250: test: !=: unary operator expected
../libtool: line 1957: test: =: unary operator expected
../libtool: line 2220: test: !=: unary operator expected
../libtool: line 2250: test: !=: unary operator expected
../libtool: line 1957: test: =: unary operator expected
../libtool: line 2220: test: !=: unary operator expected
../libtool: line 2250: test: !=: unary operator expected
../libtool: line 1957: test: =: unary operator expected
../libtool: line 2250: test: !=: unary operator expected
rm -fr .libs/librender_povray.la .libs/librender_povray.* .libs/librender_povray.*
../libtool: line 2709: test: =: unary operator expected
../libtool: line 2982: test: =: unary operator expected
Comment 9 Marcelo Goes (RETIRED) gentoo-dev 2005-08-19 16:33:48 UTC
Agreed. elibtoolize fixed it for me, it is now in version 0.3.5 in cvs.
Thanks for reporting!