On Sun, 2021-07-18 at 14:01 +1000, Simon Haines wrote:
I can't seem to find any information about this error, but I keep getting variations of this when building
Exception: NotADirectoryError: [Errno 20] Not a directory: '/home/yocto/rpi64/build/tmp/sysroots-
components/x86_64/gmp-native/usr/lib/pkgconfig/gmpxx.pc' -> '/home/yocto/rpi64/build/tmp/work/x86_64-
I'm building in a container, and I've tried building the tip of the hardknott branch, the hardknott-3.3.1
tag, and the release tarball (
http://downloads.yoctoproject.org/releases/yocto/yocto-3.3/poky-hardknott-25.0.0.tar.bz2). All fail with the
NotADirectory exception in different recipes. I've attached logs from building the hardknott-3.3.1 tag and
from the release tarball.
The additional layers I'm using are (cloned from the tip of their respective hardknott branches):
It must be something with my setup because I've searched everywhere for this issue and I can't find
anything. Does this sound familiar to anyone?
How is your container filesystem setup/configured? It looks like the filesystem
isn't liking the build trying to create hardlinked files. It is odd it would
get as far as gmp-native before having problems. That file definitely isn't a
directory too, it is an odd error.
I'd suspect it is something like the copy-on-write mode of the filesystem