[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#20261: closed (mount-points test failure within bu

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#20261: closed (mount-points test failure within build environment in linux-libre-3.19.3)
Date: Mon, 06 Apr 2015 19:58:01 +0000

Your message dated Mon, 06 Apr 2015 21:56:58 +0200
with message-id <address@hidden>
and subject line Re: bug#20261: (mount-points) returns bogus values within the 
build environment
has caused the debbugs.gnu.org bug report #20261,
regarding mount-points test failure within build environment in 
to be marked as done.

(If you believe you have received this mail in error, please contact

20261: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20261
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: (mount-points) returns bogus values within the build environment Date: Sun, 05 Apr 2015 02:12:08 -0400
Within the guix-daemon build environment, tests/syscalls.scm
consistently fails on my i686 Libreboot X60 running linux-libre-3.19.3.
Outside of the build environment the test passes.

Here's the relevant except from syscalls.log:

--8<---------------cut here---------------start------------->8---
Test begin:
  test-name: "mount-points"
  source-file: "tests/syscalls.scm"
  source-line: 47
  source-form: (test-assert "mount-points" (member "/" (mount-points)))
Test end:
  result-kind: fail
  actual-value: #f
--8<---------------cut here---------------end--------------->8---

I built a simple derivation to print the result of (mount-points) within
the build environment:

--8<---------------cut here---------------start------------->8---
address@hidden:~/guix$ ./pre-inst-env guile
GNU Guile 2.0.11
Copyright (C) 1995-2014 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> (use-modules (guix packages) (guix derivations) (guix 
store) (gnu packages commencement))
scheme@(guile-user)> (define store (open-connection))
scheme@(guile-user)> (build-expression->derivation
 store "test"
 '(begin (use-modules (guix build syscalls))
         (format #t "Mount points: ~S\n" (mount-points)))
 #:modules '((guix build syscalls))
 #:guile-for-build (package-derivation store guile-final "i686-linux" #:graft? 
 #:local-build? #t)

$1 = #<derivation /gnu/store/l7386hy58ffnj5pcvm621x6myml00bkj-test.drv => 
/gnu/store/8kya2xpgn89crq5cfrmj7952yhfhr4dv-test a2420f0>
scheme@(guile-user)> (build-derivations store (list $1))
building path(s) `/gnu/store/8kya2xpgn89crq5cfrmj7952yhfhr4dv-test'
Mount points: ("/dev/full" "/dev/kvm" "/dev/null" "/dev/random" "/dev/tty" 
"/dev/urandom" "/dev/zero" 
"/tmp/nix-build-test.drv-0" "/proc" "/dev/shm" "/dev/pts")
builder for `/gnu/store/l7386hy58ffnj5pcvm621x6myml00bkj-test.drv' failed to 
produce output path `/gnu/store/8kya2xpgn89crq5cfrmj7952yhfhr4dv-test'
guix/store.scm:621:0: In procedure build-things:
guix/store.scm:621:0: Throw to key `srfi-34' with args `(#<condition 
&nix-protocol-error [message: "build of 
`/gnu/store/l7386hy58ffnj5pcvm621x6myml00bkj-test.drv' failed" status: 100] 

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guile-user) [1]> ,q
scheme@(guile-user)> (use-modules (guix build syscalls))
scheme@(guile-user)> (mount-points)
$2 = ("/proc" "/sys" "/" "/dev" "/home/mhw/Videos" "/dev/pts" "/dev/shm" 
--8<---------------cut here---------------end--------------->8---

As you can see, "/" is listed as a mount point outside of the build
environment, but not inside.


--- End Message ---
--- Begin Message --- Subject: Re: bug#20261: (mount-points) returns bogus values within the build environment Date: Mon, 06 Apr 2015 21:56:58 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Fixed in 381ac93, thanks!


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]