From 3e1f4930de6af71e3a332f91afadafc40d84e071 Mon Sep 17 00:00:00 2001 From: Rob Woolley Date: Thu, 16 Sep 2021 13:50:28 -0400 Subject: [PATCH] {eloquent} 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.4.20190605.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-ros2-eloquent/recipes-devtools/libphidget22/libphidget22-upstream_1.4.20190605.bb b/meta-ros2-eloquent/recipes-devtools/libphidget22/libphidget22-upstream_1.4.20190605.bb index b625529c7d5..0951e23f5f9 100644 --- a/meta-ros2-eloquent/recipes-devtools/libphidget22/libphidget22-upstream_1.4.20190605.bb +++ b/meta-ros2-eloquent/recipes-devtools/libphidget22/libphidget22-upstream_1.4.20190605.bb @@ -23,6 +23,10 @@ SRC_URI[patch.sha256sum] = "a29bf26b2e2d51f122f29d17346b69dbbd809182373feb968b55 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.4 is taken from configure included in tarball, but autotools.bbclass runs autoreconf which fails without layer_version file) echo "1.4" > ${S}/library_version