Skip to contentSkip to conversation

log4cpp: fix QA issue

PATCH In review Armin Kuster 2 participants 6 messages Nov 16, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 log4cpp: fix QA issue

ERROR: log4cpp-1.1.1-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/build/build_artifacts/morty/tmp/work/i586-poky-linux/log4cpp/1.1.1-r0/packages-split/log4cpp/usr/lib/liblog4cpp.so.5.0.6' [ldflags]

---
 meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb +1 -0
index c7bf288..d4f0589 100644
@@ -21,3 +21,4 @@ EXTRA_OECONF = "\
     --enable-latex-docs=no \
     LDFLAGS=-pthread \
 "
+INSANE_SKIP_${PN} = "ldflags"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/3 flite-alsa: Fix QA issue

ERROR: flite-alsa-1.3-r1 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/build/build_artifacts/morty/tmp/work/i586-poky-linux/flite-alsa/1.3-r1/packages-split/libflite-alsa/usr/lib/libflite_cmulex.so.1.3'

ERROR: flite-alsa-1.3-r1 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/build/build_artifacts/morty/tmp/work/i586-poky-linux/flite-alsa/1.3-r1/packages-split/libflite-alsa-vox8/usr/lib/libflite_cmu_us_kal.so.1.3' [ldflags]

ERROR: flite-alsa-1.3-r1 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/build/build_artifacts/morty/tmp/work/i586-poky-linux/flite-alsa/1.3-r1/packages-split/libflite-alsa-vox16/usr/lib/libflite_cmu_us_kal16.so.1.3' [ldflags]

---
 meta-oe/recipes-support/flite/flite-alsa_1.3.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/flite/flite-alsa_1.3.bb +4 -0
index 51012e6..19d789e 100644
@@ -10,3 +10,7 @@ SRC_URI = "http://www.speech.cs.cmu.edu/flite/packed/flite-${PV}/flite-${PV}-rel
 
 SRC_URI[md5sum] = "ae0aca1cb7b4801f4372f3a75a9e52b5"
 SRC_URI[sha256sum] = "922225f7001e57a0fbace8833b0a48790a68f6c7b491f2d47c78ad537ab78a8b"
+
+INSANE_SKIP_libflite-alsa = "ldflags"
+INSANE_SKIP_libflite-alsa-vox8 = "ldflags"
+INSANE_SKIP_libflite-alsa-vox16 = "ldflags"
Signature · 1 line
2.7.4
#2 lore raw

Re: [meta-oe][morty 2/3] flite-alsa: Fix QA issue

does this issue exist in master as well? IIRC I haven't seen it in recent reports.

You might want to use ${PN} as in PACKAGES:
PACKAGES += "lib${PN} lib${PN}-vox8 lib${PN}-vox16"

Quoted 43 lines · Armin Kuster

ERROR: flite-alsa-1.3-r1 do_package_qa: QA Issue: No GNU_HASH in the elf
binary: '/build/build_artifacts/morty/tmp/work/i586-poky-linux/ flite-alsa/1.3-r1/packages-split/libflite-alsa/usr/lib/ libflite_cmulex.so.1.3'

ERROR: flite-alsa-1.3-r1 do_package_qa: QA Issue: No GNU_HASH in the elf
binary: '/build/build_artifacts/morty/tmp/work/i586-poky-linux/ flite-alsa/1.3-r1/packages-split/libflite-alsa-vox8/usr/ lib/libflite_cmu_us_kal.so.1.3' [ldflags]

ERROR: flite-alsa-1.3-r1 do_package_qa: QA Issue: No GNU_HASH in the elf
binary: '/build/build_artifacts/morty/tmp/work/i586-poky-linux/ flite-alsa/1.3-r1/packages-split/libflite-alsa-vox16/usr/ lib/libflite_cmu_us_kal16.so.1.3' [ldflags]

---
 meta-oe/recipes-support/flite/flite-alsa_1.3.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/flite/flite-alsa_1.3.bb +0 -0
index 51012e6..19d789e 100644
@@ -10,3 +10,7 @@ SRC_URI = "http://www.speech.cs.cmu.edu/

flite/packed/flite-${PV}/flite-${PV}-rel

SRC_URI[md5sum] = "ae0aca1cb7b4801f4372f3a75a9e52b5" SRC_URI[sha256sum] = "922225f7001e57a0fbace8833b0a48
790a68f6c7b491f2d47c78ad537ab78a8b"

meta-oe/recipes-support/flite/flite-alsa_1.3.bb +4 -1
+
+INSANE_SKIP_libflite-alsa = "ldflags"
+INSANE_SKIP_libflite-alsa-vox8 = "ldflags"
+INSANE_SKIP_libflite-alsa-vox16 = "ldflags"
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

author
#3 lore raw

Re: [meta-oe][morty 2/3] flite-alsa: Fix QA issue

Quoted 2 lines · Martin Jansa

does this issue exist in master as well? IIRC I haven't seen it in recent reports.

I have not either. Double checking on my local build system. I still need to check pyro & rocko.

Quoted 3 lines

You might want to use ${PN} as in PACKAGES:
PACKAGES += "lib${PN} lib${PN}-vox8 lib${PN}-vox16"

thanks for the idea.
- armin

Quoted 57 lines

