Package: libdpkg-perl
Version: 1.18.4

The Meson package is running debtests that compile a test project
separately with gcc and clang. This has started failing with an error
message from libdpkg-perl. The full log is here:

https://ci.debian.net/data/packages/unstable/amd64/m/meson/20160218_083321.autopkgtest.log.gz

The log shows that Meson's test runs successfully but something prints this:

Can't exec "gcc": No such file or directory at
/usr/share/perl5/Dpkg/Arch.pm line 126.
dpkg-architecture: warning: cannot determine CC system type, falling back
to default (native compilation)

It seems that libdpkg-perl gets confused by the fact that clang is
installed on the system but gcc is not and prints a warning to stderr. This
causes Debian's test runner to flag the test as a failure even though the
actual test passes. I don't know what calls into libdpkg-perl or why, the
test itself does not do that.

It seems like libdpkg-perl should be able to handle a missing gcc and fall
back to using clang instead.

Thanks,

Reply via email to