diff mbox

[oe,meta-oe,morty] gpsd: fix multilib build

Message ID 20161202142102.31673-1-nicolas.dechesne@linaro.org
State New
Headers show

Commit Message

Nicolas Dechesne Dec. 2, 2016, 2:21 p.m. UTC
While testing arm 64/32 multi, the following issue was observed:

WARNING: gpsd-3.14-r0 do_package: QA Issue: gpsd: Files/directories were
installed but not shipped in any package:
  /usr/lib/libgpsd.so.22.0
  /usr/lib/libgps.so.22
  /usr/lib/libgpsd.so.22.0.0
  /usr/lib/libgpsd.so.22
  /usr/lib/libgps.so.22.0.0
  /usr/lib/libgps.so
  /usr/lib/libgps.so.22.0
  /usr/lib/libgpsd.so
  /usr/lib/pkgconfig
  /usr/lib/pkgconfig/libgpsd.pc
  /usr/lib/pkgconfig/libgps.pc
Please set FILES such that these items are packaged. Alternatively if they are
unneeded, avoid installing them or delete them within do_install.
gpsd: 11 installed and not shipped files. [installed-vs-shipped]
WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: /usr/bin/cgps contained in
package gps-utils requires libgps.so.22()(64bit), but no providers found in
RDEPENDS_gps-utils? [file-rdeps]
WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: /usr/sbin/gpsdctl contained in
package gpsd requires libgps.so.22()(64bit), but no providers found in
RDEPENDS_gpsd? [file-rdeps]
WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: /usr/bin/gpsctl contained in
package gpsd-gpsctl requires libgps.so.22()(64bit), but no providers found in
RDEPENDS_gpsd-gpsctl? [file-rdeps]
WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: gpsd-dbg: found library in wrong
location: /usr/lib/.debug/libgpsd.so.22.0.0
gpsd-dbg: found library in wrong location: /usr/lib/.debug/libgps.so.22.0.0 [libdir]

gpsd SConstruct file defaults to using '/lib' suffix, which needs to be
overriden in the recipe.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

(cherry picked from commit 45837e6c567b1b9ff9d152a7e2a752488d313455)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>

---
 meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb | 1 +
 1 file changed, 1 insertion(+)

-- 
2.10.2

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Armin Kuster Dec. 3, 2016, 5:11 p.m. UTC | #1
On 12/02/2016 06:21 AM, Nicolas Dechesne wrote:
> While testing arm 64/32 multi, the following issue was observed:

> 

merged to staging.

thanks,
Armin
> WARNING: gpsd-3.14-r0 do_package: QA Issue: gpsd: Files/directories were

> installed but not shipped in any package:

>   /usr/lib/libgpsd.so.22.0

>   /usr/lib/libgps.so.22

>   /usr/lib/libgpsd.so.22.0.0

>   /usr/lib/libgpsd.so.22

>   /usr/lib/libgps.so.22.0.0

>   /usr/lib/libgps.so

>   /usr/lib/libgps.so.22.0

>   /usr/lib/libgpsd.so

>   /usr/lib/pkgconfig

>   /usr/lib/pkgconfig/libgpsd.pc

>   /usr/lib/pkgconfig/libgps.pc

> Please set FILES such that these items are packaged. Alternatively if they are

> unneeded, avoid installing them or delete them within do_install.

> gpsd: 11 installed and not shipped files. [installed-vs-shipped]

> WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: /usr/bin/cgps contained in

> package gps-utils requires libgps.so.22()(64bit), but no providers found in

> RDEPENDS_gps-utils? [file-rdeps]

> WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: /usr/sbin/gpsdctl contained in

> package gpsd requires libgps.so.22()(64bit), but no providers found in

> RDEPENDS_gpsd? [file-rdeps]

> WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: /usr/bin/gpsctl contained in

> package gpsd-gpsctl requires libgps.so.22()(64bit), but no providers found in

> RDEPENDS_gpsd-gpsctl? [file-rdeps]

> WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: gpsd-dbg: found library in wrong

> location: /usr/lib/.debug/libgpsd.so.22.0.0

> gpsd-dbg: found library in wrong location: /usr/lib/.debug/libgps.so.22.0.0 [libdir]

> 

> gpsd SConstruct file defaults to using '/lib' suffix, which needs to be

> overriden in the recipe.

> 

> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>

> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

> (cherry picked from commit 45837e6c567b1b9ff9d152a7e2a752488d313455)

> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>

> ---

>  meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb

> index b7b8968..4d00fea 100644

> --- a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb

> +++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb

> @@ -46,6 +46,7 @@ EXTRA_OESCONS = " \

>      strip='false' \

>      chrpath='yes' \

>      systemd='${SYSTEMD_OESCONS}' \

> +    libdir='${libdir}' \

>      ${PACKAGECONFIG_CONFARGS} \

>  "

>  # this cannot be used, because then chrpath is not found and only static lib is built

> 

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox

Patch

diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
index b7b8968..4d00fea 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
@@ -46,6 +46,7 @@  EXTRA_OESCONS = " \
     strip='false' \
     chrpath='yes' \
     systemd='${SYSTEMD_OESCONS}' \
+    libdir='${libdir}' \
     ${PACKAGECONFIG_CONFARGS} \
 "
 # this cannot be used, because then chrpath is not found and only static lib is built