bootstrap (bash-mesboot0) and ’make release ’ error
(address . bug-guix@gnu.org)
Dear,
Reading the release document [1] and going step by step, so I start from
a fresh worktree and branch and I tweak a bit (maybe I am doing wrong)
otherwise it fails:
./bootstrap && ./configure --localstatedir=/var/
make
make GUIX_MAINTENANCE_DIRECTORY=../../maintenance update-NEWS
make doc-pot-update
then the target and the error:
Toggle snippet (17 lines)
$ make release
[...]
make[4]: Leaving directory '/home/simon/src/guix/wk/rel/po/packages'
make \
top_distdir="guix-1.0.1.22205-a8360-dirty" distdir="guix-1.0.1.22205-a8360-dirty" \
dist-info dist-hook
make[4]: Entering directory '/home/simon/src/guix/wk/rel'
GEN gen-ChangeLog
GEN gen-AUTHORS
echo 1.0.1.22205-a8360-dirty > "guix-1.0.1.22205-a8360-dirty/.tarball-version"
guix-1.0.1.22205-a8360-dirty/gnu/packages/commencement.scm:// /gnu/store/cq0cmv35s9dhilx14zaghlc08gpc0hwr-tcc-boot0-0.9.26-6.c004e9a/lib/libc.a: error: 'sigprocmask' defined twice
error: store file names embedded in the distribution
make[4]: *** [Makefile:6335: assert-no-store-file-names] Error 1
The checkout is based on commit a8360892d7.
On IRC [2], it rings a bell. :-) The error should come from
’bash-mesboot0’ in (gnu packages commencement) at the ’modify-phases’
[3]:
Toggle snippet (18 lines)
(add-after 'configure 'configure-fixups
(lambda _
(substitute* "config.h"
(("#define GETCWD_BROKEN 1") "#undef GETCWD_BROKEN"))
(let ((config.h (open-file "config.h" "a")))
(display (string-append "
// tcc: error: undefined symbol 'enable_hostname_completion'
#define enable_hostname_completion(on_or_off) 0
// /gnu/store/cq0cmv35s9dhilx14zaghlc08gpc0hwr-tcc-boot0-0.9.26-6.c004e9a/lib/libc.a: error: 'sigprocmask' defined twice
#define HAVE_POSIX_SIGNALS 1
#define endpwent(x) 0
")
config.h)
(close config.h))
#t))
Let indicate me how to investigate, I have no clue. :-)
All the best,
simon
[1]:
[3]