Fix 'make distclean' (or add 'make maintainer-clean'?)
--enable-sanitize and then
make-ing leaves a couple of files in
osmo-bsc/m4 (probably along with a couple of other files) that are not cleaned up by
make distclean. Seems like it's a common problem that files in
.gitignore aren't cleaned up by that command.
Those files in
osmo-bsc/m4 can lead to linker problems unresolvable by
make distclean, because the
--enable-sanitize flag is not properly cleaned up.
In my case, I ran
docker-playground/ttcn3-bsc-test/jenkins.sh with a modified docker image (in the sense that the Dockerfile points to a copy of my local repository) and got a compilation error (I think because libosmocore inside the Docker image was built without the sanitizer, not sure though).
Only manually fixing this by running
rm m4/l* in
osmo-bsc repo root dir helped.