Re: Bug#1030785: -ffile-prefix-map option and reproducibility

2023-02-14 Thread Niko Tyni
On Tue, Feb 14, 2023 at 05:07:49PM +0200, Peter Pentchev wrote: > Right, when I said "record the compiler flags", I did not mean "and always > pass them on verbatim". I think you may already know this, since you talk > about Python, but yeah, in Python's case things are really not that simple. >

Re: Bug#1030785: -ffile-prefix-map option and reproducibility

2023-02-14 Thread Peter Pentchev
On Tue, Feb 14, 2023 at 09:51:50AM +, Simon McVittie wrote: > On Tue, 14 Feb 2023 at 10:21:31 +0200, Peter Pentchev wrote: > > I can't speak of many other systems, but at least with Perl's XS > > (the standard way to write Perl modules parts of which are compiled C code) > > and two of the

Re: Bug#1030785: -ffile-prefix-map option and reproducibility

2023-02-14 Thread Simon McVittie
On Tue, 14 Feb 2023 at 10:21:31 +0200, Peter Pentchev wrote: > I can't speak of many other systems, but at least with Perl's XS > (the standard way to write Perl modules parts of which are compiled C code) > and two of the ways this can be done in Python, it is the same: > the C compiler's name

Re: Bug#1030785: -ffile-prefix-map option and reproducibility

2023-02-14 Thread Peter Pentchev
On Tue, Feb 14, 2023 at 09:04:47AM +0100, Stéphane Glondu wrote: > Hi, > > Le 08/02/2023 à 10:58, Emilio Pozuelo Monfort a écrit : > > What is the purpose of having the build flags in a file in the .deb? > > ocamlc can act as a driver for the C compiler, to compile C stubs with the > "right"

Re: Bug#1030785: -ffile-prefix-map option and reproducibility

2023-02-14 Thread Stéphane Glondu
Hi, Le 08/02/2023 à 10:58, Emilio Pozuelo Monfort a écrit : What is the purpose of having the build flags in a file in the .deb? ocamlc can act as a driver for the C compiler, to compile C stubs with the "right" flags. These flags are basically the CFLAGS ocaml was compiled with, plus some

Re: Bug#1030785: -ffile-prefix-map option and reproducibility

2023-02-08 Thread Vagrant Cascadian
On 2023-02-08, Stéphane Glondu wrote: > Thank you all for your answers! > > Using: > >DEB_BUILD_MAINT_OPTIONS=reproducible=-fixfilepath,-fixdebugpath > > makes the package unreproducible in another way that seems difficult to fix. Most likely reintroducing the things that the

Re: Bug#1030785: -ffile-prefix-map option and reproducibility

2023-02-08 Thread Stéphane Glondu
Thank you all for your answers! Using: DEB_BUILD_MAINT_OPTIONS=reproducible=-fixfilepath,-fixdebugpath makes the package unreproducible in another way that seems difficult to fix. Le 07/02/2023 à 19:12, Mattia Rizzolo a écrit : I actually propose to you to filter out the whole option from