From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#19708: Bowtie fails to build Date: Wed, 28 Jan 2015 15:11:06 +0100 Message-ID: References: <20150127214727.GA6287@debian> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGTLh-0005Rt-Rb for bug-guix@gnu.org; Wed, 28 Jan 2015 09:12:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGTLe-0004rr-FU for bug-guix@gnu.org; Wed, 28 Jan 2015 09:12:05 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:39911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGTLe-0004rg-6P for bug-guix@gnu.org; Wed, 28 Jan 2015 09:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YGTLd-00050v-Nk for bug-guix@gnu.org; Wed, 28 Jan 2015 09:12:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20150127214727.GA6287@debian> 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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: 19708@debbugs.gnu.org Andreas Enge writes: > bowtie currently fails to build on all three architectures on hydra. > > On i686, the error message is: > Makefile:146: *** bowtie2 compilation requires a 64-bit platform . Stop. > > Surprisingly, the same error message is shown on mip64el (!). > From its description, I do not expect users to run the program on mips, > so it might be the safest option to disable the build of these two > architectures. > > On x86_64, the error message is > g++: error: unrecognized command line option '-stdlib=libstdc++' > See http://hydra.gnu.org/build/204787 . This is odd. The Makefile only adds this option on MacOS: MACOS = 0 ifneq (,$(findstring Darwin,$(shell uname))) MACOS = 1 ifneq (,$(findstring 13,$(shell uname -r))) CPP = clang++ CC = clang EXTRA_FLAGS += -stdlib=libstdc++ endif endif Whether or not a platform is 64-bit is determined with uname. Both these errors relate to using uname. Is it not available at build time? I can build the package just fine with: guix build -S bowtie ... guix enviroment --pure bowtie make ~~ Ricardo