From: Andreas Enge <andreas@enge.fr>
To: bug-guix@gnu.org
Subject: Build of attr fails with non-bash shell
Date: Thu, 20 Dec 2012 23:34:34 +0100 [thread overview]
Message-ID: <201212202334.35082.andreas@enge.fr> (raw)
[-- Attachment #1: Type: text/plain, Size: 3915 bytes --]
The build phase of attr fails in my setting:
guix-daemon --build-users-group=nixbld --chroot-directory=/bin --chroot-
directory=/lib64 --chroot-directory=/lib
with
make[2]: Entering directory `/tmp/nix-build-
attr-2.4.46.drv-0/attr-2.4.46/libmisc'
/bin/sh ../libtool --mode=compile gcc -g -O2 -DDEBUG -funsigned-char -fno-
strict-aliasing -Wall -DVERSION=\"2.4.46\" -
DLOCALEDIR=\"/nix/store/s1y8llipcivyf07j53lkg8v21y4yjazg-
attr-2.4.46/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -
D_FILE_OFFSET_BITS=64 -c quote.c
make[2]: Entering directory `/tmp/nix-build-
attr-2.4.46.drv-0/attr-2.4.46/m4'
make[2]: Nothing to be done for `default'.
make[2]: Leaving directory `/tmp/nix-build-
attr-2.4.46.drv-0/attr-2.4.46/m4'
/nix/store/vphh2xg6ky5xi31f683adsmzwxy6qymw-make-3.82/bin/make -C po
make[2]: Entering directory `/tmp/nix-build-
attr-2.4.46.drv-0/attr-2.4.46/man'
/nix/store/vphh2xg6ky5xi31f683adsmzwxy6qymw-make-3.82/bin/make -C man1
make[2]: Entering directory `/tmp/nix-build-
attr-2.4.46.drv-0/attr-2.4.46/doc'
/nix/store/a1br58c1z6az38wljw4i45qxgcfsx06a-gzip-1.5/bin/gzip --best -c <
CHANGES > CHANGES.gz
../libtool: 1: eval: base_compile+= gcc: not found
../libtool: 1: eval: base_compile+= -g: not found
../libtool: 1: eval: base_compile+= -O2: not found
../libtool: 1: eval: base_compile+= -DDEBUG: not found
../libtool: 1: eval: base_compile+= -funsigned-char: not found
../libtool: 1: eval: base_compile+= -fno-strict-aliasing: not found
../libtool: 1: eval: base_compile+= -Wall: not found
make[2]: Entering directory `/tmp/nix-build-
attr-2.4.46.drv-0/attr-2.4.46/po'
/nix/store/6kljhmv1m0r8vvdlqr5vz7rjgpdhi0wc-gettext-0.18.1.1/bin/msgfmt -o
cs.mo cs.po
make[3]: Entering directory `/tmp/nix-build-
attr-2.4.46.drv-0/attr-2.4.46/man/man1'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/tmp/nix-build-
attr-2.4.46.drv-0/attr-2.4.46/man/man1'
/nix/store/vphh2xg6ky5xi31f683adsmzwxy6qymw-make-3.82/bin/make -C man2
make[2]: Leaving directory `/tmp/nix-build-
attr-2.4.46.drv-0/attr-2.4.46/doc'
/nix/store/vphh2xg6ky5xi31f683adsmzwxy6qymw-make-3.82/bin/make -C man3
../libtool: 1: eval: base_compile+= -DVERSION=\"2.4.46\": not found
../libtool: 1: eval: base_compile+= -
DLOCALEDIR=\"/nix/store/s1y8llipcivyf07j53lkg8v21y4yjazg-
attr-2.4.46/share/locale\": not found
/nix/store/6kljhmv1m0r8vvdlqr5vz7rjgpdhi0wc-gettext-0.18.1.1/bin/msgfmt -o
de.mo de.po
../libtool: 1: eval: base_compile+= -DPACKAGE=\"attr\": not found
../libtool: 1: eval: base_compile+= -I../include: not found
make[3]: Entering directory `/tmp/nix-build-
attr-2.4.46.drv-0/attr-2.4.46/man/man3'
../libtool: 1: eval: base_compile+= -D_GNU_SOURCE: not found
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/tmp/nix-build-
attr-2.4.46.drv-0/attr-2.4.46/man/man3'
../libtool: 1: eval: base_compile+= -D_FILE_OFFSET_BITS=64: not found
../libtool: 1: eval: base_compile+= -c: not found
/nix/store/6kljhmv1m0r8vvdlqr5vz7rjgpdhi0wc-gettext-0.18.1.1/bin/msgfmt -o
es.mo es.po
make[3]: Entering directory `/tmp/nix-build-
attr-2.4.46.drv-0/attr-2.4.46/man/man2'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/tmp/nix-build-
attr-2.4.46.drv-0/attr-2.4.46/man/man2'
/nix/store/vphh2xg6ky5xi31f683adsmzwxy6qymw-make-3.82/bin/make -C man5
libtool: compile: you must specify a compilation command
libtool: compile: Try `libtool --help --mode=compile' for more information.
make[2]: *** [quote.lo] Error 1
make[2]: Leaving directory `/tmp/nix-build-
attr-2.4.46.drv-0/attr-2.4.46/libmisc'
make[1]: *** [libmisc] Error 2
make[1]: *** Waiting for unfinished jobs....
A web search leads me to
http://trac.osgeo.org/gdal/ticket/4102
It looks as if bash is needed, whereas my /bin/sh is (a symbolic link to)
dash. And indeed compilation succeeds after replacing it by a symbolic link
to bash.
Do you see another way of fixing this problem?
Andreas
[-- Attachment #2: Type: text/html, Size: 13097 bytes --]
next reply other threads:[~2012-12-20 22:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-20 22:34 Andreas Enge [this message]
2012-12-20 23:09 ` Build of attr fails with non-bash shell Ludovic Courtès
2012-12-21 10:44 ` Andreas Enge
2012-12-21 11:00 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201212202334.35082.andreas@enge.fr \
--to=andreas@enge.fr \
--cc=bug-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).