On Thu, Nov 16, 2017 at 7:32 PM, Armin Kuster <[email protected] <mailto:[email protected]>> wrote:

    ERROR: flite-alsa-1.3-r1 do_package_qa: QA Issue: No GNU_HASH in
    the elf binary:
    '/build/build_artifacts/morty/tmp/work/i586-poky-linux/flite-alsa/1.3-r1/packages-split/libflite-alsa/usr/lib/libflite_cmulex.so.1.3'

    ERROR: flite-alsa-1.3-r1 do_package_qa: QA Issue: No GNU_HASH in
    the elf binary:
    '/build/build_artifacts/morty/tmp/work/i586-poky-linux/flite-alsa/1.3-r1/packages-split/libflite-alsa-vox8/usr/lib/libflite_cmu_us_kal.so.1.3'
    [ldflags]

    ERROR: flite-alsa-1.3-r1 do_package_qa: QA Issue: No GNU_HASH in
    the elf binary:
    '/build/build_artifacts/morty/tmp/work/i586-poky-linux/flite-alsa/1.3-r1/packages-split/libflite-alsa-vox16/usr/lib/libflite_cmu_us_kal16.so.1.3'
    [ldflags]
    Signed-off-by: Armin Kuster <[email protected]
    <mailto:[email protected]>>
    ---
     meta-oe/recipes-support/flite/flite-alsa_1.3.bb
    <http://flite-alsa_1.3.bb> | 4 ++++
     1 file changed, 4 insertions(+)

    diff --git a/meta-oe/recipes-support/flite/flite-alsa_1.3.bb
    <http://flite-alsa_1.3.bb>
    b/meta-oe/recipes-support/flite/flite-alsa_1.3.bb
    <http://flite-alsa_1.3.bb>
    index 51012e6..19d789e 100644
    --- a/meta-oe/recipes-support/flite/flite-alsa_1.3.bb
    <http://flite-alsa_1.3.bb>
    +++ b/meta-oe/recipes-support/flite/flite-alsa_1.3.bb
    <http://flite-alsa_1.3.bb>
    @@ -10,3 +10,7 @@ SRC_URI =
    "http://www.speech.cs.cmu.edu/flite/packed/flite-${PV}/flite-${PV}-rel
    <http://www.speech.cs.cmu.edu/flite/packed/flite-$%7BPV%7D/flite-$%7BPV%7D-rel>

     SRC_URI[md5sum] = "ae0aca1cb7b4801f4372f3a75a9e52b5"
     SRC_URI[sha256sum] =
    "922225f7001e57a0fbace8833b0a48790a68f6c7b491f2d47c78ad537ab78a8b"
    +
    +INSANE_SKIP_libflite-alsa = "ldflags"
    +INSANE_SKIP_libflite-alsa-vox8 = "ldflags"
    +INSANE_SKIP_libflite-alsa-vox16 = "ldflags"
    --
    2.7.4

    --
    _______________________________________________
    Openembedded-devel mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.openembedded.org/mailman/listinfo/openembedded-devel
    <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>
#4 lore raw

PATCH 3/3 system-setup-keyboard: fix QA issue

In reply to Armin Kuster

ERROR: system-setup-keyboard-0.8.8-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/build/build_artifacts/morty/tmp/work/i586-poky-linux/system-setup-keyboard/0.8.8-r0/packages-split/system-setup-keyboard/usr/bin/system-setup-keyboard' [ldflags]

---
 .../system-setup-keyboard/system-setup-keyboard_0.8.8.bb                | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/system-setup-keyboard/system-setup-keyboard_0.8.8.bb +2 -0
index fbbfa3d..3407b73 100644
@@ -29,3 +29,5 @@ do_install() {
 }
 
 FILES_${PN} += "${systemd_unitdir}/system/${BPN}.service"
+
+INSANE_SKIP_${PN} = "ldflags"
Signature · 1 line
2.7.4
#5 lore raw

Re: [meta-oe][morty 3/3] system-setup-keyboard: fix QA issue

FWIW: this doesn't fix the QA issue, it only hides it.

The same problem existed in master as well before it was removed:
http://lists.openembedded.org/pipermail/openembedded-devel/2017-August/114478.html

Quoted 34 lines · Armin Kuster

ERROR: system-setup-keyboard-0.8.8-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/build/build_artifacts/morty/tmp/work/i586-poky-linux/ system-setup-keyboard/0.8.8-r0/packages-split/system- setup-keyboard/usr/bin/system-setup-keyboard' [ldflags]

---
.../system-setup-keyboard/system-setup-keyboard_0.8.8.bb
| 2 ++

 1 file changed, 2 insertions(+)
(quoted diff) +0 -0

setup-keyboard_0.8.8.bb b/meta-oe/recipes-support/system-setup-keyboard/ system-setup-keyboard_0.8.8.bb
index fbbfa3d..3407b73 100644
--- a/meta-oe/recipes-support/system-setup-keyboard/system- setup-keyboard_0.8.8.bb
+++ b/meta-oe/recipes-support/system-setup-keyboard/system- setup-keyboard_0.8.8.bb

meta-oe/recipes-support/system-setup-keyboard/system-setup-keyboard_0.8.8.bb +2 -1
@@ -29,3 +29,5 @@ do_install() {
 }
 
 FILES_${PN} += "${systemd_unitdir}/system/${BPN}.service"
+
+INSANE_SKIP_${PN} = "ldflags"
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel