From: Jamie Lenehan <lenehan@twibble.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Problem wt. perl-native building for PXA
Date: Thu, 24 May 2007 12:35:51 +1000 [thread overview]
Message-ID: <20070524023551.GA31623@twibble.org> (raw)
In-Reply-To: <46522CA3.1010000@kernelconcepts.de>
On Tue, May 22, 2007 at 01:34:59AM +0200, Nils Faerber wrote:
> Richard Purdie schrieb:
> > Hi,
> Hi!
>
> > On Tue, 2007-05-22 at 01:05 +0200, Nils Faerber wrote:
[...]
> >> My machine has Ubuntu feisty installed. I am using Bitbake 1.8 from SVN
[...]
> >> What happens is that the build works quite well until it comes to
> >> perl-native-5.8.8-r7. There it fails with the following error:
[...]
> Is tihs Ubuntu?
> I did never recognise this, but you are perfectly right with your
> assumption, sh -> dash.
>
> Gee, hey look, now it works!!!
> This dash thing should be tarred and feathered ;)
I actually tested perl-native with dash, and it builds just fine here
when using dash:
~%> ./bb -b packages/perl/perl-native_5.8.8.bb
...
NOTE: package perl-native-5.8.8: completed
~%> ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2007-05-24 12:05 /bin/sh -> dash*
~%> cat /etc/issue.net
Ubuntu 6.10
In theory the following patch should fix the dash issues you were
seeing. Is their someone seeing this dash/perl-native issues that
could test this?
#
# old_revision [d28c26f2757f88207089404b9e74286950165915]
#
# add_file "packages/perl/perl-5.8.8/native-makedepend-dash.patch"
# content [a32ff3bf1b75c57f6ff7ac58b232cc44f2648a27]
#
# patch "packages/perl/perl-native_5.8.8.bb"
# from [3013e9425fe473cf0988c3ccf6cad2b894e62e58]
# to [e95283c93197ba0c2c16f42feef3c0b6691a7a53]
#
============================================================
--- packages/perl/perl-5.8.8/native-makedepend-dash.patch a32ff3bf1b75c57f6ff7ac58b232cc44f2648a27
+++ packages/perl/perl-5.8.8/native-makedepend-dash.patch a32ff3bf1b75c57f6ff7ac58b232cc44f2648a27
@@ -0,0 +1,13 @@
+Index: perl-5.8.8/makedepend.SH
+===================================================================
+--- perl-5.8.8.orig/makedepend.SH 2007-05-24 12:06:52.000000000 +1000
++++ perl-5.8.8/makedepend.SH 2007-05-24 12:27:33.000000000 +1000
+@@ -128,7 +128,7 @@
+ *.y) filebase=`basename $file .y` ;;
+ esac
+ case "$file" in
+- */*) finc="-I`echo $file | sed 's#/[^/]*$##`" ;;
++ */*) finc="-I`echo $file | sed 's#/[^/]*$##'`" ;;
+ *) finc= ;;
+ esac
+ $echo "Finding dependencies for $filebase$_o."
============================================================
--- packages/perl/perl-native_5.8.8.bb 3013e9425fe473cf0988c3ccf6cad2b894e62e58
+++ packages/perl/perl-native_5.8.8.bb e95283c93197ba0c2c16f42feef3c0b6691a7a53
@@ -12,7 +12,8 @@ SRC_URI = "http://ftp.funet.fi/pub/CPAN/
file://Configure-multilib.patch;patch=1 \
file://perl-configpm-switch.patch;patch=1 \
file://native-nopacklist.patch;patch=1 \
- file://native-no-gdbminc.patch;patch=1"
+ file://native-no-gdbminc.patch;patch=1 \
+ file://native-makedepend-dash.patch;patch=1"
S = "${WORKDIR}/perl-${PV}"
--
Jamie Lenehan <lenehan@twibble.org>
prev parent reply other threads:[~2007-05-24 2:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-21 23:05 Problem wt. perl-native building for PXA Nils Faerber
2007-05-21 23:20 ` Richard Purdie
2007-05-21 23:34 ` Nils Faerber
2007-05-24 2:35 ` Jamie Lenehan [this message]
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=20070524023551.GA31623@twibble.org \
--to=lenehan@twibble.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