| From: | Christoph Berg <christoph(dot)berg(at)credativ(dot)de> |
|---|---|
| To: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Reproducible builds: genbki.pl vs schemapg.h |
| Date: | 2017-12-15 10:22:23 |
| Message-ID: | 20171215102223.GB31812@msg.df7cb.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
Debian's reproducible builds project has revealed that the full build
path gets embedded into server/catalog/schemapg.h:
/*-------------------------------------------------------------------------
*
* schemapg.h
* Schema_pg_xxx macros for use by relcache.c
*
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* NOTES
* ******************************
* *** DO NOT EDIT THIS FILE! ***
* ******************************
*
* It has been GENERATED by /build/postgresql-11-05gRdu/build/../src/backend/catalog/genbki.pl
*
*-------------------------------------------------------------------------
*/
This information will vary on rebuilding the binaries, needlessly
causing different checksums.
I'm proposing to strip that down to "It has been GENERATED genbki.pl".
Patch attached.
Christoph
| Attachment | Content-Type | Size |
|---|---|---|
| reproducible-genbki.patch | text/x-diff | 675 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christoph Berg | 2017-12-15 10:46:16 | Package version in PG_VERSION and version() |
| Previous Message | Stefan Keller | 2017-12-15 10:03:33 | Re: GSoC 2018 |