‘guix pull’ shows raw build log output

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Ludovic Courtès
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
important
L
L
Ludovic Courtès wrote on 18 Jun 2020 16:02
‘guix pull’ shows raw build log output
(address . bug-guix@gnu.org)
87o8pgjwuc.fsf@inria.fr
‘guix pull’ & co. show raw “detailed log” output for things
built/downloaded while building ‘compute-guix-derivation.drv’:

Toggle snippet (203 lines)
$ guix time-machine -- build …
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
building /gnu/store/cvsgfzfr6pm5dqfi21ky6hz67vkhcfp3-module-import.drv...
building /gnu/store/wwjxn838lv39gq6b66irf247pmgnff16-module-import-compiled.drv...
building /gnu/store/6kf11gwij4rjnmihgd6hkjs8qkwshgch-compute-guix-derivation.drv...
Computing Guix derivation for 'x86_64-linux'... substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
@ substituter-started /gnu/store/frg642g7pxh95cdahar2s884ig82i1xn-nghttp2-1.41.0-lib substitute
@ substituter-started /gnu/store/v5rgf8v6cjxjbngkzjcznj98dkxj8svg-jansson-2.12 substitute
@ substituter-started /gnu/store/23d9f16wbv22qin71ac32hql81bzzkab-libev-4.31 substitute
@ download-started /gnu/store/23d9f16wbv22qin71ac32hql81bzzkab-libev-4.31 https://ci.guix.gnu.org/nar/lzip/23d9f16wbv22qin71ac32hql81bzzkab-libev-4.31 124297
@ download-started /gnu/store/v5rgf8v6cjxjbngkzjcznj98dkxj8svg-jansson-2.12 https://ci.guix.gnu.org/nar/lzip/v5rgf8v6cjxjbngkzjcznj98dkxj8svg-jansson-2.12 27840
@ download-started /gnu/store/frg642g7pxh95cdahar2s884ig82i1xn-nghttp2-1.41.0-lib https://ci.guix.gnu.org/nar/lzip/frg642g7pxh95cdahar2s884ig82i1xn-nghttp2-1.41.0-lib 91435
@ download-progress /gnu/store/v5rgf8v6cjxjbngkzjcznj98dkxj8svg-jansson-2.12 https://ci.guix.gnu.org/nar/lzip/v5rgf8v6cjxjbngkzjcznj98dkxj8svg-jansson-2.12 27840 27840
@ download-progress /gnu/store/v5rgf8v6cjxjbngkzjcznj98dkxj8svg-jansson-2.12 https://ci.guix.gnu.org/nar/lzip/v5rgf8v6cjxjbngkzjcznj98dkxj8svg-jansson-2.12 27840 27840
@ download-succeeded /gnu/store/v5rgf8v6cjxjbngkzjcznj98dkxj8svg-jansson-2.12 https://ci.guix.gnu.org/nar/lzip/v5rgf8v6cjxjbngkzjcznj98dkxj8svg-jansson-2.12 27840


@ substituter-succeeded /gnu/store/v5rgf8v6cjxjbngkzjcznj98dkxj8svg-jansson-2.12
@ download-progress /gnu/store/23d9f16wbv22qin71ac32hql81bzzkab-libev-4.31 https://ci.guix.gnu.org/nar/lzip/23d9f16wbv22qin71ac32hql81bzzkab-libev-4.31 124297 65544
@ download-progress /gnu/store/frg642g7pxh95cdahar2s884ig82i1xn-nghttp2-1.41.0-lib https://ci.guix.gnu.org/nar/lzip/frg642g7pxh95cdahar2s884ig82i1xn-nghttp2-1.41.0-lib 91435 65544
@ download-progress /gnu/store/frg642g7pxh95cdahar2s884ig82i1xn-nghttp2-1.41.0-lib https://ci.guix.gnu.org/nar/lzip/frg642g7pxh95cdahar2s884ig82i1xn-nghttp2-1.41.0-lib 91435 91435
@ download-succeeded /gnu/store/frg642g7pxh95cdahar2s884ig82i1xn-nghttp2-1.41.0-lib https://ci.guix.gnu.org/nar/lzip/frg642g7pxh95cdahar2s884ig82i1xn-nghttp2-1.41.0-lib 91435


@ download-progress /gnu/store/23d9f16wbv22qin71ac32hql81bzzkab-libev-4.31 https://ci.guix.gnu.org/nar/lzip/23d9f16wbv22qin71ac32hql81bzzkab-libev-4.31 124297 124297
@ substituter-succeeded /gnu/store/frg642g7pxh95cdahar2s884ig82i1xn-nghttp2-1.41.0-lib
@ download-succeeded /gnu/store/23d9f16wbv22qin71ac32hql81bzzkab-libev-4.31 https://ci.guix.gnu.org/nar/lzip/23d9f16wbv22qin71ac32hql81bzzkab-libev-4.31 124297


@ substituter-succeeded /gnu/store/23d9f16wbv22qin71ac32hql81bzzkab-libev-4.31
@ substituter-started /gnu/store/8m9dar0cz4a3r9dk8v9cxg2d1hjw2f3p-nghttp2-1.41.0 substitute
@ download-started /gnu/store/8m9dar0cz4a3r9dk8v9cxg2d1hjw2f3p-nghttp2-1.41.0 https://ci.guix.gnu.org/nar/lzip/8m9dar0cz4a3r9dk8v9cxg2d1hjw2f3p-nghttp2-1.41.0 560680
@ download-progress /gnu/store/8m9dar0cz4a3r9dk8v9cxg2d1hjw2f3p-nghttp2-1.41.0 https://ci.guix.gnu.org/nar/lzip/8m9dar0cz4a3r9dk8v9cxg2d1hjw2f3p-nghttp2-1.41.0 560680 65544
@ download-progress /gnu/store/8m9dar0cz4a3r9dk8v9cxg2d1hjw2f3p-nghttp2-1.41.0 https://ci.guix.gnu.org/nar/lzip/8m9dar0cz4a3r9dk8v9cxg2d1hjw2f3p-nghttp2-1.41.0 560680 560680
@ download-succeeded /gnu/store/8m9dar0cz4a3r9dk8v9cxg2d1hjw2f3p-nghttp2-1.41.0 https://ci.guix.gnu.org/nar/lzip/8m9dar0cz4a3r9dk8v9cxg2d1hjw2f3p-nghttp2-1.41.0 560680


