Bug#1003997: libksba: reproducible-builds: build path embedded in w64/ming32 build

Vagrant Cascadian vagrant at reproducible-builds.org
Wed Jan 19 03:50:39 GMT 2022


Source: libksba
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The build path of is embedded in libksba:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libksba.html
  
                 vs.
l.c./build/1st/l     l.c./build/2/lib
ibksba-1.6.0/bui	 ksba-1.6.0/2nd/b
ld-i686-w64-ming	 uild-i686-w64-mi

This is because the default CFLAGS from dpkg-buildpackage are not
applied to the w64-ming32 builds.

The attached patch to debian/rules adds
"CFLAGS=... -ffile-prefix-map=$(CURDIR)=." to the WIN_FLAGS variable.


With this patch applied, libksba should build reproducibly on
tests.reproducible-builds.org!


Thanks for maintaining libksba!


live well,
  vagrant
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-ffile-prefix-map-via-CFLAGS-in-WIN.patch
Type: text/x-diff
Size: 1012 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnutls-maint/attachments/20220118/a855bddd/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnutls-maint/attachments/20220118/a855bddd/attachment.sig>


More information about the Pkg-gnutls-maint mailing list