Source: curl
Version: 7.86.0-2
Severity: normal

This is essentially a continuation of https://bugs.debian.org/731998,
which was fixed back in 2017 (thanks!) but has recently regressed.

The various curl -dev packages are no longer Multi-Arch: same, which is
annoying when setting up a build environment where it should be possible
to compile libcurl-dependent projects for both amd64 and i386 (or other
pairs of architectures). In particular, the Steam Runtime's SDK includes
both libcurl4-gnutls-dev:amd64 and libcurl4-gnutls-dev:i386 in versions
based on Debian 10 and 11, and I'd like to be able to continue to do that
with Debian 12.

>From comparing the binary package contents, it looks as though the only
difference is that /usr/bin/curl-config contains

    -L/usr/lib/x86_64-linux-gnu/mit-krb5

(or the equivalent for i386 or whatever other architecture) in a list of
libraries used for static linking.

This seems unnecessary: curl Build-Depends on libkrb5-dev, which allows
-lgssapi_krb5 to be found without any special LDFLAGS, and similarly
libcurl-*-dev Suggests libkrb5-dev.

I'm currently testing patches that I'm hoping will resolve this and allow
reverting the recent change that dropped the Multi-Arch: same field.

    smcv

Reply via email to