Bug#1067483: postfix: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Mar 22 09:40:21 GMT 2024


Source: postfix
Version: 3.9.0-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
postfix could not be built reproducibly:

 /usr/share/doc/postfix/examples/makedefs.out
  # AUXLIBS=-lssl -lcrypto -lsasl2 -lpthread
 -# AUXLIBS_CDB=-lcdb
 +# AUXLIBS_PCRE=-lpcre2-8
 +# AUXLIBS_PGSQL=-lpq
 +# AUXLIBS_MYSQL=-lmysqlclient
 +# AUXLIBS_SQLITE=-lsqlite3
  # AUXLIBS_MONGODB=-lmongoc-1.0 -lbson-1.0

This is caused by printing the output of "env" without piping it
through sort(1) — see the attached patch. We don't need to specify
LC_ALL=C as this is already done on line 189.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Reproducible-bugs mailing list