Package: src:dh-ada-library Version: 7.3 Severity: important Tags: sid bookworm
not yet seen in Debian, just in Ubuntu impish with GCC 11 as the default, and link time optimizations turned on as the default: https://autopkgtest.ubuntu.com/results/autopkgtest-impish/impish/amd64/d/dh-ada-library/20210814_170557_da8aa@/log.gz As seen from the log, there are several invocations of /usr/bin/gnatgcc, but also one using /usr/bin/gcc, which then leads to the build failure when the gcc and gnatgcc versions mismatch, and the link time optimizations are turned on. So the real fix should be to not call /usr/bin/gcc, but gnatgcc instead everywhere. A work around would be to turn of link time optimizations for this package.

