From 888b0cbac99858a7e493a64a2c138c06da4c92e6 Mon Sep 17 00:00:00 2001 From: Rob Woolley Date: Thu, 16 Sep 2021 13:50:28 -0400 Subject: [PATCH] {noetic} libphidget22-upstream: disable debian package names Resolve problem with libphidget22 and Debian package naming rules. The Debian package naming convention will rename a package after the shared library name if it is the only thing present in the package. This resulted in libphidget22-upstream being renamed to libphidget22 and there being 2 sets of packages present with that name. As a workaround we set AUTO_LIBNAME_PKGS to empty to disable the Debian naming rules for that package. Signed-off-by: Rob Woolley Signed-off-by: Martin Jansa --- .../libphidget22/libphidget22-upstream_1.7.20210816.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-ros1-noetic/recipes-devtools/libphidget22/libphidget22-upstream_1.7.20210816.bb b/meta-ros1-noetic/recipes-devtools/libphidget22/libphidget22-upstream_1.7.20210816.bb index 96b45a5ed29..af662c1c2b8 100644 --- a/meta-ros1-noetic/recipes-devtools/libphidget22/libphidget22-upstream_1.7.20210816.bb +++ b/meta-ros1-noetic/recipes-devtools/libphidget22/libphidget22-upstream_1.7.20210816.bb @@ -23,6 +23,10 @@ SRC_URI[patch.sha256sum] = "9148f91fcbc2a2a123f178c47c3eea1435e6b5926b8e7447cc36 inherit autotools +# Resulting package can conflict with generated ROS recipe libphidget22, disable debian naming to +# keep libphidget22-upstream PN package name +AUTO_LIBNAME_PKGS = "" + do_configure:prepend() { # configure.ac uses this to define version (1.7 is taken from configure included in tarball, but autotools.bbclass runs autoreconf which fails without layer_version file) echo "1.7" > ${S}/library_version