Subject: bug#31170: closed (Re: bug#31170: Package: nix build failed)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 10 Jun 2018 13:43:02 +0000

Your bug report

#31170: Package: nix build failed

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
31170: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31170
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#31170: Package: nix build failed
From: [email-masked] (宋文武)
To: <[email-masked]>
Cc: [email-masked]
Date: Sun, 10 Jun 2018 21:42:14 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

<[email-masked]> writes:

> Package: nix build failed

Hello, thanks for the report.

I had updated nix to 2.0.4, which should fix the build.

Subject: Package: nix build failed
From: <[email-masked]>
To: <[email-masked]>
Date: Sun, 15 Apr 2018 20:53:19 +0200 (CEST)
List-Id: <debbugs-submit.debbugs.gnu.org>

Package: nix build failed

starting phase `build'
  GEN    Makefile.config
  CXX    src/nix-hash/nix-hash.o
  CXX    src/libmain/shared.o
  CXX    src/libmain/stack.o
  CXX    src/libstore/build.o
  CXX    src/libstore/builtins.o
  CXX    src/libstore/derivations.o
  CXX    src/libstore/download.o
  CXX    src/libstore/gc.o
src/libmain/stack.cc: In function ‘void nix::sigsegvHandler(int, siginfo_t*, void*)’:
src/libmain/stack.cc:23:21: error: ‘ucontext’ was not declared in this scope
     sp = (char *) ((ucontext *) ctx)->uc_mcontext.gregs[REG_RSP];
                     ^
src/libmain/stack.cc:23:31: error: expected primary-expression before ‘)’ token
     sp = (char *) ((ucontext *) ctx)->uc_mcontext.gregs[REG_RSP];
                               ^
src/libmain/stack.cc:23:33: error: expected ‘)’ before ‘ctx’
     sp = (char *) ((ucontext *) ctx)->uc_mcontext.gregs[REG_RSP];
                                 ^
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-unneeded-internal-declaration’
make: *** [mk/patterns.mk:3: src/libmain/stack.o] Error 1
make: *** Waiting for unfinished jobs....
phase `build' failed after 11.2 seconds
builder for `/gnu/store/wqzgh59kpkgix8w673h6r07r8n5i2mnk-nix-1.11.9.drv' failed with exit code 1
guix package: error: build failed: build of `/gnu/store/wqzgh59kpkgix8w673h6r07r8n5i2mnk-nix-1.11.9.drv' failed