Dear OE folks,
`bitbake dasher-gpe` fails with the following error message.
checking whether make sets $(MAKE)... (cached) yes
checking for intltool >= 0.18...
/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/dasher-gpe-0.0+svnr1251-r1/trunk/configure:
line 2935: test: : integer expression expected
found. Your intltool is too old. You need intltool 0.18 or later.
With
do_configure_prepend() {
rm -f m4/libtool.m4
intltoolize --force
}
the problem seems to be that `intltoolize --force` creates an empty
`intltool-update.in`.
/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/dasher-gpe-0.0+svnr1251-r1/trunk$
more intltool-update.in
/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/dasher-gpe-0.0+svnr1251-r1/trunk$
Also the following message is printed in `log.do_configure` and I got it
too running it directly.
$
/oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/bin/intltoolize
--force
You should add the contents of
'/home/paul/oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/share/aclocal/intltool.m4'
to 'aclocal.m4'.
`intltool-update.in` is used `m4/intltool.m4` to check the version.
dnl AC_PROG_INTLTOOL([MINIMUM-VERSION])
# serial 1 AC_PROG_INTLTOOL
AC_DEFUN(AC_PROG_INTLTOOL,
[
if test -n "$1"; then
AC_MSG_CHECKING(for intltool >= $1)
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ printf "%d",
$[1] * 100 + $[2]; }'`
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { printf $[2]; }'
< ${srcdir}/intltool-update.in`
changequote({{,}})
INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / {
split(${{2}}, VERSION, "."); printf "%d\n", VERSION[1] * 100 + VERSION[2];}' <
${srcdir}/intltool-update.in`
changequote([,])
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge
"$INTLTOOL_REQUIRED_VERSION_AS_INT"; then
AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
else
AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found. Your intltool
is too old. You need intltool $1 or later.])
exit 1
fi
fi
But since `intltool-update.in` is empty this check fails.
Unfortunately I have no idea how to fix this properly. I used the
attached patch, but the next problem turns up right away.
checking for style of include used by make... GNU
checking for arm-angstrom-linux-gnueabi-gcc...
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon
-mfloat-abi=softfp -mthumb-interwork -mno-thumb
--sysroot=/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi
checking whether the C compiler works... no
configure: error: in
`/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/dasher-gpe-0.0+svnr1251-r1/trunk':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Unfortunately I could not find the original author to contact him.
$ git log -p --follow -C -C -C -M recipes/dasher/ # is not sufficient
Additionally this the revision used in this recipe is over four years
old, so maybe it should be removed if nobody care about `dasher-gpe`.
Thanks,
Paul
From 25aba4c2817c1282ac36cb359637339e9069e59f Mon Sep 17 00:00:00 2001 From: Paul Menzel <[email protected]> Date: Sat, 16 Apr 2011 11:03:51 +0200 Subject: [PATCH] dasher: add patch for intl checking whether make sets $(MAKE)... (cached) yes checking for intltool >= 0.18... /home/paul/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/dasher-gpe-0.0+svnr1251-r1/trunk/configure: line 2935: test: : integer expression expected found. Your intltool is too old. You need intltool 0.18 or later. Signed-off-by: Paul Menzel <[email protected]> --- ...4-intltool.m4-do-not-quit-on-faulty-check.patch | 27 ++++++++++++++++++++ recipes/dasher/dasher-gpe_0.0-svn.bb | 4 ++- 2 files changed, 30 insertions(+), 1 deletions(-) create mode 100644 recipes/dasher/dasher-gpe/0001-m4-intltool.m4-do-not-quit-on-faulty-check.patch diff --git a/recipes/dasher/dasher-gpe/0001-m4-intltool.m4-do-not-quit-on-faulty-check.patch b/recipes/dasher/dasher-gpe/0001-m4-intltool.m4-do-not-quit-on-faulty-check.patch new file mode 100644 index 0000000..7a89326 --- /dev/null +++ b/recipes/dasher/dasher-gpe/0001-m4-intltool.m4-do-not-quit-on-faulty-check.patch @@ -0,0 +1,27 @@ +From 1ef404f4585d3d7a311626655f6b31aea7ec728c Mon Sep 17 00:00:00 2001 +From: Paul Menzel <[email protected]> +Date: Sat, 16 Apr 2011 14:02:08 +0200 +Subject: [PATCH] m4/intltool.m4: do not quit on faulty check + + +Signed-off-by: Paul Menzel <[email protected]> +--- + m4/intltool.m4 | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/m4/intltool.m4 b/m4/intltool.m4 +index bdd2e33..f269675 100644 +--- a/m4/intltool.m4 ++++ b/m4/intltool.m4 +@@ -40,7 +40,7 @@ if test -n "$1"; then + AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) + else + AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found. Your intltool is too old. You need intltool $1 or later.]) +- exit 1 ++# exit 1 + fi + fi + +-- +1.7.4.4 + diff --git a/recipes/dasher/dasher-gpe_0.0-svn.bb b/recipes/dasher/dasher-gpe_0.0-svn.bb index a63c6e9..561c788 100644 --- a/recipes/dasher/dasher-gpe_0.0-svn.bb +++ b/recipes/dasher/dasher-gpe_0.0-svn.bb @@ -5,7 +5,9 @@ SRCREV = "1251" DEPENDS = "libxsettings-client libglade libxtst gconf gtk+" SECTION = "gpe" SRC_URI = "svn://svn.gnome.org/svn/dasher;module=trunk;proto=http \ - file://configure-lossage.patch" + file://configure-lossage.patch \ + file://0001-m4-intltool.m4-do-not-quit-on-faulty-check.patch \ + " S = "${WORKDIR}/trunk" FILES_${PN} += "${datadir}/dasher" -- 1.7.4.4
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
