build failure on debian
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppMenu GTK+ |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm trying to build appmenu and I see a build failure for a
non-existent (or Ubuntu only) header file.
Making all in src
make[3]: Entering directory `/tmp/buildd/
make[4]: Entering directory `/tmp/buildd/
CC bridge.o
In file included from bridge.c:41:0:
bridge.h:23:33: fatal error: gtk/ubuntumenup
compilation terminated.
make[4]: *** [libappmenu_
make[4]: Leaving directory `/tmp/buildd/
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/buildd/
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/
dh_auto_build: make -j1 returned exit code 2
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package
Is there a fix available for this?
Yup, this is because GTK in Ubuntu is patched with an extra file (ubuntumenuproxy.h) which sends menus over Dbus. Since this change is ubuntu-specific and we definitely don't want it to go to Debian, this bug won't be fixed. However, in your case, you can download Ubuntu's GTK source code from the repository and then build it on Debian, and use its header files to build appmenu-gtk and that'd work.