* [Buildroot] libglib2 build failure @ 2010-02-09 23:48 Thomas Petazzoni 2010-02-10 6:26 ` Lionel Landwerlin 2010-02-12 7:49 ` Thomas Petazzoni 0 siblings, 2 replies; 8+ messages in thread From: Thomas Petazzoni @ 2010-02-09 23:48 UTC (permalink / raw) To: buildroot Hello, While trying to compile libglib2, I get the following build failure. It is the infamous libtool problem, but libglib2 uses libtool 2.x, for which our buildroot-libtool.patch does not apply. It happens in an external toolchain configuration, and libglib2.0-dev is installed on the host. libtool: relink: /home/thomas/x-tools/arm-unknown-linux-uclibcgnueabi/bin/arm-linux-gcc -Os -pipe -Os --sysroot /work/build/thomas/br-test1/staging/ -share d .libs/gappinfo.o .libs/gasynchelper.o .libs/gasyncinitable.o .libs/gasyncresult.o .libs/gbufferedinputstream.o .libs/gbufferedoutputstream.o .libs/gcancel lable.o .libs/gcontenttype.o .libs/gdatainputstream.o .libs/gdataoutputstream.o .libs/gdrive.o .libs/gdummyfile.o .libs/gemblem.o .libs/gemblemedicon.o .libs /gfile.o .libs/gfileattribute.o .libs/gfileenumerator.o .libs/gfileicon.o .libs/gfileinfo.o .libs/gfileinputstream.o .libs/gfilemonitor.o .libs/gfilenamecomp leter.o .libs/gfileoutputstream.o .libs/gfileiostream.o .libs/gfilterinputstream.o .libs/gfilteroutputstream.o .libs/gicon.o .libs/ginetaddress.o .libs/ginet socketaddress.o .libs/ginitable.o .libs/ginputstream.o .libs/gioerror.o .libs/giomodule.o .libs/gioscheduler.o .libs/giostream.o .libs/gloadableicon.o .libs/ gmount.o .libs/gmemoryinputstream.o .libs/gmemoryoutputstream.o .libs/gmountoperation.o .libs/gnativevolumemonitor.o .libs/gnetworkaddress.o .libs/gnetworkse rvice.o .libs/goutputstream.o .libs/gpollfilemonitor.o .libs/gresolver.o .libs/gseekable.o .libs/gsimpleasyncresult.o .libs/gsocket.o .libs/gsocketaddress.o .libs/gsocketaddressenumerator.o .libs/gsocketclient.o .libs/gsocketconnectable.o .libs/gsocketconnection.o .libs/gsocketcontrolmessage.o .libs/gsocketinputs tream.o .libs/gsocketlistener.o .libs/gsocketoutputstream.o .libs/gsocketservice.o .libs/gsrvtarget.o .libs/gtcpconnection.o .libs/gthreadedsocketservice.o . libs/gthemedicon.o .libs/gthreadedresolver.o .libs/gunionvolumemonitor.o .libs/gvfs.o .libs/gvolume.o .libs/gvolumemonitor.o .libs/gioenumtypes.o .libs/gioal iasdef.o .libs/gdesktopappinfo.o .libs/gunixconnection.o .libs/gunixfdmessage.o .libs/gunixmount.o .libs/gunixmounts.o .libs/gunixresolver.o .libs/gunixsocke taddress.o .libs/gunixvolume.o .libs/gunixvolumemonitor.o .libs/gunixinputstream.o .libs/gunixoutputstream.o .libs/glocaldirectorymonitor.o .libs/glocalfile. o .libs/glocalfileenumerator.o .libs/glocalfileinfo.o .libs/glocalfileinputstream.o .libs/glocalfilemonitor.o .libs/glocalfileoutputstream.o .libs/glocalfile iostream.o .libs/glocalvfs.o .libs/gio-marshal.o -Wl,--whole-archive inotify/.libs/libinotify.a libasyncns/.libs/libasyncns.a xdgmime/.libs/libxdgmime.a -Wl ,--no-whole-archive -Wl,-rpath -Wl,/work/build/thomas/br-test1/staging/usr/lib -L/work/build/thomas/br-test1/build/libglib2-2.22.4/glib/.libs -L/work/build/ thomas/br-test1/target/usr/lib -L/usr/lib -L/work/build/thomas/br-test1/staging/usr/lib -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lresolv -L/work/build/th omas/br-test1/target/work/build/thomas/br-test1/staging/usr/lib -lintl -liconv -lc -Wl,-soname -Wl,libgio-2.0.so.0 -Wl,-version-script -Wl,.libs/libgio-2. 0.ver -o .libs/libgio-2.0.so.0.2200.4 /usr/lib/libgobject-2.0.so: file not recognized: File format not recognized collect2: ld returned 1 exit status libtool: install: error: relink `libgio-2.0.la' with the above command before installing it make[7]: *** [install-libLTLIBRARIES] Error 1 make[7]: Leaving directory `/work/build/thomas/br-test1/build/libglib2-2.22.4/gio' Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] libglib2 build failure 2010-02-09 23:48 [Buildroot] libglib2 build failure Thomas Petazzoni @ 2010-02-10 6:26 ` Lionel Landwerlin 2010-02-10 7:26 ` Thomas Petazzoni 2010-02-12 7:49 ` Thomas Petazzoni 1 sibling, 1 reply; 8+ messages in thread From: Lionel Landwerlin @ 2010-02-10 6:26 UTC (permalink / raw) To: buildroot Le mercredi 10 f?vrier 2010 ? 00:48 +0100, Thomas Petazzoni a ?crit : > Hello, > > While trying to compile libglib2, I get the following build failure. It > is the infamous libtool problem, but libglib2 uses libtool 2.x, for > which our buildroot-libtool.patch does not apply. It happens in an external toolchain configuration, and libglib2.0-dev is installed on the host. > > libtool: relink: /home/thomas/x-tools/arm-unknown-linux-uclibcgnueabi/bin/arm-linux-gcc -Os -pipe -Os --sysroot /work/build/thomas/br-test1/staging/ -share > d .libs/gappinfo.o .libs/gasynchelper.o .libs/gasyncinitable.o .libs/gasyncresult.o .libs/gbufferedinputstream.o .libs/gbufferedoutputstream.o .libs/gcancel > lable.o .libs/gcontenttype.o .libs/gdatainputstream.o .libs/gdataoutputstream.o .libs/gdrive.o .libs/gdummyfile.o .libs/gemblem.o .libs/gemblemedicon.o .libs > /gfile.o .libs/gfileattribute.o .libs/gfileenumerator.o .libs/gfileicon.o .libs/gfileinfo.o .libs/gfileinputstream.o .libs/gfilemonitor.o .libs/gfilenamecomp > leter.o .libs/gfileoutputstream.o .libs/gfileiostream.o .libs/gfilterinputstream.o .libs/gfilteroutputstream.o .libs/gicon.o .libs/ginetaddress.o .libs/ginet > socketaddress.o .libs/ginitable.o .libs/ginputstream.o .libs/gioerror.o .libs/giomodule.o .libs/gioscheduler.o .libs/giostream.o .libs/gloadableicon.o .libs/ > gmount.o .libs/gmemoryinputstream.o .libs/gmemoryoutputstream.o .libs/gmountoperation.o .libs/gnativevolumemonitor.o .libs/gnetworkaddress.o .libs/gnetworkse > rvice.o .libs/goutputstream.o .libs/gpollfilemonitor.o .libs/gresolver.o .libs/gseekable.o .libs/gsimpleasyncresult.o .libs/gsocket.o .libs/gsocketaddress.o > .libs/gsocketaddressenumerator.o .libs/gsocketclient.o .libs/gsocketconnectable.o .libs/gsocketconnection.o .libs/gsocketcontrolmessage.o .libs/gsocketinputs > tream.o .libs/gsocketlistener.o .libs/gsocketoutputstream.o .libs/gsocketservice.o .libs/gsrvtarget.o .libs/gtcpconnection.o .libs/gthreadedsocketservice.o . > libs/gthemedicon.o .libs/gthreadedresolver.o .libs/gunionvolumemonitor.o .libs/gvfs.o .libs/gvolume.o .libs/gvolumemonitor.o .libs/gioenumtypes.o .libs/gioal > iasdef.o .libs/gdesktopappinfo.o .libs/gunixconnection.o .libs/gunixfdmessage.o .libs/gunixmount.o .libs/gunixmounts.o .libs/gunixresolver.o .libs/gunixsocke > taddress.o .libs/gunixvolume.o .libs/gunixvolumemonitor.o .libs/gunixinputstream.o .libs/gunixoutputstream.o .libs/glocaldirectorymonitor.o .libs/glocalfile. > o .libs/glocalfileenumerator.o .libs/glocalfileinfo.o .libs/glocalfileinputstream.o .libs/glocalfilemonitor.o .libs/glocalfileoutputstream.o .libs/glocalfile > iostream.o .libs/glocalvfs.o .libs/gio-marshal.o -Wl,--whole-archive inotify/.libs/libinotify.a libasyncns/.libs/libasyncns.a xdgmime/.libs/libxdgmime.a -Wl > ,--no-whole-archive -Wl,-rpath -Wl,/work/build/thomas/br-test1/staging/usr/lib -L/work/build/thomas/br-test1/build/libglib2-2.22.4/glib/.libs -L/work/build/ > thomas/br-test1/target/usr/lib -L/usr/lib -L/work/build/thomas/br-test1/staging/usr/lib -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lresolv -L/work/build/th > omas/br-test1/target/work/build/thomas/br-test1/staging/usr/lib -lintl -liconv -lc -Wl,-soname -Wl,libgio-2.0.so.0 -Wl,-version-script -Wl,.libs/libgio-2. > 0.ver -o .libs/libgio-2.0.so.0.2200.4 > /usr/lib/libgobject-2.0.so: file not recognized: File format not recognized > collect2: ld returned 1 exit status > libtool: install: error: relink `libgio-2.0.la' with the above command before installing it > make[7]: *** [install-libLTLIBRARIES] Error 1 > make[7]: Leaving directory > `/work/build/thomas/br-test1/build/libglib2-2.22.4/gio' I recompiled libglib2 2.22.4 recently with an external toolchain and having libglib2-dev installed on my host, and I don't see the problem... What if you set AUTORECONF=YES and LIBTOOL_PATCH=YES ? Regards, -- Lionel Landwerlin ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] libglib2 build failure 2010-02-10 6:26 ` Lionel Landwerlin @ 2010-02-10 7:26 ` Thomas Petazzoni 2010-02-10 7:51 ` Thomas Petazzoni 2010-02-10 9:56 ` Lionel Landwerlin 0 siblings, 2 replies; 8+ messages in thread From: Thomas Petazzoni @ 2010-02-10 7:26 UTC (permalink / raw) To: buildroot On Wed, 10 Feb 2010 07:26:06 +0100 Lionel Landwerlin <llandwerlin@gmail.com> wrote: > I recompiled libglib2 2.22.4 recently with an external toolchain and > having libglib2-dev installed on my host, and I don't see the > problem... Ah, ah, interesting. Just for curiosity, which version of libtool is installed on your host ? On mine, it's libtool 1.5.26. > What if you set AUTORECONF=YES and LIBTOOL_PATCH=YES ? Well, I think LIBTOOL_PATCH=YES cannot work, since the buildroot-libtool.patch only applies properly to packages containing libtool 1.x, and libglib2 contains libtool 2.x. Cheers, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] libglib2 build failure 2010-02-10 7:26 ` Thomas Petazzoni @ 2010-02-10 7:51 ` Thomas Petazzoni 2010-02-10 10:06 ` Lionel Landwerlin 2010-02-11 7:44 ` Thomas Petazzoni 2010-02-10 9:56 ` Lionel Landwerlin 1 sibling, 2 replies; 8+ messages in thread From: Thomas Petazzoni @ 2010-02-10 7:51 UTC (permalink / raw) To: buildroot On Wed, 10 Feb 2010 08:26:59 +0100 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > Well, I think LIBTOOL_PATCH=YES cannot work, since the > buildroot-libtool.patch only applies properly to packages containing > libtool 1.x, and libglib2 contains libtool 2.x. In fact, LIBTOOL_PATCH=YES works, but the autoreconfigure afterwards fails (see the log below). Any clue on what the problem is ? For the record, I've added to the test my patch that installs gtk-doc.m4 to $(STAGING_DIR)/usr/share/aclocal/ before running this test, but saw no difference. ^[[3m>>> Patching libtool^[[23m ^[[3m>>> Autoreconfiguring^[[23m autoreconf: Entering directory `.' autoreconf: configure.in: not using Gettext autoreconf: running: /work/build/thomas/br-test1/host/usr/bin/aclocal -I /work/build/thomas/br-test1/staging/usr/share/aclocal -I /work/build/thomas/br-test1/staging/usr/share/aclocal --force configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:632: AC_LIBTOOL_COMPILER_OPTION is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4932: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2700: _LT_AC_LANG_C_CONFIG is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2699: AC_LIBTOOL_LANG_C_CONFIG is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:25: AC_PROG_LIBTOOL is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:6477: AM_PROG_LIBTOOL is expanded from... configure.in:510: the top level configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:677: AC_LIBTOOL_LINKER_OPTION is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2781: _LT_AC_LANG_CXX_CONFIG is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2780: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:1825: _LT_AC_TAGCONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4007: _LT_AC_LANG_F77_CONFIG is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4006: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4116: _LT_AC_LANG_GCJ_CONFIG is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4115: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached autoreconf: configure.in: tracing configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... aclocal.m4:1806: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:6094: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... aclocal.m4:3874: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:3873: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:1254: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:1234: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:1199: AC_PROG_LIBTOOL is expanded from... aclocal.m4:7639: AM_PROG_LIBTOOL is expanded from... configure.in:510: the top level configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:1851: AC_LIBTOOL_LINKER_OPTION is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3951: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:3950: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:2999: _LT_AC_TAGCONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:5173: _LT_AC_LANG_F77_CONFIG is expanded from... aclocal.m4:5172: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:5282: _LT_AC_LANG_GCJ_CONFIG is expanded from... aclocal.m4:5281: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached autoreconf: running: libtoolize --copy --force configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:632: AC_LIBTOOL_COMPILER_OPTION is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4932: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2700: _LT_AC_LANG_C_CONFIG is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2699: AC_LIBTOOL_LANG_C_CONFIG is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:25: AC_PROG_LIBTOOL is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:6477: AM_PROG_LIBTOOL is expanded from... configure.in:510: the top level configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:677: AC_LIBTOOL_LINKER_OPTION is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2781: _LT_AC_LANG_CXX_CONFIG is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2780: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:1825: _LT_AC_TAGCONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4007: _LT_AC_LANG_F77_CONFIG is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4006: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4116: _LT_AC_LANG_GCJ_CONFIG is expanded from... /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4115: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached autoreconf: running: /work/build/thomas/br-test1/host/usr/bin/autoconf --include=/work/build/thomas/br-test1/staging/usr/share/aclocal --force configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... aclocal.m4:1806: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:6094: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... aclocal.m4:3874: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:3873: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:1254: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:1234: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:1199: AC_PROG_LIBTOOL is expanded from... aclocal.m4:7639: AM_PROG_LIBTOOL is expanded from... configure.in:510: the top level configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:1851: AC_LIBTOOL_LINKER_OPTION is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3951: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:3950: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:2999: _LT_AC_TAGCONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:5173: _LT_AC_LANG_F77_CONFIG is expanded from... aclocal.m4:5172: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:5282: _LT_AC_LANG_GCJ_CONFIG is expanded from... aclocal.m4:5281: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached autoreconf: running: /work/build/thomas/br-test1/host/usr/bin/autoheader --include=/work/build/thomas/br-test1/staging/usr/share/aclocal --force configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... aclocal.m4:1806: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:6094: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... aclocal.m4:3874: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:3873: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:1254: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:1234: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:1199: AC_PROG_LIBTOOL is expanded from... aclocal.m4:7639: AM_PROG_LIBTOOL is expanded from... configure.in:510: the top level configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:1851: AC_LIBTOOL_LINKER_OPTION is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3951: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:3950: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:2999: _LT_AC_TAGCONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:5173: _LT_AC_LANG_F77_CONFIG is expanded from... aclocal.m4:5172: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:5282: _LT_AC_LANG_GCJ_CONFIG is expanded from... aclocal.m4:5281: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached autoreconf: running: automake --add-missing --copy --force-missing configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... aclocal.m4:1806: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:6094: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... aclocal.m4:3874: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:3873: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:1254: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:1234: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:1199: AC_PROG_LIBTOOL is expanded from... aclocal.m4:7639: AM_PROG_LIBTOOL is expanded from... configure.in:510: the top level configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:1851: AC_LIBTOOL_LINKER_OPTION is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3951: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:3950: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:2999: _LT_AC_TAGCONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:5173: _LT_AC_LANG_F77_CONFIG is expanded from... aclocal.m4:5172: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:5282: _LT_AC_LANG_GCJ_CONFIG is expanded from... aclocal.m4:5281: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached gtk-doc.make:53: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL docs/reference/gio/Makefile.am:122: `gtk-doc.make' included from here gtk-doc.make:58: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL docs/reference/gio/Makefile.am:122: `gtk-doc.make' included from here gtk-doc.make:26: EXTRA_DIST multiply defined in condition TRUE ... docs/reference/gio/Makefile.am:122: `gtk-doc.make' included from here Makefile.decl:8: ... `EXTRA_DIST' previously defined here docs/reference/gio/Makefile.am:1: `Makefile.decl' included from here gtk-doc.make:53: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL docs/reference/glib/Makefile.am:73: `gtk-doc.make' included from here gtk-doc.make:58: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL docs/reference/glib/Makefile.am:73: `gtk-doc.make' included from here gtk-doc.make:26: EXTRA_DIST multiply defined in condition TRUE ... docs/reference/glib/Makefile.am:73: `gtk-doc.make' included from here Makefile.decl:8: ... `EXTRA_DIST' previously defined here docs/reference/glib/Makefile.am:2: `Makefile.decl' included from here docs/reference/glib/Makefile.am:92: `%'-style pattern rules are a GNU make extension gtk-doc.make:53: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL docs/reference/gobject/Makefile.am:61: `gtk-doc.make' included from here gtk-doc.make:58: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL docs/reference/gobject/Makefile.am:61: `gtk-doc.make' included from here gtk-doc.make:26: EXTRA_DIST multiply defined in condition TRUE ... docs/reference/gobject/Makefile.am:61: `gtk-doc.make' included from here Makefile.decl:8: ... `EXTRA_DIST' previously defined here docs/reference/gobject/Makefile.am:2: `Makefile.decl' included from here docs/reference/gobject/Makefile.am:74: `%'-style pattern rules are a GNU make extension autoreconf: automake failed with exit status: 1 make: *** [/work/build/thomas/br-test1/build/libglib2-2.22.4/.stamp_patched] Error 1 -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] libglib2 build failure 2010-02-10 7:51 ` Thomas Petazzoni @ 2010-02-10 10:06 ` Lionel Landwerlin 2010-02-11 7:44 ` Thomas Petazzoni 1 sibling, 0 replies; 8+ messages in thread From: Lionel Landwerlin @ 2010-02-10 10:06 UTC (permalink / raw) To: buildroot On Wed, Feb 10, 2010 at 8:51 AM, Thomas Petazzoni < thomas.petazzoni@free-electrons.com> wrote: > On Wed, 10 Feb 2010 08:26:59 +0100 > Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > > > Well, I think LIBTOOL_PATCH=YES cannot work, since the > > buildroot-libtool.patch only applies properly to packages containing > > libtool 1.x, and libglib2 contains libtool 2.x. > > In fact, LIBTOOL_PATCH=YES works, but the autoreconfigure afterwards > fails (see the log below). Any clue on what the problem is ? > With AUTORECONF=YES we wait the autoreconf step to be done to patch the ltmain.sh script. Maybe that's why you don't see the problem right now, but in my case, running autoreconf regenerated the ltmain.sh using buildroot's libtool so the patch applies cleanly. > > For the record, I've added to the test my patch that installs > gtk-doc.m4 to $(STAGING_DIR)/usr/share/aclocal/ before running this > test, but saw no difference. > I'm using this one too ;) > > [3m>>> Patching libtool [23m > [3m>>> Autoreconfiguring [23m > autoreconf: Entering directory `.' > autoreconf: configure.in: not using Gettext > autoreconf: running: /work/build/thomas/br-test1/host/usr/bin/aclocal -I > /work/build/thomas/br-test1/staging/usr/share/aclocal -I > /work/build/thomas/br-test1/staging/usr/share/aclocal --force > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): > suspicious cache-id, must contain _cv_ to be cached > ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... > ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:632: > AC_LIBTOOL_COMPILER_OPTION is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4932: > AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2700: > _LT_AC_LANG_C_CONFIG is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2699: > AC_LIBTOOL_LANG_C_CONFIG is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:80: > AC_LIBTOOL_SETUP is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:60: > _AC_PROG_LIBTOOL is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:25: > AC_PROG_LIBTOOL is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:6477: > AM_PROG_LIBTOOL is expanded from... > configure.in:510: the top level > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, > ...): suspicious cache-id, must contain _cv_ to be cached > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:677: > AC_LIBTOOL_LINKER_OPTION is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, > ...): suspicious cache-id, must contain _cv_ to be cached > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2781: > _LT_AC_LANG_CXX_CONFIG is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2780: > AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:1825: > _LT_AC_TAGCONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, > ...): suspicious cache-id, must contain _cv_ to be cached > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, > ...): suspicious cache-id, must contain _cv_ to be cached > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4007: > _LT_AC_LANG_F77_CONFIG is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4006: > AC_LIBTOOL_LANG_F77_CONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, > ...): suspicious cache-id, must contain _cv_ to be cached > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, > ...): suspicious cache-id, must contain _cv_ to be cached > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4116: > _LT_AC_LANG_GCJ_CONFIG is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4115: > AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, > ...): suspicious cache-id, must contain _cv_ to be cached > autoreconf: configure.in: tracing > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): > suspicious cache-id, must contain _cv_ to be cached > ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... > ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... > aclocal.m4:1806: AC_LIBTOOL_COMPILER_OPTION is expanded from... > aclocal.m4:6094: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... > aclocal.m4:3874: _LT_AC_LANG_C_CONFIG is expanded from... > aclocal.m4:3873: AC_LIBTOOL_LANG_C_CONFIG is expanded from... > aclocal.m4:1254: AC_LIBTOOL_SETUP is expanded from... > aclocal.m4:1234: _AC_PROG_LIBTOOL is expanded from... > aclocal.m4:1199: AC_PROG_LIBTOOL is expanded from... > aclocal.m4:7639: AM_PROG_LIBTOOL is expanded from... > configure.in:510: the top level > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:1851: AC_LIBTOOL_LINKER_OPTION is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:3951: _LT_AC_LANG_CXX_CONFIG is expanded from... > aclocal.m4:3950: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... > aclocal.m4:2999: _LT_AC_TAGCONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, > ...): suspicious cache-id, must contain _cv_ to be cached > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:5173: _LT_AC_LANG_F77_CONFIG is expanded from... > aclocal.m4:5172: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, > ...): suspicious cache-id, must contain _cv_ to be cached > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:5282: _LT_AC_LANG_GCJ_CONFIG is expanded from... > aclocal.m4:5281: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, > ...): suspicious cache-id, must contain _cv_ to be cached > autoreconf: running: libtoolize --copy --force > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): > suspicious cache-id, must contain _cv_ to be cached > ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... > ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:632: > AC_LIBTOOL_COMPILER_OPTION is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4932: > AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2700: > _LT_AC_LANG_C_CONFIG is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2699: > AC_LIBTOOL_LANG_C_CONFIG is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:80: > AC_LIBTOOL_SETUP is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:60: > _AC_PROG_LIBTOOL is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:25: > AC_PROG_LIBTOOL is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:6477: > AM_PROG_LIBTOOL is expanded from... > configure.in:510: the top level > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, > ...): suspicious cache-id, must contain _cv_ to be cached > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:677: > AC_LIBTOOL_LINKER_OPTION is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, > ...): suspicious cache-id, must contain _cv_ to be cached > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2781: > _LT_AC_LANG_CXX_CONFIG is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:2780: > AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:1825: > _LT_AC_TAGCONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, > ...): suspicious cache-id, must contain _cv_ to be cached > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, > ...): suspicious cache-id, must contain _cv_ to be cached > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4007: > _LT_AC_LANG_F77_CONFIG is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4006: > AC_LIBTOOL_LANG_F77_CONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, > ...): suspicious cache-id, must contain _cv_ to be cached > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, > ...): suspicious cache-id, must contain _cv_ to be cached > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4116: > _LT_AC_LANG_GCJ_CONFIG is expanded from... > /work/build/thomas/br-test1/staging/usr/share/aclocal/libtool.m4:4115: > AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, > ...): suspicious cache-id, must contain _cv_ to be cached > autoreconf: running: /work/build/thomas/br-test1/host/usr/bin/autoconf > --include=/work/build/thomas/br-test1/staging/usr/share/aclocal --force > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): > suspicious cache-id, must contain _cv_ to be cached > ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... > ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... > aclocal.m4:1806: AC_LIBTOOL_COMPILER_OPTION is expanded from... > aclocal.m4:6094: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... > aclocal.m4:3874: _LT_AC_LANG_C_CONFIG is expanded from... > aclocal.m4:3873: AC_LIBTOOL_LANG_C_CONFIG is expanded from... > aclocal.m4:1254: AC_LIBTOOL_SETUP is expanded from... > aclocal.m4:1234: _AC_PROG_LIBTOOL is expanded from... > aclocal.m4:1199: AC_PROG_LIBTOOL is expanded from... > aclocal.m4:7639: AM_PROG_LIBTOOL is expanded from... > configure.in:510: the top level > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:1851: AC_LIBTOOL_LINKER_OPTION is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:3951: _LT_AC_LANG_CXX_CONFIG is expanded from... > aclocal.m4:3950: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... > aclocal.m4:2999: _LT_AC_TAGCONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, > ...): suspicious cache-id, must contain _cv_ to be cached > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:5173: _LT_AC_LANG_F77_CONFIG is expanded from... > aclocal.m4:5172: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, > ...): suspicious cache-id, must contain _cv_ to be cached > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:5282: _LT_AC_LANG_GCJ_CONFIG is expanded from... > aclocal.m4:5281: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, > ...): suspicious cache-id, must contain _cv_ to be cached > autoreconf: running: /work/build/thomas/br-test1/host/usr/bin/autoheader > --include=/work/build/thomas/br-test1/staging/usr/share/aclocal --force > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): > suspicious cache-id, must contain _cv_ to be cached > ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... > ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... > aclocal.m4:1806: AC_LIBTOOL_COMPILER_OPTION is expanded from... > aclocal.m4:6094: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... > aclocal.m4:3874: _LT_AC_LANG_C_CONFIG is expanded from... > aclocal.m4:3873: AC_LIBTOOL_LANG_C_CONFIG is expanded from... > aclocal.m4:1254: AC_LIBTOOL_SETUP is expanded from... > aclocal.m4:1234: _AC_PROG_LIBTOOL is expanded from... > aclocal.m4:1199: AC_PROG_LIBTOOL is expanded from... > aclocal.m4:7639: AM_PROG_LIBTOOL is expanded from... > configure.in:510: the top level > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:1851: AC_LIBTOOL_LINKER_OPTION is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:3951: _LT_AC_LANG_CXX_CONFIG is expanded from... > aclocal.m4:3950: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... > aclocal.m4:2999: _LT_AC_TAGCONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, > ...): suspicious cache-id, must contain _cv_ to be cached > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:5173: _LT_AC_LANG_F77_CONFIG is expanded from... > aclocal.m4:5172: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, > ...): suspicious cache-id, must contain _cv_ to be cached > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:5282: _LT_AC_LANG_GCJ_CONFIG is expanded from... > aclocal.m4:5281: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, > ...): suspicious cache-id, must contain _cv_ to be cached > autoreconf: running: automake --add-missing --copy --force-missing > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): > suspicious cache-id, must contain _cv_ to be cached > ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... > ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... > aclocal.m4:1806: AC_LIBTOOL_COMPILER_OPTION is expanded from... > aclocal.m4:6094: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... > aclocal.m4:3874: _LT_AC_LANG_C_CONFIG is expanded from... > aclocal.m4:3873: AC_LIBTOOL_LANG_C_CONFIG is expanded from... > aclocal.m4:1254: AC_LIBTOOL_SETUP is expanded from... > aclocal.m4:1234: _AC_PROG_LIBTOOL is expanded from... > aclocal.m4:1199: AC_PROG_LIBTOOL is expanded from... > aclocal.m4:7639: AM_PROG_LIBTOOL is expanded from... > configure.in:510: the top level > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:1851: AC_LIBTOOL_LINKER_OPTION is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:3951: _LT_AC_LANG_CXX_CONFIG is expanded from... > aclocal.m4:3950: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... > aclocal.m4:2999: _LT_AC_TAGCONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, > ...): suspicious cache-id, must contain _cv_ to be cached > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:5173: _LT_AC_LANG_F77_CONFIG is expanded from... > aclocal.m4:5172: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, > ...): suspicious cache-id, must contain _cv_ to be cached > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, > ...): suspicious cache-id, must contain _cv_ to be cached > aclocal.m4:5282: _LT_AC_LANG_GCJ_CONFIG is expanded from... > aclocal.m4:5281: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... > configure.in:510: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, > ...): suspicious cache-id, must contain _cv_ to be cached > gtk-doc.make:53: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL > docs/reference/gio/Makefile.am:122: `gtk-doc.make' included from here > gtk-doc.make:58: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL > docs/reference/gio/Makefile.am:122: `gtk-doc.make' included from here > gtk-doc.make:26: EXTRA_DIST multiply defined in condition TRUE ... > docs/reference/gio/Makefile.am:122: `gtk-doc.make' included from here > Makefile.decl:8: ... `EXTRA_DIST' previously defined here > docs/reference/gio/Makefile.am:1: `Makefile.decl' included from here > gtk-doc.make:53: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL > docs/reference/glib/Makefile.am:73: `gtk-doc.make' included from here > gtk-doc.make:58: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL > docs/reference/glib/Makefile.am:73: `gtk-doc.make' included from here > gtk-doc.make:26: EXTRA_DIST multiply defined in condition TRUE ... > docs/reference/glib/Makefile.am:73: `gtk-doc.make' included from here > Makefile.decl:8: ... `EXTRA_DIST' previously defined here > docs/reference/glib/Makefile.am:2: `Makefile.decl' included from here > docs/reference/glib/Makefile.am:92: `%'-style pattern rules are a GNU make > extension > gtk-doc.make:53: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL > docs/reference/gobject/Makefile.am:61: `gtk-doc.make' included from here > gtk-doc.make:58: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL > docs/reference/gobject/Makefile.am:61: `gtk-doc.make' included from here > gtk-doc.make:26: EXTRA_DIST multiply defined in condition TRUE ... > docs/reference/gobject/Makefile.am:61: `gtk-doc.make' included from here > Makefile.decl:8: ... `EXTRA_DIST' previously defined here > docs/reference/gobject/Makefile.am:2: `Makefile.decl' included from here > docs/reference/gobject/Makefile.am:74: `%'-style pattern rules are a GNU > make extension > autoreconf: automake failed with exit status: 1 > make: *** > [/work/build/thomas/br-test1/build/libglib2-2.22.4/.stamp_patched] Error 1 > > > After a little research in my olds patch lists, I have something that patches the Makefile.am at top directory of the libglib2 sources to remove the test directory from SRC_SUBDIRS. If I remember correctly, this problem comes from the redefinition of EXTRA_DIST... > -- > Thomas Petazzoni, Free Electrons > Kernel, drivers, real-time and embedded Linux > development, consulting, training and support. > http://free-electrons.com > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100210/c35bf4e0/attachment-0001.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: plop.patch Type: text/x-patch Size: 1337 bytes Desc: not available URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100210/c35bf4e0/attachment-0001.bin> ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] libglib2 build failure 2010-02-10 7:51 ` Thomas Petazzoni 2010-02-10 10:06 ` Lionel Landwerlin @ 2010-02-11 7:44 ` Thomas Petazzoni 1 sibling, 0 replies; 8+ messages in thread From: Thomas Petazzoni @ 2010-02-11 7:44 UTC (permalink / raw) To: buildroot Hello, On Wed, 10 Feb 2010 08:51:18 +0100 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > `Makefile.decl' included from here gtk-doc.make:53: > GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL > docs/reference/glib/Makefile.am:73: `gtk-doc.make' included from > here gtk-doc.make:58: GTK_DOC_BUILD_PDF does not appear in > AM_CONDITIONAL docs/reference/glib/Makefile.am:73: `gtk-doc.make' > included from here gtk-doc.make:26: EXTRA_DIST multiply defined in > condition TRUE ... docs/reference/glib/Makefile.am:73: > `gtk-doc.make' included from here Makefile.decl:8: ... `EXTRA_DIST' > previously defined here docs/reference/glib/Makefile.am:2: > `Makefile.decl' included from here > docs/reference/glib/Makefile.am:92: `%'-style pattern rules are a GNU > make extension gtk-doc.make:53: GTK_DOC_BUILD_HTML does not appear in > AM_CONDITIONAL docs/reference/gobject/Makefile.am:61: > `gtk-doc.make' included from here gtk-doc.make:58: GTK_DOC_BUILD_PDF > does not appear in AM_CONDITIONAL > docs/reference/gobject/Makefile.am:61: `gtk-doc.make' included from > here gtk-doc.make:26: EXTRA_DIST multiply defined in condition > TRUE ... docs/reference/gobject/Makefile.am:61: `gtk-doc.make' > included from here Makefile.decl:8: ... `EXTRA_DIST' previously > defined here docs/reference/gobject/Makefile.am:2: `Makefile.decl' > included from here docs/reference/gobject/Makefile.am:74: `%'-style > pattern rules are a GNU make extension autoreconf: automake failed > with exit status: 1 make: *** > [/work/build/thomas/br-test1/build/libglib2-2.22.4/.stamp_patched] > Error 1 For the record, I've been able to fix this issue by using a more recent gtk-doc.m4 version than the one I had in my repo. So now, libglib2 build with LIBTOOL_PATCH=YES and AUTORECONF=YES works. However, without these, the build breaks for me, with /usr/lib/libgobject-2.0.so: file not recognized: File format not recognized. What's odd is that in the same conditions (same Buildroot version, same version of libtool on the host, libglib-dev installed on the host), the build doesn't break for Lionel. I've also tried importing the OpenWRT way of handling libtool problems into Buildroot, but it fails. For the record, the OpenWRT way is : * Compile libtool for the host, with a few patches https://dev.openwrt.org/browser/trunk/package/libtool/patches * When a package asks for a libtool fixup, do : cp $(HOST_DIR)/usr/share/libtool/ltmain.sh $$($$(PKG)_SRCDIR) cp $(HOST_DIR)/usr/share/aclocal/libtool.m4 $$($$(PKG)_SRCDIR) cp $(HOST_DIR)/usr/bin/libtool $$($$(PKG)_SRCDIR) It fails with : ../../libtool: line 841: X--tag=CC: command not found ../../libtool: line 874: libtool: ignoring unknown tag : command not found [... many more issues ...] Which, according to quick Google searches, seems to indicate that the version of libtool.m4 doesn't match the one bundled into aclocal.m4. Or something like this. This libtool thing is really driving me crazy. Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] libglib2 build failure 2010-02-10 7:26 ` Thomas Petazzoni 2010-02-10 7:51 ` Thomas Petazzoni @ 2010-02-10 9:56 ` Lionel Landwerlin 1 sibling, 0 replies; 8+ messages in thread From: Lionel Landwerlin @ 2010-02-10 9:56 UTC (permalink / raw) To: buildroot On Wed, Feb 10, 2010 at 8:26 AM, Thomas Petazzoni < thomas.petazzoni@free-electrons.com> wrote: > On Wed, 10 Feb 2010 07:26:06 +0100 > Lionel Landwerlin <llandwerlin@gmail.com> wrote: > > > I recompiled libglib2 2.22.4 recently with an external toolchain and > > having libglib2-dev installed on my host, and I don't see the > > problem... > > Ah, ah, interesting. Just for curiosity, which version of libtool is > installed on your host ? On mine, it's libtool 1.5.26. > 2.2.6b here > > > What if you set AUTORECONF=YES and LIBTOOL_PATCH=YES ? > > Well, I think LIBTOOL_PATCH=YES cannot work, since the > buildroot-libtool.patch only applies properly to packages containing > libtool 1.x, and libglib2 contains libtool 2.x. > AUTORECONF shouldn't run libtoolize ? > > Cheers, > > Thomas > -- > Thomas Petazzoni, Free Electrons > Kernel, drivers, real-time and embedded Linux > development, consulting, training and support. > http://free-electrons.com > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100210/5c46827a/attachment.htm> ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] libglib2 build failure 2010-02-09 23:48 [Buildroot] libglib2 build failure Thomas Petazzoni 2010-02-10 6:26 ` Lionel Landwerlin @ 2010-02-12 7:49 ` Thomas Petazzoni 1 sibling, 0 replies; 8+ messages in thread From: Thomas Petazzoni @ 2010-02-12 7:49 UTC (permalink / raw) To: buildroot On Wed, 10 Feb 2010 00:48:22 +0100 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > While trying to compile libglib2, I get the following build failure. > It is the infamous libtool problem, but libglib2 uses libtool 2.x, for > which our buildroot-libtool.patch does not apply. It happens in an > external toolchain configuration, and libglib2.0-dev is installed on > the host. I've digged into this a bit further. In order to make cleaner tests, I've created a Debian stable chroot with the minimum set of packages needed to get Buildroot running (http://free-electrons.com/~thomas/buildroot/pkg-list). And then I tried to compile two configurations : * An ARM configuration, with an internal toolchain (generated by Buildroot), with Busybox and libglib2. Compiles perfectly. Config http://free-electrons.com/~thomas/buildroot/config-internal Build log http://free-electrons.com/~thomas/buildroot/build-internal.log * An ARM configuration, with a CodeSourcery toolchain as an external toolchain, with Busybox and libglib2. Fails to build libglib2 because it tries to link against /usr/lib/libdl.so. Config http://free-electrons.com/~thomas/buildroot/config-ext Build log http://free-electrons.com/~thomas/buildroot/build-external.log So obviously it looks like that the parameter that makes it fail is the external toolchain. Any idea on what impact it could have on libtool ? Thanks for your input and ideas, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-02-12 7:49 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-02-09 23:48 [Buildroot] libglib2 build failure Thomas Petazzoni 2010-02-10 6:26 ` Lionel Landwerlin 2010-02-10 7:26 ` Thomas Petazzoni 2010-02-10 7:51 ` Thomas Petazzoni 2010-02-10 10:06 ` Lionel Landwerlin 2010-02-11 7:44 ` Thomas Petazzoni 2010-02-10 9:56 ` Lionel Landwerlin 2010-02-12 7:49 ` Thomas Petazzoni
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.