fix QA issue for multilib
cover fix QA issue for multilib
The following changes since commit 55713b8c15cec00c01b4924ee60f13753c7d5354:
inetutils: 1.9.2 -> 1.9.4 (2015-08-19 20:43:30 -0400)
are available in the git repository at:
git://git.openembedded.org/meta-openembedded-contrib yzhao/fix-qa-issue
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=yzhao/fix-qa-issue
Yi Zhao (8):
tomoyo-tools: pass correct libdir to make
libssh: upgrade 0.6.4 -> 0.7.1
wbxml2: set correct LIB_SUFFIX for multilib
libftdi: set correct LIB_SUFFIX for multilib
openwsman: pass correct libdir to cmake
qt-creator: pass correct IDE_LIBRARY_BASENAME
libqofono: fix the hardcoded libdir
libconnman-qt: fix the hardcoded libdir
.../recipes-extended/openwsman/openwsman_2.6.0.bb | 2 +-
meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc | 1 +
meta-oe/recipes-qt/libqofono/libqofono_0.4.bb | 1 +
meta-oe/recipes-qt/qt-creator/qt-creator_2.8.1.bb | 2 ++
meta-oe/recipes-support/libftdi/libftdi_1.1.bb | 2 ++
.../libssh/{libssh_git.bb => libssh_0.7.1.bb} | 7 +++----
meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb | 2 ++
.../tomoyo-tools/tomoyo-tools_2.5.0.bb | 3 ++-
8 files changed, 14 insertions(+), 6 deletions(-)
rename meta-oe/recipes-support/libssh/{libssh_git.bb => libssh_0.7.1.bb} (79%)Signature · 1 line
1.7.9.5
PATCH 1/8 tomoyo-tools: pass correct libdir to make
Fix QA issue when enable multilib:
ERROR: QA Issue: tomoyo-tools: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/libtomoyotools.so.3.0.2
/usr/lib/libtomoyotools.so.3
/usr/lib/.debug
/usr/lib/tomoyo
/usr/lib/.debug/libtomoyotools.so.3.0.2
/usr/lib/tomoyo/init_policy
[snip]
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]
--- .../tomoyo-tools/tomoyo-tools_2.5.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-support/tomoyo-tools/tomoyo-tools_2.5.0.bb +2 -1
@@ -18,7 +18,8 @@ FILES_${PN} += "${libdir}/tomoyo" FILES_${PN}-dbg += "${libdir}/tomoyo/.debug" DEPENDS = "linux-libc-headers ncurses" -CFLAGS_append += "-D_GNU_SOURCE" + +EXTRA_OEMAKE = "-e USRLIBDIR=${libdir}" do_compile () { oe_runmake 'CC=${CC}'
Signature · 1 line
1.7.9.5
PATCH 2/8 libssh: upgrade 0.6.4 -> 0.7.1
In reply to Yi ZhaoSet the correct LIB_SUFFIX to fix QA issue for multilib:
ERROR: QA Issue: libssh: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/libssh.so
/usr/lib/libssh_threads.so.4.5.0
/usr/lib/libssh.so.4
/usr/lib/libssh_threads.so.4
/usr/lib/libssh_threads.so
[snip]
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]
---
.../libssh/{libssh_git.bb => libssh_0.7.1.bb} | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
rename meta-oe/recipes-support/libssh/{libssh_git.bb => libssh_0.7.1.bb} (79%)meta-oe/recipes-support/libssh/libssh_0.7.1.bb renamed from meta-oe/recipes-support/libssh/libssh_git.bb +3 -4
@@ -7,17 +7,16 @@ DEPENDS = "zlib openssl libgcrypt" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=388a4fb1dea8ceae0be78ba9b01fc139" -SRC_URI = "git://git.libssh.org/projects/libssh.git;branch=v0-6" -SRCREV = "3880a8ed80a4b1e2c052bd62f328bba2f869d5ae" +SRC_URI = "git://git.libssh.org/projects/libssh.git;branch=v0-7" +SRCREV = "053f72c671a83b32238dc01b56a66752fb15b7ec" S = "${WORKDIR}/git" -PV = "0.6.4+git${SRCPV}" - EXTRA_OECMAKE = " \ -DWITH_GCRYPT=1 \ -DWITH_PCAP=1 \ -DWITH_SFTP=1 \ -DWITH_ZLIB=1 \ + -DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')} \ " PACKAGECONFIG ??=""
Signature · 1 line
1.7.9.5
PATCH 3/8 wbxml2: set correct LIB_SUFFIX for multilib
In reply to Yi ZhaoFix QA issue when enable multilib:
ERROR: QA Issue: wbxml2: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/libwbxml2.so.0.0.17
/usr/lib/libwbxml2.so
/usr/lib/libwbxml2.so.0
/usr/lib/.debug
/usr/lib/pkgconfig
/usr/lib/.debug/libwbxml2.so.0.0.17
/usr/lib/pkgconfig/libwbxml2.pc
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]
--- meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb +2 -0
@@ -15,6 +15,8 @@ S = "${WORKDIR}/libwbxml-${PV}" inherit cmake pkgconfig +EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')}" + PACKAGES += "${PN}-tools" FILES_${PN}-tools = "${bindir}"
Signature · 1 line
1.7.9.5
PATCH 4/8 libftdi: set correct LIB_SUFFIX for multilib
In reply to Yi ZhaoFix QA issue when enable multilib:
ERROR: QA Issue: libftdi: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/libftdipp1.so
/usr/lib/libftdi1.so
/usr/lib/libftdipp1.so.2.1.0
/usr/lib/libftdi1.so.2
/usr/lib/libftdipp1.a
/usr/lib/libftdipp1.so.2
[snip]
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]
--- meta-oe/recipes-support/libftdi/libftdi_1.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-support/libftdi/libftdi_1.1.bb +2 -0
@@ -24,6 +24,8 @@ PACKAGECONFIG[cpp-wrapper] = "-DFTDI_BUILD_CPP=on,-DFTDI_BUILD_CPP=off,boost" inherit cmake binconfig pkgconfig +EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')}" + FILES_${PN}-dev += "${libdir}/cmake" BBCLASSEXTEND = "native"
Signature · 1 line
1.7.9.5
PATCH 5/8 openwsman: pass correct libdir to cmake
In reply to Yi ZhaoFix QA issue when enable multilib:
ERROR: QA Issue: openwsman: Files/directories were installed but not
shipped in any package:
/usr/lib
/usr/lib/libwsman_clientpp.so
/usr/lib/libwsman_client.so
/usr/lib/libwsman.so.1.0.0
/usr/lib/libwsman.so
/usr/lib/libwsman_client.so.4
[snip]
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]
--- .../recipes-extended/openwsman/openwsman_2.6.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/openwsman/openwsman_2.6.0.bb +1 -1
@@ -33,7 +33,7 @@ EXTRA_OECMAKE = "-DBUILD_BINDINGS=NO \ -DBUILD_LIBCIM=NO \ -DBUILD_PERL=YES \ -DCMAKE_INSTALL_PREFIX=${prefix} \ - -DLIB=lib \ + -DLIB=${baselib} \ " do_configure_prepend() {
Signature · 1 line
1.7.9.5
PATCH 6/8 qt-creator: pass correct IDE_LIBRARY_BASENAME
In reply to Yi ZhaoFix QA issue when enable multilib:
ERROR: QA Issue: qt-creator: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/qtcreator
/usr/lib/qtcreator/libQmlJS.so.1
/usr/lib/qtcreator/libQmlEditorWidgets.so
/usr/lib/qtcreator/libUtils.so.1
/usr/lib/qtcreator/libCPlusPlus.so
[snip]
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]
--- meta-oe/recipes-qt/qt-creator/qt-creator_2.8.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-qt/qt-creator/qt-creator_2.8.1.bb +2 -0
@@ -16,6 +16,8 @@ S = "${WORKDIR}/${BP}-src" inherit qt4x11 +EXTRA_QMAKEVARS_PRE += "IDE_LIBRARY_BASENAME=${baselib}" + do_install() { oe_runmake INSTALL_ROOT=${D}${prefix} install oe_runmake INSTALL_ROOT=${D}${prefix} install_docs
Signature · 1 line
1.7.9.5
PATCH 7/8 libqofono: fix the hardcoded libdir
In reply to Yi ZhaoFix QA issue when enable multilib:
ERROR: QA Issue: libqofono: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/libqofono.so.0.1.0
/usr/lib/libqofono.so.0
/usr/lib/libqofono.so.0.1
/usr/lib/libqofono.so
/usr/lib/libqofono.prl
[snip]
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]
--- meta-oe/recipes-qt/libqofono/libqofono_0.4.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-qt/libqofono/libqofono_0.4.bb +1 -0
@@ -66,6 +66,7 @@ do_configure_prepend() { # Hack *.pro variables find . -iname '*.pro' -exec sed -i -e 's,$$\[QT_INSTALL_IMPORTS\],${QT_IMPORTS_DIR},g' '{}' ';' find . -iname '*.pro' -exec sed -i -e 's,$$\[QT_INSTALL_PREFIX\],$$INSTALL_ROOT$$PREFIX,g' '{}' ';' + find . -iname '*.pro' -exec sed -i -e 's,$$INSTALL_ROOT$$PREFIX/lib,$$INSTALL_ROOT$$PREFIX/${baselib},g' '{}' ';' } do_install() {
Signature · 1 line
1.7.9.5
PATCH 8/8 libconnman-qt: fix the hardcoded libdir
In reply to Yi ZhaoFix QA issue when enable multilib:
ERROR: QA Issue: libconnman-qte: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/libconnman-qtopia.prl
/usr/lib/libconnman-qtopia.so.1.0
/usr/lib/libconnman-qtopia.so.1.0.50
/usr/lib/libconnman-qtopia.so
[snip]
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]
--- meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc +1 -0
@@ -17,6 +17,7 @@ EXTRA_QMAKEVARS_PRE += "CONFIG+=notests TARGET_SUFFIX=${QT_DIR_NAME}" do_configure_prepend() { # Hack *.pro variables find ${S}/plugin/*.pro -exec sed -i -e 's,$$\[QT_INSTALL_IMPORTS\],${QT_IMPORTS_DIR},g' '{}' ';' + find ${S} -iname '*.pro' -exec sed -i -e 's,$$INSTALL_ROOT$$PREFIX/lib,$$INSTALL_ROOT$$PREFIX/${baselib},g' '{}' ';' } do_install() { oe_runmake install INSTALL_ROOT=${D}
Signature · 1 line
1.7.9.5
Re: [meta-oe][PATCH 1/8] tomoyo-tools: pass correct libdir to make
In reply to Yi Zhaometa-oe/recipes-support/tomoyo-tools/tomoyo-tools_2.5.0.bb FILES_${PN} += "${libdir}/tomoyo" · line 21
Quoted 2 lines · Yi Zhao
meta-oe/recipes-support/tomoyo-tools/tomoyo-tools_2.5.0.bb +1
-1-CFLAGS_append += "-D_GNU_SOURCE" +
why was CFLAGS append removed ?
Quoted 1 line
+EXTRA_OEMAKE = "-e USRLIBDIR=${libdir}"
Re: [meta-oe][PATCH 1/8] tomoyo-tools: pass correct libdir to make
Quoted 4 lines · Khem Raj
meta-oe/recipes-support/tomoyo-tools/tomoyo-tools_2.5.0.bb FILES_${PN} += "${libdir}/tomoyo" · line 21
Quoted 2 lines · Yi Zhao
meta-oe/recipes-support/tomoyo-tools/tomoyo-tools_2.5.0.bb +1
-1-CFLAGS_append += "-D_GNU_SOURCE" +why was CFLAGS append removed ?
There is a redefined warning when compile like below:
In file included from tomoyo-diffpolicy.c:23:0:
tomoyotools.h:26:0: warning: "_GNU_SOURCE" redefined
#define _GNU_SOURCE
^
In file included from tomoyo-checkpolicy.c:23:0:
tomoyotools.h:26:0: warning: "_GNU_SOURCE" redefined
#define _GNU_SOURCE
^
<command-line>:0:0: note: this is the location of the previous definition <command-line>:0:0: note: this is the location of the previous definition In file included from tomoyo-auditd.c:23:0:
tomoyotools.h:26:0: warning: "_GNU_SOURCE" redefined
#define _GNU_SOURCE
^
<command-line>:0:0: note: this is the location of the previous definition
The _GNU_SOURCE is ready defined in the source and there is not ifdef or ifndef for it in the source.
Yi
Quoted 2 lines
Quoted 2 lines
+EXTRA_OEMAKE = "-e USRLIBDIR=${libdir}"
Re: [meta-oe][PATCH 1/8] tomoyo-tools: pass correct libdir to make
Quoted 21 lines · Yi Zhao
Quoted 1 line
why was CFLAGS append removed ?
There is a redefined warning when compile like below:
In file included from tomoyo-diffpolicy.c:23:0:
tomoyotools.h:26:0: warning: "_GNU_SOURCE" redefined
#define_GNU_SOURCE
^
In file included from tomoyo-checkpolicy.c:23:0:
tomoyotools.h:26:0: warning: "_GNU_SOURCE" redefined
#define_GNU_SOURCE
^
<command-line>:0:0: note: this is the location of the previous definition <command-line>:0:0: note: this is the location of the previous definition In file included from tomoyo-auditd.c:23:0:
tomoyotools.h:26:0: warning: "_GNU_SOURCE" redefined
#define_GNU_SOURCE
^
<command-line>:0:0: note: this is the location of the previous definition
Quoted 2 lines
The
_GNU_SOURCEis ready defined in the source and there is not ifdef or ifndef for it in the source.
ok. Althogh the difference is that now it will be passed to files that includes this header only. That may be the right thing