Bug#611550: FTBFS binutils-gold

Mahyuddin Susanto udienz at ubuntu.com
Sun Jan 30 16:51:29 UTC 2011


Source: gnome-main-menu
Severity: minor
Version: 0.9.14-1
Usertags: no-add-needed
Tags: patch
thanks

I try to build your package in Natty with binutils-gold and GCC4.5 (will
be apllied in wheezy), and your package failed to build.

Log can be found at here:
http://people.ubuntuwire.org/~lucas/ubuntu-nbs/32/gnome-main-menu_0.9.14-1_lubuntu32.buildlog

And i try to modify a Makefile.in and i have successfully build. Here a
patch

## Description: Fix FTBFS binutils-gold with ld --no-add-needed
## by adding xml2 library in Makefile
## Author: Mahyuddin Susanto

Index: gnome-main-menu-0.9.14/main-menu/src/Makefile.am
===================================================================
--- gnome-main-menu-0.9.14.orig/main-menu/src/Makefile.am	2011-01-29
06:51:29.000000000 +0700
+++ gnome-main-menu-0.9.14/main-menu/src/Makefile.am	2011-01-29
06:51:05.000000000 +0700
@@ -32,7 +32,7 @@

 main_menu_LDADD =							\
 	$(MAIN_MENU_LIBS)						\
-	$(NETWORK_LIBS)
+	$(NETWORK_LIBS) -lxml2

 trigger_panel_run_dialog_SOURCES =					\
 	trigger-panel-run-dialog.c
Index: gnome-main-menu-0.9.14/main-menu/src/Makefile.in
===================================================================
--- gnome-main-menu-0.9.14.orig/main-menu/src/Makefile.in	2011-01-29
06:51:29.000000000 +0700
+++ gnome-main-menu-0.9.14/main-menu/src/Makefile.in	2011-01-29
06:51:22.000000000 +0700
@@ -287,7 +287,7 @@

 main_menu_LDADD = \
 	$(MAIN_MENU_LIBS)						\
-	$(GLADE_LIBS)
+	$(GLADE_LIBS) -lxml2

 trigger_panel_run_dialog_SOURCES = \
 	trigger-panel-run-dialog.c

-- 
Mahyuddin Susanto
udienz at ubuntu.com | http://tripledin.wordpress.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Fix-FTBFS-binutils-gold.patch
Type: text/x-patch
Size: 1114 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20110130/fadb3dc4/attachment.bin>


More information about the pkg-gnome-maintainers mailing list