all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#27314: guix includes wrong directory in build environment
@ 2017-06-10 18:06 ng0
  2017-06-16  8:48 ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: ng0 @ 2017-06-10 18:06 UTC (permalink / raw)
  To: 27314


[-- Attachment #1.1: Type: text/plain, Size: 13536 bytes --]

Given the appended patch and a /gnu/store/ with this listing for
ls -al /gnu/store/*gnunet*

user@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

[-- Attachment #1.2: 0001-gnu-Add-gnunet-fuse.patch --]
[-- Type: text/plain, Size: 1731 bytes --]

From 16a9b9f5976cbe8d301595768c4caeb1a947d9cf Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
Date: Mon, 19 Sep 2016 16:23:53 +0000
Subject: [PATCH] gnu: Add gnunet-fuse.

* gnu/packages/gnunet.scm (gnunet-fuse): New variable.
---
 gnu/packages/gnunet.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 44d612989..c7468378a 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -391,3 +391,32 @@ services.")
      `(("pkg-config" ,pkg-config)
        ("libglade" ,libglade)))
     (synopsis "Graphical front-end tools for GNUnet")))
+
+(define-public gnunet-fuse
+  (package
+    (name "gnunet-fuse")
+    (version "0.10.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnu/gnunet/gnunet-fuse-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "0ggc2gkyd6qvd4a9z84xbynq5jajbldbx6qkh79k9zjiycz2ffbb"))))
+    (arguments
+     `(#:configure-flags
+       (list (string-append "--with-gnunet="
+                            (assoc-ref %build-inputs "gnunet")))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("gnunet" ,gnunet)
+       ("fuse" ,fuse)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (synopsis "Mount directories which are published on GNUnet")
+    (description
+     "GNUnet-fuse allows you to mount directories published on GNUnet
+as read-only file-systems on operating systems that support the
+FUSE API).")
+    (license license:gpl3+)
+    (home-page "https://gnunet.org/")))
-- 
2.13.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-06-27 19:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-10 18:06 bug#27314: guix includes wrong directory in build environment ng0
2017-06-16  8:48 ` Ludovic Courtès
2017-06-16 10:12   ` ng0
2017-06-26 19:54     ` Ludovic Courtès
2017-06-26 21:25       ` ng0
2017-06-27 13:42         ` Ludovic Courtès
2017-06-27 14:23           ` ng0
2017-06-27 14:27             ` ng0
2017-06-27 19:33               ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.