[oe] [meta-oe][PATCH 1/2] lm_sensors: add ALLOW_EMPTY to lmsensors and lmsensors-config

Jack Mitchell ml at communistcode.co.uk
Tue Sep 24 10:06:58 UTC 2013


On 24/09/13 10:52, Burton, Ross wrote:
> On 24 September 2013 10:35, Jack Mitchell <ml at communistcode.co.uk> wrote:
>> When building with dev-pkgs enabled I was hitting an error lmsensors-dev
>> not available. Adding ALLOW_EMPTY allowed the empty package to be created
>> and therefore satisfy the dependancy.
> 
> Your ALLOW_EMPTY statements only apply to lmsensors and
> lmsensors-config, not lmsensors-dev (as you're using just ${PN}), and
> surely you don't need it on the lmsensors-config recipe at all.
> 
> Ross

If I take out the ALLOW_EMPTY statements I get the following do_rootfs
error:

| Collected errors:
|  * satisfy_dependencies_for: Cannot satisfy the following dependencies
for lmsensors-config-dev:
|  * 	lmsensors-config (= 1.0-r0) *
|  * opkg_install_cmd: Cannot install package lmsensors-config-dev.
|  * satisfy_dependencies_for: Cannot satisfy the following dependencies
for lmsensors-dev:
|  * 	lmsensors (= 3.3.3-r0) *
|  * opkg_install_cmd: Cannot install package lmsensors-dev.
| WARNING:
/home/jack/Work/oe-core.git/test-build/tmp-eglibc/work/cbnlcomexpress-oe-linux/cbnl-dev-image/1.0-r0/temp/run.do_rootfs.6333:1
exit 255 from
|   opkg-cl -f $INSTALL_CONF_IPK -o $INSTALL_ROOTFS_IPK
--force_postinstall --prefer-arch-to-version install `cat $1`
| ERROR: Function failed: do_rootfs (log file is located at
/home/jack/Work/oe-core.git/test-build/tmp-eglibc/work/cbnlcomexpress-oe-linux/cbnl-dev-image/1.0-r0/temp/log.do_rootfs.6333)

The only dependancy I have is lmsensors-sensord. Could it possibly be a
bug with the dev-pkgs image feature if it shouldn't be selecting these
packages for install?

Cheers,
Jack.




More information about the Openembedded-devel mailing list