* [PATCH 1/2] mklibs: add dependency on dpkg-native [not found] <no> @ 2013-11-11 9:27 ` Lei Liu 2013-11-11 9:27 ` [PATCH 2/2] Fix grep pattern when mklibs collects executables in rootfs Lei Liu 1 sibling, 0 replies; 6+ messages in thread From: Lei Liu @ 2013-11-11 9:27 UTC (permalink / raw) To: openembedded-core From: Lei Liu <lei.liu2@windriver.com> mklibs requires the "dpkg-architecture" utility to work. Add dependency on dpkg-native. Signed-off-by: Lei Liu <lei.liu2@windriver.com> --- .../mklibs/mklibs-native_0.1.38.bb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/recipes-devtools/mklibs/mklibs-native_0.1.38.bb b/meta/recipes-devtools/mklibs/mklibs-native_0.1.38.bb index e424052..6367e8f 100644 --- a/meta/recipes-devtools/mklibs/mklibs-native_0.1.38.bb +++ b/meta/recipes-devtools/mklibs/mklibs-native_0.1.38.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://code.launchpad.net/mklibs" SECTION = "devel" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://debian/copyright;md5=98d31037b13d896e33890738ef01af64" -DEPENDS = "python-native" +DEPENDS = "python-native dpkg-native" SRC_URI = "http://ftp.de.debian.org/debian/pool/main/m/mklibs/${BPN}_${PV}.tar.gz \ file://ac_init_fix.patch\ -- 1.7.0.4 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] Fix grep pattern when mklibs collects executables in rootfs [not found] <no> 2013-11-11 9:27 ` [PATCH 1/2] mklibs: add dependency on dpkg-native Lei Liu @ 2013-11-11 9:27 ` Lei Liu 2013-11-12 10:23 ` Richard Purdie 1 sibling, 1 reply; 6+ messages in thread From: Lei Liu @ 2013-11-11 9:27 UTC (permalink / raw) To: openembedded-core From: Lei Liu <lei.liu2@windriver.com> File command in some version could print extra space between "LSB" and "executable" - it causes mklibs can't find any executables using grep "LSB executable". Fix the grep pattern to catch multiple spaces. Signed-off-by: Lei Liu <lei.liu2@windriver.com> --- meta/classes/image-mklibs.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/classes/image-mklibs.bbclass b/meta/classes/image-mklibs.bbclass index 66b0f52..e975f5d 100644 --- a/meta/classes/image-mklibs.bbclass +++ b/meta/classes/image-mklibs.bbclass @@ -9,7 +9,7 @@ mklibs_optimize_image_doit() { du -bs > ${WORKDIR}/mklibs/du.before.mklibs.txt for i in `find .`; do file $i; done \ | grep ELF \ - | grep "LSB executable" \ + | grep "LSB *executable" \ | grep "dynamically linked" \ | sed "s/:.*//" \ | sed "s+^\./++" \ -- 1.7.0.4 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] Fix grep pattern when mklibs collects executables in rootfs 2013-11-11 9:27 ` [PATCH 2/2] Fix grep pattern when mklibs collects executables in rootfs Lei Liu @ 2013-11-12 10:23 ` Richard Purdie 2013-11-13 3:05 ` Lei Liu 0 siblings, 1 reply; 6+ messages in thread From: Richard Purdie @ 2013-11-12 10:23 UTC (permalink / raw) To: Lei Liu; +Cc: openembedded-core On Mon, 2013-11-11 at 17:27 +0800, Lei Liu wrote: > From: Lei Liu <lei.liu2@windriver.com> > > File command in some version could print extra space between > "LSB" and "executable" - it causes mklibs can't find any executables > using grep "LSB executable". Fix the grep pattern to catch > multiple spaces. > > Signed-off-by: Lei Liu <lei.liu2@windriver.com> > --- > meta/classes/image-mklibs.bbclass | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) I've queued this but please put the area name in the short line of the commit in future ("image-mklibs: " in this case). Cheers, Richard ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] Fix grep pattern when mklibs collects executables in rootfs 2013-11-12 10:23 ` Richard Purdie @ 2013-11-13 3:05 ` Lei Liu 2013-11-22 22:33 ` Nicolas Dechesne 0 siblings, 1 reply; 6+ messages in thread From: Lei Liu @ 2013-11-13 3:05 UTC (permalink / raw) To: Richard Purdie; +Cc: openembedded-core On 2013年11月12日 18:23, Richard Purdie wrote: > On Mon, 2013-11-11 at 17:27 +0800, Lei Liu wrote: >> From: Lei Liu <lei.liu2@windriver.com> >> >> File command in some version could print extra space between >> "LSB" and "executable" - it causes mklibs can't find any executables >> using grep "LSB executable". Fix the grep pattern to catch >> multiple spaces. >> >> Signed-off-by: Lei Liu <lei.liu2@windriver.com> >> --- >> meta/classes/image-mklibs.bbclass | 2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) > I've queued this but please put the area name in the short line of the > commit in future ("image-mklibs: " in this case). > Okay. Thanks. Lei ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] Fix grep pattern when mklibs collects executables in rootfs 2013-11-13 3:05 ` Lei Liu @ 2013-11-22 22:33 ` Nicolas Dechesne [not found] ` <52955AAB.6000801@gmail.com> 0 siblings, 1 reply; 6+ messages in thread From: Nicolas Dechesne @ 2013-11-22 22:33 UTC (permalink / raw) To: Lei Liu; +Cc: Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 1460 bytes --] hi, On Wed, Nov 13, 2013 at 4:05 AM, Lei Liu <layliu@gmail.com> wrote: > On 2013年11月12日 18:23, Richard Purdie wrote: > > On Mon, 2013-11-11 at 17:27 +0800, Lei Liu wrote: > >> From: Lei Liu <lei.liu2@windriver.com> > >> > >> File command in some version could print extra space between > >> "LSB" and "executable" - it causes mklibs can't find any executables > >> using grep "LSB executable". Fix the grep pattern to catch > >> multiple spaces. > >> > >> Signed-off-by: Lei Liu <lei.liu2@windriver.com> > >> --- > >> meta/classes/image-mklibs.bbclass | 2 +- > >> 1 files changed, 1 insertions(+), 1 deletions(-) > > I've queued this but please put the area name in the short line of the > > commit in future ("image-mklibs: " in this case). > > > > Okay. Thanks. First of all, this patch is needed on dora branch too , and it applies cleanly, can that be merged? Now, the real question... i am not able to get mklibs to work at all (even with this patch). What i am seeing is that mklibs 0.1.38 doesn't support anymore the use of 'sysroot'. I think this is because of this upstream change http://anonscm.debian.org/gitweb/?p=d-i/mklibs.git;a=commit;h=60bda7e2132d197e1c88afb5012f9677b6967db2 If I revert to 0.1.34 (that we had on dylan branch), i can build my image just fine (note that I am building an arm soft-float image), so are you able to use image-mklibs with dora or master which have 0.1.38? [-- Attachment #2: Type: text/html, Size: 2614 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <52955AAB.6000801@gmail.com>]
* Re: [PATCH 2/2] Fix grep pattern when mklibs collects executables in rootfs [not found] ` <52955AAB.6000801@gmail.com> @ 2013-11-27 13:00 ` Nicolas Dechesne 0 siblings, 0 replies; 6+ messages in thread From: Nicolas Dechesne @ 2013-11-27 13:00 UTC (permalink / raw) To: Lei Liu; +Cc: Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 1106 bytes --] On Wed, Nov 27, 2013 at 3:36 AM, Lei Liu <layliu@gmail.com> wrote: > > If I revert to 0.1.34 (that we had on dylan branch), i can build my > image just fine (note that I am building an arm soft-float image), so are > you able to use image-mklibs with dora or master which have 0.1.38? > > > > Hi, > > I'm testing on master. And I'm able to build my qemux86 image with > mklibs-0.1.38. > ok, thanks for your answer. I tested this morning, and confirm that 'master' + mklibs is broken on ARM (i tested qemuarm), altough qemux86 is working.. i will try to look into that... in fact to be honest, i still believe that mklibs 0.1.38 is broken, even on x86 and that it's working for qemux86 because it uses the loader from your host instead of the one in the sysroot. In my case it's failing because it doesn't find the loader in /lib (/lib in my host): Exception: Cannot find lib /lib/ld-linux.so.3 it should in theory look for that file in the sysroot... if you look at the upstream commit i referenced above, upstream no longer uses 'sysroot' variable to locate the loader... [-- Attachment #2: Type: text/html, Size: 1868 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-11-27 13:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <no>
2013-11-11 9:27 ` [PATCH 1/2] mklibs: add dependency on dpkg-native Lei Liu
2013-11-11 9:27 ` [PATCH 2/2] Fix grep pattern when mklibs collects executables in rootfs Lei Liu
2013-11-12 10:23 ` Richard Purdie
2013-11-13 3:05 ` Lei Liu
2013-11-22 22:33 ` Nicolas Dechesne
[not found] ` <52955AAB.6000801@gmail.com>
2013-11-27 13:00 ` Nicolas Dechesne
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox