php: avoid textrel QA Issue warning
PATCH 1/1 php: avoid textrel QA Issue warning
From: Mingli Yu <[email protected]>
Fixes:
WARNING: lib32-php-8.0.12-r0 do_package_qa: QA Issue: lib32-php: ELF binary /usr/libexec/apache2/modules/libphp.so has relocations in .text [textrel]
WARNING: lib32-php-8.0.12-r0 do_package_qa: QA Issue: lib32-php-opcache: ELF binary /usr/lib/php8/extensions/no-debug-zts-20200930/opcache.so has relocations in .text [textrel]
--- meta-oe/recipes-devtools/php/php_8.1.0.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-oe/recipes-devtools/php/php_8.1.0.bb +5 -0
@@ -217,6 +217,11 @@ ALLOW_EMPTY:${PN} = "1" INITSCRIPT_PACKAGES = "${PN}-fpm" inherit update-rc.d +# WARNING: lib32-php-8.0.12-r0 do_package_qa: QA Issue: lib32-php: ELF binary /usr/libexec/apache2/modules/libphp.so has relocations in .text [textrel] +#WARNING: lib32-php-8.0.12-r0 do_package_qa: QA Issue: lib32-php-opcache: ELF binary /usr/lib/php8/extensions/no-debug-zts-20200930/opcache.so has relocations in .text [textrel] +INSANE_SKIP:${PN}:x86 += "textrel" +INSANE_SKIP:${PN}-opcache:x86 += "textrel" + FILES:${PN}-dbg =+ "${bindir}/.debug \ ${libexecdir}/apache2/modules/.debug" FILES:${PN}-doc += "${PHP_LIBDIR}/php/doc"
Signature · 1 line
2.17.1
Quoted 16 lines · Mingli
From: Mingli Yu <[email protected]>
Fixes:
WARNING: lib32-php-8.0.12-r0do_package_qa: QA Issue: lib32-php: ELF binary/usr/libexec/apache2/modules/libphp.sohas relocations in .text [textrel]
WARNING: lib32-php-8.0.12-r0do_package_qa: QA Issue: lib32-php-opcache: ELF binary/usr/lib/php8/extensions/no-debug-zts-20200930/opcache.sohas relocations in .text [textrel]Signed-off-by Mingli Yu <[email protected]>--- meta-oe/recipes-devtools/php/php_8.1.0.bb | 5 +++++ 1 file changed, 5 insertions(+)meta-oe/recipes-devtools/php/php_8.1.0.bb +0
-0
meta-oe/recipes-devtools/php/php_8.1.0.bb ALLOW_EMPTY:${PN} = "1" · line 224
Quoted 8 lines
meta-oe/recipes-devtools/php/php_8.1.0.bb +5
-0@@ -217,6 +217,11 @@ ALLOW_EMPTY:${PN} = "1" INITSCRIPT_PACKAGES = "${PN}-fpm" inherit update-rc.d +# WARNING: lib32-php-8.0.12-r0 do_package_qa: QA Issue: lib32-php: ELF binary /usr/libexec/apache2/modules/libphp.so has relocations in .text [textrel] +#WARNING: lib32-php-8.0.12-r0 do_package_qa: QA Issue: lib32-php-opcache: ELF binary /usr/lib/php8/extensions/no-debug-zts-20200930/opcache.so has relocations in .text [textrel] +INSANE_SKIP:${PN}:x86 += "textrel" +INSANE_SKIP:${PN}-opcache:x86 += "textrel" +
should this use :append instead of += ?
Quoted 14 lines
meta-oe/recipes-devtools/php/php_8.1.0.bb +0
-1FILES:${PN}-dbg =+ "${bindir}/.debug \ ${libexecdir}/apache2/modules/.debug" FILES:${PN}-doc += "${PHP_LIBDIR}/php/doc" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#94678): https://lists.openembedded.org/g/openembedded-devel/message/94678
Mute This Topic: https://lists.openembedded.org/mt/88257182/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 22 lines · Khem Raj
[Please note: This e-mail is from an EXTERNAL e-mail address]
Quoted 19 lines · Mingli
From: Mingli Yu <[email protected]>
Fixes:
WARNING: lib32-php-8.0.12-r0do_package_qa: QA Issue: lib32-php: ELF binary/usr/libexec/apache2/modules/libphp.sohas relocations in .text [textrel]
WARNING: lib32-php-8.0.12-r0do_package_qa: QA Issue: lib32-php-opcache: ELF binary/usr/lib/php8/extensions/no-debug-zts-20200930/opcache.sohas relocations in .text [textrel]Signed-off-by Mingli Yu <[email protected]>---
meta-oe/recipes-devtools/php/php_8.1.0.bb | 5 +++++1 file changed, 5 insertions(+)meta-oe/recipes-devtools/php/php_8.1.0.bb +0
-0@@ -217,6 +217,11 @@ ALLOW_EMPTY:${PN} = "1"
INITSCRIPT_PACKAGES= "${PN}-fpm"
inherit update-rc.d
Quoted 9 lines
meta-oe/recipes-devtools/php/php_8.1.0.bb ALLOW_EMPTY:${PN} = "1" · line 224
Quoted 7 lines
+# WARNING: lib32-php-8.0.12-r0
do_package_qa: QA Issue: lib32-php:
ELF binary/usr/libexec/apache2/modules/libphp.sohas relocations in .text [textrel]
+#WARNING: lib32-php-8.0.12-r0do_package_qa: QA Issue:
lib32-php-opcache: ELF binary/usr/lib/php8/extensions/no-debug-zts-20200930/opcache.sohas relocations in .text [textrel]meta-oe/recipes-devtools/php/php_8.1.0.bb +3
-0+INSANE_SKIP:${PN}:x86 += "textrel" +INSANE_SKIP:${PN}-opcache:x86 += "textrel" +should this use :append instead of += ?
+= should be okay and it works well with +=.
Thanks,
Quoted 15 lines
Quoted 15 lines
FILES:${PN}-dbg =+ "${bindir}/.debug \
${libexecdir}/apache2/modules/.debug" FILES:${PN}-doc += "${PHP_LIBDIR}/php/doc"-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#94678): https://lists.openembedded.org/g/openembedded-devel/message/94678
Mute This Topic: https://lists.openembedded.org/mt/88257182/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-