[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#960291: dhcpcd-dbus FTCBFS: uses the build architecture pkg-config



On Mon, Jan 03, 2022 at 03:29:07PM -0300, Leandro Cunha wrote:
> Fail in arm64.
> Ok in amd64.
> See raw.txt and tested with Salsa CI.

Yes, that's due to a regression introduced in 0.6.1-1. You can spot the
difference in the compiler when you browse build logs across that
version boundary at http://crossqa.debian.net/dhcpcd-dbus. Maybe try
applying patches faster?

The configure logic is busted around here:
https://sources.debian.org/src/dhcpcd-dbus/0.6.1-1/configure/#L123
We're in the case where CC is unset and thus set to cc. Since HOSTCC is
still unset, it doesn't try HOST-prefixed compilers then things go down.

As long as the cross build log contains "Using compiler .. cc", it's
doomed to fail.

Helmut


Reply to: