First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 45510
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Lars Strojny <lars@strojny.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gtk+-2.4.patch patch to fix -DGTK_DEPRECATION patch Yi Quang (RETIRED) 2004-03-25 18:46 0000 895 bytes Details | Diff
libexif-gtk-0.3.3.ebuild updated ebuild text/plain Yi Quang (RETIRED) 2004-03-25 18:47 0000 916 bytes Details
gtkam-gtk+-2.4-fix.patch gtk+-2.4 fix for gtkam patch Yi Quang (RETIRED) 2004-03-25 19:09 0000 519 bytes Details | Diff
gtkam-0.1.10-r1.ebuild updated gtkam ebuild text/plain Yi Quang (RETIRED) 2004-03-25 19:09 0000 1.28 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 45510 depends on: Show dependency tree
Bug 45510 blocks: 45747
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-23 09:08 0000
gtkam-chooser.c could not be compiled with the actuall gtk2. I`m not sure, but
it seems to be a problem of gtk. Also libexif-gtk will not compile. To work
around I compiled with USE="-jpeg" emerge gtkam

Reproducible: Always
Steps to Reproduce:
1. USE="-jpeg" emerge gtkam

Actual Results:  
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl
-DIMAGE_DIR=\"/usr/share/images/gtkam\" -DGTKAM_LOCALEDIR=\"/usr/share/locale\"
-DPACKAGE_DATA_DIR=\"/usr/share/gtkam\" -DPACKAGE_SOURCE_DIR=\"..\"
-DAPP_DATADIR=\"\" -DGTK_DISABLE_DEPRECATED   -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/gphoto2   -DORBIT2=1 -pthread
-I/usr/include/bonobo-activation-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2
-I/usr/include/libbonobo-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/libart-2.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/gconf/2
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include       -O3
-funroll-loops -pipe -fstack-protector -march=pentium3 -fomit-frame-pointer -g
-Wall -Wmissing-declarations -Wmissing-prototypes -c `test -f 'gtkam-clock.c'
||
echo './'`gtkam-clock.c
gtkam-chooser.c:79: error: syntax error before "GtkCombo"
gtkam-chooser.c:79: warning: no semicolon at end of struct or union
gtkam-chooser.c:86: error: syntax error before '}' token
gtkam-chooser.c: In function `gtkam_chooser_destroy':
gtkam-chooser.c:103: error: dereferencing pointer to incomplete type
gtkam-chooser.c:104: error: dereferencing pointer to incomplete type
gtkam-chooser.c:105: error: dereferencing pointer to incomplete type
gtkam-chooser.c:108: error: dereferencing pointer to incomplete type
gtkam-chooser.c:109: error: dereferencing pointer to incomplete type
gtkam-chooser.c:110: error: dereferencing pointer to incomplete type
gtkam-chooser.c:113: error: dereferencing pointer to incomplete type
gtkam-chooser.c:114: error: dereferencing pointer to incomplete type
gtkam-chooser.c:115: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `gtkam_chooser_init':
gtkam-chooser.c:157: error: invalid application of `sizeof' to an incomplete
type
gtkam-chooser.c: In function `gtkam_chooser_get_camera':
gtkam-chooser.c:243: error: dereferencing pointer to incomplete type
gtkam-chooser.c:244: error: dereferencing pointer to incomplete type
gtkam-chooser.c:245: error: dereferencing pointer to incomplete type
gtkam-chooser.c:246: error: dereferencing pointer to incomplete type
gtkam-chooser.c:266: error: dereferencing pointer to incomplete type
gtkam-chooser.c:267: error: dereferencing pointer to incomplete type
gtkam-chooser.c:272: error: dereferencing pointer to incomplete type
gtkam-chooser.c:274: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `on_apply_clicked':
gtkam-chooser.c:320: error: dereferencing pointer to incomplete type
gtkam-chooser.c:329: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `on_ok_clicked':
gtkam-chooser.c:346: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `on_more_options_toggled':
gtkam-chooser.c:362: error: dereferencing pointer to incomplete type
gtkam-chooser.c:363: error: dereferencing pointer to incomplete type
gtkam-chooser.c:364: error: dereferencing pointer to incomplete type
gtkam-chooser.c:365: error: dereferencing pointer to incomplete type
gtkam-chooser.c:366: error: dereferencing pointer to incomplete type
gtkam-chooser.c:367: error: dereferencing pointer to incomplete type
gtkam-chooser.c:368: error: dereferencing pointer to incomplete type
gtkam-chooser.c:369: error: dereferencing pointer to incomplete type
gtkam-chooser.c:370: error: dereferencing pointer to incomplete type
gtkam-chooser.c:371: error: dereferencing pointer to incomplete type
gtkam-chooser.c:373: error: dereferencing pointer to incomplete type
gtkam-chooser.c:374: error: dereferencing pointer to incomplete type
gtkam-chooser.c:375: error: dereferencing pointer to incomplete type
gtkam-chooser.c:376: error: dereferencing pointer to incomplete type
gtkam-chooser.c:377: error: dereferencing pointer to incomplete type
gtkam-chooser.c:378: error: dereferencing pointer to incomplete type
gtkam-chooser.c:379: error: dereferencing pointer to incomplete type
gtkam-chooser.c:380: error: dereferencing pointer to incomplete type
gtkam-chooser.c:381: error: dereferencing pointer to incomplete type
gtkam-chooser.c:382: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `gtkam_chooser_update_for_model':
gtkam-chooser.c:396: error: dereferencing pointer to incomplete type
gtkam-chooser.c:399: error: dereferencing pointer to incomplete type
gtkam-chooser.c:400: error: dereferencing pointer to incomplete type
gtkam-chooser.c:415: warning: implicit declaration of function
`gtk_combo_set_popdown_strings'
gtkam-chooser.c:415: error: dereferencing pointer to incomplete type
gtkam-chooser.c:416: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `on_model_changed':
gtkam-chooser.c:425: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `on_port_changed':
gtkam-chooser.c:432: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `on_speed_changed':
gtkam-chooser.c:439: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `on_detect_clicked':
gtkam-chooser.c:453: error: dereferencing pointer to incomplete type
gtkam-chooser.c:454: error: dereferencing pointer to incomplete type
gtkam-chooser.c:466: error: dereferencing pointer to incomplete type
gtkam-chooser.c:467: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `gtkam_chooser_set_model_list':
gtkam-chooser.c:495: error: dereferencing pointer to incomplete type
gtkam-chooser.c:496: error: dereferencing pointer to incomplete type
gtkam-chooser.c:500: error: dereferencing pointer to incomplete type
gtkam-chooser.c:503: error: dereferencing pointer to incomplete type
gtkam-chooser.c:506: error: dereferencing pointer to incomplete type
gtkam-chooser.c:507: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `gtkam_chooser_set_port_list':
gtkam-chooser.c:523: error: dereferencing pointer to incomplete type
gtkam-chooser.c:524: error: dereferencing pointer to incomplete type
gtkam-chooser.c:527: error: dereferencing pointer to incomplete type
gtkam-chooser.c:531: error: dereferencing pointer to incomplete type
gtkam-chooser.c:533: error: dereferencing pointer to incomplete type
gtkam-chooser.c:536: error: dereferencing pointer to incomplete type
gtkam-chooser.c:538: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `on_multi_toggled':
gtkam-chooser.c:545: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `on_port_added':
gtkam-chooser.c:556: error: dereferencing pointer to incomplete type
gtkam-chooser.c:561: error: dereferencing pointer to incomplete type
gtkam-chooser.c:563: error: dereferencing pointer to incomplete type
gtkam-chooser.c:568: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `gtkam_chooser_new':
gtkam-chooser.c:592: error: dereferencing pointer to incomplete type
gtkam-chooser.c:593: error: dereferencing pointer to incomplete type
gtkam-chooser.c:594: error: dereferencing pointer to incomplete type
gtkam-chooser.c:596: error: dereferencing pointer to incomplete type
gtkam-chooser.c:597: error: dereferencing pointer to incomplete type
gtkam-chooser.c:599: error: dereferencing pointer to incomplete type
gtkam-chooser.c:600: error: dereferencing pointer to incomplete type
gtkam-chooser.c:617: error: dereferencing pointer to incomplete type
gtkam-chooser.c:623: warning: implicit declaration of function `gtk_combo_new'
gtkam-chooser.c:623: warning: assignment makes pointer from integer without a
cast
gtkam-chooser.c:626: error: dereferencing pointer to incomplete type
gtkam-chooser.c:626: warning: implicit declaration of function `GTK_COMBO'
gtkam-chooser.c:627: error: dereferencing pointer to incomplete type
gtkam-chooser.c:627: error: invalid type argument of `->'
gtkam-chooser.c:639: error: dereferencing pointer to incomplete type
gtkam-chooser.c:646: warning: assignment makes pointer from integer without a
cast
gtkam-chooser.c:650: error: dereferencing pointer to incomplete type
gtkam-chooser.c:650: error: invalid type argument of `->'
gtkam-chooser.c:651: error: dereferencing pointer to incomplete type
gtkam-chooser.c:661: error: dereferencing pointer to incomplete type
gtkam-chooser.c:665: error: dereferencing pointer to incomplete type
gtkam-chooser.c:667: warning: assignment makes pointer from integer without a
cast
gtkam-chooser.c:670: error: dereferencing pointer to incomplete type
gtkam-chooser.c:670: error: invalid type argument of `->'
gtkam-chooser.c:671: error: dereferencing pointer to incomplete type
gtkam-chooser.c:672: error: dereferencing pointer to incomplete type
gtkam-chooser.c:685: error: dereferencing pointer to incomplete type
gtkam-chooser.c:703: error: dereferencing pointer to incomplete type
gtkam-chooser.c:723: error: dereferencing pointer to incomplete type
gtkam-chooser.c:725: error: dereferencing pointer to incomplete type
gtkam-chooser.c:727: error: dereferencing pointer to incomplete type
gtkam-chooser.c:732: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `gtkam_chooser_set_camera_mask':
gtkam-chooser.c:750: error: dereferencing pointer to incomplete type
gtkam-chooser.c:761: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `gtkam_chooser_set_port_mask':
gtkam-chooser.c:780: error: dereferencing pointer to incomplete type
gtkam-chooser.c:790: error: dereferencing pointer to incomplete type
gtkam-chooser.c: In function `gtkam_chooser_set_camera':
gtkam-chooser.c:813: error: dereferencing pointer to incomplete type
gtkam-chooser.c:816: error: dereferencing pointer to incomplete type
gtkam-chooser.c:818: error: dereferencing pointer to incomplete type
gtkam-chooser.c:820: error: dereferencing pointer to incomplete type
make[2]: *** [gtkam-chooser.o] Error 1
make[2]: *** Waiting for unfinished jobs....
gtkam-clock.c: In function `gtkam_clock_destroy':
gtkam-clock.c:66: warning: implicit declaration of function
`gtk_timeout_remove'
gtkam-clock.c: In function `on_forward_pressed':
gtkam-clock.c:256: warning: implicit declaration of function `gtk_timeout_add'
make[2]: Leaving directory
`/var/tmp/portage/gtkam-0.1.10-r1/work/gtkam-0.1.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtkam-0.1.10-r1/work/gtkam-0.1.10'
make: *** [all] Error 2

