Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62523 - giftui-0.4.1 fails to compile with GTK+ 2.6.x
Summary: giftui-0.4.1 fails to compile with GTK+ 2.6.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
: 87234 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-01 08:54 UTC by james leslie
Modified: 2005-05-31 12:22 UTC (History)
4 users (show)

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


Attachments
Compiltion Output (compile,22.08 KB, text/plain)
2005-02-22 04:32 UTC, Octavio Ruiz (Ta^3)
Details
Patch needed for the provided ebuild. (0.4.1-ui-transfer.patch,1.23 KB, patch)
2005-03-06 08:13 UTC, Francisco José Cañizares Santofimia
Details | Diff
Ebuild that appears to compile. (giftui-0.4.1-r1.ebuild,1.00 KB, text/plain)
2005-03-06 08:14 UTC, Francisco José Cañizares Santofimia
Details
giftui-0.4.1-r1.ebuild (giftui-0.4.1-r1.ebuild,1.23 KB, text/plain)
2005-05-29 23:17 UTC, Doug Goldstein (RETIRED)
Details
files/giftui-0.4.1-compile-fix.patch (giftui-0.4.1-compile-fix.patch,1.08 KB, patch)
2005-05-29 23:17 UTC, Doug Goldstein (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description james leslie 2004-09-01 08:54:08 UTC
emergeing giftui-0.4.1 failed

runing gtk+-2.5.* from bmg but should be backward compadiable
gift-0.11.7
gnome 2.7.* from bmg

this is the output from emerge

if gcc -DHAVE_CONFIG_H -I. -I. -I.     -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -MT ui_transfer.o -MD -MP -MF ".deps/ui_transfer.Tpo" \
  -c -o ui_transfer.o `test -f 'ui_transfer.c' || echo './'`ui_transfer.c; \
then mv -f ".deps/ui_transfer.Tpo" ".deps/ui_transfer.Po"; \
else rm -f ".deps/ui_transfer.Tpo"; exit 1; \
fi
ui_search_cb.c:151: warning: `meta_print' defined but not used
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -MT ui_transfer_cb.o -MD -MP -MF ".deps/ui_transfer_cb.Tpo" \
  -c -o ui_transfer_cb.o `test -f 'ui_transfer_cb.c' || echo './'`ui_transfer_cb.c; \
then mv -f ".deps/ui_transfer_cb.Tpo" ".deps/ui_transfer_cb.Po"; \
else rm -f ".deps/ui_transfer_cb.Tpo"; exit 1; \
fi
ui_transfer.c: In function `giftui_transfer_pause_iter':
ui_transfer.c:321: error: `GtkCellRendererProgressColor' undeclared (first use in this function)
ui_transfer.c:321: error: (Each undeclared identifier is reported only once
ui_transfer.c:321: error: for each function it appears in.)
ui_transfer.c:321: error: syntax error before "status"
ui_transfer.c:323: error: `status' undeclared (first use in this function)
ui_transfer.c:325: error: `GTK_CELL_RENDERER_PROGRESS_CANCELED' undeclared (first use in this function)
ui_transfer.c:329: error: `GTK_CELL_RENDERER_PROGRESS_PAUSED' undeclared (first use in this function)
ui_transfer.c:331: error: `GTK_CELL_RENDERER_PROGRESS_ACTIVE' undeclared (first use in this function)
make[2]: *** [ui_transfer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
ui_transfer_cb.c:150: error: syntax error before "_state_from_str"
ui_transfer_cb.c:151: warning: return type defaults to `int'
ui_transfer_cb.c: In function `_state_from_str':
ui_transfer_cb.c:153: error: `GTK_CELL_RENDERER_PROGRESS_ACTIVE' undeclared (first use in this function)
ui_transfer_cb.c:153: error: (Each undeclared identifier is reported only once
ui_transfer_cb.c:153: error: for each function it appears in.)
ui_transfer_cb.c:156: error: `GTK_CELL_RENDERER_PROGRESS_PAUSED' undeclared (first use in this function)
ui_transfer_cb.c:160: error: `GTK_CELL_RENDERER_PROGRESS_COMPLETED' undeclared (first use in this function)
ui_transfer_cb.c:162: error: `GTK_CELL_RENDERER_PROGRESS_CANCELED' undeclared (first use in this function)
ui_transfer_cb.c: In function `giftui_transfer_updownload_add_chunk':
ui_transfer_cb.c:299: error: `GTK_CELL_RENDERER_PROGRESS_ACTIVE' undeclared (first use in this function)
ui_transfer_cb.c: In function `giftui_transfer_updownload_del':
ui_transfer_cb.c:552: error: `GTK_CELL_RENDERER_PROGRESS_COMPLETED' undeclared (first use in this function)
ui_transfer_cb.c:567: error: `GTK_CELL_RENDERER_PROGRESS_CANCELED' undeclared (first use in this function)
make[2]: *** [ui_transfer_cb.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/giftui-0.4.1/work/giftui-0.4.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/giftui-0.4.1/work/giftui-0.4.1/src'
make: *** [all-recursive] Error 1

!!! ERROR: net-p2p/giftui-0.4.1 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! (no error message)


here is my emerge --info:

Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.9-rc1)
=================================================================
System uname: 2.6.9-rc1 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/bmg-gnome-current/"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X aim alsa apm arts avi berkdb bonobo cdr crypt cups encode esd evo fam flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib jabber jpeg kde kerberos ldap libg++ libwww mad mikmod mmx mono motif mozilla mpeg msn ncurses nls odbc offensive oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba sasl sdl slang speedx spell ssl svga tcpd tiff truetype unicode usb x86 xface xml xml2 xmms xv xvid zlib"

Reproducible: Always
Steps to Reproduce:
1.emerge -v giftui

Actual Results:  
emerge fails output above
Comment 1 Jon Hood (RETIRED) gentoo-dev 2004-09-01 15:10:06 UTC
gnome team, this looks like something caused by gtk+; any comments on it? (Probably the unsupported version of gtk+?)
Comment 2 Joe McCann (RETIRED) gentoo-dev 2004-09-01 15:16:21 UTC
This is a gtk-2.5 issue, please read bug report guidelines(and also try to understand what you are doing before using development toolkits and reporting bugs about it). Please close as invalid

Comment 3 Jon Hood (RETIRED) gentoo-dev 2004-09-01 20:01:40 UTC
Thanks for clearing that up, Joe :). Note that breakmygentoo might break your gentoo.
Comment 4 james leslie 2004-09-02 05:22:17 UTC
yo yo all your ebuilds say no to post to the products bug system so i thought that i might try here first
Comment 5 Octavio Ruiz (Ta^3) 2005-02-22 04:32:06 UTC
Created attachment 51871 [details]
Compiltion Output

Now Gentoo have that BMG's versions on portage, and the problem is an offical
Gentoo bug. Please, change the Status to REOPENED.
Comment 6 Octavio Ruiz (Ta^3) 2005-02-22 04:32:45 UTC
emerge info
Portage 2.0.51-r15 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 03:18:31)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
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-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.10
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon64 -fstack-protector -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -fstack-protector -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/breakmygentoo"
SYNC="rsync://callampa/portage"
USE="amd64 X Xaw3d acpi acpi4linux aim alsa apache2 bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr crypt cups curl dga dillo directfb divx4linux dvd dvdr dvdread emacs encode ethereal f77 fam fbcon fortran gdbm gif gimpprint gpm gstreamer gtk gtk2 icq imagemagick imap imlib ipv6 jabber java javascript jp2 jpeg justify leim libwww lzw lzw-tiff maildir mng motif mozdevelop moznoirc moznomail mozsvg mpeg mpi msn ncurses net network nls noreiserfs nptl nvidia offensive oggvorbis opengl oss pam pcmcia pcre perl pg-intdatetime pg-vacuumdelay png pnp python readline rtc samba scanner sld ssl svg symlink tcpd tetex tiff truetype truetype-fonts trusted type1-fonts unicode usagi usb wmf wsconvert xml2 xmms xpm xprint xrandr xv xvid yahoo zlib video_cards_nvidia"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 7 Francisco José Cañizares Santofimia 2005-03-03 11:17:25 UTC
I agree on reopening this bug.
Comment 8 Francisco José Cañizares Santofimia 2005-03-06 08:13:12 UTC
Created attachment 52789 [details, diff]
Patch needed for the provided ebuild.
Comment 9 Francisco José Cañizares Santofimia 2005-03-06 08:14:49 UTC
Created attachment 52790 [details]
Ebuild that appears to compile.

I made this ebuild that applies a patch made from gitfui CVS. It appears to
compile. Please try it and tell me if runs.

And, please, reopen the bug.
Comment 10 Joe McCann (RETIRED) gentoo-dev 2005-03-12 06:26:21 UTC
p2p can deal with this
Comment 11 Billy 2005-05-21 10:51:00 UTC
(In reply to comment #9)
> Created an attachment (id=52790) [edit]
> Ebuild that appears to compile.
> 
> I made this ebuild that applies a patch made from gitfui CVS. It appears to
> compile. Please try it and tell me if runs.
> 
> And, please, reopen the bug. 

I just tried this on a powerpc, and it worked.
Comment 12 Omer Hasan 2005-05-21 15:57:33 UTC
patch is working here on x86
Comment 13 Doug Goldstein (RETIRED) gentoo-dev 2005-05-29 22:43:12 UTC
*** Bug 87234 has been marked as a duplicate of this bug. ***
Comment 14 Doug Goldstein (RETIRED) gentoo-dev 2005-05-29 23:17:02 UTC
Created attachment 60159 [details]
giftui-0.4.1-r1.ebuild
Comment 15 Doug Goldstein (RETIRED) gentoo-dev 2005-05-29 23:17:24 UTC
Created attachment 60160 [details, diff]
files/giftui-0.4.1-compile-fix.patch
Comment 16 Karol Wojtaszek (RETIRED) gentoo-dev 2005-05-31 12:22:11 UTC
merged with 0.4.1-gentoo.patch and added to portage. Thanks for help.