GNU bug report logs - #27314
guix includes wrong directory in build environment

Previous Next

Package: guix;

Reported by: ng0 <ng0 <at> pragmatique.xyz>

Date: Sat, 10 Jun 2017 18:08:01 UTC

Severity: normal

Tags: notabug

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27314 in the body.
You can then email your comments to 27314 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#27314; Package guix. (Sat, 10 Jun 2017 18:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ng0 <ng0 <at> pragmatique.xyz>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 10 Jun 2017 18:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> pragmatique.xyz>
To: bug-guix <at> gnu.org
Subject: guix includes wrong directory in build environment
Date: Sat, 10 Jun 2017 18:06:42 +0000
[Message part 1 (text/plain, inline)]
Given the appended patch and a /gnu/store/ with this listing for
ls -al /gnu/store/*gnunet*

user <at> abyayala ~$ ls -al /gnu/store/*gnunet*
-r--r--r--  2 root root 5472 Jan  1  1970 /gnu/store/1nvz1zxmbqwxzs7q9i3r72laaa16r11r-gnunet-git-0.10.1-dev.drv
-r--r--r--  2 root root 6701 Jan  1  1970 /gnu/store/39rjzdskrcwyh23vlp3i9q7jw8356h71-gnunet-git-0.10.1-dev-guile-builder
-r--r--r--  2 root root  965 Jan  1  1970 /gnu/store/4bknrxkr8pp5r88s335q3mdjdz54hi21-shepherd-gnunet.scm-builder
-r--r--r--  2 root root 1099 Jan  1  1970 /gnu/store/6763i0fkqfxr5sva4p8agp6hh0ywj142-gnunet-fuse-0.10.114b59076f-checkout.drv
-r--r--r--  2 root root  855 Jan  1  1970 /gnu/store/6rjj2z2nn3afsk2j5hx0d4bdgbwgrmqb-shepherd-gnunet.scm
-r--r--r--  2 root root  968 Jan  1  1970 /gnu/store/8q81adp7brldcm0lw1aagmfxv6by98zs-shepherd-gnunet.scm.drv
-r--r--r--  2 root root 5686 Jan  1  1970 /gnu/store/9ri5gj70xkzdvazqcgacc1hx2iyqk6xf-gnunetgf-0.10.114b59076f.drv
-r--r--r--  2 root root 6965 Jan  1  1970 /gnu/store/9vdpsmnmm0nln2h9sfijhfg0mrz9blap-gnunetgf-0.10.114b59076f-guile-builder
-r--r--r--  2 root root 2331 Jan  1  1970 /gnu/store/cjg5nid507lyk6my8vllax30sx8mwwbw-gnunet-git-0.10.1-dev.drv
-rw-------  1 root root    0 Jun 10 17:06 /gnu/store/dzizvxdjnflz0kvhqwlw66v6fj8bzmkp-gnunet-fuse-0.10.114b59076f.lock
-rw-------  1 root root    0 Jun 10 17:06 /gnu/store/g7yja5vm1yiidm3wsbvi88md2z4027d8-gnunet-fuse-0.10.114b59076f-debug.lock
-r--r--r--  2 root root 3656 Jan  1  1970 /gnu/store/iv13bsllx0vyv2km338ccwig13z5jiwk-gnunet-fuse-0.10.114b59076f-guile-builder
-r--r--r--  2 root root 6039 Jan  1  1970 /gnu/store/j7bilra2hl6zs1vrdxg91r81cfnv3xdw-gnunet-0.10.1-guile-builder
-r--r--r--  2 root root 1086 Jan  1  1970 /gnu/store/kpd6vrk5fmvmw57r8dissl4srg7lfgfg-gnunetg-0.10.114b59076f-checkout.drv
-r--r--r--  2 root root 3137 Jan  1  1970 /gnu/store/l0yqijdfca41lrp2jq7dai3k8dfzyj0m-gnunet-git-0.10.1-dev-guile-builder
-r--r--r--  2 root root 5472 Jan  1  1970 /gnu/store/lv9ig1fqzj7saviq53vspxz1h0ga8z5g-gnunet-git-0.10.1-dev.drv
-r--r--r--  2 root root 3202 Jan  1  1970 /gnu/store/qc0va2siswmc72bdk8xi4hm7dwz09xpy-gnunet-fuse-0.10.114b59076f.drv
-r--r--r--  2 root root 4776 Jan  1  1970 /gnu/store/raa51ajyif67pda2zy4gbig36fg5nj51-gnunet-0.10.1.drv
-r--r--r--  2 root root 2331 Jan  1  1970 /gnu/store/rkr8qr6mwcvqk9v4bxxkp8mr4kxar12d-gnunet-git-0.10.1-dev.drv
-r--r--r--  2 root root 1953 Jan  1  1970 /gnu/store/rz2h32dmc05ds811rr6hvzvinrymycg0-gnunet-0.10.1.drv
-r--r--r--  2 root root 2669 Jan  1  1970 /gnu/store/vkmjfhazk1a8r8mn7yclff1hfh2h0qvh-gnunet-0.10.1-guile-builder
-r--r--r--  2 root root  728 Jan  1  1970 /gnu/store/wvw5xf3nx5gwpmadn0d8v6bns5qg1gv0-gnunet-0.10.1.tar.gz.drv
-r--r--r--  2 root root 3137 Jan  1  1970 /gnu/store/yfgq5l7dgv2zpdysp3ip26cd1gsiwch1-gnunet-git-0.10.1-dev-guile-builder
-r--r--r--  2 root root 6701 Jan  1  1970 /gnu/store/yifmj159v1s0k1i2pb27jbp37ym059av-gnunet-git-0.10.1-dev-guile-builder

/gnu/store/01ja9wj2v48y5www5bhpmkx94wc4b553-gnunetgf-0.10.114b59076f:
total 1648
dr-xr-xr-x    6 root root         4096 Jan  1  1970 ./
drwxrwxr-t 3944 root guixbuild 1650688 Jun 10 17:10 ../
dr-xr-xr-x    2 root root         4096 Jan  1  1970 bin/
dr-xr-xr-x    3 root root         4096 Jan  1  1970 include/
dr-xr-xr-x    4 root root        16384 Jan  1  1970 lib/
dr-xr-xr-x    6 root root         4096 Jan  1  1970 share/

/gnu/store/1nxassvd6321rzg3y6pv2l0cm4y8vpac-gnunet-git-0.10.1-dev:
total 1644
dr-xr-xr-x    6 root root         4096 Jan  1  1970 ./
drwxrwxr-t 3944 root guixbuild 1650688 Jun 10 17:10 ../
dr-xr-xr-x    2 root root         4096 Jan  1  1970 bin/
dr-xr-xr-x    3 root root         4096 Jan  1  1970 include/
dr-xr-xr-x    4 root root        12288 Jan  1  1970 lib/
dr-xr-xr-x    6 root root         4096 Jan  1  1970 share/

/gnu/store/1rsp1g4kl67242wbv084dgwq75m6vbzs-gnunet-0.10.1:
total 1644
dr-xr-xr-x    6 root root         4096 Jan  1  1970 ./
drwxrwxr-t 3944 root guixbuild 1650688 Jun 10 17:10 ../
dr-xr-xr-x    2 root root         4096 Jan  1  1970 bin/
dr-xr-xr-x    3 root root         4096 Jan  1  1970 include/
dr-xr-xr-x    4 root root        12288 Jan  1  1970 lib/
dr-xr-xr-x    6 root root         4096 Jan  1  1970 share/

/gnu/store/2bpd88g02nh7hisiz9a9pnza5f31abzl-gnunetg-0.10.114b59076f-checkout:
total 1936
dr-xr-xr-x    9 root root         4096 Jan  1  1970 ./
drwxrwxr-t 3944 root guixbuild 1650688 Jun 10 17:10 ../
-r--r--r--    5 root root        93787 Jan  1  1970 ABOUT-NLS
-r--r--r--    4 root root         1519 Jan  1  1970 acinclude.m4
-r--r--r--    4 root root         4268 Jan  1  1970 AUTHORS
dr-xr-xr-x    2 root root         4096 Jan  1  1970 bin/
-r-xr-xr-x    4 root root           57 Jan  1  1970 bootstrap
-r--r--r--    4 root root          137 Jan  1  1970 ChangeLog
-r-xr-xr-x    4 root root        18442 Jan  1  1970 config.rpath
-r--r--r--    2 root root        53819 Jan  1  1970 configure.ac
dr-xr-xr-x   10 root root         4096 Jan  1  1970 contrib/
-r--r--r--  131 root root        35147 Jan  1  1970 COPYING
-r--r--r--    4 root root         1861 Jan  1  1970 default.nix
dr-xr-xr-x    5 root root         4096 Jan  1  1970 doc/
-r--r--r--    4 root root          388 Jan  1  1970 .gitignore
-r--r--r--    4 root root         2457 Jan  1  1970 gnunet-dev.nix
-r--r--r--    3 root root         6342 Jan  1  1970 guix-env.scm
-r--r--r--    4 root root        12553 Jan  1  1970 .indent.pro
dr-xr-xr-x    2 root root         4096 Jan  1  1970 m4/
-r--r--r--    4 root root          402 Jan  1  1970 Makefile.am
-r--r--r--    4 root root           15 Jan  1  1970 NEWS
dr-xr-xr-x    2 root root         4096 Jan  1  1970 pkgconfig/
dr-xr-xr-x    2 root root         4096 Jan  1  1970 po/
-r-xr-xr-x    4 root root          670 Jan  1  1970 pre-commit
-r--r--r--    9 root root        12954 Jan  1  1970 README
dr-xr-xr-x   67 root root         4096 Jan  1  1970 src/

/gnu/store/2vlvqqj614y9872wpv21b1b0lm2xijh9-gnunet-git-0.10.1-dev-debug:
total 1624
dr-xr-xr-x    3 root root         4096 Jan  1  1970 ./
drwxrwxr-t 3944 root guixbuild 1650688 Jun 10 17:10 ../
dr-xr-xr-x    3 root root         4096 Jan  1  1970 lib/

/gnu/store/5my5mwhp69c1030n94xivi2xy3xgswgh-gnunet-git-0.10.1-dev-debug:
total 1624
dr-xr-xr-x    3 root root         4096 Jan  1  1970 ./
drwxrwxr-t 3944 root guixbuild 1650688 Jun 10 17:10 ../
dr-xr-xr-x    3 root root         4096 Jan  1  1970 lib/

/gnu/store/5ngcg5j7m3ci6a209yxp6j3sxb78d1qr-gnunetgf-0.10.114b59076f-debug:
total 1624
dr-xr-xr-x    3 root root         4096 Jan  1  1970 ./
drwxrwxr-t 3944 root guixbuild 1650688 Jun 10 17:10 ../
dr-xr-xr-x    3 root root         4096 Jan  1  1970 lib/

/gnu/store/733k6jww6rarknirfijadb64vbcfn0mg-gnunet:
total 1940
dr-xr-xr-x   10 root root         4096 Jan  1  1970 ./
drwxrwxr-t 3944 root guixbuild 1650688 Jun 10 17:10 ../
-r--r--r--    5 root root        93787 Jan  1  1970 ABOUT-NLS
-r--r--r--    4 root root         1519 Jan  1  1970 acinclude.m4
-r--r--r--    4 root root         4268 Jan  1  1970 AUTHORS
dr-xr-xr-x    2 root root         4096 Jan  1  1970 bin/
-r-xr-xr-x    4 root root           57 Jan  1  1970 bootstrap
-r--r--r--    4 root root          137 Jan  1  1970 ChangeLog
-r-xr-xr-x    4 root root        18442 Jan  1  1970 config.rpath
-r--r--r--    3 root root        53869 Jan  1  1970 configure.ac
dr-xr-xr-x   10 root root         4096 Jan  1  1970 contrib/
-r--r--r--  131 root root        35147 Jan  1  1970 COPYING
-r--r--r--    4 root root         1861 Jan  1  1970 default.nix
dr-xr-xr-x    5 root root         4096 Jan  1  1970 doc/
dr-xr-xr-x    8 root root         4096 Jan  1  1970 .git/
-r--r--r--    4 root root          388 Jan  1  1970 .gitignore
-r--r--r--    4 root root         2457 Jan  1  1970 gnunet-dev.nix
-r--r--r--    2 root root         6325 Jan  1  1970 guix-env.scm
-r--r--r--    4 root root        12553 Jan  1  1970 .indent.pro
dr-xr-xr-x    2 root root         4096 Jan  1  1970 m4/
-r--r--r--    4 root root          402 Jan  1  1970 Makefile.am
-r--r--r--    4 root root           15 Jan  1  1970 NEWS
dr-xr-xr-x    2 root root         4096 Jan  1  1970 pkgconfig/
dr-xr-xr-x    2 root root         4096 Jan  1  1970 po/
-r-xr-xr-x    4 root root          670 Jan  1  1970 pre-commit
-r--r--r--    9 root root        12954 Jan  1  1970 README
dr-xr-xr-x   68 root root         4096 Jan  1  1970 src/

/gnu/store/97gqyjn57rg83l77khcxhsjiavjscbvs-gnunet-git-0.10.1-dev-debug:
total 1624
dr-xr-xr-x    3 root root         4096 Jan  1  1970 ./
drwxrwxr-t 3944 root guixbuild 1650688 Jun 10 17:10 ../
dr-xr-xr-x    3 root root         4096 Jan  1  1970 lib/

/gnu/store/bhi3jsnaqmk6nddshd3053hviq34ldk7-gnunet-git-0.10.1-dev-debug:
total 1624
dr-xr-xr-x    3 root root         4096 Jan  1  1970 ./
drwxrwxr-t 3944 root guixbuild 1650688 Jun 10 17:10 ../
dr-xr-xr-x    3 root root         4096 Jan  1  1970 lib/

/gnu/store/ddx65yxabg65ffqszag4k299hs3mpyy2-gnunet-git-0.10.1-dev:
total 1644
dr-xr-xr-x    6 root root         4096 Jan  1  1970 ./
drwxrwxr-t 3944 root guixbuild 1650688 Jun 10 17:10 ../
dr-xr-xr-x    2 root root         4096 Jan  1  1970 bin/
dr-xr-xr-x    3 root root         4096 Jan  1  1970 include/
dr-xr-xr-x    4 root root        12288 Jan  1  1970 lib/
dr-xr-xr-x    6 root root         4096 Jan  1  1970 share/

/gnu/store/dj3vqzvc3xy1z2b7m5lsn8hfz78an1f3-gnunet-git-0.10.1-dev:
total 1648
dr-xr-xr-x    6 root root         4096 Jan  1  1970 ./
drwxrwxr-t 3944 root guixbuild 1650688 Jun 10 17:10 ../
dr-xr-xr-x    2 root root         4096 Jan  1  1970 bin/
dr-xr-xr-x    3 root root         4096 Jan  1  1970 include/
dr-xr-xr-x    4 root root        16384 Jan  1  1970 lib/
dr-xr-xr-x    6 root root         4096 Jan  1  1970 share/

/gnu/store/ky615nyiq3zzsp164l4cxbx25n3sfnwh-gnunet-git-0.10.1-dev:
total 1648
dr-xr-xr-x    6 root root         4096 Jan  1  1970 ./
drwxrwxr-t 3944 root guixbuild 1650688 Jun 10 17:10 ../
dr-xr-xr-x    2 root root         4096 Jan  1  1970 bin/
dr-xr-xr-x    3 root root         4096 Jan  1  1970 include/
dr-xr-xr-x    4 root root        16384 Jan  1  1970 lib/
dr-xr-xr-x    6 root root         4096 Jan  1  1970 share/

/gnu/store/nf0bn7dsnscp5rj7xc8jzjg7wnccwj22-gnunet-0.10.1:
total 1644
dr-xr-xr-x    6 root root         4096 Jan  1  1970 ./
drwxrwxr-t 3944 root guixbuild 1650688 Jun 10 17:10 ../
dr-xr-xr-x    2 root root         4096 Jan  1  1970 bin/
dr-xr-xr-x    3 root root         4096 Jan  1  1970 include/
dr-xr-xr-x    4 root root        12288 Jan  1  1970 lib/
dr-xr-xr-x    6 root root         4096 Jan  1  1970 share/

/gnu/store/nppnlwy5zywzrx0c0ixsj5xfcmfjfw90-gnunet:
total 1936
dr-xr-xr-x    9 root root         4096 Jan  1  1970 ./
drwxrwxr-t 3944 root guixbuild 1650688 Jun 10 17:10 ../
-r--r--r--    5 root root        93787 Jan  1  1970 ABOUT-NLS
-r--r--r--    4 root root         1519 Jan  1  1970 acinclude.m4
-r--r--r--    4 root root         4268 Jan  1  1970 AUTHORS
dr-xr-xr-x    2 root root         4096 Jan  1  1970 bin/
-r-xr-xr-x    4 root root           57 Jan  1  1970 bootstrap
-r--r--r--    4 root root          137 Jan  1  1970 ChangeLog
-r-xr-xr-x    4 root root        18442 Jan  1  1970 config.rpath
-r--r--r--    3 root root        53869 Jan  1  1970 configure.ac
dr-xr-xr-x   10 root root         4096 Jan  1  1970 contrib/
-r--r--r--  131 root root        35147 Jan  1  1970 COPYING
-r--r--r--    4 root root         1861 Jan  1  1970 default.nix
dr-xr-xr-x    5 root root         4096 Jan  1  1970 doc/
-r--r--r--    4 root root          388 Jan  1  1970 .gitignore
-r--r--r--    4 root root         2457 Jan  1  1970 gnunet-dev.nix
-r--r--r--    3 root root         6342 Jan  1  1970 guix-env.scm
-r--r--r--    4 root root        12553 Jan  1  1970 .indent.pro
dr-xr-xr-x    2 root root         4096 Jan  1  1970 m4/
-r--r--r--    4 root root          402 Jan  1  1970 Makefile.am
-r--r--r--    4 root root           15 J


gnunet-fuse 'picks' the first gnunet it finds in the /gnu/store/:

checking for fuse.h... yes
checking for GNUnet core... /gnu/store/01ja9wj2v48y5www5bhpmkx94wc4b553-gnunetgf-0.10.114b59076f
checking for GNUnet util library in /gnu/store/01ja9wj2v48y5www5bhpmkx94wc4b553-gnunetgf-0.10.114b59076f... checking for gnunet/gnunet_util_lib.h... no
configure: error: gnunet-fuse requires GNUnet
phase `configure' failed after 2.0 seconds
note: keeping build directory `/tmp/guix-build-gnunet-fuse-0.10.114b59076f.drv-0'
builder for `/gnu/store/qc0va2siswmc72bdk8xi4hm7dwz09xpy-gnunet-fuse-0.10.114b59076f.drv' failed with exit code 1
@ build-failed /gnu/store/qc0va2siswmc72bdk8xi4hm7dwz09xpy-gnunet-fuse-0.10.114b59076f.drv - 1 builder for `/gnu/store/qc0va2siswmc72bdk8xi4hm7dwz09xpy-gnunet-fuse-0.10.114b59076f.drv' failed with exit code 1
guix build: error: build failed: build of `/gnu/store/qc0va2siswmc72bdk8xi4hm7dwz09xpy-gnunet-fuse-0.10.114b59076f.drv' failed


It has to fail because I need to get the commit right (0.10.1 gnunet and
0.10.0 -fuse are not compatible). However the problem is that I do not
understand why one of my alternative gnunet packages is picked up.

They are in my GUIX_PACKAGE_PATH, you can clone them from the mirror at
http://notabug.org/ng0/ng0-packages/ (if this url is wrong take a look
at https://notabug.org/ng0/).

What is happening here?
-- 
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
[0001-gnu-Add-gnunet-fuse.patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27314; Package guix. (Fri, 16 Jun 2017 08:49:02 GMT) Full text and rfc822 format available.

Message #8 received at 27314 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: ng0 <ng0 <at> pragmatique.xyz>
Cc: 27314 <at> debbugs.gnu.org
Subject: Re: bug#27314: guix includes wrong directory in build environment
Date: Fri, 16 Jun 2017 10:48:12 +0200
Hi ng0,

ng0 <ng0 <at> pragmatique.xyz> skribis:

> gnunet-fuse 'picks' the first gnunet it finds in the /gnu/store/:
>
> checking for fuse.h... yes
> checking for GNUnet core... /gnu/store/01ja9wj2v48y5www5bhpmkx94wc4b553-gnunetgf-0.10.114b59076f
> checking for GNUnet util library in /gnu/store/01ja9wj2v48y5www5bhpmkx94wc4b553-gnunetgf-0.10.114b59076f... checking for gnunet/gnunet_util_lib.h... no
> configure: error: gnunet-fuse requires GNUnet
> phase `configure' failed after 2.0 seconds
> note: keeping build directory `/tmp/guix-build-gnunet-fuse-0.10.114b59076f.drv-0'
> builder for `/gnu/store/qc0va2siswmc72bdk8xi4hm7dwz09xpy-gnunet-fuse-0.10.114b59076f.drv' failed with exit code 1
> @ build-failed /gnu/store/qc0va2siswmc72bdk8xi4hm7dwz09xpy-gnunet-fuse-0.10.114b59076f.drv - 1 builder for `/gnu/store/qc0va2siswmc72bdk8xi4hm7dwz09xpy-gnunet-fuse-0.10.114b59076f.drv' failed with exit code 1
> guix build: error: build failed: build of `/gnu/store/qc0va2siswmc72bdk8xi4hm7dwz09xpy-gnunet-fuse-0.10.114b59076f.drv' failed

Could you run “guix build gnunet-fuse -K” and then check
/tmp/guix-build-gnunet-fuse-0.10.114b59076f.drv-0/environment-variables
as well as the ‘config.log’ file in there?

The build environment includes only the ‘gnunet’ package that the recipe
provides, not another ‘gnunet’.

HTH,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#27314; Package guix. (Fri, 16 Jun 2017 10:13:01 GMT) Full text and rfc822 format available.

Message #11 received at 27314 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> infotropique.org>
To: 27314 <at> debbugs.gnu.org
Subject: Re: bug#27314: guix includes wrong directory in build environment
Date: Fri, 16 Jun 2017 10:12:15 +0000
[Message part 1 (text/plain, inline)]
Ludovic Courtès transcribed 1.4K bytes:
> Hi ng0,
> 
> ng0 <ng0 <at> pragmatique.xyz> skribis:
> 
> > gnunet-fuse 'picks' the first gnunet it finds in the /gnu/store/:
> >
> > checking for fuse.h... yes
> > checking for GNUnet core... /gnu/store/01ja9wj2v48y5www5bhpmkx94wc4b553-gnunetgf-0.10.114b59076f
> > checking for GNUnet util library in /gnu/store/01ja9wj2v48y5www5bhpmkx94wc4b553-gnunetgf-0.10.114b59076f... checking for gnunet/gnunet_util_lib.h... no
> > configure: error: gnunet-fuse requires GNUnet
> > phase `configure' failed after 2.0 seconds
> > note: keeping build directory `/tmp/guix-build-gnunet-fuse-0.10.114b59076f.drv-0'
> > builder for `/gnu/store/qc0va2siswmc72bdk8xi4hm7dwz09xpy-gnunet-fuse-0.10.114b59076f.drv' failed with exit code 1
> > @ build-failed /gnu/store/qc0va2siswmc72bdk8xi4hm7dwz09xpy-gnunet-fuse-0.10.114b59076f.drv - 1 builder for `/gnu/store/qc0va2siswmc72bdk8xi4hm7dwz09xpy-gnunet-fuse-0.10.114b59076f.drv' failed with exit code 1
> > guix build: error: build failed: build of `/gnu/store/qc0va2siswmc72bdk8xi4hm7dwz09xpy-gnunet-fuse-0.10.114b59076f.drv' failed
> 
> Could you run “guix build gnunet-fuse -K” and then check
> /tmp/guix-build-gnunet-fuse-0.10.114b59076f.drv-0/environment-variables
> as well as the ‘config.log’ file in there?
> 
> The build environment includes only the ‘gnunet’ package that the recipe
> provides, not another ‘gnunet’.
> 
> HTH,
> Ludo’.

Files appended.
-- 
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
https://krosos.org/~/ng0/ https://www.infotropique.org
[environment-variables (text/plain, attachment)]
[config.log (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27314; Package guix. (Mon, 26 Jun 2017 19:55:01 GMT) Full text and rfc822 format available.

Message #14 received at 27314 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: 27314 <at> debbugs.gnu.org
Subject: Re: bug#27314: guix includes wrong directory in build environment
Date: Mon, 26 Jun 2017 21:54:27 +0200
Hi ng0,

config.log reads this:

> configure:9394: gcc -c -I/gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include -fno-strict-aliasing -Wall -g -O2	 -I/gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include  conftest.c >&5
> In file included from /gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include/gnunet/gnunet_util_lib.h:56:0,
>                  from conftest.c:44:
> /gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include/gnunet/gnunet_crypto_lib.h:80:20: fatal error: gcrypt.h: No such file or directory
> compilation terminated.

I think this means that ‘gnunetgf’ should propagate libgcrypt.

I’m closing this bug because I think it’s a packaging issue and not the
bug suggested in the Subject line.

Thanks,
Ludo’.




Added tag(s) notabug. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Mon, 26 Jun 2017 19:55:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 27314 <at> debbugs.gnu.org and ng0 <ng0 <at> pragmatique.xyz> Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Mon, 26 Jun 2017 19:55:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#27314; Package guix. (Mon, 26 Jun 2017 21:26:01 GMT) Full text and rfc822 format available.

Message #21 received at 27314 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> infotropique.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27314 <at> debbugs.gnu.org
Subject: Re: bug#27314: guix includes wrong directory in build environment
Date: Mon, 26 Jun 2017 21:25:35 +0000
[Message part 1 (text/plain, inline)]
Ludovic Courtès transcribed 0.9K bytes:
> Hi ng0,
> 
> config.log reads this:
> 
> > configure:9394: gcc -c -I/gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include -fno-strict-aliasing -Wall -g -O2	 -I/gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include  conftest.c >&5
> > In file included from /gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include/gnunet/gnunet_util_lib.h:56:0,
> >                  from conftest.c:44:
> > /gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include/gnunet/gnunet_crypto_lib.h:80:20: fatal error: gcrypt.h: No such file or directory
> > compilation terminated.
> 
> I think this means that ‘gnunetgf’ should propagate libgcrypt.
> 
> I’m closing this bug because I think it’s a packaging issue and not the
> bug suggested in the Subject line.
> 
> Thanks,
> Ludo’.

The thing here is that I am _not_ using gnunetgf for the package in question,
I am using gnunet, from guix master. So from my perspective it is a bug and it
is repeating every time.

gnunetgf[2] inherits from gnunetg[1]

1: https://github.com/ng-0/guix_packages/blob/master/ng0/packages/gnunet.scm#L59
2: https://github.com/ng-0/guix_packages/blob/master/ng0/packages/gnunet.scm#L167

and gnunetg inherits from gnunet but overrides most of the package definition.

But my gnunet-fuse does *only* use ("gnunet" ,gnunet) directly from (gnu packages gnunet)
in guix master, not the module I defined. I don't think propagating libgcrypt in an
unrelated package will fix this issue.
-- 
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
infotropique: https://www.infotropique.org
personal: https://ng-0.github.io https://krosos.org/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27314; Package guix. (Tue, 27 Jun 2017 13:43:01 GMT) Full text and rfc822 format available.

Message #24 received at 27314 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: 27314 <at> debbugs.gnu.org
Subject: Re: bug#27314: guix includes wrong directory in build environment
Date: Tue, 27 Jun 2017 15:42:00 +0200
Hi ng0,

ng0 <ng0 <at> infotropique.org> skribis:

> Ludovic Courtès transcribed 0.9K bytes:
>> Hi ng0,
>> 
>> config.log reads this:
>> 
>> > configure:9394: gcc -c -I/gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include -fno-strict-aliasing -Wall -g -O2	 -I/gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include  conftest.c >&5
>> > In file included from /gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include/gnunet/gnunet_util_lib.h:56:0,
>> >                  from conftest.c:44:
>> > /gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include/gnunet/gnunet_crypto_lib.h:80:20: fatal error: gcrypt.h: No such file or directory
>> > compilation terminated.
>> 
>> I think this means that ‘gnunetgf’ should propagate libgcrypt.
>> 
>> I’m closing this bug because I think it’s a packaging issue and not the
>> bug suggested in the Subject line.
>> 
>> Thanks,
>> Ludo’.
>
> The thing here is that I am _not_ using gnunetgf for the package in question,
> I am using gnunet, from guix master. So from my perspective it is a bug and it
> is repeating every time.
>
> gnunetgf[2] inherits from gnunetg[1]
>
> 1: https://github.com/ng-0/guix_packages/blob/master/ng0/packages/gnunet.scm#L59
> 2: https://github.com/ng-0/guix_packages/blob/master/ng0/packages/gnunet.scm#L167
>
> and gnunetg inherits from gnunet but overrides most of the package definition.

Hey, this is not Guix code here.  :-)

I can only give guidance to debug this.  For instance, could you check
with “guix graph” whether the package graph really looks the way you
want?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#27314; Package guix. (Tue, 27 Jun 2017 14:24:01 GMT) Full text and rfc822 format available.

Message #27 received at 27314 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> infotropique.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27314 <at> debbugs.gnu.org
Subject: Re: bug#27314: guix includes wrong directory in build environment
Date: Tue, 27 Jun 2017 14:23:03 +0000
[Message part 1 (text/plain, inline)]
Ludovic Courtès transcribed 1.7K bytes:
> Hi ng0,
> 
> ng0 <ng0 <at> infotropique.org> skribis:
> 
> > Ludovic Courtès transcribed 0.9K bytes:
> >> Hi ng0,
> >> 
> >> config.log reads this:
> >> 
> >> > configure:9394: gcc -c -I/gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include -fno-strict-aliasing -Wall -g -O2	 -I/gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include  conftest.c >&5
> >> > In file included from /gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include/gnunet/gnunet_util_lib.h:56:0,
> >> >                  from conftest.c:44:
> >> > /gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include/gnunet/gnunet_crypto_lib.h:80:20: fatal error: gcrypt.h: No such file or directory
> >> > compilation terminated.
> >> 
> >> I think this means that ‘gnunetgf’ should propagate libgcrypt.
> >> 
> >> I’m closing this bug because I think it’s a packaging issue and not the
> >> bug suggested in the Subject line.
> >> 
> >> Thanks,
> >> Ludo’.
> >
> > The thing here is that I am _not_ using gnunetgf for the package in question,
> > I am using gnunet, from guix master. So from my perspective it is a bug and it
> > is repeating every time.
> >
> > gnunetgf[2] inherits from gnunetg[1]
> >
> > 1: https://github.com/ng-0/guix_packages/blob/master/ng0/packages/gnunet.scm#L59
> > 2: https://github.com/ng-0/guix_packages/blob/master/ng0/packages/gnunet.scm#L167
> >
> > and gnunetg inherits from gnunet but overrides most of the package definition.
> 
> Hey, this is not Guix code here.  :-)

Okay, but it is not guix code which is getting into the way of guix code:
gnunet-fuse is being prepared in the guix repository, not one of my
GUIX_PACKAGE_PATH repositories.

> I can only give guidance to debug this.  For instance, could you check
> with “guix graph” whether the package graph really looks the way you
> want?

No. As you can see in the DAG it makes use of gnunetgt while I specify
really ("gnunet" ,gnunet) in the gnunet-fuse in gnu/packages/gnunet.scm
. This is what is messing with my head. Why?

gnunetgt is the first directory which includes gnunet in its name and is
currently in the /gnu/store that is the only relation I see.

https://krosos.org/gnunet-fuse.pdf

> Thanks,
> Ludo’.
> 
> 
> 
> 

-- 
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
infotropique: https://www.infotropique.org
personal: https://ng-0.github.io https://krosos.org/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27314; Package guix. (Tue, 27 Jun 2017 14:28:02 GMT) Full text and rfc822 format available.

Message #30 received at 27314-done <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> infotropique.org>
To: Ludovic Courtès <ludo <at> gnu.org>, 27314-done <at> debbugs.gnu.org
Subject: Re: bug#27314: guix includes wrong directory in build environment
Date: Tue, 27 Jun 2017 14:27:01 +0000
[Message part 1 (text/plain, inline)]
Oops! Okay I found the mistake!

I forgot that I have this in my ng0/packages/gnunet.scm:

;; fuse, pointing to the tests disabled version of gnunet-git
(define-public gnunet-fuse
  (let* ((commit "c25f3acb22f386f2836cd7c7ae21fcef272c0352")
         (revision "2"))
    (package
      (inherit gnunetg)
      (name "gnunet-fuse")
      (version (package-version gnunetgf))
[…]

I had it in there for so long that I forgot it exists.
Sorry :)

ng0 transcribed 3.6K bytes:
> Ludovic Courtès transcribed 1.7K bytes:
> > Hi ng0,
> > 
> > ng0 <ng0 <at> infotropique.org> skribis:
> > 
> > > Ludovic Courtès transcribed 0.9K bytes:
> > >> Hi ng0,
> > >> 
> > >> config.log reads this:
> > >> 
> > >> > configure:9394: gcc -c -I/gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include -fno-strict-aliasing -Wall -g -O2	 -I/gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include  conftest.c >&5
> > >> > In file included from /gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include/gnunet/gnunet_util_lib.h:56:0,
> > >> >                  from conftest.c:44:
> > >> > /gnu/store/5cbyk5gmw2gj017d02vyibz3v6rdldz7-gnunetgf-0.10.114b59076f/include/gnunet/gnunet_crypto_lib.h:80:20: fatal error: gcrypt.h: No such file or directory
> > >> > compilation terminated.
> > >> 
> > >> I think this means that ‘gnunetgf’ should propagate libgcrypt.
> > >> 
> > >> I’m closing this bug because I think it’s a packaging issue and not the
> > >> bug suggested in the Subject line.
> > >> 
> > >> Thanks,
> > >> Ludo’.
> > >
> > > The thing here is that I am _not_ using gnunetgf for the package in question,
> > > I am using gnunet, from guix master. So from my perspective it is a bug and it
> > > is repeating every time.
> > >
> > > gnunetgf[2] inherits from gnunetg[1]
> > >
> > > 1: https://github.com/ng-0/guix_packages/blob/master/ng0/packages/gnunet.scm#L59
> > > 2: https://github.com/ng-0/guix_packages/blob/master/ng0/packages/gnunet.scm#L167
> > >
> > > and gnunetg inherits from gnunet but overrides most of the package definition.
> > 
> > Hey, this is not Guix code here.  :-)
> 
> Okay, but it is not guix code which is getting into the way of guix code:
> gnunet-fuse is being prepared in the guix repository, not one of my
> GUIX_PACKAGE_PATH repositories.
> 
> > I can only give guidance to debug this.  For instance, could you check
> > with “guix graph” whether the package graph really looks the way you
> > want?
> 
> No. As you can see in the DAG it makes use of gnunetgt while I specify
> really ("gnunet" ,gnunet) in the gnunet-fuse in gnu/packages/gnunet.scm
> . This is what is messing with my head. Why?
> 
> gnunetgt is the first directory which includes gnunet in its name and is
> currently in the /gnu/store that is the only relation I see.
> 
> https://krosos.org/gnunet-fuse.pdf
> 
> > Thanks,
> > Ludo’.
> > 
> > 
> > 
> > 
> 
> -- 
> ng0
> OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
> infotropique: https://www.infotropique.org
> personal: https://ng-0.github.io https://krosos.org/



-- 
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
infotropique: https://www.infotropique.org
personal: https://ng-0.github.io https://krosos.org/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27314; Package guix. (Tue, 27 Jun 2017 19:34:02 GMT) Full text and rfc822 format available.

Message #33 received at 27314-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: 27314-done <at> debbugs.gnu.org
Subject: Re: bug#27314: guix includes wrong directory in build environment
Date: Tue, 27 Jun 2017 21:33:08 +0200
ng0 <ng0 <at> infotropique.org> skribis:

> Oops! Okay I found the mistake!
>
> I forgot that I have this in my ng0/packages/gnunet.scm:
>
> ;; fuse, pointing to the tests disabled version of gnunet-git
> (define-public gnunet-fuse
>   (let* ((commit "c25f3acb22f386f2836cd7c7ae21fcef272c0352")
>          (revision "2"))
>     (package
>       (inherit gnunetg)
>       (name "gnunet-fuse")
>       (version (package-version gnunetgf))
> […]
>
> I had it in there for so long that I forgot it exists.
> Sorry :)

No problem, glad you found it!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 26 Jul 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 331 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.