Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45523 - libexif-gtk doesn't compile
Summary: libexif-gtk doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 45747
  Show dependency tree
 
Reported: 2004-03-23 11:05 UTC by Doug Goldstein (RETIRED)
Modified: 2005-11-08 23:48 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 Doug Goldstein (RETIRED) gentoo-dev 2004-03-23 11:05:02 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -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 -march=pentium4 -O3 -pipe -fomit-frame-pointer -fex pensive-optimizations -ffast-math -falign-functions=4 -fforce-addr -funroll-loops -maccumulate-outgoing-args -frerun-loop-opt -fprefetch-loop-arrays -frerun-cse -after-loop -mfpmath=sse -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -c gtk-menu-option.c -MT gtk-menu- option.lo -MD -MP -MF .deps/gtk-menu-option.TPlo  -fPIC -DPIC -o .libs/gtk-menu-option.lo
In file included from gtk-option-menu-option.c:22:
gtk-option-menu-option.h:37: error: syntax error before "GtkOptionMenu"
gtk-option-menu-option.h:37: warning: no semicolon at end of struct or union
gtk-option-menu-option.h:40: error: syntax error before '}' token
gtk-option-menu-option.h:43: error: syntax error before "GtkOptionMenuClass"
gtk-option-menu-option.h:43: warning: no semicolon at end of struct or union
gtk-option-menu-option.h:47: error: syntax error before '}' token
gtk-option-menu-option.h:49: error: syntax error before "gtk_option_menu_option_get_type"
gtk-option-menu-option.h:49: warning: type defaults to `int' in declaration of `gtk_option_menu_option_get_type'
gtk-option-menu-option.h:49: warning: data definition has no type or storage class
gtk-option-menu-option.h:50: error: syntax error before '*' token
gtk-option-menu-option.h:50: warning: type defaults to `int' in declaration of `gtk_option_menu_option_new'
gtk-option-menu-option.h:50: warning: data definition has no type or storage class
gtk-option-menu-option.c:34: error: syntax error before '*' token
gtk-option-menu-option.c:34: warning: type defaults to `int' in declaration of `parent_class'
gtk-option-menu-option.c:34: warning: data definition has no type or storage class
gtk-option-menu-option.c: In function `gtk_option_menu_option_finalize':
gtk-option-menu-option.c:58: error: dereferencing pointer to incomplete type
gtk-option-menu-option.c: In function `gtk_option_menu_option_class_init':
gtk-option-menu-option.c:77: error: dereferencing pointer to incomplete type
gtk-option-menu-option.c: In function `gtk_option_menu_option_init':
gtk-option-menu-option.c:89: error: dereferencing pointer to incomplete type
gtk-option-menu-option.c: At top level:
gtk-option-menu-option.c:94: error: conflicting types for `gtk_option_menu_option_get_type'
gtk-option-menu-option.h:49: error: previous declaration of `gtk_option_menu_option_get_type'
gtk-option-menu-option.c: In function `gtk_option_menu_option_get_type':
gtk-option-menu-option.c:100: error: invalid application of `sizeof' to an incomplete type
gtk-option-menu-option.c:102: error: invalid application of `sizeof' to an incomplete type
gtk-option-menu-option.c:105: error: `GTK_TYPE_OPTION_MENU' undeclared (first use in this function)
gtk-option-menu-option.c:105: error: (Each undeclared identifier is reported only once
gtk-option-menu-option.c:105: error: for each function it appears in.)
gtk-option-menu-option.c: In function `on_option_set':
gtk-option-menu-option.c:118: warning: implicit declaration of function `gtk_option_menu_set_history'
gtk-option-menu-option.c:118: warning: implicit declaration of function `GTK_OPTION_MENU'
gtk-option-menu-option.c: At top level:
gtk-option-menu-option.c:129: error: conflicting types for `gtk_option_menu_option_new'
gtk-option-menu-option.h:50: error: previous declaration of `gtk_option_menu_option_new'
gtk-option-menu-option.c: In function `gtk_option_menu_option_new':
gtk-option-menu-option.c:139: warning: implicit declaration of function `gtk_option_menu_set_menu'
gtk-option-menu-option.c: In function `gtk_option_menu_option_get':
gtk-option-menu-option.c:155: warning: implicit declaration of function `gtk_option_menu_get_menu'
gtk-option-menu-option.c:155: warning: assignment makes pointer from integer without a cast
gtk-option-menu-option.c: In function `gtk_option_menu_option_set':
gtk-option-menu-option.c:166: warning: assignment makes pointer from integer without a cast
make[2]: *** [gtk-option-menu-option.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -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 -march=pentium4 -O3 -pipe -fomit-frame-pointer -fex pensive-optimizations -ffast-math -falign-functions=4 -fforce-addr -funroll-loops -maccumulate-outgoing-args -frerun-loop-opt -fprefetch-loop-arrays -frerun-cse -after-loop -mfpmath=sse -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -c gtk-menu-option.c -MT gtk-menu- option.lo -MD -MP -MF .deps/gtk-menu-option.TPlo -o gtk-menu-option.o >/dev/null 2>&1
mv -f .libs/gtk-menu-option.lo gtk-menu-option.lo
make[2]: Leaving directory `/var/tmp/portage/libexif-gtk-0.3.3/work/libexif-gtk-0.3.3/gtk-extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libexif-gtk-0.3.3/work/libexif-gtk-0.3.3'
make: *** [all] Error 2
 
