From: Robert Yang <liezhi.yang@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 0/8] perl 5.20.0 -> 5.22.0 and fix test cases
Date: Mon, 29 Jun 2015 13:29:30 +0800 [thread overview]
Message-ID: <5590D7BA.5030306@windriver.com> (raw)
In-Reply-To: <1435514866.7287.3.camel@linuxfoundation.org>
On 06/29/2015 02:07 AM, Richard Purdie wrote:
> On Tue, 2015-06-23 at 23:26 -0700, Robert Yang wrote:
>> * Upgrade perl 5.20.0 -> 5.22.0
>> * Tested on qemux86, qemuarm, qemuarm64, qemuppc, qemumips, qemux86-64.
>> * Fix for test cases, the test result:
>> Failed 9 tests out of 2269, 99.60% okay.
>
> This series seems to cause:
>
> https://autobuilder.yoctoproject.org/main/builders/nightly-non-gpl3/builds/367/steps/BuildImages/logs/stdio
>
> on non-gplv3 builds.
Yes, it would fail when non-gplv3 build, here is a patch to fix
the problem:
git://git.openembedded.org/openembedded-core-contrib rbt/gdbm
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/gdbm
Robert Yang (1):
gdbm 1.8.3: install ndbm.h and dbm.h
meta/recipes-support/gdbm/gdbm_1.8.3.bb | 10 ++++++++++
1 file changed, 10 insertions(+)
Subject: [PATCH 1/1] gdbm 1.8.3: install ndbm.h and dbm.h
There are gdbm 1.8.3 and gdbm 1.11, while 1.8.3 is GPLv2, it should
install ndbm.h and dbm.h as what 1.11 does, to make perl build OK when
non-gplv3 build.
Fixed when perl build: (non-gplv3 buld)
| NDBM_File.xs:18:60: fatal error: gdbm/ndbm.h: No such file or directory
| # include <gdbm/ndbm.h> /* RedHat compatibility version */
| ^
| compilation terminated.
And:
| ODBM_File.xs:8:19: fatal error: dbm.h: No such file or directory
| # include <dbm.h>
| ^
| compilation terminated.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-support/gdbm/gdbm_1.8.3.bb | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/meta/recipes-support/gdbm/gdbm_1.8.3.bb
b/meta/recipes-support/gdbm/gdbm_1.8.3.bb
index 2331d1d..af01b6c 100644
--- a/meta/recipes-support/gdbm/gdbm_1.8.3.bb
+++ b/meta/recipes-support/gdbm/gdbm_1.8.3.bb
@@ -17,3 +17,13 @@ SRC_URI[sha256sum] =
"cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a
inherit autotools texinfo
BBCLASSEXTEND = "native nativesdk"
+
+do_install_append () {
+ install -d ${D}${includedir}/gdbm
+ install -m 0644 ${S}/dbm.h ${D}${includedir}/
+ install -m 0644 ${S}/ndbm.h ${D}${includedir}/
+ # Create a symlink to ndbm.h and gdbm.h in include/gdbm to let other
packages to find
+ # these headers
+ ln -sf ../ndbm.h ${D}/${includedir}/gdbm/ndbm.h
+ ln -sf ../gdbm.h ${D}/${includedir}/gdbm/gdbm.h
+}
--
1.7.9.5
// Robert
>
> Cheers,
>
> Richard
>
>
>
next prev parent reply other threads:[~2015-06-29 5:29 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-24 6:26 [PATCH 0/8] perl 5.20.0 -> 5.22.0 and fix test cases Robert Yang
2015-06-24 6:26 ` [PATCH 1/8] perl: 5.20.0 -> 5.22.0 Robert Yang
2015-06-24 6:26 ` [PATCH 2/8] cpan_build.bbclass: remove libmodule-build-perl Robert Yang
2015-06-24 6:26 ` [PATCH 3/8] perl: use perl.inc for target and native perl Robert Yang
2015-06-24 6:26 ` [PATCH 4/8] perl: fix test case switches.t Robert Yang
2015-06-24 6:26 ` [PATCH 5/8] perl: fix for ODBM_File.so Robert Yang
2015-06-24 6:26 ` [PATCH 6/8] perl: odbm.t: fix the path of dbmt_common.pl Robert Yang
2015-06-24 6:26 ` [PATCH 7/8] perl: remove default byteorder from config.sh Robert Yang
2015-06-24 6:26 ` [PATCH 8/8] perl-ptest: fix RDEPENDS Robert Yang
2015-06-24 7:49 ` Robert Yang
2015-06-29 16:41 ` Burton, Ross
2015-06-30 1:26 ` Robert Yang
2015-06-28 18:07 ` [PATCH 0/8] perl 5.20.0 -> 5.22.0 and fix test cases Richard Purdie
2015-06-29 5:29 ` Robert Yang [this message]
2015-06-29 7:18 ` Richard Purdie
2015-06-29 7:24 ` Robert Yang
2015-06-29 7:28 ` Richard Purdie
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=5590D7BA.5030306@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.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