eina-0.9.4.2 FTBFS with gcc-4.5.1 and Fedora 14

Bug #695582 reported by Jeff Krebs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eina
Won't Fix
Undecided
Unassigned

Bug Description

eina-0.9.4.2 FTBFS with gcc-4.5.1 and Fedora 14.

Output is:

+ cd eina-0.9.4.2
+ ./configure --prefix=/usr --libdir=/usr/lib64 --disable-static
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for intltool >= 0.40.0... 0.41.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.2
checking for XML::Parser... ok
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for pkg-config... /usr/bin/pkg-config
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for gdk-pixbuf-csource... /usr/bin/gdk-pixbuf-csource
checking for dbus-binding-tool... /usr/bin/dbus-binding-tool
checking for library containing strerror... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for size_t... yes
checking for inline... inline
checking whether gcc and cc understand -c and -o together... yes
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for atexit... yes
checking for memset... yes
checking for pow... no
checking for strchr... yes
checking for strstr... yes
checking for strtol... yes
checking for GLIB... yes
checking for GTK... yes
checking for GSTREAMER... yes
checking for curl-config... /usr/bin/curl-config
checking pkg-config is at least version 0.16... yes
checking for NOTIFY... yes
checking for DBUS_GLIB... yes
checking for SQLITE3... yes
checking for UNIQUE... yes
configure: creating ./config.status
config.status: creating build/Makefile
config.status: creating bundle/build
config.status: creating bundle/Info.plist
config.status: creating data/eina.desktop
config.status: creating data/eina.pc
config.status: creating gel/Makefile
config.status: creating lomo/Makefile
config.status: creating eina/Makefile
config.status: creating eina/ext/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/adb/Makefile
config.status: creating plugins/coverplus/Makefile
config.status: creating plugins/lastfm/Makefile
config.status: creating plugins/muine/Makefile
config.status: creating plugins/ntfy/Makefile
config.status: creating plugins/recently/Makefile
config.status: creating pixmaps/Makefile
config.status: creating data/Makefile
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating icons/Makefile
config.status: creating icons/hicolor/Makefile
config.status: creating po/Makefile.in
config.status: creating ui/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
+ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+ make
make[1]: Entering directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2'
make all-recursive
make[2]: Entering directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2'
Making all in build
make[3]: Entering directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/build'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/build'
Making all in gel
make[3]: Entering directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/gel'
glib-genmarshal \
 --prefix=gel_marshal \
 --header \
gel-marshallers.list > xgen-mh \
&& (cmp -s xgen-mh gel-marshallers.h || cp -f xgen-mh gel-marshallers.h) \
&& rm -f xgen-mh \
&& echo timestamp > stamp-marshal
make all-am
make[4]: Entering directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/gel'
  CC libgel_1_0_la-gel-app.lo
  CC libgel_1_0_la-gel-io-misc.lo
  CC libgel_1_0_la-gel-io-tree.lo
  CC libgel_1_0_la-gel-io-op-result.lo
  CC libgel_1_0_la-gel-io-ops.lo
  CC libgel_1_0_la-gel-io-recurse-tree.lo
  CC libgel_1_0_la-gel-io-scanner.lo
  CC libgel_1_0_la-gel-job-queue.lo
  CC libgel_1_0_la-gel-marshallers.lo
  CC libgel_1_0_la-gel-misc.lo
  CC libgel_1_0_la-gel-string.lo
  CC libgel_1_0_la-gel-str-parser.lo
  CC libgel_1_0_la-gel-plugin.lo
  CC libgel_1_0_la-gel-ui.lo
  CCLD libgel-1.0.la
make[4]: Leaving directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/gel'
make[3]: Leaving directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/gel'
Making all in lomo
make[3]: Entering directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/lomo'
glib-genmarshal \
 --prefix=lomo_marshal \
 --header \
