From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Hinsen Subject: bug#27080: =?UTF-8?Q?=C2=A8make?= install" fails because of missing gawk Date: Fri, 26 May 2017 15:53:14 +0200 Message-ID: <920162d3-7548-5f22-21c3-893fd427e353@fastmail.net> References: <87h907g9go.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEFgr-0000W3-KF for bug-guix@gnu.org; Fri, 26 May 2017 09:54:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEFgo-00056z-Bu for bug-guix@gnu.org; Fri, 26 May 2017 09:54:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36129) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dEFgo-00056f-1K for bug-guix@gnu.org; Fri, 26 May 2017 09:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dEFgn-0004pd-Om for bug-guix@gnu.org; Fri, 26 May 2017 09:54:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87h907g9go.fsf@elephly.net> Content-Language: en-US List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 27080@debbugs.gnu.org Hi Ricardo, Thanks for your reply! > You did not run “./configure --localstatedir=/var”. I did, in an earlier cycle. More precisely, I did ./configure --prefix=/opt/guix --localstatedir=/var in order to prevent Guix from overwriting some of Ubuntu's system files. In order to start from a clean slate, I now did guix environment guix make distclean ./bootstrap ./configure --prefix=/opt/guix --localstatedir=/var make check sudo make install This fails even earlier, complaining about a missing makeinfo: make[2]: Entering directory '/home/hinsen/Development/guix' MAKEINFO doc/guix.info /home/hinsen/Development/guix/build-aux/missing: line 81: makeinfo: command not found Checking config.log, I see that indeed makeinfo has not been found: MAKEINFO='${SHELL} /home/hinsen/Development/guix/build-aux/missing makeinfo' However, it is available in my environment: ~/Development/guix [dev]$ which makeinfo /gnu/store/2kgp5d4wh40b49gp4qwqh2b4il29gq6g-profile/bin/makeinfo There are a few other executables marked as missing: aclocal autoconf autoheader automake dot help2man I started from scratch again, but added the paths for these executables manually to the generated Makefile, right after configure. That got me back to the error message that I got before: /bin/bash: line 5: gawk: command not found sed: couldn't write 47 items to stdout: Broken pipe /bin/bash: line 5: echo: write error: Broken pipe ... However, config.log says: configure:2900: checking for gawk configure:2916: found /gnu/store/2kgp5d4wh40b49gp4qwqh2b4il29gq6g-profile/bin/gawk configure:2927: result: gawk and Makefile contains AWK = gawk Next, I replaced this line by AWK = /gnu/store/2kgp5d4wh40b49gp4qwqh2b4il29gq6g-profile/bin/gawk and re-ran "make install". Success! Conclusion: something is going wrong in configure. Konrad.