From: Lukas-David Gorris <lukas@htc-linux.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: autoconf213: do_configure fails
Date: Sat, 12 Mar 2011 14:22:42 +0100 [thread overview]
Message-ID: <1299936162.3518.7.camel@computer> (raw)
In-Reply-To: <1299933388.3518.2.camel@computer>
Am Samstag, den 12.03.2011, 13:36 +0100 schrieb Lukas-David Gorris:
> read /home/luke/linux/openembedded/tmp/work/armv7a-oe-linux-gnueabi/autoconf213-2.13-r13.0/autoconf-2.13/Makefile.am: No such file or directory
>
>
> The same situation with autoconf213-native:
> "Makefile.am: No such file or directory"
I'm sorry, this topic has only been discussed previously in thread "[oe]
[PATCH] autoconf.inc: check if files exist before using sed on them"
A patch has been supplied by Denis Carikli. Khem advised to do a build
from scratch in order to make sure it doesn't affect other autoconf
recipes.
I am doing such a clean build now (with new tmpdir) and will update
about the results.
Denis' patch:
diff --git a/recipes/autoconf/autoconf.inc
b/recipes/autoconf/autoconf.inc
index 7f22c2b..e0eecd3 100644
--- a/recipes/autoconf/autoconf.inc
+++ b/recipes/autoconf/autoconf.inc
@@ -8,7 +8,7 @@ RDEPENDS_${PN} = "m4 perl gnu-config"
DEPENDS_virtclass-native = "m4-native gnu-config-native perl-native"
RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native
perl-native"
-INC_PR = "r13"
+INC_PR = "r14"
SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2;name=autoconf
\
file://program_prefix.patch"
@@ -25,13 +25,19 @@ do_configure_prepend () {
export ac_cv_path_M4="${ac_cv_path_M4=${bindir}/m4}"
export ac_cv_prog_gnu_m4="${ac_cv_prog_gnu_m4=yes}"
fi
-
- sed -i -e's,^SUBDIRS = .*,SUBDIRS = ${SUBDIRS},' ${S}/Makefile.am
+ if [ -e ${S}/Makefile.am ]
+ then
+ sed -i -e's,^SUBDIRS = .*,SUBDIRS = ${SUBDIRS},' ${S}/Makefile.am
+ fi
}
do_configure_append() {
# replace paths to STAGING_BINDIR_NATIVE/perl with ${bindir}/perl
- sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${S}/bin/*.in
+ ls ${S} | grep -q '\.in$'
+ if [ $? -eq 0 ]
+ then
+ sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${S}/bin/*.in
+ fi
}
PARALLEL_MAKE = ""
--
1.7.0.4
Best,
Lukas
next prev parent reply other threads:[~2011-03-12 13:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-12 12:36 autoconf213: do_configure fails Lukas-David Gorris
2011-03-12 13:22 ` Lukas-David Gorris [this message]
2011-03-12 21:45 ` Lukas-David Gorris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1299936162.3518.7.camel@computer \
--to=lukas@htc-linux.org \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox