[yocto] Help with mosquitto_1.3.4 recipe

Edward Wingate edwingate8 at gmail.com
Mon Apr 11 13:59:17 PDT 2016


The first time I used mosquitto_1.3.4.bb from
meta-intel-iot-middleware a few months ago, it worked and I've been
using it in my build since.  Today, I created a new yocto build
directory and having trouble getting mosquitto to build now.

The directory /yocto/poky/build/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/mosquitto/1.3.4-r0/mosquitto-1.3.4
is empty, whereas in my original build directory, the mosquitto source
is there.  I don't see any errors in log.do_fetch, but the error comes
during do_configure:

WARNING: Could not copy license file
/yocto/poky/build/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/mosquitto/1.3.4-r0/mosquitto-1.3.4/LICENSE.txt
to /yocto/poky/build/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/mosquitto/1.3.4-r0/license-destdir/mosquitto/LICENSE.txt:
[Errno 2] No such file or directory:
'/yocto/poky/build/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/mosquitto/1.3.4-r0/mosquitto-1.3.4/LICENSE.txt'
ERROR: Function failed: mosquitto: LIC_FILES_CHKSUM points to an
invalid file: /yocto/poky/build/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/mosquitto/1.3.4-r0/mosquitto-1.3.4/LICENSE.txt
ERROR: Logfile of failure stored in:
/yocto/poky/build/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/mosquitto/1.3.4-r0/temp/log.do_configure.31424
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| DEBUG: Shell function do_configure finished
| DEBUG: Executing python function do_qa_configure
| NOTE: Checking autotools environment for common misconfiguration
| DEBUG: Python function do_qa_configure finished
| ERROR: Function failed: mosquitto: LIC_FILES_CHKSUM points to an
invalid file: /yocto/poky/build/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/mosquitto/1.3.4-r0/mosquitto-1.3.4/LICENSE.txt
ERROR: Task 388
(/yocto/meta-intel-iot-middleware/recipes-connectivity/mosquitto/mosquitto_1.3.4.bb,
do_configure) failed with exit code '1'

Can anyone suggest where to look next to debug this? log.do_fetch
doesn't show any errors.  I am using fido branch of poky and this
revision of meta-intel-iot-middleware:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-iot-middleware/commit/?id=cfdd40032ca389bc1359a8b2e13e1da8f21e2561
(before the mosquitto recipe was upgraded to 1.4)

Thanks,
Ed



More information about the yocto mailing list