Getting error for allarch dynamically renamed package


Greg Wilson-Lindberg <gwilson@...>
 

Hello list,
I'm getting the following error message:
do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (zint to libzint2.11)

The zint_2.11.0.bb recipe is below:
# Recipe created by recipetool
# This is the basis of a recipe and may need further editing in order to be fully functional.
# (Feel free to remove these comments when editing.)

SUMMARY = "A barcode generator and library"
# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
# your responsibility to verify that the values are complete and correct.
#
# NOTE: multiple licenses have been detected; if that is correct you should separate
# these in the LICENSE value using & if the multiple licenses all apply, or | if there
# is a choice between the multiple licenses. If in doubt, check the accompanying
# documentation to determine which situation is applicable.
#
# The following license files were not able to be identified and are
# represented as "Unknown" below, you will need to check them yourself:
#   backend/LICENSE
#   debian/copyright
#
# NOTE: spec file indicates the license may be "GPLv3+"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
                    file://backend/LICENSE;md5=7a60e5da828a98fbdf48c9a327c7cdfa \
                    file://debian/copyright;md5=7d98b171c0e673a4b0bde1a85829586e"

SRC_URI = "https://sourceforge.net/projects/zint/files/zint/${PV}/zint-${PV}-src.tar.gz"
#SRC_URI[md5sum] = "00511707a3b80023b97a6a79c9b145f0"  v2.9.1
SRC_URI[sha256sum] = "4e9d4d7dbcf41bfd63b70eca296c564f7c1a9b9d1c70c60e820dbe23f216aa09"

S = "${WORKDIR}/${BPN}-${PV}-src"

DEPENDS = "qttools qtbase libpng"

inherit cmake
# cmake_qt5

# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
EXTRA_OECMAKE = "-DCMAKE_SKIP_RPATH=TRUE"

do_install:append() {
    rm -rf ${D}/usr/bin
}

FILES:${PN}-dev = "/usr/share/apps/cmake/modules/FindZint.cmake"
FILES:${PN} = "/usr/lib/lib*.so* /usr/include/*.h"

INSANE_SKIP:${PN} += "dev-so"

The recipe doesn't contain anything that indicates that it is 'dynamically' renaming anything.

Can anybody tell help me understand what is going on and what I need to do to get past this?

This has popped up in the process of going from hardknot to kirkstone.

Regards,
Greg


Greg Wilson-Lindberg <gwilson@...>
 

Hello list,

I changed the license on the recipe below to ‘GPL-3.0-or-later’ and the problem went away.

 

Can anyone explain what is going on? I don’t understand how the package name was being changed in the first place, and I certainly don’t understand why changing the license should change that behavior.

 

Regards,

Greg

 

From: Greg Wilson-Lindberg <GWilson@...>
Sent: Tuesday, July 26, 2022 1:45 PM
To: yocto@...
Subject: Getting error for allarch dynamically renamed package

 

Hello list,

I'm getting the following error message:

do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (zint to libzint2.11)

 

The zint_2.11.0.bb recipe is below:

# Recipe created by recipetool
# This is the basis of a recipe and may need further editing in order to be fully functional.
# (Feel free to remove these comments when editing.)
 
SUMMARY = "A barcode generator and library"
# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
# your responsibility to verify that the values are complete and correct.
#
# NOTE: multiple licenses have been detected; if that is correct you should separate
# these in the LICENSE value using & if the multiple licenses all apply, or | if there
# is a choice between the multiple licenses. If in doubt, check the accompanying
# documentation to determine which situation is applicable.
#
# The following license files were not able to be identified and are
# represented as "Unknown" below, you will need to check them yourself:
#   backend/LICENSE
#   debian/copyright
#
# NOTE: spec file indicates the license may be "GPLv3+"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
                    file://backend/LICENSE;md5=7a60e5da828a98fbdf48c9a327c7cdfa \
                    file://debian/copyright;md5=7d98b171c0e673a4b0bde1a85829586e"
 
SRC_URI = "https://sourceforge.net/projects/zint/files/zint/${PV}/zint-${PV}-src.tar.gz"
#SRC_URI[md5sum] = "00511707a3b80023b97a6a79c9b145f0"  v2.9.1
SRC_URI[sha256sum] = "4e9d4d7dbcf41bfd63b70eca296c564f7c1a9b9d1c70c60e820dbe23f216aa09"
 
