Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
While doing a mingw guix build on a clean image, osslsigncode fails to build with error
0\note: keeping build directory `/tmp/guix-build-osslsigncode-2.5.drv-0'
1builder for `/gnu/store/7sm633fs4y8n6cgd9lnqkc19ccrbkxr4-osslsigncode-2.5.drv' failed with exit code 1
2build of /gnu/store/7sm633fs4y8n6cgd9lnqkc19ccrbkxr4-osslsigncode-2.5.drv failed
3View build log at '/var/log/guix/drvs/7s/m633fs4y8n6cgd9lnqkc19ccrbkxr4-osslsigncode-2.5.drv.gz'.
4note: keeping build directory `/tmp/guix-build-gcc-13.3.0.tar.xz.drv-0'
5note: keeping build directory `/tmp/guix-build-binutils-2.38.tar.xz.drv-0'
6guix shell: error: build of `/gnu/store/7sm633fs4y8n6cgd9lnqkc19ccrbkxr4-osslsigncode-2.5.drv' failed
Looking at the logs, you can see that the error is produced by a failed test due to expired cert
0Error: Expired CA certificate:
1 Signer [#0](/bitcoin-bitcoin/0/):
2 Subject: /C=PL/O=osslsigncode/OU=Certification Authority/CN=Intermediate CA
3 Issuer : /C=PL/O=osslsigncode/OU=Certification Authority/CN=Root CA
4 Serial : 50F083176D60DACA4AEF9E7B1D9521A92C4196D3
5 Certificate expiration date:
6 notBefore : Jan 1 00:00:00 2018 GMT
7 notAfter : Jan 1 00:00:00 2026 GMT
8
9
10X509_verify_cert: certificate verify error: certificate has expired
11Signature CRL verification: failed
12Signature verification: failed
Faking the time to 2025 before the container preparation and then doing a normal build with the right time works normally.
Expected behaviour
Ideally there should be no timebombs creating guix environments
Steps to reproduce
Try a guix build from a recently created container, updating the whole time-machine
Relevant log output
No response
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
v30.1
Operating system and version
Fedora 43
Machine specifications
No response