!!! ERROR: media-libs/libexif-gtk-0.3.3 failed.
!!! Function src_compile, Line 26, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge libexif-gtk
2.
3.

Actual Results:  
failed to compile.

Expected Results:  
compiles.

emerge info
Portage 2.0.50-r2 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.3-gentoo-r2)
=================================================================
System uname: 2.6.3-gentoo-r2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.40GHz
Gentoo Base System version 1.4.3.13p1
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fexpensive-optimizations
-ffast-math -falign-functions=4 -fforce-addr -funroll-loops
-maccumulate-outgoing-args -frerun-loop-opt -fprefetch-loop-arrays
-frerun-cse-after-loop -mfpmath=sse"
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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer
-fexpensive-optimizations -ffast-math -falign-functions=4 -fforce-addr
-funroll-loops -maccumulate-outgoing-args -frerun-loop-opt
-fprefetch-loop-arrays -frerun-cse-after-loop -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache 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="/usr/local/portage"
SYNC="rsync://rsync2.us.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb cdr crypt cups dvd encode esd foomaticdb footmaticdb
gdbm gif gnome gnomedb gpm gstreamer gtk gtk2 imlib ipv6 java jpeg libg++ libwww
mad mikmod motif mozilla moznocompose moznoirc moznomail mozsvg mpeg mysql
ncurses nogcj nptl oav oggvorbis opengl oss pam pcmcia pdflib perl pic png pnp
ppds python qt quicktime readline samba sdl slang slp smooth spell sse ssl svga
tcltk tcpd tiff truetype usb wmf x86 xml2 xmms xv zlib"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-03-25 23:45:56 UTC
there's already a bug open upstream

see
http://sourceforge.net/tracker/index.php?func=detail&aid=840434&group_id=12272&atid=112272
Comment 2 Yi Quang (RETIRED) gentoo-dev 2004-03-29 22:13:00 UTC
This has already been fixed in portage. Please close. 
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-03-29 22:18:37 UTC
fixed by liquidx
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-03-29 22:19:15 UTC
see bug 45510 for details
Comment 5 Ruggero Marchei 2005-11-08 23:48:49 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I../gtk-exten
sions -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -
I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/
glib-2.0/include -I/usr/include/libexif -DG_LOG_DOMAIN=\"libexif\" -O2 -march=i6
86 -fomit-frame-pointer -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wm
issing-prototypes -Wnested-externs -Wpointer-arith -c gtk-exif-content-list.c -M
T gtk-exif-content-list.lo -MD -MP -MF .deps/gtk-exif-content-list.TPlo  -fPIC -
DPIC -o .libs/gtk-exif-content-list.lo
gtk-exif-content-list.c: In function `update_foreach_func':
gtk-exif-content-list.c:376: error: too few arguments to function `exif_entry_ge
t_value'
gtk-exif-content-list.c: In function `gtk_exif_content_list_add_entry':
gtk-exif-content-list.c:403: error: too few arguments to function `exif_entry_ge
t_value'
make[2]: *** [gtk-exif-content-list.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/libexif-gtk-0.3.3/work/libexif-gtk-
0.3.3/libexif-gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libexif-gtk-0.3.3/work/libexif-gtk-
0.3.3'
make: *** [all] Error 2

!!! ERROR: media-libs/libexif-gtk-0.3.3 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


# emerge --info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -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.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo "
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 ace acpi alsa amuled apache2 audiofile avi berkdb
bitmap-fonts browserplugin bzip2 cddb cdr chroot crypt cups curl dba directfb
dvd dvdr dvdread emboss encode esd exif expat fam fastcgi fbcon ffmpeg firefox
flac font-server foomaticdb gcj gd gdbm geoip gif gimpprint glut gmp gnome
gnutls gphoto2 gpm gstreamer gtk gtk2 guile idn imagemagick imlib innodb ipv6
java javascript jpeg junit justify kqemu lcms libclamav libg++ libwww mad mhash
mikmod mmx mng motif mozilla moznocompose moznomail mp3 mpeg mysql ncurses
network nls nosendmail nowin nptl nvidia ogg oggvorbis opengl pam pcre pdflib
perl php png ppds pwdb python qt quicktime rar readline real remote samba sdl
session slang sockets spell ssl svga symlink tcltk tetex tiff truetype
truetype-fonts type1-fonts udev unicode usb vorbis win32codecs xchattext xine
xml2 xprint xv xvid zlib linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS