From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: [PATCH 1/3] gnu: Add opusfile. Date: Wed, 21 Oct 2015 20:05:43 -0400 Message-ID: <87si53lqco.fsf@netris.org> References: <1445253649-1582-1-git-send-email-paul@denknerd.org> <87io6081qf.fsf@gnu.org> <87pp08rp57.fsf@denknerd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp3OL-0005rT-IO for guix-devel@gnu.org; Wed, 21 Oct 2015 20:06:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zp3OG-00081q-0h for guix-devel@gnu.org; Wed, 21 Oct 2015 20:06:00 -0400 In-Reply-To: <87pp08rp57.fsf@denknerd.org> (Paul van der Walt's message of "Wed, 21 Oct 2015 21:35:16 +0200") 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: Paul van der Walt Cc: guix-devel@gnu.org Paul van der Walt writes: > On 2015-10-21 at 21:23, quoth Ludovic Court=C3=A8s: >>> + (inputs >>> + `(("pkg-config" ,pkg-config) >> >> This one should be in =E2=80=98native-inputs=E2=80=99 (normally =E2=80= =98guix lint=E2=80=99 warns about >> it.) >> >> OK to push with this change. > > Right, fixed and pushed. Is it surprising that it worked as i had it, > though? No. The difference between 'inputs' and 'native-inputs' is noticeable when cross-compiling. 'inputs' are built to run on the target machine, and 'native-inputs' are built to run on the build machine. For example, suppose you use an x86_64 machine to cross-compile this package to run on armhf. If you put 'pkg-config' in 'inputs', then it would have been built to run on 'armhf', so when 'configure' tries to run 'pkg-config' on the x86_64 build machine, it won't work. Mark