All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/2] libhugetlbfs: fix versioning
@ 2014-07-14  8:41 Koen Kooi
  2014-07-14  8:41 ` [meta-oe][PATCH 2/2] libhugetlbfs: fix packaging Koen Kooi
  0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2014-07-14  8:41 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

PE bump is needed because "git+stuff"" > "2.18"

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
---
 meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
index 5645add..af7ed3e 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
@@ -5,6 +5,9 @@ LIC_FILES_CHKSUM = "file://LGPL-2.1;md5=2d5025d4aa3495befef8f17206a5b0a1"
 DEPENDS = "sysfsutils perl"
 RDEPENDS_${PN} += "python python-io python-lang python-subprocess python-resource"
 
+PV = "2.18"
+PE = "1"
+
 SRCREV = "ea3f6b273f535aab38cefae30030774457bbbfe6"
 SRC_URI = "git://git.code.sf.net/p/libhugetlbfs/code \
     file://skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch \
-- 
1.9.3



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-oe][PATCH 2/2] libhugetlbfs: fix packaging
  2014-07-14  8:41 [meta-oe][PATCH 1/2] libhugetlbfs: fix versioning Koen Kooi
@ 2014-07-14  8:41 ` Koen Kooi
  2014-07-14 14:54   ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2014-07-14  8:41 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

Libhugetlbs doesn't generate proper .so.X libs, only two .so files. Package those in ${PN} and silence the resulting QA warning. This fixes:

 ERROR: QA Issue: libhugetlbfs-tests rdepends on libhugetlbfs-dev

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
---
 meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
index af7ed3e..d3b64bf 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
@@ -25,6 +25,7 @@ COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64).*-linux*"
 
 LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
 EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=1"
+PARALLEL_MAKE_pn-${PN} = ""
 CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"
 
 TARGET_CC_ARCH += "${LDFLAGS}"
@@ -46,12 +47,15 @@ do_install() {
           install-tests
 }
 
-PARALLEL_MAKE_pn-${PN} = ""
 
 PACKAGES =+ "${PN}-perl ${PN}-tests "
+FILES_${PN} += "${libdir}/*.so"
+FILES_${PN}-dev = "${includedir}"
 FILES_${PN}-dbg += "${libdir}/libhugetlbfs/tests/obj32/.debug ${libdir}/libhugetlbfs/tests/obj64/.debug"
 FILES_${PN}-perl = "${libdir}/perl"
 FILES_${PN}-tests += "${libdir}/libhugetlbfs/tests"
 
+INSANE_SKIP_${PN} = "dev-so"
+
 INHIBIT_PACKAGE_STRIP = "1"
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-- 
1.9.3



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [meta-oe][PATCH 2/2] libhugetlbfs: fix packaging
  2014-07-14  8:41 ` [meta-oe][PATCH 2/2] libhugetlbfs: fix packaging Koen Kooi
@ 2014-07-14 14:54   ` Martin Jansa
  2014-07-14 15:04     ` Koen Kooi
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2014-07-14 14:54 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

[-- Attachment #1: Type: text/plain, Size: 2030 bytes --]

On Mon, Jul 14, 2014 at 10:41:34AM +0200, Koen Kooi wrote:
> Libhugetlbs doesn't generate proper .so.X libs, only two .so files. Package those in ${PN} and silence the resulting QA warning. This fixes:
> 
>  ERROR: QA Issue: libhugetlbfs-tests rdepends on libhugetlbfs-dev
> 
> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
> ---
>  meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> index af7ed3e..d3b64bf 100644
> --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> @@ -25,6 +25,7 @@ COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64).*-linux*"
>  
>  LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
>  EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=1"
> +PARALLEL_MAKE_pn-${PN} = ""

Is _pn override really needed?

>  CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"
>  
>  TARGET_CC_ARCH += "${LDFLAGS}"
> @@ -46,12 +47,15 @@ do_install() {
>            install-tests
>  }
>  
> -PARALLEL_MAKE_pn-${PN} = ""
>  
>  PACKAGES =+ "${PN}-perl ${PN}-tests "
> +FILES_${PN} += "${libdir}/*.so"
> +FILES_${PN}-dev = "${includedir}"
>  FILES_${PN}-dbg += "${libdir}/libhugetlbfs/tests/obj32/.debug ${libdir}/libhugetlbfs/tests/obj64/.debug"
>  FILES_${PN}-perl = "${libdir}/perl"
>  FILES_${PN}-tests += "${libdir}/libhugetlbfs/tests"
>  
> +INSANE_SKIP_${PN} = "dev-so"
> +
>  INHIBIT_PACKAGE_STRIP = "1"
>  INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
> -- 
> 1.9.3
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-oe][PATCH 2/2] libhugetlbfs: fix packaging
  2014-07-14 14:54   ` Martin Jansa
@ 2014-07-14 15:04     ` Koen Kooi
  2014-07-14 15:50       ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2014-07-14 15:04 UTC (permalink / raw)
  To: Martin Jansa; +Cc: OpenEmbedded Devel List

On 14 July 2014 16:54, Martin Jansa <martin.jansa@gmail.com> wrote:

> On Mon, Jul 14, 2014 at 10:41:34AM +0200, Koen Kooi wrote:
> > Libhugetlbs doesn't generate proper .so.X libs, only two .so files.
> Package those in ${PN} and silence the resulting QA warning. This fixes:
> >
> >  ERROR: QA Issue: libhugetlbfs-tests rdepends on libhugetlbfs-dev
> >
> > Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
> > ---
> >  meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | 6 +++++-
> >  1 file changed, 5 insertions(+), 1 deletion(-)
> >
> > diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> > index af7ed3e..d3b64bf 100644
> > --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> > +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> > @@ -25,6 +25,7 @@ COMPATIBLE_HOST =
> "(x86_64|powerpc|powerpc64|aarch64).*-linux*"
> >
> >  LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
> >  EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}'
> ${LIBARGS} V=1"
> > +PARALLEL_MAKE_pn-${PN} = ""
>
> Is _pn override really needed?
>

It isn't, I only moved the line without noticing the override. Do you want
me to respin?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-oe][PATCH 2/2] libhugetlbfs: fix packaging
  2014-07-14 15:04     ` Koen Kooi
@ 2014-07-14 15:50       ` Martin Jansa
  0 siblings, 0 replies; 5+ messages in thread
From: Martin Jansa @ 2014-07-14 15:50 UTC (permalink / raw)
  To: Koen Kooi; +Cc: OpenEmbedded Devel List

[-- Attachment #1: Type: text/plain, Size: 1485 bytes --]

On Mon, Jul 14, 2014 at 05:04:48PM +0200, Koen Kooi wrote:
> On 14 July 2014 16:54, Martin Jansa <martin.jansa@gmail.com> wrote:
> 
> > On Mon, Jul 14, 2014 at 10:41:34AM +0200, Koen Kooi wrote:
> > > Libhugetlbs doesn't generate proper .so.X libs, only two .so files.
> > Package those in ${PN} and silence the resulting QA warning. This fixes:
> > >
> > >  ERROR: QA Issue: libhugetlbfs-tests rdepends on libhugetlbfs-dev
> > >
> > > Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
> > > ---
> > >  meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | 6 +++++-
> > >  1 file changed, 5 insertions(+), 1 deletion(-)
> > >
> > > diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> > b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> > > index af7ed3e..d3b64bf 100644
> > > --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> > > +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> > > @@ -25,6 +25,7 @@ COMPATIBLE_HOST =
> > "(x86_64|powerpc|powerpc64|aarch64).*-linux*"
> > >
> > >  LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
> > >  EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}'
> > ${LIBARGS} V=1"
> > > +PARALLEL_MAKE_pn-${PN} = ""
> >
> > Is _pn override really needed?
> >
> 
> It isn't, I only moved the line without noticing the override. Do you want
> me to respin?

Please do, thanks

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-07-14 15:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-14  8:41 [meta-oe][PATCH 1/2] libhugetlbfs: fix versioning Koen Kooi
2014-07-14  8:41 ` [meta-oe][PATCH 2/2] libhugetlbfs: fix packaging Koen Kooi
2014-07-14 14:54   ` Martin Jansa
2014-07-14 15:04     ` Koen Kooi
2014-07-14 15:50       ` Martin Jansa

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.