!!! ERROR: media-gfx/gtkam-0.1.10-r1 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! (no error message)



Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.3)
=================================================================
System uname: 2.6.3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -funroll-loops -pipe -fstack-protector -march=pentium3
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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="-O3 -funroll-loops -pipe -fstack-protector -march=pentium3
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache keeptemp keepwork sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/lars/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 avi crypt encode esd esound gif gnome gpg
gphoto2
gpm gstreamer gtk2 gtkhtml imlib jpeg linguas_de mad mikmod mmx mozilla
moznocompose moznoirc moznomail moznoxft mozsvg mpeg mpeg4 mysql ncurses nls
oggvorbis opengl openssh pam pcmcia pdflib png quicktime readline slang spell
sse ssl tcltk truetype x86 xml2 xmms zlib"

------- Comment #1 From Alastair Tse (RETIRED) 2004-03-23 16:45:06 0000 -------
another -DGTK_DISABLE_DEPRECATED fatality .. 

------- Comment #2 From Yi Quang (RETIRED) 2004-03-25 18:46:51 0000 -------
Created an attachment (id=28030) [edit]
patch to fix -DGTK_DEPRECATION

while investigating this bug, i discovered that libexif-gtk is also affected,
and gtkam has an optional dep on it, so I figured i might as well fix it.  

------- Comment #3 From Yi Quang (RETIRED) 2004-03-25 18:47:15 0000 -------
Created an attachment (id=28031) [edit]
updated ebuild

------- Comment #4 From Yi Quang (RETIRED) 2004-03-25 19:09:14 0000 -------
Created an attachment (id=28032) [edit]
gtk+-2.4 fix for gtkam 

------- Comment #5 From Yi Quang (RETIRED) 2004-03-25 19:09:52 0000 -------
Created an attachment (id=28033) [edit]
updated gtkam ebuild

------- Comment #6 From Alastair Tse (RETIRED) 2004-03-28 10:12:25 0000 -------
thanks, except i didn't use those patches because we should always keep patches
in src_unpack and not patch autoconf generated Makefile's directly.

fixed in gtkam-0.1.11 (bumped while i was at it) and libexif-gtk-0.3.3

------- Comment #7 From foser (RETIRED) 2004-05-12 14:58:01 0000 -------
*** Bug 49761 has been marked as a duplicate of this bug. ***

------- Comment #8 From foser (RETIRED) 2004-05-12 14:58:23 0000 -------
_all_ versions in portage should compile

------- Comment #9 From Dietmar Schabus 2004-06-07 11:46:07 0000 -------
no, still having the same error messages here...


Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo-r3)
=================================================================
System uname: 2.4.25-gentoo-r3 i686 Mobile Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/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="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"

------- Comment #10 From Yi Quang (RETIRED) 2004-06-09 11:02:35 0000 -------
Fixed now, sorry this took so long.  

First Last Prev Next    No search results available      Search page      Enter new bug