Skip to content

Commit 5b0059f

Browse files
committed
Merge bitcoin/bitcoin#29999: guix: fix suggested fake date for openssl-1.1.1l
8fee535 guix: fix suggested fake date for openssl -1.1.1l (Sjors Provoost) Pull request description: Using `2020-10-01` as the fake timestamp will cause many test failures with `/gnu/store/bfirgq65ndhf63nn4q6vlkbha9zd931q-openssl-1.1.1l.drv`. I didn't investigate why, but I guess because it's _before_ the test certificates were created. They expired in June 2022. I tried a month before that, which worked. Also fixes layout of instructions. ACKs for top commit: achow101: ACK 8fee535 maflcko: review ACK 8fee535 Tree-SHA512: df5dd3aa961e25bd57d0b8b73daeb3ec76856b06e35277f24b6b19be81774512228f75e2b779afa8ea92fcc39beb869f43e0c57fba19ad16a82812e7c0bea38b
2 parents ba5fdd1 + 8fee535 commit 5b0059f

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

contrib/guix/INSTALL.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,8 @@ More information: https://github.com/python/cpython/issues/81765
671671
OpenSSL includes tests that will fail once some certificate has expired.
672672
The workarounds from the GnuTLS section immediately below can be used.
673673
674+
For openssl-1.1.1l use 2022-05-01 as the date.
675+
674676
### GnuTLS: test-suite FAIL: status-request-revoked
675677
676678
*The derivation is likely identified by: `/gnu/store/vhphki5sg9xkdhh2pbc8gi6vhpfzryf0-gnutls-3.6.12.drv`*
@@ -705,11 +707,12 @@ authorized.
705707
This workaround was described [here](https://issues.guix.gnu.org/44559#5).
706708
707709
Basically:
708-
2. Turn off NTP
709-
3. Set system time to 2020-10-01
710-
4. guix build --no-substitutes /gnu/store/vhphki5sg9xkdhh2pbc8gi6vhpfzryf0-gnutls-3.6.12.drv
711-
5. Set system time back to accurate current time
712-
6. Turn NTP back on
710+
711+
1. Turn off NTP
712+
2. Set system time to 2020-10-01
713+
3. guix build --no-substitutes /gnu/store/vhphki5sg9xkdhh2pbc8gi6vhpfzryf0-gnutls-3.6.12.drv
714+
4. Set system time back to accurate current time
715+
5. Turn NTP back on
713716
714717
For example,
715718

0 commit comments

Comments
 (0)