@ substituter-succeeded /gnu/store/8m9dar0cz4a3r9dk8v9cxg2d1hjw2f3p-nghttp2-1.41.0
substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
@ substituter-started /gnu/store/7n5d8f1z3qswj5nbwgk3q70wl19r4z1n-dbus-1.12.16-doc substitute
@ substituter-started /gnu/store/pmzc8p0ydq7zilkfw8w30xq9dkcr01dr-guix-daemon-1.1.0-12.c005641 substitute
@ substituter-started /gnu/store/1yb1lk0gdjc62870kp8pg7hn7lkg8p2x-subversion-1.14.0 substitute
@ substituter-started /gnu/store/hlcfmg5n29ynf354x7s4s7bkxswrmkq4-libgit2-1.0.1 substitute
@ download-started /gnu/store/hlcfmg5n29ynf354x7s4s7bkxswrmkq4-libgit2-1.0.1 https://ci.guix.gnu.org/nar/lzip/hlcfmg5n29ynf354x7s4s7bkxswrmkq4-libgit2-1.0.1 557031
@ download-started /gnu/store/1yb1lk0gdjc62870kp8pg7hn7lkg8p2x-subversion-1.14.0 https://ci.guix.gnu.org/nar/lzip/1yb1lk0gdjc62870kp8pg7hn7lkg8p2x-subversion-1.14.0 2620803
@ download-started /gnu/store/7n5d8f1z3qswj5nbwgk3q70wl19r4z1n-dbus-1.12.16-doc https://ci.guix.gnu.org/nar/lzip/7n5d8f1z3qswj5nbwgk3q70wl19r4z1n-dbus-1.12.16-doc 1163378
@ download-started /gnu/store/pmzc8p0ydq7zilkfw8w30xq9dkcr01dr-guix-daemon-1.1.0-12.c005641 https://ci.guix.gnu.org/nar/lzip/pmzc8p0ydq7zilkfw8w30xq9dkcr01dr-guix-daemon-1.1.0-12.c005641 262064
@ download-progress /gnu/store/hlcfmg5n29ynf354x7s4s7bkxswrmkq4-libgit2-1.0.1 https://ci.guix.gnu.org/nar/lzip/hlcfmg5n29ynf354x7s4s7bkxswrmkq4-libgit2-1.0.1 557031 65544
@ download-progress /gnu/store/1yb1lk0gdjc62870kp8pg7hn7lkg8p2x-subversion-1.14.0 https://ci.guix.gnu.org/nar/lzip/1yb1lk0gdjc62870kp8pg7hn7lkg8p2x-subversion-1.14.0 2620803 65544
@ download-progress /gnu/store/7n5d8f1z3qswj5nbwgk3q70wl19r4z1n-dbus-1.12.16-doc https://ci.guix.gnu.org/nar/lzip/7n5d8f1z3qswj5nbwgk3q70wl19r4z1n-dbus-1.12.16-doc 1163378 65544
@ download-progress /gnu/store/pmzc8p0ydq7zilkfw8w30xq9dkcr01dr-guix-daemon-1.1.0-12.c005641 https://ci.guix.gnu.org/nar/lzip/pmzc8p0ydq7zilkfw8w30xq9dkcr01dr-guix-daemon-1.1.0-12.c005641 262064 65544
@ download-progress /gnu/store/pmzc8p0ydq7zilkfw8w30xq9dkcr01dr-guix-daemon-1.1.0-12.c005641 https://ci.guix.gnu.org/nar/lzip/pmzc8p0ydq7zilkfw8w30xq9dkcr01dr-guix-daemon-1.1.0-12.c005641 262064 262064
@ download-succeeded /gnu/store/pmzc8p0ydq7zilkfw8w30xq9dkcr01dr-guix-daemon-1.1.0-12.c005641 https://ci.guix.gnu.org/nar/lzip/pmzc8p0ydq7zilkfw8w30xq9dkcr01dr-guix-daemon-1.1.0-12.c005641 262064


@ substituter-succeeded /gnu/store/pmzc8p0ydq7zilkfw8w30xq9dkcr01dr-guix-daemon-1.1.0-12.c005641
@ download-progress /gnu/store/hlcfmg5n29ynf354x7s4s7bkxswrmkq4-libgit2-1.0.1 https://ci.guix.gnu.org/nar/lzip/hlcfmg5n29ynf354x7s4s7bkxswrmkq4-libgit2-1.0.1 557031 557031
@ download-succeeded /gnu/store/hlcfmg5n29ynf354x7s4s7bkxswrmkq4-libgit2-1.0.1 https://ci.guix.gnu.org/nar/lzip/hlcfmg5n29ynf354x7s4s7bkxswrmkq4-libgit2-1.0.1 557031


