[yocto] package error for custom devtool recipe

Greg Wilson-Lindberg GWilson at sakuraus.com
Mon Oct 2 17:30:25 PDT 2017


I've got a recipe that I'm trying to get working that was created by devtool:

# 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.)

# 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:
#   src/towitoko/COPYING
#   src/openct/LICENSE
#
LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
                    file://src/towitoko/COPYING;md5=2fc60379096eee9073e3012488ba87cd \
                    file://src/openct/LICENSE;md5=ebc2e3e5ba280a30e3e1abd91a4a6c52"

SRC_URI = "https://downloads.sourceforge.net/acsccid/acsccid-${PV}.tar.bz2"
SRC_URI[md5sum] = "ac77b3aeae0a11723c96c7f98769490e"
SRC_URI[sha256sum] = "1607591ee0df07c0157a71f6cb61e1e11fe1fa17331f02d2dff020db0e28c0ae"

DEPENDS = "flex-native libusb1 pcsc-lite"

# NOTE: if this software is not capable of being built in a separate build directory
# from the source, you should replace autotools with autotools-brokensep in the
# inherit line
inherit pkgconfig autotools

# Specify any options you want to pass to the configure script using EXTRA_OECONF:
EXTRA_OECONF = ""


I get some package errors when I build this:

ERROR: QA Issue: acsccid: Files/directories were installed but not shipped in any package:
  /usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Info.plist
  /usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
acsccid: 2 installed and not shipped files. [installed-vs-shipped]


I've added some FILES = lines to try to get rid of the error to no avail:

FILES_${PN} = "${libdir}/libacsccid.so"

or:

FILES_${PN} = ".libs/libacsccid.so"

or just:

FILES_${PN} = "libacsccid.so"

and:

PACKAGE_BEFORE_PN = "info"
FILES_${PN}-info = "Info.plist"


Where can I find what the specification is for the Info.plist & libacsccid.so files so that I can properly package them. I've looked in the log files but I haven't been able to find anywhere that has something that would look like what I need to use to specify packaging up the libacsccid.so and not even installing the Info.plist file.

Thanks in advanced
Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171003/170de316/attachment.html>


More information about the yocto mailing list