Re: HOW To resolve : Files/directories were installed but not shipped in any package:


Randy MacLeod
 

On 2021-07-27 5:44 a.m., Alexander Raih wrote:
After modify recipe with using my repo I have this error after rebuild.
How to resolve this ?
As the log says, either don't install the file or delete them.
There are many commits that you can look at as examples:

http://cgit.openembedded.org/openembedded-core/log/?qt=grep&q=Files%2Fdirectories+were+installed+but+not+shipped+in+any+package%3A

../Randy

log:
ERROR: phosphor-user-manager-1.0+gitAUTOINC+5a6e836a71-r1
 do_package: QA Issue: phosphor-user-manager: Files/directories were installed but not shipped in any package:
  /dbus-1
  /usr/share
  /usr/share/phosphor-certificate-manager
  /usr/share/phosphor-certificate-manager/nslcd
  /dbus-1/system.d
  /dbus-1/system.d/phosphor-nslcd-cert-config.conf
  /lib/systemd/system/multi-user.target.wants

/lib/systemd/system/multi-user.target.wants/phosphor-certificate-manager@nslcd.service
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
phosphor-user-manager: 8 installed and not shipped files. [installed-vs-shipped]
ERROR: phosphor-user-manager-1.0+gitAUTOINC+5a6e836a71-r1 do_package: Fatal QA errors found, failing task.
ERROR: Logfile of failure stored in: /home/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/phosphor-user-manager/1.0+gitAUTOINC+5a6e836a71-r1/temp/log.do_package.224136
ERROR: Task (/home/openbmc/meta-phosphor/recipes-phosphor/users/phosphor-user-manager_git.bb <https://urldefense.com/v3/__http://phosphor-user-manager_git.bb__;!!AjveYdw8EvQ!MvGlXySEg6aHLl15FbgtAXUiU8QigCQo5SNkyuUXMhj_8Q2A8rmCrbs5IP8O2f-oPpObZg$>:do_package) failed with exit code '1'

--
# Randy MacLeod
# Wind River Linux

Join yocto@lists.yoctoproject.org to automatically receive all group messages.