‘guix_ pull’ shows raw build log output

DoneSubmitted by Ludovic Courtès.
Details
2 participants
  • Ludovic Courtès
  • Ludovic Courtès
Owner
unassigned
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 thingsbuilt/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.0substitute: 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.0substitute: 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.drv0.1 MB will be downloaded: /gnu/store/pv6ii8gfp3y04qhp3cxbm4xj1g3p86l2-module-import-compiled /gnu/store/4k0p5q582p5q2p79iaxdjk4awg3xwmpj-module-import-compiledThe 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.drvThe 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 by4b75a7060058bc2e959dcb4145067f6bba3e34e5: before that commit, in mostcases, the code in ‘build-aux/build-self.scm’ would silently triggersubstitute info lookup and thus it would rarely trigger builds ordownloads.
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 importantquit
L
L
Ludovic Courtès wrote on 30 Mar 16:44 +0200
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 evaluationof ‘compute-guix-derivation’ are reported in a consistent way from a UIviewpoint.
There was one remaining glitch: the spinner that‘compute-guix-derivation’ prints would show up in the middle of theprettified build output. The second patch addresses that.
Feedback welcome!
Ludo’.
From 882c47b51223c6002eaec79466106a29ac84c613 Mon Sep 17 00:00:00 2001From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>Date: Tue, 30 Mar 2021 16:07:26 +0200Subject: [PATCH 1/2] build-self: Forward sub-process build output to (current-build-output-port).
Fixes https://bugs.gnu.org/41930.
* build-aux/build-self.scm (build-program): Add extra 'build-output'parameter. Interpret it as a socket name and connect to it; use it asthe CURRENT-BUILD-OUTPUT-PORT.(proxy): New procedure.(build): Open a named socket. Accept connections and call 'proxy' on it.--- build-aux/build-self.scm | 90 +++++++++++++++++++++++++++++----------- 1 file changed, 65 insertions(+), 25 deletions(-)
Toggle diff (142 lines)diff --git a/build-aux/build-self.scm b/build-aux/build-self.scmindex dd845d1596..3e057ca5d2 100644--- a/build-aux/build-self.scm+++ b/build-aux/build-self.scm@@ -336,7 +336,8 @@ interface (FFI) of Guile.") (loop (cdr spin))))) (match (command-line)- ((_ source system version protocol-version)+ ((_ source system version protocol-version+ build-output) ;; The current input port normally wraps a file ;; descriptor connected to the daemon, or it is ;; connected to /dev/null. In the former case, reuse@@ -349,16 +350,22 @@ interface (FFI) of Guile.") (current-input-port) "w+0") #:version proto)- (open-connection))))+ (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)+ (display (and=> ;; Silence autoload warnings and the likes. (parameterize ((current-warning-port- (%make-void-port "w")))+ (%make-void-port "w"))+ (current-build-output-port sock)) (run-with-store store (guix-derivation source version #$guile-version@@ -370,6 +377,20 @@ interface (FFI) of Guile.") derivation-file-name)))))) #:module-path (list source)))) +(define (proxy input output)+ "Dump the contents of INPUT to OUTPUT until EOF is reached on INPUT."+ (setvbuf input 'block 16384)+ (let loop ()+ (match (select (list input) '() '())+ ((() () ())+ (loop))+ (((_) () ())+ ;; 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)))))))+ (define (call-with-clean-environment thunk) (let ((env (environ))) (dynamic-wind@@ -426,7 +447,14 @@ files." ;; way, we know 'open-pipe*' will not close it on 'exec'. If PORT is ;; not a file port (e.g., it's an SSH channel), then the subprocess's ;; stdin will actually be /dev/null.- (let* ((pipe (with-input-from-port port+ (let* ((sock (socket AF_UNIX SOCK_STREAM 0))+ (node (let ((file (string-append (or (getenv "TMPDIR") "/tmp")+ "/guix-build-output-"+ (number->string (getpid)))))+ (bind sock AF_UNIX file)+ (listen sock 1)+ file))+ (pipe (with-input-from-port port (lambda () ;; Make sure BUILD is not influenced by ;; $GUILE_LOAD_PATH & co.@@ -442,30 +470,42 @@ files." (if (file-port? port) (number->string (logior major minor))- "none"))))))- (str (get-string-all pipe))- (status (close-pipe pipe)))- (match str- ((? eof-object?)- (error "build program failed" (list build status)))- ((? derivation-path? drv)- (mbegin %store-monad- (return (newline (current-error-port)))- ((store-lift add-temp-root) drv)- (return (read-derivation-from-file drv))))- ("#f"- ;; Unsupported PULL-VERSION.- (return #f))- ((? string? str)- (raise (condition- (&message- (message (format #f "You found a bug: the program '~a'+ "none")+ node))))))+ ;; 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).+ (match (accept sock)+ ((port . _)+ (close-port sock)+ (delete-file node)+ (proxy port (current-build-output-port))))++ ;; Now that the build output connection was closed, read the result, a+ ;; derivation file name, from PIPE.+ (let ((str (get-string-all pipe))+ (status (close-pipe pipe)))+ (match str+ ((? eof-object?)+ (error "build program failed" (list build status)))+ ((? derivation-path? drv)+ (mbegin %store-monad+ (return (newline (current-error-port)))+ ((store-lift add-temp-root) drv)+ (return (read-derivation-from-file drv))))+ ("#f"+ ;; Unsupported PULL-VERSION.+ (return #f))+ ((? string? str)+ (raise (condition+ (&message+ (message (format #f "You found a bug: the program '~a' failed to compute the derivation for Guix (version: ~s; system: ~s; host version: ~s; pull-version: ~s). Please report it by email to <~a>.~%"- (derivation->output-path build)- version system %guix-version pull-version- %guix-bug-report-address)))))))))))+ (derivation->output-path build)+ version system %guix-version pull-version+ %guix-bug-report-address)))))))))))) ;; This file is loaded by 'guix pull'; return it the build procedure. build-- 2.31.0
From 7710dca2453667f61f866be0115d632efa93a3b3 Mon Sep 17 00:00:00 2001From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>Date: Tue, 30 Mar 2021 16:35:05 +0200Subject: [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 whilethere'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.scmindex 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 15:21 +0200
(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
?