On Fri, Feb 1, 2019 at 7:57 AM Yann CARDAILLAC <yann.cardail...@smile.fr> wrote:
> Hi Ed, > > I don't want to state the obvious but firstly did you check that you have > the stuff asked : > > > *CMake Error: The source directory "/mnt/drive/yocto/poky/build/t* > *mp/work/cortexa9-vfp-neon-poky**-linux-gnueabi/mosquitto/1.5.* > *5-r0/mosquitto-1.5.5" does not exist.* > > If > /mnt/drive/yocto/poky/build/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/mosquitto/1.5.5-r0/mosquitto-1.5.5 > is not reachable then that's the issue. > > That directory does not exist. I believe the cleanall removed that directory. The question is why doesn't bitbake make the directory and untar into it, like it did the very first time I bitbaked mosquitto? To work around this, I have to manually untar the mosquitto tarball from my DL_DIR into that directory, and then mosquitto will build properly. > Regards, > > On Mon, Jan 28, 2019 at 6:19 PM Edward Wingate <edwinga...@gmail.com> > wrote: > >> The first time I did a build, my mosquitto recipe worked. Then I did >> a 'bitbake -ccleanall mosquitto', and now when I do 'bitbake >> mosquitto', I get this error: >> >> DEBUG: Executing python function sysroot_cleansstate >> DEBUG: Python function sysroot_cleansstate finished >> DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', >> 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', >> 'common'] >> DEBUG: Executing shell function autotools_preconfigure >> DEBUG: Shell function autotools_preconfigure finished >> DEBUG: Executing python function autotools_copy_aclocals >> DEBUG: Python function autotools_copy_aclocals finished >> DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', >> 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', >> 'common'] >> DEBUG: Executing shell function do_configure >> CMake Error: The source directory >> >> "/mnt/drive/yocto/poky/build/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/mosquitto/1.5.5-r0/mosquitto-1.5.5" >> does not exist. >> Specify --help for usage, or press the help button on the CMake GUI. >> WARNING: exit code 1 from a shell command. >> ERROR: Function failed: do_configure (log file is located at >> >> /mnt/drive/yocto/poky/build/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/mosquitto/1.5.5-r0/temp/log.do_configure.37839) >> >> It seems like it doesn't fetch/unpack the source before do_configure. >> I tried to do 'bitbake -c fetch mosquitto' and 'bitbake -c unpack >> mosquitto', and they both say all tasks didn't need to be rerun. I >> forced it by adding '-f', but that didn't help either. >> >> I'm still using jethro and my mosquitto_1.5.5.bb recipe is this: >> >> === BEGIN RECIPE === >> SUMMARY = "MQTT 3.1 compliant library" >> HOMEPAGE = "https://mosquitto.org" >> MAINTAINER = "Robert Lehmann <robert.lehm...@sitec-systems.de>" >> >> LICENSE = "EPL-1.0" >> LIC_FILES_CHKSUM = >> "file://LICENSE.txt;md5=62ddc846179e908dc0c8efec4a42ef20" >> >> SRC_URI = "https://mosquitto.org/files/source/mosquitto-${PV}.tar.gz" >> SRC_URI[md5sum] = "a17dffc6f63b2a4ab2eb5c51139e60e9" >> SRC_URI[sha256sum] = >> "fcdb47e340864c545146681af7253399cc292e41775afd76400fda5b0d23d668" >> >> DEPENDS = "openssl" >> RDEPENDS_${PN} = "util-linux" >> >> inherit cmake >> >> # Specify any options you want to pass to cmake using EXTRA_OECMAKE: >> EXTRA_OECMAKE = " -DCMAKE_SKIP_RPATH=ON " >> === END RECIPE === >> >> Can anyone help with this? >> >> Thanks, >> Ed >> -- >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto >> > >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto