From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: Re: [PATCH] gnu: Add freeimage. Date: Mon, 03 Nov 2014 18:29:32 -0500 Message-ID: <87a947lv6r.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> References: <87egtmx6ox.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <20141101165950.GA10580@debian> <87bnoqx2do.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <20141102174652.GD6865@debian> <87wq7dv66i.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <20141102211033.GA11333@debian> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlR4B-0004hd-PS for guix-devel@gnu.org; Mon, 03 Nov 2014 18:29:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlR46-0004EM-8e for guix-devel@gnu.org; Mon, 03 Nov 2014 18:29:43 -0500 Received: from na3sys009aog138.obsmtp.com ([74.125.149.19]:34725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlR46-0004EE-0D for guix-devel@gnu.org; Mon, 03 Nov 2014 18:29:38 -0500 Received: by mail-qc0-f177.google.com with SMTP id l6so9829512qcy.8 for ; Mon, 03 Nov 2014 15:29:34 -0800 (PST) In-Reply-To: <20141102211033.GA11333@debian> 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: Andreas Enge Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Andreas Enge writes: > Unfortunately, it fails to build on mips: > http://hydra.gnu.org/build/136438 > Could you have a look? To me it looks as if there is bad assembly code > in the source: > /tmp/nix-build-freeimage-3.16.0.drv-0/cc1WaZEm.s: Assembler messages: > /tmp/nix-build-freeimage-3.16.0.drv-0/cc1WaZEm.s:360: Error: opcode not supported on this processor: mips3 (mips3) `madd $24,$10' > ... Here's a patch that drops MIPS support. Okay to push? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-freeimage-Remove-MIPS-from-supported-systems.patch >From 67515d4f69b7deda45be7fb6e7ebf260d5e0439b Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 3 Nov 2014 18:26:38 -0500 Subject: [PATCH] gnu: freeimage: Remove MIPS from supported-systems. * gnu/packages/image.scm (freeimage): Drop support for "mips64el-linux". --- gnu/packages/image.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index f4f4c78..7a22bf4 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -377,6 +377,8 @@ supplies a generic doubly-linked list and some string functions.") #:tests? #f)) ; no check target (native-inputs `(("unzip" ,unzip))) + ;; Fails to build on MIPS due to assembly code in the source. + (supported-systems (delete "mips64el-linux" %supported-systems)) (synopsis "Library for handling popular graphics image formats") (description "FreeImage is a library for developers who would like to support popular -- 2.1.1 --=-=-= Content-Type: text/plain -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate --=-=-=--