Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the build reproducible #1009

Merged

Conversation

lamby
Copy link
Contributor

@lamby lamby commented Oct 16, 2020

Whilst working on the Reproducible Builds effort I noticed that ora2pg could not be built reproducibly.

This is because it generates a comment in a config file using $$ in an attempt to get a literal $ character. But $$ inserts the
process PID (!) of the build process into the file instead.

This was originally filed in Debian as #972336.

Whilst working on the Reproducible Builds effort [0] we noticed that
ora2pg could not be built reproducibly.

This is because it generates a comment in a config file using '$$' in
an attempt to get a literal '$' character. But '$$' inserts the
process PID (!) of the build process into the file instead.

This was originally filed in Debian as #972336 [1].

 [0] https://reproducible-builds.org/
 [1] https://bugs.debian.org/972336
@darold darold merged commit bf54a0f into darold:master Oct 16, 2020
@darold
Copy link
Owner

darold commented Oct 16, 2020

I have merged your PR but there was a mistake in your patch that I have fixed with commit 8337c97. Actually we want a double dollar sign not a single one. Thanks Chris.

@lamby
Copy link
Contributor Author

lamby commented Oct 16, 2020

Hi @darold - cheers, I must have assumed "delimiter" referred to the Perl/whatever regex delimiter $, but clearly this refers to something else. Thanks for the quick merge.

@lamby lamby deleted the 972336-ora2pg-please-make-the-build-reproducible branch October 16, 2020 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants