Package FTBFS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bamf (Ubuntu) |
Fix Released
|
High
|
Łukasz Zemczak |
Bug Description
There are two issues that cause the package to FTBFS during rebuilds. First one is the missing gnome-common build-dependency:
make[1]: Entering directory '/<<BUILDDIR>
NOCONFIGURE=1 dh_autoreconf ./autogen.sh
You need to install the gnome-common module and make
sure the gnome-autogen.sh script is in your $PATH.
dh_autoreconf: ./autogen.sh returned exit code 1
debian/rules:11: recipe for target 'override_
make[1]: *** [override_
make[1]: Leaving directory '/<<BUILDDIR>
debian/rules:8: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
But even after this dependency is satisfied, the build seems to fail on use of some deprecated functions in the code. One example:
bamf-legacy-
bamf-legacy-
scale = gdk_screen_
^~~~~
In file included from /usr/include/
/usr/include/
gint gdk_screen_
bamf-legacy-
bamf-legacy-
gtk_menu_popup (GTK_MENU (menu), NULL, NULL, position, self, button, time);
^~~~~~~~~~~~~~
In file included from /usr/include/
/usr/include/
void gtk_menu_popup (GtkMenu *menu,
cc1: all warnings being treated as errors
Related branches
- Unity Team: Pending requested
-
Diff: 11 lines (+1/-0)1 file modifieddebian/control (+1/-0)
- Unity Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedconfigure.ac (+1/-1)
summary: |
- Package FTBFS because of missing gnome-common dependency + Package FTBFS |
description: | updated |
The easiest way would be to simply disable the -Werror= deprecated- declarations and see how this goes, but the *proper* fix would be to get rid of the deprecated functions and use the new, proper ones instead. I leave the decision how to proceed to the upstream developers.
Anyway, I propose a merge to fix the first part of the problem.