S = "${WORKDIR}/${BPN}-${PV}-src"
 
DEPENDS = "qttools qtbase libpng"
 
inherit cmake
# cmake_qt5
 
# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
EXTRA_OECMAKE = "-DCMAKE_SKIP_RPATH=TRUE"
 
do_install:append() {
    rm -rf ${D}/usr/bin
}
 
FILES:${PN}-dev = "/usr/share/apps/cmake/modules/FindZint.cmake"
FILES:${PN} = "/usr/lib/lib*.so* /usr/include/*.h"
 
INSANE_SKIP:${PN} += "dev-so"

 

The recipe doesn't contain anything that indicates that it is 'dynamically' renaming anything.

 

Can anybody tell help me understand what is going on and what I need to do to get past this?

 

This has popped up in the process of going from hardknot to kirkstone.

 

Regards,

Greg

 


Greg Wilson-Lindberg <gwilson@...>
 

It keeps getting weirder and weirder, I ran -c cleansstate and rebuilt the sdk and I didn’t get an error. I then added something else into the sdk build and now I get the ‘dynamically renamed’ error for zint.

 

From: Greg Wilson-Lindberg
Sent: Wednesday, July 27, 2022 9:54 AM
To: yocto@...
Subject: RE: Getting error for allarch dynamically renamed package

 

Hello list,

I changed the license on the recipe below to ‘GPL-3.0-or-later’ and the problem went away.

 

Can anyone explain what is going on? I don’t understand how the package name was being changed in the first place, and I certainly don’t understand why changing the license should change that behavior.

 

Regards,

Greg

 

From: Greg Wilson-Lindberg <GWilson@...>
Sent: Tuesday, July 26, 2022 1:45 PM
To: yocto@...
Subject: Getting error for allarch dynamically renamed package

 

Hello list,

I'm getting the following error message:

do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (zint to libzint2.11)

 

The zint_2.11.0.bb recipe is below:

# Recipe created by recipetool
# This is the basis of a recipe and may need further editing in order to be fully functional.
# (Feel free to remove these comments when editing.)
 
SUMMARY = "A barcode generator and library"
# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
# your responsibility to verify that the values are complete and correct.
#
# NOTE: multiple licenses have been detected; if that is correct you should separate
# these in the LICENSE value using & if the multiple licenses all apply, or | if there
# is a choice between the multiple licenses. If in doubt, check the accompanying
# documentation to determine which situation is applicable.
#
# The following license files were not able to be identified and are
# represented as "Unknown" below, you will need to check them yourself:
#   backend/LICENSE
#   debian/copyright
#
# NOTE: spec file indicates the license may be "GPLv3+"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
                    file://backend/LICENSE;md5=7a60e5da828a98fbdf48c9a327c7cdfa \
                    file://debian/copyright;md5=7d98b171c0e673a4b0bde1a85829586e"
 
SRC_URI = "https://sourceforge.net/projects/zint/files/zint/${PV}/zint-${PV}-src.tar.gz"
#SRC_URI[md5sum] = "00511707a3b80023b97a6a79c9b145f0"  v2.9.1
SRC_URI[sha256sum] = "4e9d4d7dbcf41bfd63b70eca296c564f7c1a9b9d1c70c60e820dbe23f216aa09"
 
S = "${WORKDIR}/${BPN}-${PV}-src"
 
DEPENDS = "qttools qtbase libpng"
 
inherit cmake
# cmake_qt5
 
# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
EXTRA_OECMAKE = "-DCMAKE_SKIP_RPATH=TRUE"
 
do_install:append() {
    rm -rf ${D}/usr/bin
}
 
FILES:${PN}-dev = "/usr/share/apps/cmake/modules/FindZint.cmake"
FILES:${PN} = "/usr/lib/lib*.so* /usr/include/*.h"
 
INSANE_SKIP:${PN} += "dev-so"

 

The recipe doesn't contain anything that indicates that it is 'dynamically' renaming anything.

 

Can anybody tell help me understand what is going on and what I need to do to get past this?

 

This has popped up in the process of going from hardknot to kirkstone.

 

Regards,

Greg