[Debian-med-packaging] Bug#971408: simde: FTBFS when dpkg-buildflags passes -ffile-prefix-map

Michael R. Crusoe crusoe at debian.org
Sat Nov 21 14:34:06 GMT 2020


On Sat, 03 Oct 2020 09:38:03 -0700 Vagrant Cascadian
<vagrant at reproducible-builds.org> wrote:
> On 2020-09-29, Vagrant Cascadian wrote:
> > When run with DEB_BUILD_OPTIONS=reproducible=+fixfilepath, simde FTBFS:
> >
> > clang: error: unknown argument: '-ffile-prefix-map=/<<PKGBUILDDIR>>=.'
> >
> > This is because clang 10 is the first version to support
> > -ffile-prefix-map, and simde is building with the default clang version
> > 9.
> >
> > The attached patch updates to clang-10 to fix this issue.
>
> Though clang 11 might become the default for bullseye, in which case
> this would be a needless change; I haven't tested if simde builds fine
> with clang 11.

Thank you Vagrant for reporting this issue and your patch.

SIMDe is a header-only library, the compilation is just to test the
library against the default GCC & clang versions in Debian. I would
prefer to keep testing the default versions, to get ahead of any bugs
that might appear.

I guess testing for all versions of clang and gcc in Debian could be
done as part of the package building and autopkgtest.

So I'm leaning towards adding the other fix of disabling setting
DEB_BUILD_MAINT_OPTIONS=reproducible=-fixfilepath+fixdebugpath

What do you think?

-- 
Michael R. Crusoe


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20201121/c6bf25e3/attachment.sig>


More information about the Debian-med-packaging mailing list