Discussion:
[yocto] busybox build failure
Matthew Singer
2018-10-30 12:48:49 UTC
Permalink
I turned on syslog in busybox via its menu config and the build now fails
with the following error


ERROR: busybox-1.24.1-r0 do_package: QA Issue: busybox: Files/directories
were installed but not shipped in any package:
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/busybox-syslog.service
Please set FILES such that these items are packaged. Alternatively if they
are unneeded, avoid installing them or delete them within do_install.
busybox: 4 installed and not shipped files. [installed-vs-shipped]
ERROR: busybox-1.24.1-r0 do_package: Fatal QA errors found, failing task.
ERROR: busybox-1.24.1-r0 do_package: Function failed: do_package
ERROR: Logfile of failure stored in:
/home/keyw/projects/phytec/yocto/build/tmp/work/cortexa9hf-neon-phytec-linux-gnueabi/busybox/1.24.1-r0/temp/log.do_package.15516
Andre McCurdy
2018-10-30 20:44:16 UTC
Permalink
I turned on syslog in busybox via its menu config and the build now fails with the following error
The correct way to turn on syslog in busybox is to ensure that
"file://syslog.cfg" is included in SRC_URI.

However, it looks like it's included by default so in your case you
may need to find and disable a custom local .bbappend etc which is
removing it?

In general, if a busybox config fragment exists for a particular
feature then it should be used (added or removed from SRC_URI) to
enable or disable that feature. Manually editing the busybox config
should be reserved for features which don't have their own config
fragment.
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/busybox-syslog.service
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
busybox: 4 installed and not shipped files. [installed-vs-shipped]
ERROR: busybox-1.24.1-r0 do_package: Fatal QA errors found, failing task.
ERROR: busybox-1.24.1-r0 do_package: Function failed: do_package
ERROR: Logfile of failure stored in: /home/keyw/projects/phytec/yocto/build/tmp/work/cortexa9hf-neon-phytec-linux-gnueabi/busybox/1.24.1-r0/temp/log.do_package.15516
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--

Loading...