From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH] Attempt to fix build of sra-tools on i686. Date: Mon, 1 Jun 2015 11:36:54 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzM9e-0002N2-8Q for guix-devel@gnu.org; Mon, 01 Jun 2015 05:37:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzM9W-0005bN-Lj for guix-devel@gnu.org; Mon, 01 Jun 2015 05:37:10 -0400 Received: from sinope.bbbm.mdc-berlin.de ([141.80.25.23]:49744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzM9W-0005an-Bs for guix-devel@gnu.org; Mon, 01 Jun 2015 05:37:02 -0400 Received: from localhost (localhost [127.0.0.1]) by sinope.bbbm.mdc-berlin.de (Postfix) with ESMTP id 16EB8280572 for ; Mon, 1 Jun 2015 11:37:00 +0200 (CEST) Received: from sinope.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (sinope.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7mtGZgEKmNdx for ; Mon, 1 Jun 2015 11:36:54 +0200 (CEST) Received: from HTCAONE.mdc-berlin.net (mab.citx.mdc-berlin.de [141.80.36.102]) by sinope.bbbm.mdc-berlin.de (Postfix) with ESMTP for ; Mon, 1 Jun 2015 11:36:53 +0200 (CEST) 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 --=-=-= Content-Type: text/plain Currently sra-tools fails to build on i686 because the custom configuration system cannot find the "ilib" directory for "ncbi-vdb". Turns out that "ncbi-vdb" had a broken "install-interfaces" phase on i686. The attached patch fixes the phase on i686 and should thus fix the build of sra-tools on i686. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename="0001-gnu-ncbi-vdb-Use-i386-instead-of-i686-in-directory-n.patch" >From 6d3e22354c767f76711e3f73a2e26d7d7783f57a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 1 Jun 2015 11:31:29 +0200 Subject: [PATCH] gnu: ncbi-vdb: Use "i386" instead of "i686" in directory name. * gnu/packages/bioinformatics.scm (ncbi-vdb)[arguments]: Copy libraries from "linux/gcc/i386" directory instead of "linux/gcc/i686" when building on i686. --- gnu/packages/bioinformatics.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 71055d1..9f6d75a 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -1506,11 +1506,13 @@ simultaneously.") (assoc-ref inputs "hdf5")))))) (alist-cons-after 'install 'install-interfaces - (lambda* (#:key system outputs #:allow-other-keys) + (lambda* (#:key outputs #:allow-other-keys) ;; Install interface libraries (mkdir (string-append (assoc-ref outputs "out") "/ilib")) (copy-recursively (string-append "build/ncbi-vdb/linux/gcc/" - (car (string-split system #\-)) + ,(system->linux-architecture + (or (%current-target-system) + (%current-system))) "/rel/ilib") (string-append (assoc-ref outputs "out") "/ilib")) -- 2.1.0 --=-=-=--