Bug#611550: FTBFS binutils-gold
Emilio Pozuelo Monfort
pochu at debian.org
Mon Jan 31 11:25:58 UTC 2011
On 30/01/11 16:51, Mahyuddin Susanto wrote:
> 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.
Have you forwarded this bug upstream?
> 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
That looks wrong. You need to add LIBXML_LIBS or whatever variable -lxml2 is in.
Check configure.ac to know what it is.
Emilio
More information about the pkg-gnome-maintainers
mailing list