Reproducible builds: genbki.pl vs schemapg.h

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Reproducible builds: genbki.pl vs schemapg.h
Дата
Msg-id 20171215102223.GB31812@msg.df7cb.de
обсуждение исходный текст
Ответы Re: Reproducible builds: genbki.pl vs schemapg.h  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Stefan Keller
Дата:
Сообщение: Re: GSoC 2018
Следующее
От: Christoph Berg
Дата:
Сообщение: Package version in PG_VERSION and version()