build failure: fails to build with vala-0.20

Bug #1164615 reported by Pim Vullers
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Eidete
Expired
Undecided
Unassigned

Bug Description

When trying to build eidete with valac 0.20 I get the following error:

...
Linking C executable eidete
/usr/bin/cmake -E cmake_link_script CMakeFiles/eidete.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -ggdb -Wl,-O1 -Wl,--as-needed CMakeFiles/eidete.dir/src/eidete.c.o CMakeFiles/eidete.dir/src/Widgets/countdown.c.o CMakeFiles/eidete.dir/src/Widgets/keyview.c.o CMakeFiles/eidete.dir/src/Widgets/selectionarea.c.o CMakeFiles/eidete.dir/src/Widgets/end_dialog.c.o CMakeFiles/eidete.dir/src/desktop_launcher.c.o CMakeFiles/eidete.dir/Config.c.o CMakeFiles/eidete.dir/src/keycapture.c.o -o eidete -rdynamic -lwnck-3 -lgstinterfaces-0.10 -lgstpbutils-0.10 -lgstreamer-0.10 -lgmodule-2.0 -lxml2 -lgranite -lgee -lgio-2.0 -lgthread-2.0 -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lXtst -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lgobject-2.0 -lglib-2.0 -lX11 -lgio-2.0 -lgthread-2.0 -lgtk-3 -latk-1.0 -lXtst -lpangocairo-1.0 -lpango-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lgobject-2.0 -lglib-2.0 -lX11
CMakeFiles/eidete.dir/src/Widgets/keyview.c.o: In function `__lambda8_':
/tmp/portage/media-video/eidete-9999/work/eidete-9999_build/src/Widgets/keyview.c:401: undefined reference to `gtk_widget_get_opacity'
/tmp/portage/media-video/eidete-9999/work/eidete-9999_build/src/Widgets/keyview.c:403: undefined reference to `gtk_widget_set_opacity'
/tmp/portage/media-video/eidete-9999/work/eidete-9999_build/src/Widgets/keyview.c:404: undefined reference to `gtk_widget_get_opacity'
/tmp/portage/media-video/eidete-9999/work/eidete-9999_build/src/Widgets/keyview.c:409: undefined reference to `gtk_widget_get_opacity'
collect2: error: ld returned 1 exit status
make[2]: *** [eidete] Error 1
make[2]: Leaving directory `/tmp/portage/media-video/eidete-9999/work/eidete-9999_build'
make[1]: *** [CMakeFiles/eidete.dir/all] Error 2
make[1]: Leaving directory `/tmp/portage/media-video/eidete-9999/work/eidete-9999_build'
make: *** [all] Error 2

This is with Eidete from trunk, Gtk+ 3.4.4, GLib 2.36 and Vala 0.20 on Gentoo Linux. With Vala 0.18 it builds fine.

Revision history for this message
Pim Vullers (pimvullers) wrote :
Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :

I compile my code in my computer with Vala 0.20 under Raring and the process works fine; I try to create a package in launchpad with exactly the same code, and I receive the same error.

I my computer, I checked the .c code and the call is gkt_window_set_opacity, but in the launchpad servers, the error is:

CMakeFiles/cronopete.dir/restore.c.o: In function `restore_iface_construct':
restore.c:(.text+0x150d): undefined reference to `gtk_widget_set_opacity'
CMakeFiles/cronopete.dir/restore.c.o: In function `restore_iface_timer_move':
restore.c:(.text+0xabbd): undefined reference to `gtk_widget_set_opacity'
collect2: error: ld returned 1 exit status

Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :

BTW: I have the Vala PPA in my system...

Changed in eidete:
status: New → Confirmed
Revision history for this message
PerfectCarl (name-is-carl) wrote :

Can someone confirms that it still an issue with trunk.

It compiles fine with vala 0.26.
Should we bump vala requirements?

Changed in eidete:
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Eidete because there has been no activity for 60 days.]

Changed in eidete:
status: Incomplete → Expired
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.