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
Curl fails to build reproducibly #13242
Comments
I suppose we should switch to
|
Sorry, I meant locale. Why does it need to build the same output when you change locale? |
Makes it independent of the TZ setting. Reported-by: Carlos Henrique Lima Melara Ref: #13242
I think it's a goal set by the reproducible builds efforts. By their description:
The rationale would be to allow anyone to check if the provided binary matches a "build from my machine". |
I guess an easy way to solve would be to use the ISO date as |
Yeah, good thinking. I made this change as well in #13243 |
@charles2910 does #13243 fix the problems for you? |
Yes, it did fix the pipeline. Thanks! |
I did this
We have in debian a CI pipeline running for each commit in our repo (hosted in Debian's gitlab instance). We do have reprotest which builds the package twice changing the build environment and checks if they are bit by bit the same. Though they aren't the same because of the autogenerated manpages:
The cd2nroff script is correctly using SOURCE_DATE_EPOCH, but it's failing for 2 reasons, timezone variation and language variation:
Makes the day change from 27 to 28.
Is making the month different (english vs estonian).
I expected the following
To pass reprotest test and be reproducible.
curl/libcurl version
curl 8.7.1 (x86_64-pc-linux-gnu) libcurl/8.7.1 OpenSSL/3.1.5 zlib/1.2.13 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.4 libpsl/0.21.2 libssh2/1.11.0 nghttp2/1.60.0 librtmp/2.3 OpenLDAP/2.5.16
Release-Date: 2024-03-27, security patched: 8.7.1-2
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
operating system
Debian unstable
The text was updated successfully, but these errors were encountered: