From: jeremiah@pdp10.guru
To: 44559@debbugs.gnu.org
Subject: bug#44559: Solution
Date: Thu, 31 Dec 2020 00:27:09 +0000 [thread overview]
Message-ID: <87k0syddlu.fsf@ITSx01.pdp10.guru> (raw)
In-Reply-To: <87d00los2d.fsf@cbaines.net>
I created a procedure to work around the build failure and enable a
successful build:
# when gnutls-3.6.12 build breaks you need to do:
# run the following as root
# turn off networking
ip link set enp0s25 down
# Fixup the time so that the build will succeed
timedatectl set-ntp false
timedatectl set-time '2020-10-01'
# Try to build but it will absolutely fail by lack of source if you
# don't enable networking or because you enable networking.
# But turn on networking when specified below
guix time-machine --commit=94585fffb23079fe71110e2bf99782eb4ccfa12b --
# build --no-grafts --check guile3.0-gnutls
# after it finishes building
# /gnu/store/vhphki5sg9xkdhh2pbc8gi6vhpfzryf0-gnutls-3.6.12.drv
# and starts building
# /gnu/store/akm0wl58avib46g3d9razlfzfgfg8m6m-python-3.8.2.drv...
# but before it begins building
# /gnu/store/bja7gqzxr62a0akid0rpzmynzy78nkwg-zstd-1.4.4.tar.gz.drv.
# Fix the time and turn on networking as it has additional things to
# download.
# specifically
# https://github.com/facebook/zstd/releases/download/v1.4.4/zstd-1.4.4.tar.gz
# and substitutes for some reason
# failing to do so will result in you needing to repeat the above steps
# again.
timedatectl set-time '$current_date'
timedatectl set-ntp true
# turn on networking
ip link set enp0s25 up
# it'll fail building because the time is current again
# But that is fine, we now will not need networking for this build cycle
# and thus the altered time will be fine and the build will be
# successful this time
# turn off networking
ip link set enp0s25 down
# Fixup the time so that the build will succeed
timedatectl set-ntp false
timedatectl set-time '2020-10-01'
#guix build gnutls@3.6.12 finally
guix time-machine --commit=94585fffb23079fe71110e2bf99782eb4ccfa12b --
# build --no-grafts --check guile3.0-gnutls
# wait until it completes.
# Then we can put the system back in a working state
timedatectl set-time '$current_date'
timedatectl set-ntp true
# turn on networking
ip link set enp0s25 up
next prev parent reply other threads:[~2020-12-31 1:27 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-10 20:49 bug#44559: gnutls 3.6.12 fails to build: FAIL: status-request-revoked Christopher Baines
2020-11-12 21:06 ` Ludovic Courtès
2020-11-12 21:18 ` Marius Bakke
2020-11-15 11:05 ` Ludovic Courtès
2020-12-31 0:27 ` jeremiah [this message]
2021-02-16 21:00 ` bug#44559: Carl Dong
2021-02-16 21:49 ` bug#44559: Leo Famulari
2021-02-19 15:33 ` bug#44559: Ludovic Courtès
2021-02-19 18:32 ` bug#44559: Maxime Devos
2021-02-20 13:46 ` bug#44559: Ludovic Courtès
2021-02-20 14:12 ` bug#44559: Detecting “expiring” builds Ludovic Courtès
2021-02-19 23:49 ` bug#44559: Carl Dong
2021-02-22 22:36 ` bug#44559: Christopher Baines
2021-02-23 8:41 ` bug#44559: Ludovic Courtès
2021-02-23 8:55 ` bug#44559: Christopher Baines
2022-07-13 15:03 ` bug#44559: gnutls 3.6.12 fails to build: FAIL: status-request-revoked Maxim Cournoyer
2022-07-15 13:17 ` Ludovic Courtès
2022-07-16 1:33 ` Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k0syddlu.fsf@ITSx01.pdp10.guru \
--to=jeremiah@pdp10.guru \
--cc=44559@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.