@ substituter-succeeded /gnu/store/hlcfmg5n29ynf354x7s4s7bkxswrmkq4-libgit2-1.0.1
@ substituter-started /gnu/store/34zjr80lnz48620wi39c56fghahbk4kg-guile-git-0.3.0 substitute
@ download-progress /gnu/store/1yb1lk0gdjc62870kp8pg7hn7lkg8p2x-subversion-1.14.0 https://ci.guix.gnu.org/nar/lzip/1yb1lk0gdjc62870kp8pg7hn7lkg8p2x-subversion-1.14.0 2620803 851998
@ download-progress /gnu/store/7n5d8f1z3qswj5nbwgk3q70wl19r4z1n-dbus-1.12.16-doc https://ci.guix.gnu.org/nar/lzip/7n5d8f1z3qswj5nbwgk3q70wl19r4z1n-dbus-1.12.16-doc 1163378 589851
@ download-progress /gnu/store/1yb1lk0gdjc62870kp8pg7hn7lkg8p2x-subversion-1.14.0 https://ci.guix.gnu.org/nar/lzip/1yb1lk0gdjc62870kp8pg7hn7lkg8p2x-subversion-1.14.0 2620803 1835062
@ download-progress /gnu/store/7n5d8f1z3qswj5nbwgk3q70wl19r4z1n-dbus-1.12.16-doc https://ci.guix.gnu.org/nar/lzip/7n5d8f1z3qswj5nbwgk3q70wl19r4z1n-dbus-1.12.16-doc 1163378 1114150
@ download-progress /gnu/store/7n5d8f1z3qswj5nbwgk3q70wl19r4z1n-dbus-1.12.16-doc https://ci.guix.gnu.org/nar/lzip/7n5d8f1z3qswj5nbwgk3q70wl19r4z1n-dbus-1.12.16-doc 1163378 1163378
@ download-succeeded /gnu/store/7n5d8f1z3qswj5nbwgk3q70wl19r4z1n-dbus-1.12.16-doc https://ci.guix.gnu.org/nar/lzip/7n5d8f1z3qswj5nbwgk3q70wl19r4z1n-dbus-1.12.16-doc 1163378


@ substituter-succeeded /gnu/store/7n5d8f1z3qswj5nbwgk3q70wl19r4z1n-dbus-1.12.16-doc
@ download-progress /gnu/store/1yb1lk0gdjc62870kp8pg7hn7lkg8p2x-subversion-1.14.0 https://ci.guix.gnu.org/nar/lzip/1yb1lk0gdjc62870kp8pg7hn7lkg8p2x-subversion-1.14.0 2620803 2620803
@ download-succeeded /gnu/store/1yb1lk0gdjc62870kp8pg7hn7lkg8p2x-subversion-1.14.0 https://ci.guix.gnu.org/nar/lzip/1yb1lk0gdjc62870kp8pg7hn7lkg8p2x-subversion-1.14.0 2620803


@ download-started /gnu/store/34zjr80lnz48620wi39c56fghahbk4kg-guile-git-0.3.0 https://ci.guix.gnu.org/nar/lzip/34zjr80lnz48620wi39c56fghahbk4kg-guile-git-0.3.0 368494
@ download-progress /gnu/store/34zjr80lnz48620wi39c56fghahbk4kg-guile-git-0.3.0 https://ci.guix.gnu.org/nar/lzip/34zjr80lnz48620wi39c56fghahbk4kg-guile-git-0.3.0 368494 65544
@ download-progress /gnu/store/34zjr80lnz48620wi39c56fghahbk4kg-guile-git-0.3.0 https://ci.guix.gnu.org/nar/lzip/34zjr80lnz48620wi39c56fghahbk4kg-guile-git-0.3.0 368494 368494
@ download-succeeded /gnu/store/34zjr80lnz48620wi39c56fghahbk4kg-guile-git-0.3.0 https://ci.guix.gnu.org/nar/lzip/34zjr80lnz48620wi39c56fghahbk4kg-guile-git-0.3.0 368494


