I have recently updated the contents of the configure.ac
file. As a consequence, builds on snapcraft are failing because the wrong Makefile is being generated. This is the logs of one of the failing builds
https://snapcraft.io/austin/builds/1656956
The project is hosted on GitHub and there are released assets that are generated using autotools
. There the process works as expected:
The issue is that some of the linker flags are not substituted by the snapcraft’s autotools
leading to undefined symbols (you can search for l:libunwind
), whereas they are correctly substituted in the GitHub Actions workflows.
I have tried running the same commands that snapcraft seems to execute as port of the autotools
plugin locally
autoreconf -i
./configure --prefix=
make -j4
but those also work as expected (I’m using 20.04).