Today i noticed that plenty of my snaps that use override-build scriptlets failed their auto-build since snapcraft 4.5.x was released … all of them are building things that require pre-processng in the source (i.e. a build in a subdir of the source tree to provide some static libs used during the actual build etc) like:
override-build: |
cd subdir/foo/bar
./configure --foo --bar=baz
make
cd -
snapcraftctl build
fails with “no such file or directory” and checking the dir it is indeed empty …
why did snapcraft stop to populate build/ ?
is there a workaround to make my snaps build again ?(despite a forced “cp -a $SNAPCRAFT_PART_SRC/* .” )