@ substituter-succeeded /gnu/store/34zjr80lnz48620wi39c56fghahbk4kg-guile-git-0.3.0
@ substituter-succeeded /gnu/store/1yb1lk0gdjc62870kp8pg7hn7lkg8p2x-subversion-1.14.0
substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
@ substituter-started /gnu/store/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc substitute
@ substituter-started /gnu/store/s6ha2sssblw06sjpw4zawzx98zwbj5m7-graphviz-2.42.3 substitute
@ download-started /gnu/store/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc https://ci.guix.gnu.org/nar/lzip/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc 3989787
@ download-started /gnu/store/s6ha2sssblw06sjpw4zawzx98zwbj5m7-graphviz-2.42.3 https://ci.guix.gnu.org/nar/lzip/s6ha2sssblw06sjpw4zawzx98zwbj5m7-graphviz-2.42.3 1565456
@ download-progress /gnu/store/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc https://ci.guix.gnu.org/nar/lzip/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc 3989787 65544
@ download-progress /gnu/store/s6ha2sssblw06sjpw4zawzx98zwbj5m7-graphviz-2.42.3 https://ci.guix.gnu.org/nar/lzip/s6ha2sssblw06sjpw4zawzx98zwbj5m7-graphviz-2.42.3 1565456 65544
@ download-progress /gnu/store/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc https://ci.guix.gnu.org/nar/lzip/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc 3989787 786457
@ download-progress /gnu/store/s6ha2sssblw06sjpw4zawzx98zwbj5m7-graphviz-2.42.3 https://ci.guix.gnu.org/nar/lzip/s6ha2sssblw06sjpw4zawzx98zwbj5m7-graphviz-2.42.3 1565456 786454
@ download-progress /gnu/store/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc https://ci.guix.gnu.org/nar/lzip/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc 3989787 1966124
@ download-progress /gnu/store/s6ha2sssblw06sjpw4zawzx98zwbj5m7-graphviz-2.42.3 https://ci.guix.gnu.org/nar/lzip/s6ha2sssblw06sjpw4zawzx98zwbj5m7-graphviz-2.42.3 1565456 1441830
@ download-progress /gnu/store/s6ha2sssblw06sjpw4zawzx98zwbj5m7-graphviz-2.42.3 https://ci.guix.gnu.org/nar/lzip/s6ha2sssblw06sjpw4zawzx98zwbj5m7-graphviz-2.42.3 1565456 1565456
@ download-succeeded /gnu/store/s6ha2sssblw06sjpw4zawzx98zwbj5m7-graphviz-2.42.3 https://ci.guix.gnu.org/nar/lzip/s6ha2sssblw06sjpw4zawzx98zwbj5m7-graphviz-2.42.3 1565456


@ substituter-succeeded /gnu/store/s6ha2sssblw06sjpw4zawzx98zwbj5m7-graphviz-2.42.3
@ download-progress /gnu/store/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc https://ci.guix.gnu.org/nar/lzip/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc 3989787 3080254
@ download-progress /gnu/store/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc https://ci.guix.gnu.org/nar/lzip/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc 3989787 3989787
@ download-succeeded /gnu/store/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc https://ci.guix.gnu.org/nar/lzip/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc 3989787


@ substituter-succeeded /gnu/store/9ph7spq3b72fv4scqqzwxalb8n0wc6xn-graphviz-2.42.3-doc

substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 7.1%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 14.3%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 21.4%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 28.6%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 35.7%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 42.9%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 50.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 57.1%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 64.3%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 71.4%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 78.6%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 85.7%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 92.9%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/9z9xdi72gk11ab82ync018c1w9l4a333-profile.drv
/gnu/store/z4y8pykwgfz644sdhjxcir3x908ypp0a-guix-9f4cb9986.drv
/gnu/store/9znh24c7skvcwgaci2wcwkyhlh53ya9g-guix-manual.drv
/gnu/store/wqzlarrdy0kvfjpfmxdggh5pz2cy5j2v-guix-translated-texinfo.drv
/gnu/store/hdmp00k1h1sl8bk2skwchjla761rzkcr-guix-command.drv
/gnu/store/k00azvd1pp7jf2rhry31jc4qmp4xax9n-guix-module-union.drv
/gnu/store/qskig0frk5lzfzir4ba08nfp2r8yg5lc-guix-9f4cb9986-modules.drv
/gnu/store/2f9dqqcakvyiig4pnhmn7f9r698dscns-guix-system-modules.drv
/gnu/store/g0wwfhyd4k7064r68b2idkwzs6cbp0s9-guix-system.drv
/gnu/store/3wr6fz2hy7dx1j1acim8wb44g92wcqqz-guix-core.drv
/gnu/store/mn3qnwkd758axqxg6w6w9alyqb79595a-guix-core-source.drv
/gnu/store/qk068b0n88i2a6slh6m6c149r8vw9g8f-guix-extra.drv
/gnu/store/skhvx5dfq50zmfxpnwa5ds7d00y9j4ns-guix-packages-base.drv
/gnu/store/slcgzyl3l06n3n81988xkl4n420js8v3-guix-packages.drv
/gnu/store/32dls8192v08rs8z1nw0dwdzyg1kkqkc-guix-cli-modules.drv
/gnu/store/cwgzvzph0pq91wlgr7n5ps3cv1p6isqy-guix-cli.drv
/gnu/store/8a8npfwabgqylaa658nn5qxmw66xnmii-guix-system-tests-modules.drv
/gnu/store/jxkriap31gczfff2cdvjqr30p2h9ywnx-guix-system-tests.drv
/gnu/store/a1h72rxni3ryjqqblhckxnvgiz94gdsx-guix-core-modules.drv
/gnu/store/bx92sd3kh97s66ni4k6kfix9fv7695h3-guix-config-modules.drv
/gnu/store/8gbd462mqpjk49xmf51kxki8lmsadm3z-guix-config-source.drv
/gnu/store/ask6fpy37jsi5vbs54z1vi62ca8xxzc6-config.scm.drv
/gnu/store/y2ndba5hlssw2qj06w5vv06qd0sg9dgx-guix-config.drv
/gnu/store/kq5nw5ij0vb21qckbb363p72gqllmd39-guix-packages-base-modules.drv
/gnu/store/rkalzpa3apx6xv1vab41kpjwagdavd3p-guix-extra-modules.drv
/gnu/store/xprqqg57y97sd7phi0xsylkpm1850fi6-guix-packages-modules.drv
/gnu/store/p65vcm0iay88cm3sialrf4plmq95z84d-guix-daemon.drv
/gnu/store/984yimffsx2bvx48aqpm9plrm3mq6zb7-inferior-script.scm.drv
/gnu/store/fciks9mr0y58pxxrkq6gqnikhzw92zx1-profile.drv
0.1 MB will be downloaded:
/gnu/store/pv6ii8gfp3y04qhp3cxbm4xj1g3p86l2-module-import-compiled
/gnu/store/4k0p5q582p5q2p79iaxdjk4awg3xwmpj-module-import-compiled
The following grafts will be made:
/gnu/store/sf0x43hmxwfc7gl60ssz6gqq4q6r701w-graphviz-2.42.3.drv
/gnu/store/3zi0m1yfsyh3rv70s0jcanp7s7pczij7-pango-1.44.7.drv
/gnu/store/vmryfvw5f3g13pkclybzw2q5jzhnd0cd-gts-0.7.6.drv
The following profile hooks will be built:
/gnu/store/6ic9idjlxdj5fmxmyr26pkcz9xrpz06z-ca-certificate-bundle.drv
/gnu/store/ag8ih6jd1n1pz7jkjhh4bqhfjpica1im-guix-package-cache.drv
/gnu/store/clvpcjmgxp2hx92cyc993m8wav0v6ww2-info-dir.drv
/gnu/store/kmy2jvdpv7j6wwf90vfbaspmlrpx9g91-fonts-dir.drv
/gnu/store/pkwnr420k9q3rdx0icqbipynmjqppbrg-manual-database.drv

All the “@” lines before “The following derivations will be built”
should not appear.

I think it’s a regression introduced by
4b75a7060058bc2e959dcb4145067f6bba3e34e5: before that commit, in most
cases, the code in ‘build-aux/build-self.scm’ would silently trigger
substitute info lookup and thus it would rarely trigger builds or
downloads.

Ludo’.
L
L
Ludovic Courtès wrote on 20 Jun 2020 22:22
control message for bug #41930
(address . control@debbugs.gnu.org)
871rm9bi87.fsf@gnu.org
severity 41930 important
quit
L
L
Ludovic Courtès wrote on 30 Mar 2021 16:44
Re: bug#41930: ‘guix pull’ shows raw build log output
(address . 41930@debbugs.gnu.org)
87im58g0pj.fsf@gnu.org
Hi,

Ludovic Courtès <ludovic.courtes@inria.fr> skribis:

Toggle quote (6 lines)
> ‘guix pull’ & co. show raw “detailed log” output for things
> built/downloaded while building ‘compute-guix-derivation.drv’:
>
> $ guix time-machine -- build …
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...

[...]

Toggle quote (6 lines)
> @ substituter-started /gnu/store/frg642g7pxh95cdahar2s884ig82i1xn-nghttp2-1.41.0-lib substitute
> @ substituter-started /gnu/store/v5rgf8v6cjxjbngkzjcznj98dkxj8svg-jansson-2.12 substitute
> @ substituter-started /gnu/store/23d9f16wbv22qin71ac32hql81bzzkab-libev-4.31 substitute
> @ download-started /gnu/store/23d9f16wbv22qin71ac32hql81bzzkab-libev-4.31 https://ci.guix.gnu.org/nar/lzip/23d9f16wbv22qin71ac32hql81bzzkab-libev-4.31 124297
> @ download-started /gnu/store/v5rgf8v6cjxjbngkzjcznj98dkxj8svg-jansson-2.12 https://ci.guix.gnu.org/nar/lzip/v5rgf8v6cjxjbngkzjcznj98dkxj8svg-jansson-2.12 27840

The attached patch fixes that in an unimaginative but efficient fashion:

1. the parent process (which runs ‘build-self.scm’) accepts connections on
a named socket;

2. the ‘compute-guix-derivation’ process connects to that socket and
sends it its raw build output (what we see in the snippet above);

3. the parent process reads that and sends it to its own
(current-build-output-port); that port processes those “@” build
traces according to the current ‘--verbosity’—see (guix status).

With this in place, builds or downloads triggered during the evaluation
of ‘compute-guix-derivation’ are reported in a consistent way from a UI
viewpoint.

There was one remaining glitch: the spinner that
‘compute-guix-derivation’ prints would show up in the middle of the
prettified build output. The second patch addresses that.

Feedback welcome!

Ludo’.
From 7710dca2453667f61f866be0115d632efa93a3b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Tue, 30 Mar 2021 16:35:05 +0200
Subject: [PATCH 2/2] build-self: Take care of the spinner in the parent
process.

This simplifies code and mostly ensures we don't print a spinner while
there's build activity going on.

* build-aux/build-self.scm (build-program): Remove 'spin' and
'call-with-new-thread' call from "compute-guix-derivation" body. Remove
"Computing Guix derivation" message.
(proxy): Pass extra argument to 'select'. Display a spinner when
'select' returns empty lists.
(build): Print "Computing Guix derivation" message here.
---
build-aux/build-self.scm | 43 ++++++++++++++++------------------------
1 file changed, 17 insertions(+), 26 deletions(-)

