Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#15034 - [libexif-gtk] build error using gcc-4.4.0

Attached to Project: Arch Linux
Opened by Baho Utot (baho-utot) - Wednesday, 10 June 2009, 00:46 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 09 November 2009, 10:13 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

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/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -march=athlon -O2 -pipe -fomit-frame-pointer -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -MT gtk-menu-option.lo -MD -MP -MF .deps/gtk-menu-option.Tpo -c gtk-menu-option.c -fPIC -DPIC -o .libs/gtk-menu-option.o
In file included from gtk-menu-option.c:22:
gtk-menu-option.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_menu_option_get_type'
gtk-menu-option.c: In function 'gtk_menu_option_destroy':
gtk-menu-option.c:72: warning: implicit declaration of function 'GTK_CHECK_CAST'
gtk-menu-option.c:72: warning: nested extern declaration of 'GTK_CHECK_CAST'
gtk-menu-option.c:72: warning: implicit declaration of function 'gtk_menu_option_get_type'
gtk-menu-option.c:72: warning: nested extern declaration of 'gtk_menu_option_get_type'
gtk-menu-option.c:72: error: expected expression before 'GtkMenuOption'
gtk-menu-option.c:72: warning: initialization makes pointer from integer without a cast
gtk-menu-option.c: In function 'gtk_menu_option_finalize':
gtk-menu-option.c:90: error: expected expression before 'GtkMenuOption'
gtk-menu-option.c:90: warning: initialization makes pointer from integer without a cast
gtk-menu-option.c: In function 'gtk_menu_option_init':
gtk-menu-option.c:126: error: expected expression before 'GtkMenuOption'
gtk-menu-option.c:126: warning: initialization makes pointer from integer without a cast
gtk-menu-option.c: At top level:
gtk-menu-option.c:134: warning: no previous prototype for 'gtk_menu_option_get_type'
gtk-menu-option.c:134: error: conflicting types for 'gtk_menu_option_get_type'
gtk-menu-option.c:72: note: previous implicit declaration of 'gtk_menu_option_get_type' was here
gtk-menu-option.c: In function 'gtk_menu_option_construct':
gtk-menu-option.c:181: warning: implicit declaration of function 'GTK_CHECK_TYPE'
gtk-menu-option.c:181: warning: nested extern declaration of 'GTK_CHECK_TYPE'
make[2]: *** [gtk-menu-option.lo] Error 1
make[2]: Leaving directory `/build/src/libexif-gtk-0.3.5/gtk-extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/libexif-gtk-0.3.5'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
==> Removing installed dependencies...
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Monday, 09 November 2009, 10:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  libexif-gtk 0.3.5-9
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 10 June 2009, 01:02 GMT
This pkg is Orphaned. Assigned to old maintainer.

PS: I will research if I can fix the build with a patch.
Comment by Jan de Groot (JGC) - Thursday, 11 June 2009, 09:44 GMT
I think this is related to deprecated code usage. T2 has some patches for this:
http://www.t2-project.org/packages/libexif-gtk.html

Please include the full license headers in the patches when using these patches.

Loading...