GNOME Bugzilla – Bug 553759
failed to build libxml2 under ubuntu 8.10
Last modified: 2008-11-18 11:39:40 UTC
Steps to reproduce: 1. wget garnome 2.24 2. cd desktop/nautilus 3. make install Stack trace: ~/GARNOME/2.24.0/garnome-2.24.0/desktop/nautilus$ make install [===== NOW BUILDING: nautilus-2.24.0 =====] [fetch] complete for nautilus. [checksum] complete for nautilus. [extract] complete for nautilus. [patch] complete for nautilus. [fixup] complete for nautilus. ==> Building platform/libgnomeui as a dependency make[1]: Entering directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libgnomeui' [===== NOW BUILDING: libgnomeui-2.24.0 =====] [fetch] complete for libgnomeui. [checksum] complete for libgnomeui. [extract] complete for libgnomeui. [patch] complete for libgnomeui. [fixup] complete for libgnomeui. ==> Building platform/libbonoboui as a dependency make[2]: Entering directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libbonoboui' [===== NOW BUILDING: libbonoboui-2.24.0 =====] [fetch] complete for libbonoboui. [checksum] complete for libbonoboui. [extract] complete for libbonoboui. [patch] complete for libbonoboui. [fixup] complete for libbonoboui. ==> Building platform/libgnome as a dependency make[3]: Entering directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libgnome' [===== NOW BUILDING: libgnome-2.24.1 =====] [fetch] complete for libgnome. [checksum] complete for libgnome. [extract] complete for libgnome. [patch] complete for libgnome. [fixup] complete for libgnome. ==> Building platform/libxml2 as a dependency make[4]: Entering directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libxml2' [===== NOW BUILDING: libxml2-2.6.30 =====] [fetch] complete for libxml2. [checksum] complete for libxml2. [extract] complete for libxml2. [patch] complete for libxml2. [fixup] complete for libxml2. [configure] complete for libxml2. ==> Running make in work/main.d/libxml2-2.6.30 make[5]: Entering directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libxml2/work/main.d/libxml2-2.6.30' make all-recursive make[6]: Entering directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libxml2/work/main.d/libxml2-2.6.30' Making all in include make[7]: Entering directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libxml2/work/main.d/libxml2-2.6.30/include' Making all in libxml make[8]: Entering directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libxml2/work/main.d/libxml2-2.6.30/include/libxml' make[8]: Nothing to be done for `all'. make[8]: Leaving directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libxml2/work/main.d/libxml2-2.6.30/include/libxml' make[8]: Entering directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libxml2/work/main.d/libxml2-2.6.30/include' make[8]: Nothing to be done for `all-am'. make[8]: Leaving directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libxml2/work/main.d/libxml2-2.6.30/include' make[7]: Leaving directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libxml2/work/main.d/libxml2-2.6.30/include' Making all in . make[7]: Entering directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libxml2/work/main.d/libxml2-2.6.30' if /bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -I/tmp/Programs/ioGnome2.24-Ubuntu8.10/Linux-ia32/include -I/tmp/Programs/ioGnome2.24-Ubuntu8.10/Linux-ia32/include -L/tmp/Programs/ioGnome2.24-Ubuntu8.10/Linux-ia32/lib -Os -pipe -march=i686 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT nanohttp.lo -MD -MP -MF ".deps/nanohttp.Tpo" -c -o nanohttp.lo nanohttp.c; \ then mv -f ".deps/nanohttp.Tpo" ".deps/nanohttp.Plo"; else rm -f ".deps/nanohttp.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -I/tmp/Programs/ioGnome2.24-Ubuntu8.10/Linux-ia32/include -I/tmp/Programs/ioGnome2.24-Ubuntu8.10/Linux-ia32/include -L/tmp/Programs/ioGnome2.24-Ubuntu8.10/Linux-ia32/lib -Os -pipe -march=i686 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT nanohttp.lo -MD -MP -MF .deps/nanohttp.Tpo -c nanohttp.c -fPIC -DPIC -o .libs/nanohttp.o nanohttp.c: In function 'xmlNanoHTTPFetch__internal_alias': nanohttp.c:1558: warning: ignoring return value of 'write', declared with attribute warn_unused_result nanohttp.c: In function 'xmlNanoHTTPSave__internal_alias': nanohttp.c:1597: warning: ignoring return value of 'write', declared with attribute warn_unused_result In function 'open', inlined from 'xmlNanoHTTPSave__internal_alias' at nanohttp.c:1588: /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments make[7]: *** [nanohttp.lo] Error 1 make[7]: Leaving directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libxml2/work/main.d/libxml2-2.6.30' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libxml2/work/main.d/libxml2-2.6.30' make[5]: *** [all] Error 2 make[5]: Leaving directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libxml2/work/main.d/libxml2-2.6.30' make[4]: *** [build-work/main.d/libxml2-2.6.30/Makefile] Error 2 make[4]: Leaving directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libxml2' make[3]: *** [../../platform/libxml2/cookies/main.d/install] Error 2 make[3]: Leaving directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libgnome' make[2]: *** [../../platform/libgnome/cookies/main.d/install] Error 2 make[2]: Leaving directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libbonoboui' make[1]: *** [../../platform/libbonoboui/cookies/main.d/install] Error 2 make[1]: Leaving directory `/home/intrepid/GARNOME/2.24.0/garnome-2.24.0/platform/libgnomeui' make: *** [../../platform/libgnomeui/cookies/main.d/install] Error 2 Other information:
Please see https://wiki.ubuntu.com/CompilerFlags#-D_FORTIFY_SOURCE=2
Created attachment 122934 [details] [review] Patch to compile libxml2 on Intrepid
Created attachment 122935 [details] [review] Patch to compile libxml2 on Intrepid ( 2 ) First patch one was cocked up