bug#28731: guix weather backtrace on https://mirror.guixsd.org
Hi, Jan Nieuwenhuizenskribis: > Running guix weather on latest master* gives me > > computing 6,224 package derivations for x86_64-linux... > looking for 6,486 store items on https://mirror.hydra.gnu.org... > updating list of substitutes from 'https://mirror.hydra.gnu.org'... > 0.0%Backtrace: > 10 (primitive-load "/home/janneke/bin/guix") > In guix/ui.scm: > 1375:12 9 (run-guix-command _ . _) > In ice-9/boot-9.scm: > 837:9 8 (catch _ _ # c)> _) > 837:9 7 (catch _ _ # proc format-string format-args . r…> …) > In srfi/srfi-1.scm: > 640:9 6 (for-each # guix/scripts/weather.scm:228:16 (server)> ("https://mirror.hyd…;)) > In guix/scripts/weather.scm: > 99:17 5 (call-with-time _ # guix/scripts/weather.scm:113:2 (time narinfos)>) > In unknown file: >4 (_ # > # #) > In guix/scripts/substitute.scm: >711:23 3 (lookup-narinfos _ _) >664:23 2 (fetch-narinfos _ _) > 567:8 1 (http-multiple-get #< scheme: https userinfo: #f host: > "mirror.hydra.gnu.org" port: #f path…> …) > In unknown file: >0 (put-bytevector # #vu8(71 69 84 32 > 47 57 48 100 104 50 114 54 107 …) …) > > ERROR: In procedure put-bytevector: > ERROR: Throw to key `gnutls-error' with args `(# temporarily unavailable, try again.> write_to_session_record_port)'. I believe this is fixed by this commit: http://git.savannah.gnu.org/cgit/guix.git/commit/?id=d213cc8c7f085428e3c64243b0d163423e4bb5f6 The crux of the problem was that we were sending too many requests at once, and for some reason the server would close the connection prematurely (in HTTPS, not HTTP). It didn’t make sense to send too many connections at once anyway, because the server won’t accept that many (see ‘keepalive_requests’ in nginx), so the commit above sets a maximum. The problem could be reproduced with: --8<---cut here---start->8--- (use-modules (guix scripts substitute) (guix build utils) (web request) (web uri) (srfi srfi-1) (gnutls)) (define base-url (or (getenv "URL") "https://mirror.hydra.gnu.org;)) (define base-uri (string->uri base-url)) (define index.html (build-request (string->uri (string-append base-url "/nix-cache-info" ;; "/.narinfo" ;; "/yihvhxv3xyyvl1m2cy1lnf1lyi9h76fk.narinfo" (define http-multiple-get (@@ (guix scripts substitute) http-multiple-get)) ;; (set-log-level! 5) ;; (set-log-procedure! (lambda (level message) ;; (display message))) (let ((requests (make-list 10 index.html))) (http-multiple-get base-uri (lambda (req resp port result) (dump-port port (%make-void-port "w")) (cons 'x result)) '() requests)) --8<---cut here---end--->8--- Thanks, Ludo’.
bug#28965: guix pull: error: build failed: build of guix-latest.drv failed
sirgazilskribis: > This bug is a duplicate of > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28956 , which is now fixed. Indeed, sorry for the inconvenience! Ludo’.
bug#29021: gnu: biber@2.7: "check" phase fails at "dateformats.t" tests
When attempting: $ guix package --fallback -i biber This is the interesting part of the output: --8<---cut here---start->8--- starting phase `configure' running `perl' with arguments ("Build.PL" "--prefix=/gnu/store/0mkxal471rqb55zvnqrapp970irzdb5i-biber-2.7" "--installdirs=site") WARNING: the following files are missing in your kit: META.json META.yml Please inform the author. Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'biblatex-biber' version '2.7' phase `configure' succeeded after 0.6 seconds starting phase `patch-generated-file-shebangs' phase `patch-generated-file-shebangs' succeeded after 0.0 seconds starting phase `build' Building biblatex-biber phase `build' succeeded after 0.7 seconds starting phase `check' --8<---cut here---end--->8--- --8<---cut here---start->8--- t/crossrefs.t .. ok Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30 ), passed through in regex; marked by <-- HERE in m/}(\pM+\pL){ <-- HERE (?!\pL+ \\)/ at /tmp/guix-build-biber-2.7.drv-0/biber-2.7/blib/lib/Biber/LaTeX/Recode.pm line 316. # Failed test 'Extended years - 1' # at t/dateformats.t line 684. # --- Got # +++ Expected # @@ -1 +1 @@ # --638829 # +1702 # Failed test 'Extended years - 2' # at t/dateformats.t line 685. # --- Got # +++ Expected # @@ -1 +1 @@ # --5240781 # +-1702 # Looks like you failed 2 tests of 45. t/dateformats.t Dubious, test returned 2 (wstat 512, 0x200) Failed 2/45 subtests --8<---cut here---end--->8--- --8<---cut here---start->8--- Test Summary Report --- t/dateformats.t (Wstat: 512 Tests: 45 Failed: 2) Failed tests: 43-44 Non-zero exit status: 2 Files=43, Tests=1061, 78 wallclock secs ( 0.64 usr 0.14 sys + 59.30 cusr 16.42 csys = 76.50 CPU) Result: FAIL Failed 1/43 test programs. 2/1061 subtests failed. phase `check' failed after 79.2 seconds builder for `/gnu/store/07p6wbr4j2j3qy4151z0gak2dylwhrkm-biber-2.7.drv' failed with exit code 1 guix package: error: build failed: build of `/gnu/store/07p6wbr4j2j3qy4151z0gak2dylwhrkm-biber-2.7.drv' failed --8<---cut here---end--->8--- The other parts are related to unescaped left braces, because Perl now changed how the regular expressions work in the language of the same name. -- - https://libreplanet.org/wiki/User:Adfeno - Palestrante e consultor sobre /software/ livre (não confundir com gratis). - "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar instantaneamente comigo no endereço abaixo. - Contato: https://libreplanet.org/wiki/User:Adfeno#vCard - Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft Office, MP3, MP4, WMA, WMV. - Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF (apenas sem DRM), PNG, TXT, WEBM.
bug#28951: [PATCH] Re: bug#28951: The upstream URL of our Synergy package is broken
Hello Ludovic! l...@gnu.org (Ludovic Courtès) writes: > Maxim Cournoyerskribis: > >> Hello, here's what attempting to fetch the source URL gives us: >> >> Starting download of /tmp/fileLHAs7Q/upstream-synergy-1.8.8.tar.gz >> From https://github.com/symless/synergy/archive/v1.8.8-stable.tar.gz... >> ERROR: download failed >> "https://github.com/symless/synergy/archive/v1.8.8-stable.tar.gz; 404 "Not >> Found" >> failed to download "/tmp/fileLHAs7Q/upstream-synergy-1.8.8.tar.gz" from >> "https://github.com/symless/synergy/archive/v1.8.8-stable.tar.gz; > > Fortunately we get a copy from the mirror: > > $ guix build -S synergy --no-substitutes > La jenaj derivoj estos konstruataj: >/gnu/store/l9ya3x5xa8ii4xrhcx0zyhcr5759qpk2-synergy-1.8.8.tar.xz.drv >/gnu/store/jssil3viszqr1m9ddj7j2mszrgk7hcpd-synergy-1.8.8.tar.gz.drv > @ build-started > /gnu/store/jssil3viszqr1m9ddj7j2mszrgk7hcpd-synergy-1.8.8.tar.gz.drv - > x86_64-linux > /var/log/guix/drvs/js//sil3viszqr1m9ddj7j2mszrgk7hcpd-synergy-1.8.8.tar.gz.drv.bz2 > > Starting download of > /gnu/store/fzqf9apmladp4vg4vrvvnvb7gnrm4wry-synergy-1.8.8.tar.gz > From https://github.com/symless/synergy/archive/v1.8.8-stable.tar.gz... > ERROR: download failed > "https://github.com/symless/synergy/archive/v1.8.8-stable.tar.gz; 404 "Not > Found" > > Starting download of > /gnu/store/fzqf9apmladp4vg4vrvvnvb7gnrm4wry-synergy-1.8.8.tar.gz > From > http://mirror.hydra.gnu.org/file/synergy-1.8.8.tar.gz/sha256/16vxbly4a33c63da3kmj7j47cam583l7bip33jc43mw173wqihw5... > ...m583l7bip33jc43mw173wqihw5 12.9MiB 873KiB/s 00:15 [] > 100.0% > @ build-succeeded > /gnu/store/jssil3viszqr1m9ddj7j2mszrgk7hcpd-synergy-1.8.8.tar.gz.drv - > >> It seems the repo was reorganized; potentially we should now use >> https://github.com/symless/synergy-core instead of >> https://github.com/symless/synergy. > > That will also change the tarball hash. Could you post a patch? > > Thanks for the report! > > Ludo’. Patch attached. Transcript of my investigation below, as a proof that due diligence was done in updating the hash. I reused the (fiasco finder) script: --8<---cut here---start->8--- [manually changed package's URI to then the one] synergy verifying package hash... Starting download of /tmp/file9IHVag/upstream-synergy-1.8.8.tar.gz >From https://github.com/symless/synergy-core/archive/v1.8.8-stable.tar.gz... following redirection to `https://codeload.github.com/symless/synergy-core/tar.gz/v1.8.8-stable'... …-stable 12.9MiB 1.7MiB/s 00:07 [] 100.0% Starting download of /tmp/file9IHVag/substitute-synergy-1.8.8.tar.gz >From >https://berlin.guixsd.org/file/synergy-1.8.8.tar.gz/sha256/16vxbly4a33c63da3kmj7j47cam583l7bip33jc43mw173wqihw5... …m583l7bip33jc43mw173wqihw5 12.9MiB 1.7MiB/s 00:07 [] 100.0% Diff saved to /home/maxim/src/guile-hacks/fiasco/tar-diffs/upstream-synergy-1.8.8.tar.gz-substitute-synergy-1.8.8.tar.gz.diff: Only in /tmp/filetUzluo/archive2: synergy-1.8.8-stable Only in /tmp/filetUzluo/archive1: synergy-core-1.8.8-stable synergy Guix hash: "16vxbly4a33c63da3kmj7j47cam583l7bip33jc43mw173wqihw5" synergy upstream hash: "052z1yiwck9hlshf8in2dgz6p7jxmq9yfj32mfzjaygpz6mmmr4y" synergy hash NOK synergy requires manual verification The following packages require manual verification: lxqt-common version 0.9.1 synergy version 1.8.8 Attempting to repair the hashes of 0 packages... maxim@apteryx ~/src/guile-hacks/fiasco$ diff -ru /tmp/filetUzluo/archive2 /tmp/filetUzluo/archive1 Only in /tmp/filetUzluo/archive2: synergy-1.8.8-stable Only in /tmp/filetUzluo/archive1: synergy-core-1.8.8-stable maxim@apteryx ~/src/guile-hacks/fiasco$ mv /tmp/filetUzluo/archive2/synergy-1.8.8-stable/ /tmp/filetUzluo/archive2/synergy-core-1.8.8-stable/ maxim@apteryx ~/src/guile-hacks/fiasco$ diff -ru /tmp/filetUzluo/archive2 /tmp/filetUzluo/archive1 --8<---cut here---end--->8--- Maxim >From 69b6fb09ba7d40a94b6b0fe34677030e3590069e Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 26 Oct 2017 08:11:38 -0400 Subject: [PATCH] gnu: synergy: Update repository URI and hash. * gnu/packages/synergy.scm (synergy)[uri]: Replace synergy by synergy-core. [sha256]: Update to reflect the name change of the archive root directory. --- gnu/packages/synergy.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/synergy.scm b/gnu/packages/synergy.scm index 79f7ca081..310a0f619 100644 --- a/gnu/packages/synergy.scm +++ b/gnu/packages/synergy.scm @@ -38,12 +38,12 @@ (source (origin (method url-fetch) - (uri (string-append "https://github.com/symless/synergy/archive/; + (uri (string-append "https://github.com/symless/synergy-core/archive/; "v" version "-stable.tar.gz")) (file-name (string-append
bug#28840: openrct2 cannot find data-path
Rutger Hellingwrites: > Hi Ludo and Jelle, > > I've attached a patch that fixed the issue for me by changing some > references from /usr/share to /gnu/store/-openrct2-0.1.1/share. > I can now run openrct2 without the additional parameter. I can confirm that Rutger's patch works as intented.
bug#28840: openrct2 cannot find data-path
Hello, Jelle Lichtskribis: > Rutger Helling writes: > >> Hi Ludo and Jelle, >> >> I've attached a patch that fixed the issue for me by changing some >> references from /usr/share to /gnu/store/-openrct2-0.1.1/share. >> I can now run openrct2 without the additional parameter. > > I can confirm that Rutger's patch works as intented. Awesome. Could you push it? Thanks, Ludo’.
bug#28840: openrct2 cannot find data-path
Ludovic Courtèswrites: > Hello, > > Jelle Licht skribis: > >> Rutger Helling writes: >> >>> Hi Ludo and Jelle, >>> >>> I've attached a patch that fixed the issue for me by changing some >>> references from /usr/share to /gnu/store/-openrct2-0.1.1/share. >>> I can now run openrct2 without the additional parameter. >> >> I can confirm that Rutger's patch works as intented. > > Awesome. Could you push it? Pushed as 2e205c619334 on master.
bug#28951: [PATCH] Re: bug#28951: The upstream URL of our Synergy package is broken
Maxim Cournoyerskribis: > From 69b6fb09ba7d40a94b6b0fe34677030e3590069e Mon Sep 17 00:00:00 2001 > From: Maxim Cournoyer > Date: Thu, 26 Oct 2017 08:11:38 -0400 > Subject: [PATCH] gnu: synergy: Update repository URI and hash. > > * gnu/packages/synergy.scm (synergy)[uri]: Replace synergy by synergy-core. > [sha256]: Update to reflect the name change of the archive root directory. Applied, thanks for the careful verification! It’s good to have a fiasco detector. ;-) Ludo'.