[pacman-dev] [PATCH] makepkg: record build information in .BUILDINFO
This information can be used to reproduce build conditions, which can then be
used to determine if a package builds reproducibly.
Signed-off-by: Allan McRae
Nice idea! But what about: - LDLIBS? (And possibly other variables?) - Autotools' configure options? - non-C/C++ packages? It is probably hard to centralize this kind of information indepently of the language / compiler. However adding CFLAGS, etc., to non-C/C++ packages will create unnecessary noise. -- Pierre Neidhardt Television is a medium because anything well done is rare. -- attributed to both Fred Allen and Ernie Kovacs
On 03/10/15 18:01, Pierre Neidhardt wrote:
Nice idea! But what about: - LDLIBS? (And possibly other variables?) - Autotools' configure options? - non-C/C++ packages?
All of those are standard makepkg.conf options. Anything beyond that should be specified in the PKGBUILD for a build to be deterministic.
It is probably hard to centralize this kind of information indepently of the language / compiler. However adding CFLAGS, etc., to non-C/C++ packages will create unnecessary noise.
On Sat, 3 Oct 2015 22:18:17 +1000
Allan McRae
On 03/10/15 18:01, Pierre Neidhardt wrote:
Nice idea! But what about: - LDLIBS? (And possibly other variables?) - Autotools' configure options? - non-C/C++ packages?
All of those are standard makepkg.conf options. Anything beyond that should be specified in the PKGBUILD for a build to be deterministic.
Except they change over time.
It is probably hard to centralize this kind of information indepently of the language / compiler. However adding CFLAGS, etc., to non-C/C++ packages will create unnecessary noise.
On 04/10/15 00:30, Doug Newgard wrote:
On Sat, 3 Oct 2015 22:18:17 +1000 Allan McRae
wrote: On 03/10/15 18:01, Pierre Neidhardt wrote:
Nice idea! But what about: - LDLIBS? (And possibly other variables?) - Autotools' configure options? - non-C/C++ packages?
All of those are standard makepkg.conf options. Anything beyond that should be specified in the PKGBUILD for a build to be deterministic.
Except they change over time.
Which is exactly the point of recording them...
participants (3)
-
Allan McRae
-
Doug Newgard
-
Pierre Neidhardt