lomo-marshallers.list > xgen-mh \
&& (cmp -s xgen-mh lomo-marshallers.h || cp -f xgen-mh lomo-marshallers.h) \
&& rm -f xgen-mh \
&& echo timestamp > stamp-marshal
make all-am
make[4]: Entering directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/lomo'
  CC liblomo_1_0_la-lomo-marshallers.lo
  CC liblomo_1_0_la-lomo-metadata-parser.lo
  CC liblomo_1_0_la-lomo-player.lo
  CC liblomo_1_0_la-lomo-playlist.lo
  CC liblomo_1_0_la-lomo-stream.lo
  CC liblomo_1_0_la-lomo-util.lo
  CCLD liblomo-1.0.la
make[4]: Leaving directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/lomo'
make[3]: Leaving directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/lomo'
Making all in eina
make[3]: Entering directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/eina'
make all-recursive
make[4]: Entering directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/eina'
Making all in ext
make[5]: Entering directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/eina/ext'
/usr/bin/gdk-pixbuf-csource --raw --name=__cover_mask ../../pixmaps/cover-mask.png > eina-cover-image-mask.h
glib-genmarshal \
 --prefix=eina_preferences_dialog_marshal \
 --header \
eina-preferences-dialog-marshallers.list > xgen-mh \
&& (cmp -s xgen-mh eina-preferences-dialog-marshallers.h || cp -f xgen-mh eina-preferences-dialog-marshallers.h) \
&& rm -f xgen-mh \
&& echo timestamp > stamp-marshal
../../build/ui2h eina-plugin-dialog.ui ui_xml > eina-plugin-dialog-ui.h
../../build/ui2h eina-plugin-properties.ui ui_xml > eina-plugin-properties-ui.h
make all-am
make[6]: Entering directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/eina/ext'
  CC libeinaext_la-curl-engine.lo
  CC libeinaext_la-eina-conf-file.lo
  CC libeinaext_la-eina-cover.lo
  CC libeinaext_la-eina-cover-image.lo
  CC libeinaext_la-eina-file-chooser-dialog.lo
  CC libeinaext_la-eina-file-utils.lo
  CC libeinaext_la-eina-plugin-dialog.lo
  CC libeinaext_la-eina-plugin-properties.lo
  CC libeinaext_la-eina-preferences-dialog.lo
  CC libeinaext_la-eina-preferences-dialog-marshallers.lo
  CC libeinaext_la-eina-seek.lo
  CC libeinaext_la-eina-stock.lo
  CC libeinaext_la-eina-volume.lo
  CC libeinaext_la-eina-window.lo
  CCLD libeinaext.la
make[6]: Leaving directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/eina/ext'
make[5]: Leaving directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/eina/ext'
make[5]: Entering directory `/stuff2/cvs/afterapps-specs/BUILD/eina-0.9.4.2/eina'
  CC eina-about.o
  CC eina-art.o
  CC eina-dock.o
  CC eina-eina-obj.o
  CC eina-eina-plugin.o
  CC eina-fs.o
  CC eina-log.o
  CC eina-lomo.o
  CC eina-main.o
cc1: warnings being treated as errors
main.c: In function 'unique_message_received_cb':
main.c:319:15: error: comparison between 'UniqueCommand' and 'enum EinaUniqueCommands'
make[5]: *** [eina-main.o] Error 1

Revision history for this message
L.Lopez (ldotlopez) wrote :

This is a know bug, just go to main.c around line 319 and change this:

   if (command == COMMAND_PLAY)

to this:
 if ((gint) command == (gint) COMMAND_PLAY)

The 0.9.x branches are obsolete now and this will not be fixed. Current developement is focused in master (Gtk+-3) branch.

Changed in eina:
status: New → Won't Fix
Revision history for this message
Jeff Krebs (jkrebs) wrote :

Thank you. That seems to have fixed things. I am now successfully using eina.

Under 64-bit Fedora 14, I also had to patch /data/Makefile.am and /data/Makefile.in.

I changed all references for "$(DESTDIR)/$(prefix)/lib/pkgconfig" to "$(DESTDIR)/$(libdir)/pkgconfig".

Fedora 14 64-bit puts all pkgconfig/*.pc files under /usr/lib64/pkgconfig, not /usr/lib/pkgconfig.

Hope to see a release from the gtk+3 branch soon.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.