[yocto] Help with cleaning/rebuidling

Yann CARDAILLAC yann.cardaillac at smile.fr
Fri Feb 1 07:57:07 PST 2019


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.

Regards,

On Mon, Jan 28, 2019 at 6:19 PM Edward Wingate <edwingate8 at 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.lehmann at 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


-- 
[image: SMILE] <http://www.smile.eu/>

20 rue des Jardins
92600 Asnières-sur-Seine
*Yann CARDAILLAC*
Ingénieur Linux Embarqué

[image: email] yann.cardaillac at smile.fr
[image: url] http://www.smile.eu

[image: Twitter] <https://twitter.com/GroupeSmile> [image: Facebook]
<https://www.facebook.com/smileopensource> [image: LinkedIn]
<https://www.linkedin.com/company/smile> [image: Github]
<https://github.com/Smile-SA>


[image: eco] Pour la planète, n'imprimez ce mail que si c'est nécessaire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190201/3511b953/attachment-0001.html>


More information about the yocto mailing list