All of lore.kernel.org
 help / color / mirror / Atom feed
From: Graham Gower <graham.gower@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] nail_11.21.bb: Fix build failure due to dumbness in a configure-like script.
Date: Tue, 19 Oct 2010 16:44:06 +1030	[thread overview]
Message-ID: <4CBD372E.6050803@gmail.com> (raw)

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 <graham.gower@gmail.com>
---
 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




                 reply	other threads:[~2010-10-19  6:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4CBD372E.6050803@gmail.com \
    --to=graham.gower@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.