From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#36777: Guix Inferiors: Curious incorrect derivation output bug Date: Sat, 27 Jul 2019 23:30:04 +0200 Message-ID: <87wog3i2sj.fsf@gnu.org> References: <875znps08a.fsf@gnu.org> <1WSz93jYl9XxYywM_b-gQYV4SiIG9VyTXLYpj4bueFcBZByRMIdXQNnVY4YDnbH_hPe4y_ZDjl7lIgyvynH8J85NtO93namyeEVMU7Lj9WY=@carldong.me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53033) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrUHT-0006Fw-No for bug-guix@gnu.org; Sat, 27 Jul 2019 17:31:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hrUHR-0002d1-Se for bug-guix@gnu.org; Sat, 27 Jul 2019 17:31:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36681) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hrUHO-0002YG-FK for bug-guix@gnu.org; Sat, 27 Jul 2019 17:31:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hrUHO-0007oK-C0 for bug-guix@gnu.org; Sat, 27 Jul 2019 17:31:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <1WSz93jYl9XxYywM_b-gQYV4SiIG9VyTXLYpj4bueFcBZByRMIdXQNnVY4YDnbH_hPe4y_ZDjl7lIgyvynH8J85NtO93namyeEVMU7Lj9WY=@carldong.me> (Carl Dong's message of "Fri, 26 Jul 2019 19:58:16 +0000") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Carl Dong Cc: "36777@debbugs.gnu.org" <36777@debbugs.gnu.org> --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Carl, Carl Dong skribis: > I did some more digging, and have included a git-bisect log, the -info-di= r.drv, > and -info-dir-builder here: > > https://gist.github.com/dongcarl/0a305badf20c9b5cfae738147ca416af For future reference, the bisect output is: # first bad commit: [5cf4b26d52bcea382d98fb4becce89be9ee37b55] derivation= s: now aggregates a . and =E2=80=98info-dir.drv=E2=80=99 is attached below. I looked at the offending commit. I don=E2=80=99t doubt it has the potenti= al to introduce such a bug :-), but so far I haven=E2=80=99t seen anything fishy = as I inspected it with a fresh eye. Could you come up with a reduced reproducer for this? Ideally a small manifest, the commit of the Guix you=E2=80=99re using (not just that of the inferior), maybe a manifest that doesn=E2=80=99t even use inferiors, and so= on. Alternately, since the problem is that the output path of the derivation is incorrectly computed, you could add =E2=80=98pk=E2=80=99 calls to print = the value of =E2=80=98drv-masked=E2=80=99 in (guix derivations) or similar. That=E2=80= =99s not going to be convenient, though. :-/ Ludo=E2=80=99. PS: I=E2=80=99ll be away from keyboard so I won=E2=80=99t be able to look i= nto it until some time. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=t.drv Content-Transfer-Encoding: quoted-printable Content-Description: the derivation Derive([("out","/gnu/store/q9hkdidycz3wq28xxgjq47bzx5s39k52-info-dir","",""= )],[("/gnu/store/1lyb9v2fnbflccrawnzjw2n87ycaicia-glibc-cross-riscv64-linux= -gnu-2.27.drv",["out","static"]),("/gnu/store/3wxvpcvxr5qgs2i1wx0cqyspv3in1= kws-linux-libre-headers-cross-riscv64-linux-gnu-4.19.59.drv",["out"]),("/gn= u/store/4d4si2aiviy0ldihj7ymjkxrvx6c7rvq-i686-linux-gnu-toolchain-9.1.0.drv= ",["out"]),("/gnu/store/4imc4bigz499427hqd2yvz38y361vq5k-gcc-cross-arm-linu= x-gnueabihf-9.1.0.drv",["out"]),("/gnu/store/5i49zz5l4dzh59fi2b8fiq2llw0rkn= 8s-python-3.7.0.drv",["out"]),("/gnu/store/60x9nffmmdahdfmd0argjkfcvkzcm4c3= -linux-libre-headers-cross-x86_64-linux-gnu-4.19.59.drv",["out"]),("/gnu/st= ore/7s7lml5cgign328i6nk13fxz0r2vykng-binutils-cross-x86_64-linux-gnu-2.31.1= .drv",["out"]),("/gnu/store/7zc3ms7wxjg9ypg7r4p23ni18f43m6p1-linux-libre-he= aders-cross-aarch64-linux-gnu-4.19.59.drv",["out"]),("/gnu/store/82r3931cfj= m1864mc81wzzlfmb5rlgx1-util-linux-2.32.1.drv",["out"]),("/gnu/store/8wgjmm3= cks3xaabhm3m7w25i9wwx50z2-sed-4.5.drv",["out"]),("/gnu/store/9dgy50xx4d9f2p= nh4s0pdla7n7j61mjg-findutils-4.6.0.drv",["out"]),("/gnu/store/arvm0v20n93mr= a1s2la59by3kbm3cbsd-guile-2.2.4.drv",["out"]),("/gnu/store/c0ngi4rm0avjlp3n= b8j4yvmdlf598vr2-gzip-1.9.drv",["out"]),("/gnu/store/c0pcf8c405my5g7nsc99gx= pq66hzynn8-gcc-cross-riscv64-linux-gnu-9.1.0.drv",["out"]),("/gnu/store/c59= fjany683kns33dhb44hfc598654xh-libtool-2.4.6.drv",["out"]),("/gnu/store/d6in= hd29h4mp3zfah4dq6mh0hi1bwsd6-gcc-glibc-2.27-toolchain-9.1.0.drv",["out"]),(= "/gnu/store/dwjr2d9ds00bg8dvmsmljygz6k9y6b5h-tar-1.30.drv",["out"]),("/gnu/= store/fgv06c04vkf52s8idc5jm6c10nsa2ph1-bash-4.4.23.drv",["out"]),("/gnu/sto= re/gj3b2r65jfgrz83b6nni44028xciakfy-libfaketime-0.9.7.drv",["out"]),("/gnu/= store/iddbw29p9fq2ccygwhyvfc5r7yq0qlyr-grep-3.1.drv",["out"]),("/gnu/store/= iv231dbdxg300rk9lqmgkdm855hdxzgr-binutils-cross-aarch64-linux-gnu-2.31.1.dr= v",["out"]),("/gnu/store/jdzrl9rrdxvyg7y639igda091w1aja1b-module-import-com= piled.drv",["out"]),("/gnu/store/k9y9vjpv62nvksm5pgbxfy2ddgkrmwmv-linux-lib= re-headers-cross-i686-linux-gnu-4.19.59.drv",["out"]),("/gnu/store/kx4f618m= crmkizp5gxyb00fwn1hp4cbw-gcc-cross-aarch64-linux-gnu-9.1.0.drv",["out"]),("= /gnu/store/ljjw2dnwpdq73fg3rjh58yw27qalyssc-linux-libre-headers-cross-arm-l= inux-gnueabihf-4.19.59.drv",["out"]),("/gnu/store/lm5x5sz3s5h4drn0n2l0xrbnq= r9xyqzd-gcc-cross-x86_64-linux-gnu-9.1.0.drv",["out"]),("/gnu/store/m3fqaak= 2rc24ic0aisbl1fdafy14fb45-gcc-cross-i686-linux-gnu-9.1.0.drv",["out"]),("/g= nu/store/maiy0a31cqlsls1g139hikwabv7wwvbh-zlib-1.2.11.drv",["out"]),("/gnu/= store/n05hlghlgw64ljc8hgbimbajnlapssiw-glibc-cross-aarch64-linux-gnu-2.27.d= rv",["out","static"]),("/gnu/store/n8a9mj131ddip42cmcci3s12a3y01zj3-texinfo= -6.5.drv",["out"]),("/gnu/store/nas9cw7lk7737ha4icmdw5yhxx4j9453-which-2.21= .drv",["out"]),("/gnu/store/ngj6zhpajm7693ys419yxmkdpcqwkzg9-tcsh-6.20.00.d= rv",["out"]),("/gnu/store/nz7vl4xn2s3xwx2f7vlvhl8sp9h4lkgx-glibc-utf8-local= es-2.28.drv",["out"]),("/gnu/store/nzq7zmb44hn9wzm997pn0cb0aak7nmxq-binutil= s-cross-arm-linux-gnueabihf-2.31.1.drv",["out"]),("/gnu/store/ph6l1b0ixbvgh= vs41dpm06wqf4pw5677-glibc-cross-i686-linux-gnu-2.27.drv",["out","static"]),= ("/gnu/store/pjnibkx89y2nq3r9wb6dkscdb9rs915z-pkg-config-0.29.2.drv",["out"= ]),("/gnu/store/pwfrz20z33lhgkvy3y1s9gm2ijwcacrk-coreutils-8.30.drv",["out"= ]),("/gnu/store/q0l8y15xksvrm6fpn6miivk1dy88ka1a-riscv64-linux-gnu-toolchai= n-9.1.0.drv",["out"]),("/gnu/store/q1v24z3zfnym7fqbbh4z4jcybaaiwzlv-m4-1.4.= 18.drv",["out"]),("/gnu/store/q24ic25gr3azaxlabh9pj842kybs8h4m-file-5.33.dr= v",["out"]),("/gnu/store/qk22gsq1vrkzhrpmmlr2084f4vvlsyg4-make-4.2.1.drv",[= "out"]),("/gnu/store/qm501xmx0p6h2qyk2jfg6i35n2g2iblw-autoconf-2.69.drv",["= out"]),("/gnu/store/qxs84gr9g0vinyq433ym226d54nr668a-diffutils-3.6.drv",["o= ut"]),("/gnu/store/r3ih0hhv74bp4qkg6zfi6wd4bqzlq7df-perl-5.28.0.drv",["out"= ]),("/gnu/store/rmqarqss73akz9yaad4a02zdvp62ijx2-gzip-1.9.drv",["out"]),("/= gnu/store/rwz69w3nnbxvzwnkrrhq1q5fqf1d6rm1-glibc-cross-x86_64-linux-gnu-2.2= 7.drv",["out","static"]),("/gnu/store/s5ajxc1mc2j6njkjs2bj6ssfzb43bvan-arm-= linux-gnueabihf-toolchain-9.1.0.drv",["out"]),("/gnu/store/s66bj62iwlh9fndc= yv06z997zp6ga7fy-aarch64-linux-gnu-toolchain-9.1.0.drv",["out"]),("/gnu/sto= re/vi1jc3vkpw13nigqzw7iiqqcq9c1xinz-glibc-cross-arm-linux-gnueabihf-2.27.dr= v",["out","static"]),("/gnu/store/vxh3p0y6v577gzfp016v1xz5xs5lg47m-x86_64-l= inux-gnu-toolchain-9.1.0.drv",["out"]),("/gnu/store/w1wcggyikprn54y2c2hf1wk= 9bkn9ryja-automake-1.16.1.drv",["out"]),("/gnu/store/wan77da4mrf8x2fwc0yqnd= pz6v0fwqja-gawk-4.2.1.drv",["out"]),("/gnu/store/wcnmh5krgmz8a9x59r2gzpd81y= bn5b7v-xz-5.2.4.drv",["out"]),("/gnu/store/wgfz82qfkh9vgqlpa5icj3bzqclyg8rj= -bzip2-1.0.6.drv",["out"]),("/gnu/store/x9kynl44rpqxd78vbv8j2z58j1vmar0r-bi= nutils-cross-i686-linux-gnu-2.31.1.drv",["out"]),("/gnu/store/xk4qgfc77rd4k= 4c863fxsyxkxfi9c0ja-binutils-cross-riscv64-linux-gnu-2.31.1.drv",["out"]),(= "/gnu/store/yvm7rgcskmgsjx6wnxx2gjp71gz6ghjh-patch-2.7.6.drv",["out"])],["/= gnu/store/ak3y80w6xjr9fq22bw8d577zkm9qq005-info-dir-builder","/gnu/store/p5= q59xqmhwg60y2437fnny76nw7l6gbz-module-import"],"x86_64-linux","/gnu/store/r= 658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/bin/guile",["--no-auto-compile"= ,"-L","/gnu/store/p5q59xqmhwg60y2437fnny76nw7l6gbz-module-import","-C","/gn= u/store/syp239hi3xjgxdm8r4hvhhzh67i5ixgl-module-import-compiled","/gnu/stor= e/ak3y80w6xjr9fq22bw8d577zkm9qq005-info-dir-builder"],[("allowSubstitutes",= "0"),("guix properties","((type . profile-hook) (hook . info-dir))"),("out"= ,"/gnu/store/q9hkdidycz3wq28xxgjq47bzx5s39k52-info-dir"),("preferLocalBuild= ","1")]) --=-=-=--