Open rwbr opened 7 years ago
cat /workdir/build/tmp/work/x86_64-linux/mpfr-native/3.1.3-r0/temp/log.do_patch.177
DEBUG: Executing python function do_patch
DEBUG: Executing python function patch_do_patch
DEBUG: Searching for long-long-thumb.patch in paths:
/workdir/meta/recipes-support/mpfr/mpfr-3.1.3/poky
/workdir/meta/recipes-support/mpfr/mpfr/poky
/workdir/meta/recipes-support/mpfr/files/poky
/workdir/meta/recipes-support/mpfr/mpfr-3.1.3/
/workdir/meta/recipes-support/mpfr/mpfr/
/workdir/meta/recipes-support/mpfr/files/
/workdir/meta/recipes-support/mpfr/mpfr-3.1.3/x86-64
/workdir/meta/recipes-support/mpfr/mpfr/x86-64
/workdir/meta/recipes-support/mpfr/files/x86-64
/workdir/meta/recipes-support/mpfr/mpfr-3.1.3/
/workdir/meta/recipes-support/mpfr/mpfr/
/workdir/meta/recipes-support/mpfr/files/
NOTE: Applying patch 'long-long-thumb.patch' (../meta/recipes-support/mpfr/mpfr-3.1.3/long-long-thumb.patch)
ERROR: [Errno 20] Not a directory
DEBUG: Python function patch_do_patch finished
DEBUG: Python function do_patch finished
ERROR: Function failed: patch_do_patch
I don't know if I'm necrobumping this, but the solution might be helpful. OS X uses a case insensitive fs (HFS+, APFS by default are case insensitive), which causes this issue. This lead for oe devs to introduce a patch to detect case stupid file systems (link: http://lists.openembedded.org/pipermail/openembedded-commits/2017-July/208737.html) General suggestions is: create additional filesystem, case sensitive and mount that to docker container
Easiest solution is just to use the volume, since the volume will be created in the linux VM.
For example:
$ docker volume create yocto
$ docker run --rm -it -v yocto:/workdir -v `pwd`/workdir:/home/yoctouser/workdir crops/poky
The idea being that the yocto volume gets mounted to /workdir inside the container, here you can download code and run / build it. Then the current working directory on your host will have a folder called workdir mounted through to the home user folder and you can copy files back and forth if you need to get your binaries out or other files in.
macOS 10.12..6 Docker for Mac version 17.06.0-ce, build 02c1d87 Poky path krogoth
Following your instructions the build stops at the mpfr package