From mboxrd@z Thu Jan 1 00:00:00 1970 From: mhw@netris.org Subject: Making 'file' an implicit native input in core-updates Date: Wed, 20 Aug 2014 14:58:51 -0400 Message-ID: <87mwazasyc.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKB69-0000EG-NF for guix-devel@gnu.org; Wed, 20 Aug 2014 14:59:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKB62-0004dT-8e for guix-devel@gnu.org; Wed, 20 Aug 2014 14:59:05 -0400 Received: from world.peace.net ([96.39.62.75]:57930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKB62-0004dH-1t for guix-devel@gnu.org; Wed, 20 Aug 2014 14:58:58 -0400 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: guix-devel@gnu.org Hi, I recently updated libffi, libatomic_ops, and libgc on core-updates. 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? Mark