From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pw0-f47.google.com ([209.85.160.47]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1P85TC-0005di-Qe for openembedded-devel@lists.openembedded.org; Tue, 19 Oct 2010 08:14:47 +0200 Received: by pwi4 with SMTP id 4so20949pwi.6 for ; Mon, 18 Oct 2010 23:14:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=nF5kQIPUeUPie1ZUdzTrhTx/oCiKhAGGBUfQ70aNoNU=; b=jlkozaQYMM6jil47NXfR+p8QA/zm4lmKkSvkh3iGA/HfbCMkSsqRpi0YUOZpOhHcWH 5TsYD2BHFGx3fKYKQnMlTm7t1KPVESRZAwn7B8IHzLPlUn189l5GmkzJKKnAPVODNixY ABJup98VosgPWbKsFbt8AfhvDt0HGJmZ/h4dQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=KUea+fg+S3SHk4wu7IFVYOi23gY+SN7jnPYixxnuUK5IUkcsA1D8xdWqrxjWt1x1jY imOMbQNtTi7trr4IzbfWrKtRVPMa80Z9icDnJYcEKETH46fsmHoJn9kQaztNKcom1ZMi wKlqioQcInZCJeLY8qDM0gGBSec1L0mVm3AZ8= Received: by 10.142.13.2 with SMTP id 2mr4275913wfm.103.1287468851640; Mon, 18 Oct 2010 23:14:11 -0700 (PDT) Received: from [10.0.0.5] (eth7090.sa.adsl.internode.on.net [150.101.58.177]) by mx.google.com with ESMTPS id y42sm18342118wfd.10.2010.10.18.23.14.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 18 Oct 2010 23:14:11 -0700 (PDT) Message-ID: <4CBD372E.6050803@gmail.com> Date: Tue, 19 Oct 2010 16:44:06 +1030 From: Graham Gower User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100909 Thunderbird/3.0.7 MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org X-SA-Exim-Connect-IP: 209.85.160.47 X-SA-Exim-Mail-From: graham.gower@gmail.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: [PATCH] nail_11.21.bb: Fix build failure due to dumbness in a configure-like script. X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 06:14:47 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Presumably this build failure is due to a race condition, whereby the LIBS file contains some garbage when it is autogenerated by the 'makeconfig' script. mipsel-oe-linux-gcc -march=mips32 -L/mnt/oe/tmp/sysroots/mipsel-oe-linux/usr/lib -Wl,-rpath-link,/mnt/oe/tmp/sysroots/mipsel-oe-linux/usr/lib -Wl,-O1 aux.o base64.o cache.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o dotlock.o edit.o fio.o getname.o getopt.o head.o hmac.o imap.o imap_search.o junk.o lex.o list.o lzw.o macro.o maildir.o main.o md5.o mime.o names.o nss.o openssl.o pop3.o popen.o quit.o send.o sendout.o smtp.o ssl.o strings.o temp.o thread.o tty.o v7.local.o vars.o version.o `grep '^[^#]' LIBS` -o nail mipsel-oe-linux-gcc: o: No such file or directory mipsel-oe-linux-gcc: make: No such file or directory mipsel-oe-linux-gcc: grep: No such file or directory mipsel-oe-linux-gcc: happy: No such file or directory make: *** [nail] Error 1 Signed-off-by: Graham Gower --- recipes/nail/files/makeconfig.FILES.patch | 22 ++++++++++++++++++++++ recipes/nail/nail_11.21.bb | 5 +++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 recipes/nail/files/makeconfig.FILES.patch diff --git a/recipes/nail/files/makeconfig.FILES.patch b/recipes/nail/files/makeconfig.FILES.patch new file mode 100644 index 0000000..cddd14f --- /dev/null +++ b/recipes/nail/files/makeconfig.FILES.patch @@ -0,0 +1,22 @@ +--- nail-11.21/makeconfig.orig 2010-10-19 12:16:14.000000000 +1030 ++++ nail-11.21/makeconfig 2010-10-19 12:16:39.000000000 +1030 +@@ -74,7 +74,7 @@ + echo '************************************************************' + msg "checking $topic ... " + echo "/* checked $topic */" >>$out +- cp $lib $tmp2 ++# cp $lib $tmp2 + rm -f $tmp $tmp.o + echo '*** test program is' + tee $tmp.c +@@ -86,8 +86,8 @@ + then + msg "okay\\n" + echo "$define" >>$out +- echo "$libs" >$lib +- cat $tmp2 >>$lib ++ echo "$libs" >>$lib ++# cat $tmp2 >>$lib + return 0 + else + msg "no\\n" diff --git a/recipes/nail/nail_11.21.bb b/recipes/nail/nail_11.21.bb index 26eece0..29456c2 100644 --- a/recipes/nail/nail_11.21.bb +++ b/recipes/nail/nail_11.21.bb @@ -2,11 +2,12 @@ DESCRIPTION = "Enhanced mailx client." SECTION = "console/network" PRIORITY = "optional" DEPENDS = "openssl" -PR = "r2" +PR = "r3" LICENSE = "GPL" SRC_URI = "http://optusnet.dl.sourceforge.net/sourceforge/nail/nail-11.21.tar.bz2 \ - file://nail.spec.diff" + file://nail.spec.diff \ + file://makeconfig.FILES.patch" S = "${WORKDIR}/nail-11.21/" -- 1.7.1