From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: Making 'file' an implicit native input in core-updates Date: Wed, 20 Aug 2014 14:21:38 -0500 Message-ID: <87egwbdl19.fsf@gmail.com> References: <87mwazasyc.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKBSr-0006ss-RA for guix-devel@gnu.org; Wed, 20 Aug 2014 15:22:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKBSl-0004QR-Ri for guix-devel@gnu.org; Wed, 20 Aug 2014 15:22:33 -0400 Received: from mail-ig0-x22d.google.com ([2607:f8b0:4001:c05::22d]:51378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKBSl-0004Q8-LZ for guix-devel@gnu.org; Wed, 20 Aug 2014 15:22:27 -0400 Received: by mail-ig0-f173.google.com with SMTP id h18so12170550igc.6 for ; Wed, 20 Aug 2014 12:22:26 -0700 (PDT) In-reply-to: <87mwazasyc.fsf@netris.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: mhw@netris.org Cc: guix-devel@gnu.org mhw@netris.org writes: > Unfortunately, all three of them fail on MIPS, for the same reason that > sudo and gawk currently need workarounds: all of these packages were > bootstrapped with a version of 'libtool' that requires /usr/bin/file on > MIPS. > > Given that this problem is becoming increasingly common, I think we > should add 'file' as an implicit native-input for the gnu-build-system > in core-updates, and also add a new phase to %standard-phases that > substitutes /usr/bin/file in the usual places with a path that works in > the build environment. > > What do you think? I had wanted to do this a while back for pedenatic reasons. The reason at the time for not doing it was that "it doesn't create a real problem in most cases". Causing failed builds on MIPS seems to me to be enough of a real problem to justify the change. -- Eric Bavier