Toggle diff (91 lines)
diff --git a/build-aux/build-self.scm b/build-aux/build-self.scm
index 3e057ca5d2..853a2f328f 100644
--- a/build-aux/build-self.scm
+++ b/build-aux/build-self.scm
@@ -285,8 +285,7 @@ interface (FFI) of Guile.")
#:select? select?))
(gexp->script "compute-guix-derivation"
#~(begin
- (use-modules (ice-9 match)
- (ice-9 threads))
+ (use-modules (ice-9 match))
(eval-when (expand load eval)
;; (gnu packages …) modules are going to be looked up
@@ -320,21 +319,6 @@ interface (FFI) of Guile.")
(guix derivations)
(srfi srfi-1))
- (define (spin system)
- (define spin
- (circular-list "-" "\\" "|" "/" "-" "\\" "|" "/"))
-
- (format (current-error-port)
- "Computing Guix derivation for '~a'... "
- system)
- (when (isatty? (current-error-port))
- (let loop ((spin spin))
- (display (string-append "\b" (car spin))
- (current-error-port))
- (force-output (current-error-port))
- (sleep 1)
- (loop (cdr spin)))))
-
(match (command-line)
((_ source system version protocol-version
build-output)
@@ -352,10 +336,6 @@ interface (FFI) of Guile.")
#:version proto)
(open-connection)))
(sock (socket AF_UNIX SOCK_STREAM 0)))
- (call-with-new-thread
- (lambda ()
- (spin system)))
-
;; Connect to BUILD-OUTPUT and send it the raw
;; build output.
(connect sock AF_UNIX build-output)
@@ -378,18 +358,26 @@ interface (FFI) of Guile.")
#:module-path (list source))))
(define (proxy input output)
- "Dump the contents of INPUT to OUTPUT until EOF is reached on INPUT."
+ "Dump the contents of INPUT to OUTPUT until EOF is reached on INPUT.
+Display a spinner when nothing happens."
+ (define spin
+ (circular-list "-" "\\" "|" "/" "-" "\\" "|" "/"))
+
(setvbuf input 'block 16384)
- (let loop ()
- (match (select (list input) '() '())
+ (let loop ((spin spin))
+ (match (select (list input) '() '() 1)
((() () ())
- (loop))
+ (when (isatty? (current-error-port))
+ (display (string-append "\b" (car spin))
+ (current-error-port))
+ (force-output (current-error-port)))
+ (loop (cdr spin)))
(((_) () ())
;; Read from INPUT as much as can be read without blocking.
(let ((bv (get-bytevector-some input)))
(unless (eof-object? bv)
(put-bytevector output bv)
- (loop)))))))
+ (loop spin)))))))
(define (call-with-clean-environment thunk)
(let ((env (environ)))
@@ -472,6 +460,9 @@ files."
(logior major minor))
"none")
node))))))
+ (format (current-error-port) "Computing Guix derivation for '~a'... "
+ system)
+
;; Wait for a connection on SOCK and proxy build output so it can be
;; processed according to the settings currently in effect (build
;; traces, verbosity level, and so on).
--
2.31.0
L
L
Ludovic Courtès wrote on 1 Apr 2021 15:21
(address . 41930-done@debbugs.gnu.org)
87ft0a87jy.fsf@gnu.org
Ludovic Courtès <ludo@gnu.org> skribis:

Toggle quote (20 lines)
> The attached patch fixes that in an unimaginative but efficient fashion:
>
> 1. the parent process (which runs ‘build-self.scm’) accepts connections on
> a named socket;
>
> 2. the ‘compute-guix-derivation’ process connects to that socket and
> sends it its raw build output (what we see in the snippet above);
>
> 3. the parent process reads that and sends it to its own
> (current-build-output-port); that port processes those “@” build
> traces according to the current ‘--verbosity’—see (guix status).
>
> With this in place, builds or downloads triggered during the evaluation
> of ‘compute-guix-derivation’ are reported in a consistent way from a UI
> viewpoint.
>
> There was one remaining glitch: the spinner that
> ‘compute-guix-derivation’ prints would show up in the middle of the
> prettified build output. The second patch addresses that.

Pushed as a81a19930b2cbe1327e1e82d6210f80846ce2898.

Ludo’.
Closed
?