After successfully doing "guix pull" as root, GuixSD fails to update from /gnu/store/nbpba96q5vjhr64c91s788109mj7f3y6-system (kernel 4.20.1) to current with "guix system reconfigure" due to an sha256 hash mismatch after downloading mozjs-38.2.1.rc0.
I have attempted this system reconfiguration 3 times in as many weeks and this failure always occurs for me. I am uncertain if this issue is unique to me which is why I am posting here rather than making a bug report. It could simply be a case of the mozjs-38 hash needing to be updated in gnuzilla.scm. From Guix System Reconfigure log: building /gnu/store/x1k7m8k5n39ydbayh2mn57514sh77jyp-mozjs-38.2.1.rc0.tar.bz2.drv... downloading from https://people.mozilla.org/~sstangl/mozjs-38.2.1.rc0.tar.bz2... [K mozjs-38.2.1.rc0.tar.bz2 21KiB 648KiB/s 00:00 [##################] 100.0% [K mozjs-38.2.1.rc0.tar.bz2 21KiB 644KiB/s 00:00 [##################] 100.0% sha256 hash mismatch for /gnu/store/5jwzyzqkbvan3xl7dxjysncvqssadgn4-mozjs-38.2.1.rc0.tar.bz2: expected hash: 0p4bmbpgkfsj54xschcny0a118jdrdgg0q29rwxigg3lh5slr681 actual hash: 14pxqrw81dzjdhsm5069crck7n1c3ilm84c326cbq6kf52n7a0bi hash mismatch for store item '/gnu/store/5jwzyzqkbvan3xl7dxjysncvqssadgn4-mozjs-38.2.1.rc0.tar.bz2' build of /gnu/store/x1k7m8k5n39ydbayh2mn57514sh77jyp-mozjs-38.2.1.rc0.tar.bz2.drv failed View build log at '/var/log/guix/drvs/x1/k7m8k5n39ydbayh2mn57514sh77jyp-mozjs-38.2.1.rc0.tar.bz2.drv.bz2'. building /gnu/store/a5vrq18l293v6d7vka1if47kkv566rky-libwacom-0.33.drv... cannot build derivation `/gnu/store/spilipm4wx4wvvcw28vqbdfbl5zwzj0k-mozjs-38.2.1.rc0.tar.xz.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/7hfs3l0cq7vhazmp77xpc63khag7svgp-mozjs-38.2.1.rc0.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/cf44ypf7plx0b6hkmchj0bi5dhyrdjb1-gnome-shell-3.24.3.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/g8gb2ljf9ax1zwdsh172gwn52kmaqc7h-gnome-3.24.3.drv': 1 dependencies couldn't be built guix system: error: build of `/gnu/store/g8gb2ljf9ax1zwdsh172gwn52kmaqc7h-gnome-3.24.3.drv' failed From mozjs-38.2.1.rc0 build log: Starting download of /gnu/store/5jwzyzqkbvan3xl7dxjysncvqssadgn4-mozjs-38.2.1.rc0.tar.bz2 From https://people.mozilla.org/~sstangl/mozjs-38.2.1.rc0.tar.bz2... following redirection to `https://auth.mozilla.auth0.com/authorize?response_type=code&client_id=o2e391VjmnPk0115UedNTmRL8x2nySOa&state=c3005b5429fdcba847d422e18dc04bb7&redirect_uri=https%3A%2F%2Fpeople.mozilla.org%2Fredirect_uri&nonce=088a3286d14e61c5527a5d768758b6de&scope=openid%20email%20profile'... following redirection to `https://auth.mozilla.auth0.com/login?state=g6Fo2SAtQ09hREdmNGtNOEdqWUlNSHc1bC1PYmpaRWZXRkR1RKN0aWTZIHZFVkltc1lhMU9HaExxWW9BenFuXzdKTm44bGstTlBYo2NpZNkgbzJlMzkxVmptblBrMDExNVVlZE5UbVJMOHgybnlTT2E&client=o2e391VjmnPk0115UedNTmRL8x2nySOa&protocol=oauth2&response_type=code&redirect_uri=https%3A%2F%2Fpeople.mozilla.org%2Fredirect_uri&nonce=088a3286d14e61c5527a5d768758b6de&scope=openid%20email%20profile'... @ download-started /gnu/store/5jwzyzqkbvan3xl7dxjysncvqssadgn4-mozjs-38.2.1.rc0.tar.bz2 https://people.mozilla.org/~sstangl/mozjs-38.2.1.rc0.tar.bz2 21123 @ download-progress /gnu/store/5jwzyzqkbvan3xl7dxjysncvqssadgn4-mozjs-38.2.1.rc0.tar.bz2 https://people.mozilla.org/~sstangl/mozjs-38.2.1.rc0.tar.bz2 21123 21123 @ download-progress /gnu/store/5jwzyzqkbvan3xl7dxjysncvqssadgn4-mozjs-38.2.1.rc0.tar.bz2 https://people.mozilla.org/~sstangl/mozjs-38.2.1.rc0.tar.bz2 21123 21123 @ download-succeeded /gnu/store/5jwzyzqkbvan3xl7dxjysncvqssadgn4-mozjs-38.2.1.rc0.tar.bz2 https://people.mozilla.org/~sstangl/mozjs-38.2.1.rc0.tar.bz2 21123 The mozjs-38 definition as found in gnuzilla.scm: (define-public mozjs-38 (package (inherit mozjs) (name "mozjs") (version "38.2.1.rc0") (source (origin (method url-fetch) (uri (string-append " https://people.mozilla.org/~sstangl/ " name "-" version ".tar.bz2")) (sha256 (base32 "0p4bmbpgkfsj54xschcny0a118jdrdgg0q29rwxigg3lh5slr681")) (patches (search-patches ;; See https://bugzilla.mozilla.org/show_bug.cgi?id=1269317 for ;; GCC 6 compatibility. "mozjs38-version-detection.patch" ; for 0ad "mozjs38-tracelogger.patch" ;; See https://bugzilla.mozilla.org/show_bug.cgi?id=1339931 . "mozjs38-pkg-config-version.patch" "mozjs38-shell-version.patch")) (modules '((guix build utils))) (snippet '(begin ;; Fix incompatibility with sed 4.4. (substitute* "js/src/configure" (("\\^\\[:space:\\]") "^[[:space:]]")) ;; The headers are symlinks to files that are in /tmp, so they ;; end up broken. Copy them instead. (substitute* "python/mozbuild/mozbuild/backend/recursivemake.py" (("\\['dist_include'\\].add_symlink") "['dist_include'].add_copy")) ;; Remove bundled libraries. (for-each delete-file-recursively '("intl" "js/src/ctypes/libffi" "js/src/ctypes/libffi-patches" "modules/zlib")) #t)))) (arguments `(;; XXX: parallel build fails, lacking: ;; mkdir -p "system_wrapper_js/" #:parallel-build? #f ;; See https://bugzilla.mozilla.org/show_bug.cgi?id=1008470 . #:tests? #f #:phases (modify-phases %standard-phases (replace 'configure (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (chdir "js/src") (setenv "SHELL" (which "sh")) (setenv "CONFIG_SHELL" (which "sh")) (invoke "./configure" (string-append "--prefix=" out) "--enable-ctypes" "--enable-gcgenerational" "--enable-optimize" "--enable-pie" "--enable-readline" "--enable-shared-js" "--enable-system-ffi" "--enable-threadsafe" "--enable-xterm-updates" "--with-system-icu" "--with-system-nspr" "--with-system-zlib" ;; Intl API requires bundled ICU. "--without-intl-api"))))))) (native-inputs `(("perl" ,perl) ("pkg-config" ,pkg-config) ("python-2" ,python-2))) (inputs `(("libffi" ,libffi) ("readline" ,readline) ("icu4c" ,icu4c) ("zlib" ,zlib)))))