gnutls_2.8.5.bb
Hi there,
I'm very new to openembedded-devel, and after experimenting with a variety of recipes, I'm adapting the micro set of distro/recipes to my needs. I am having a problem building gnutls - I see in the git logs that an update was done on 5/03/2010 to remove older versions and make 2.8.5 be the only one availbale.
My log of the error according to bitbake is:
[..]
| automake: unknown warning category `cross' | doc/Makefile.am:27: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL | doc/reference/Makefile.am:135: `gtk-doc.make' included from here | gtk-doc.make:50: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | doc/reference/Makefile.am:135: `gtk-doc.make' included from here | gtk-doc.make:173: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | doc/reference/Makefile.am:135: `gtk-doc.make' included from here | doc/reference/Makefile.am:147: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | autoreconf: automake failed with exit status: 1 | FATAL: autoreconf execution failed.
NOTE: Task failed: /home/chris/oe/micro-dev/work/i686-oe-linux/gnutls-2.8.5-r0/temp/log.do_configure.14113
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/chris/oe/openembedded.org/recipes/gnutls/gnutls_2.8.5.bb do_configure failed
ERROR: Task 652 (/home/chris/oe/openembedded.org/recipes/gnutls/gnutls_2.8.5.bb, do_configure) failed
NOTE: Tasks Summary: Attempted 865 tasks of which 0 didn't need to be rerun and 1 failed.
ERROR: '/home/chris/oe/openembedded.org/recipes/gnutls/gnutls_2.8.5.bb' failed
I havn't seen anyone else report this, so I'm hoping someone can help me to fix this as presumably others have this working. I'm building this on Ubuntu 9.04, git tree is up to date. I've just tried removing the ~/oe/$DISTRO-dev/ folder, which I understand should result in everything being recompiled again. gnutls still failed with the error above.
Any help would be appreciated.
Thanks,
Chris Bennett
cgb
Re: gnutls_2.8.5.bb: FATAL: autoreconf execution failed.
Dear Chris,
Am Sonntag, den 14.03.2010, 19:01 +1030 schrieb Chris Bennett:
[…]
Quoted 14 lines
My log of the error according to bitbake is:
[..]
| automake: unknown warning category `cross' | doc/Makefile.am:27: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL | doc/reference/Makefile.am:135: `gtk-doc.make' included from here | gtk-doc.make:50: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | doc/reference/Makefile.am:135: `gtk-doc.make' included from here | gtk-doc.make:173: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | doc/reference/Makefile.am:135: `gtk-doc.make' included from here | doc/reference/Makefile.am:147: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | autoreconf: automake failed with exit status: 1 | FATAL: autoreconf execution failed.
Quoted 1 line
NOTE: Task failed:
/home/chris/oe/micro-dev/work/i686-oe-linux/gnutls-2.8.5-r0/temp/log.do_configure.14113
You have to look into this mentioned log file to find out what failed.
[…]
Thanks,
Paul
PATCH 1/1 Make gnutls depend on gtk-doc.
In reply to Chris Bennettbuilding gnutls_2.8.5.bb fails in do_configure with these messages:
[..]
| automake: unknown warning category `cross' | doc/Makefile.am:27: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL | doc/reference/Makefile.am:135: `gtk-doc.make' included from here | gtk-doc.make:50: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | doc/reference/Makefile.am:135: `gtk-doc.make' included from here | gtk-doc.make:173: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | doc/reference/Makefile.am:135: `gtk-doc.make' included from here | doc/reference/Makefile.am:147: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | autoreconf: automake failed with exit status: 1 | FATAL: autoreconf execution failed.
NOTE: Task failed: /home/chris/oe/micro-dev/work/i686-oe-linux/gnutls-2.8.5-r0/temp/log.do_configure.14113
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/chris/oe/openembedded.org/recipes/gnutls/gnutls_2.8.5.bb do_configure failed
ERROR: Task 652 (/home/chris/oe/openembedded.org/recipes/gnutls/gnutls_2.8.5.bb, do_configure) failed
NOTE: Tasks Summary: Attempted 865 tasks of which 0 didn't need to be rerun and 1 failed.
ERROR: '/home/chris/oe/openembedded.org/recipes/gnutls/gnutls_2.8.5.bb' failed
Depending on gtk-doc fixes this and makes the recipe build fine.
---
Please tell me if I need to increase recipe versions when making changes to .inc files.
Thanks,
Antonio Ospite
http://ao2.it
recipes/gnutls/gnutls.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/gnutls/gnutls.inc +1 -1
@@ -1,6 +1,6 @@ DESCRIPTION = "GNU Transport Layer Security Library" HOMEPAGE = "http://www.gnu.org/software/gnutls/" -DEPENDS = "zlib libgcrypt lzo guile-native gettext" +DEPENDS = "zlib libgcrypt lzo guile-native gettext gtk-doc" LICENSE = "LGPL" SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2;name=gnutls"
Signature · 1 line
1.7.0
PATCH v2 1/1 gnutls: fix do_configure by depending on gtk-doc
building gnutls_2.8.5.bb fails in do_configure with these messages:
[..]
| automake: unknown warning category `cross' | doc/Makefile.am:27: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL | doc/reference/Makefile.am:135: `gtk-doc.make' included from here | gtk-doc.make:50: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | doc/reference/Makefile.am:135: `gtk-doc.make' included from here | gtk-doc.make:173: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | doc/reference/Makefile.am:135: `gtk-doc.make' included from here | doc/reference/Makefile.am:147: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | autoreconf: automake failed with exit status: 1 | FATAL: autoreconf execution failed.
NOTE: Task failed: /home/chris/oe/micro-dev/work/i686-oe-linux/gnutls-2.8.5-r0/temp/log.do_configure.14113
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/chris/oe/openembedded.org/recipes/gnutls/gnutls_2.8.5.bb do_configure failed
ERROR: Task 652 (/home/chris/oe/openembedded.org/recipes/gnutls/gnutls_2.8.5.bb, do_configure) failed
NOTE: Tasks Summary: Attempted 865 tasks of which 0 didn't need to be rerun and 1 failed.
ERROR: '/home/chris/oe/openembedded.org/recipes/gnutls/gnutls_2.8.5.bb' failed
Depending on gtk-doc fixes this.
---
Changes since v1:
* better short commit message
* increased INC_PR
Thanks,
Antonio Ospite
http://ao2.it
recipes/gnutls/gnutls.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/gnutls/gnutls.inc +2 -2
@@ -1,13 +1,13 @@ DESCRIPTION = "GNU Transport Layer Security Library" HOMEPAGE = "http://www.gnu.org/software/gnutls/" -DEPENDS = "zlib libgcrypt lzo guile-native gettext" +DEPENDS = "zlib libgcrypt lzo guile-native gettext gtk-doc" LICENSE = "LGPL" SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2;name=gnutls" inherit autotools binconfig pkgconfig -INC_PR = "r8" +INC_PR = "r9" EXTRA_OECONF = "--with-included-opencdk --with-included-libtasn1"
Signature · 1 line
1.7.0
Re: [PATCH v2] gnutls: fix do_configure by depending on gtk-doc
recipes/gnutls/gnutls.inc line 3
Quoted 7 lines · On Thursday 18 March 2010 21:31:44 Antonio Ospite wrote:
recipes/gnutls/gnutls.inc +1
-1@@ -1,13 +1,13 @@ DESCRIPTION = "GNU Transport Layer Security Library" HOMEPAGE = "http://www.gnu.org/software/gnutls/" -DEPENDS = "zlib libgcrypt lzo guile-native gettext" +DEPENDS = "zlib libgcrypt lzo guile-native gettext gtk-doc"
gtk-doc? Where is it installing its .m4 file?
Re: [PATCH v2] gnutls: fix do_configure by depending on gtk-doc
Quoted 12 lines · On Mon, 22 Mar 2010 08:16:04 +0100 Holger Hans Peter Freyther…
recipes/gnutls/gnutls.inc line 3
Quoted 7 lines · On Thursday 18 March 2010 21:31:44 Antonio Ospite wrote:
recipes/gnutls/gnutls.inc +1
-1@@ -1,13 +1,13 @@ DESCRIPTION = "GNU Transport Layer Security Library" HOMEPAGE = "http://www.gnu.org/software/gnutls/" -DEPENDS = "zlib libgcrypt lzo guile-native gettext" +DEPENDS = "zlib libgcrypt lzo guile-native gettext gtk-doc"gtk-doc? Where is it installing its .m4 file?
I didn't investigate deeply the details, but with this patch gnutls_2.8.5.bb builds again, without this it doesn't and thus prevents even meta-toolchain to be built; this is reproducible when starting from a fresh setup (wiping out tmp/ I mean). The full log is here:
http://tinderbox.openembedded.org/public/logs/task/5429228.txt
If the cause is elsewhere and there could be a better fix I am open to suggestions and instructions about how to find out.
Thanks,
Antonio
Signature · 10 lines
Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Holger Hans Peter Freyther
Acked-byRe: [PATCH v2] gnutls: fix do_configure by depending on gtk-doc
Quoted 7 lines · On Friday 26 March 2010 12:52:22 you wrote:
Quoted 1 line
gtk-doc? Where is it installing its .m4 file?
I didn't investigate deeply the details, but with this patch gnutls_2.8.5.bb builds again, without this it doesn't and thus prevents even meta-toolchain to be built; this is reproducible when starting from a fresh setup (wiping out tmp/ I mean). The full log is here:
http://tinderbox.openembedded.org/public/logs/task/5429228.txt
Okay, then
Re: [PATCH v2] gnutls: fix do_configure by depending on gtk-doc
Hello.
Quoted 10 lines · Holger Hans Peter Freyther
Quoted 7 lines · On Friday 26 March 2010 12:52:22 you wrote:
Quoted 1 line
gtk-doc? Where is it installing its .m4 file?
I didn't investigate deeply the details, but with this patch gnutls_2.8.5.bb builds again, without this it doesn't and thus prevents even meta-toolchain to be built; this is reproducible when starting from a fresh setup (wiping out tmp/ I mean). The full log is here:
http://tinderbox.openembedded.org/public/logs/task/5429228.txt
Quoted 3 lines
Okay, then
I could reproduce the problem and the patch fixed it. Applied and pushed.
regards
Stefan Schmidt