On Tue, Nov 24, 2009 at 09:33:48AM +0100, Jens Seidel wrote: > On Tue, Nov 24, 2009 at 08:07:08AM +0000, Rui Miguel Silva Seabra wrote: > > On Tue, Nov 24, 2009 at 12:06:24AM +0000, Rui Miguel Silva Seabra wrote: > > > Hi, > > > > > > PolicyKit was breaking in my build tree, even after git update. > > > As the error seemed related to missing gettext m4 stuff, I added gettext > > > to DEPENDS > > > and things seem to be progressing. > > > But even though it progressed (a lot), it still broke, for the same reason > > *%"$#%&"$#/ > > And what are the error messages? > > Maybe you just have to bump the used gettext version? If you use autotools > the line AM_GNU_GETTEXT_VERSION(0.12) doesn't mention the minimum required > gettext version but the version to use (via autopoint)! Version 0.11 doesn't > support make distcheck, versions 0.12-0.14.6 require a mkinstalldirs hack > for make distcheck (at least for automake version 1.11) ... > > Or is it a automake related problem? v1.7.6 find to many m4 dependencies > which are of course not put in the tgz ball via make dist as aclocal is > responsible for m4 macros. > > We need details ...
r...@roque:/opt/openmoko/shr-unstable$ bitbake -c build policykit NOTE: Handling BitBake files: \ (7803/7803) [100 %] NOTE: Parsing finished. 7056 cached, 463 parsed, 284 skipped, 2 masked. NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing runqueue NOTE: Running task 946 of 1023 (ID: 0, /opt/openmoko/shr-unstable/openembedded/recipes/policykit/policykit_0.9.bb, do_setscene) NOTE: Running task 1001 of 1023 (ID: 813, /opt/openmoko/shr-unstable/openembedded/recipes/python/python_2.6.2.bb, do_install) NOTE: Running task 1002 of 1023 (ID: 1, /opt/openmoko/shr-unstable/openembedded/recipes/policykit/policykit_0.9.bb, do_fetch) NOTE: fetch http://build.shr-project.org/sources/PolicyKit-0.9.tar.gz --2009-11-24 10:42:54-- http://build.shr-project.org/sources/PolicyKit-0.9.tar.gz Resolving build.shr-project.org... 78.40.125.6 Connecting to build.shr-project.org|78.40.125.6|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2009-11-24 10:42:55 ERROR 404: Not Found. NOTE: fetch http://hal.freedesktop.org/releases/PolicyKit-0.9.tar.gz --2009-11-24 10:42:55-- http://hal.freedesktop.org/releases/PolicyKit-0.9.tar.gz Resolving hal.freedesktop.org... 131.252.210.176 Connecting to hal.freedesktop.org|131.252.210.176|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1254318 (1.2M) [application/x-gzip] Saving to: `/opt/openmoko/shr-unstable/downloads/PolicyKit-0.9.tar.gz' 100%[=======================================================================================================================================================================>] 1,254,318 195K/s in 7.5s 2009-11-24 10:43:03 (164 KB/s) - `/opt/openmoko/shr-unstable/downloads/PolicyKit-0.9.tar.gz' saved [1254318/1254318] NOTE: Running task 1003 of 1023 (ID: 3, /opt/openmoko/shr-unstable/openembedded/recipes/policykit/policykit_0.9.bb, do_unpack) NOTE: Unpacking ../downloads/PolicyKit-0.9.tar.gz to tmp/work/armv4t-oe-linux-gnueabi/policykit-0.9-r5/ NOTE: Unpacking openembedded/recipes/policykit/policykit/PolicyKit.conf to tmp/work/armv4t-oe-linux-gnueabi/policykit-0.9-r5/ NOTE: Running task 1004 of 1023 (ID: 4, /opt/openmoko/shr-unstable/openembedded/recipes/policykit/policykit_0.9.bb, do_patch) NOTE: Running task 1005 of 1023 (ID: 5, /opt/openmoko/shr-unstable/openembedded/recipes/policykit/policykit_0.9.bb, do_configure) NOTE: Running task 1006 of 1023 (ID: 9, /opt/openmoko/shr-unstable/openembedded/recipes/policykit/policykit_0.9.bb, do_distribute_sources) NOTE: Running task 1007 of 1023 (ID: 816, /opt/openmoko/shr-unstable/openembedded/recipes/python/python_2.6.2.bb, do_package) ERROR: function do_configure failed ERROR: see log in /opt/openmoko/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/policykit-0.9-r5/temp/log.do_configure.30897 NOTE: Task failed: /opt/openmoko/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/policykit-0.9-r5/temp/log.do_configure.30897 ERROR: TaskFailed event exception, aborting ERROR: Build of /opt/openmoko/shr-unstable/openembedded/recipes/policykit/policykit_0.9.bb do_configure failed ERROR: Task 5 (/opt/openmoko/shr-unstable/openembedded/recipes/policykit/policykit_0.9.bb, do_configure) failed NOTE: Waiting for 1 active tasks to finish NOTE: 1: /opt/openmoko/shr-unstable/openembedded/recipes/python/python_2.6.2.bb, do_package (1737) NOTE: Tasks Summary: Attempted 1005 tasks of which 999 didn't need to be rerun and 1 failed. ERROR: '/opt/openmoko/shr-unstable/openembedded/recipes/policykit/policykit_0.9.bb' failed r...@roque:/opt/openmoko/shr-unstable$ Attached is log.do_configure.30897 Rui
automake (GNU automake) 1.10.2 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Tom Tromey <tro...@redhat.com> and Alexandre Duret-Lutz <a...@gnu.org>. AUTOV is 1.10 NOTE: Executing glib-gettextize --force --copy Copying file mkinstalldirs Copying file po/Makefile.in.in Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /opt/openmoko/shr-unstable/tmp/staging/x86_64-linux/usr/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/. NOTE: Executing intltoolize --copy --force --automake NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I/opt/openmoko/shr-unstable/tmp/staging/armv4t-oe-linux-gnueabi/usr/share/aclocal-1.10 -I /opt/openmoko/shr-unstable/tmp/staging/armv4t-oe-linux-gnueabi/usr/share/aclocal autoreconf: Entering directory `.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal -I /opt/openmoko/shr-unstable/tmp/staging/armv4t-oe-linux-gnueabi/usr/share/aclocal-1.10 -I /opt/openmoko/shr-unstable/tmp/staging/armv4t-oe-linux-gnueabi/usr/share/aclocal --force autoreconf: configure.in: tracing configure.in:440: warning: cannot check for file existence when cross compiling ../../lib/autoconf/general.m4:2606: AC_CHECK_FILE is expanded from... configure.in:440: the top level configure.in:441: warning: cannot check for file existence when cross compiling configure.in:441: the top level configure.in:442: warning: cannot check for file existence when cross compiling configure.in:442: the top level configure.in:443: warning: cannot check for file existence when cross compiling configure.in:443: the top level autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /opt/openmoko/shr-unstable/tmp/staging/x86_64-linux/usr/bin/autoconf --include=/opt/openmoko/shr-unstable/tmp/staging/armv4t-oe-linux-gnueabi/usr/share/aclocal-1.10 --include=/opt/openmoko/shr-unstable/tmp/staging/armv4t-oe-linux-gnueabi/usr/share/aclocal --force --warnings=cross configure.in:440: warning: cannot check for file existence when cross compiling ../../lib/autoconf/general.m4:2606: AC_CHECK_FILE is expanded from... configure.in:440: the top level configure.in:441: warning: cannot check for file existence when cross compiling configure.in:441: the top level configure.in:442: warning: cannot check for file existence when cross compiling configure.in:442: the top level configure.in:443: warning: cannot check for file existence when cross compiling configure.in:443: the top level autoreconf: running: /opt/openmoko/shr-unstable/tmp/staging/x86_64-linux/usr/bin/autoheader --include=/opt/openmoko/shr-unstable/tmp/staging/armv4t-oe-linux-gnueabi/usr/share/aclocal-1.10 --include=/opt/openmoko/shr-unstable/tmp/staging/armv4t-oe-linux-gnueabi/usr/share/aclocal --force --warnings=cross autoreconf: running: automake --foreign --add-missing --copy --force-missing --warnings=cross automake: unknown warning category `cross' autoreconf: running: gnu-configize autoreconf: Leaving directory `.' NOTE: Running /opt/openmoko/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/policykit-0.9-r5/PolicyKit-0.9/configure --build=x86_64-linux --host=arm-oe-linux-gnueabi --target=arm-oe-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --with-authfw=pam --with-os-type=moblin --disable-man-pages --disable-gtk-doc ... configure: loading site script /opt/openmoko/shr-unstable/openembedded/site/endian-little configure: loading site script /opt/openmoko/shr-unstable/openembedded/site/common-linux configure: loading site script /opt/openmoko/shr-unstable/openembedded/site/common-glibc configure: loading site script /opt/openmoko/shr-unstable/openembedded/site/arm-common configure: loading site script /opt/openmoko/shr-unstable/openembedded/site/arm-linux configure: loading site script /opt/openmoko/shr-unstable/openembedded/site/common configure: loading site script /opt/openmoko/shr-unstable/openembedded/site/common checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for arm-oe-linux-gnueabi-strip... arm-oe-linux-gnueabi-strip checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for arm-oe-linux-gnueabi-gcc... arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb accepts -g... yes checking for arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb option to accept ISO C89... none needed checking dependency style of arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb... gcc3 checking for library containing strerror... none required checking for arm-oe-linux-gnueabi-gcc... (cached) arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb checking whether we are using the GNU C compiler... (cached) yes checking whether arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb accepts -g... (cached) yes checking for arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb option to accept ISO C89... (cached) none needed checking dependency style of arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb... (cached) gcc3 checking for arm-oe-linux-gnueabi-gcc... (cached) arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb checking whether we are using the GNU C compiler... (cached) yes checking whether arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb accepts -g... (cached) yes checking for arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb option to accept ISO C89... (cached) none needed checking dependency style of arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb... (cached) gcc3 checking how to run the C preprocessor... arm-oe-linux-gnueabi-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking build system type... x86_64-pc-linux-gnu checking host system type... arm-oe-linux-gnueabi checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb... arm-oe-linux-gnueabi-ld checking if the linker (arm-oe-linux-gnueabi-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... arm-oe-linux-gnueabi-nm checking the name lister (arm-oe-linux-gnueabi-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for arm-oe-linux-gnueabi-ld option to reload object files... -r checking for arm-oe-linux-gnueabi-objdump... arm-oe-linux-gnueabi-objdump checking how to recognize dependent libraries... pass_all checking for arm-oe-linux-gnueabi-ar... arm-oe-linux-gnueabi-ar checking for arm-oe-linux-gnueabi-strip... (cached) arm-oe-linux-gnueabi-strip checking for arm-oe-linux-gnueabi-ranlib... arm-oe-linux-gnueabi-ranlib checking command to parse arm-oe-linux-gnueabi-nm output from arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb object... ok checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb supports -fno-rtti -fno-exceptions... no checking for arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb option to produce PIC... -fPIC -DPIC checking if arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb PIC flag -fPIC -DPIC works... yes checking if arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb static flag -static works... yes checking if arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb supports -c -o file.o... yes checking if arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb supports -c -o file.o... (cached) yes checking whether the arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb linker (arm-oe-linux-gnueabi-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking whether arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb and cc understand -c and -o together... yes checking for xsltproc... /usr/bin/xsltproc checking for arm-oe-linux-gnueabi-pkg-config... no checking for pkg-config... /opt/openmoko/shr-unstable/tmp/staging/x86_64-linux/usr/bin/pkg-config configure: WARNING: using cross tools not prefixed with host triplet checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for DBUS... yes checking for DBUS_GLIB... yes checking for getgrouplist... yes checking for readdir64... yes checking for getline... yes checking for strndup... yes checking for clearenv... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for XML_ParserCreate in -lexpat... yes checking for is_selinux_enabled in -lselinux... no configure: WARNING: SELinux library not found checking for pam_start in -lpam... yes checking for sigtimedwait in -lc... yes checking how to call pam_strerror... two arguments checking security/pam_modutil.h usability... yes checking security/pam_modutil.h presence... yes checking for security/pam_modutil.h... yes checking security/pam_ext.h usability... yes checking security/pam_ext.h presence... yes checking for security/pam_ext.h... yes checking for pam_vsyslog in -lpam... yes checking linux/inotify.h usability... yes checking linux/inotify.h presence... yes checking for linux/inotify.h... yes checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking for kqueue... no /opt/openmoko/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/policykit-0.9-r5/PolicyKit-0.9/configure: line 16499: syntax error near unexpected token `0.36.0' /opt/openmoko/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/policykit-0.9-r5/PolicyKit-0.9/configure: line 16499: `IT_PROG_INTLTOOL(0.36.0)' FATAL: oe_runconf failed
_______________________________________________ Shr-devel mailing list Shr-devel@lists.shr-project.org http://lists.shr-project.org/mailman/listinfo/shr-devel