From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 1/1] gnu: openexr: Disable broken test to fix build on i686. Date: Thu, 10 Mar 2016 15:12:27 -0500 Message-ID: <8c8bd1a93437ee981f97979b7cd029800a746a03.1457640278.git.leo@famulari.name> References: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae6wg-0007MC-87 for guix-devel@gnu.org; Thu, 10 Mar 2016 15:12:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ae6wd-0004uU-3X for guix-devel@gnu.org; Thu, 10 Mar 2016 15:12:30 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:42979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae6wc-0004uD-Vy for guix-devel@gnu.org; Thu, 10 Mar 2016 15:12:27 -0500 Received: from jasmine.lan (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 7E01CC00012 for ; Thu, 10 Mar 2016 15:12:26 -0500 (EST) In-Reply-To: In-Reply-To: References: 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 * gnu/packages/graphics.scm (openexr)[arguments]: New field. --- gnu/packages/graphics.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index c022d74..3c5ad72 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -206,6 +206,20 @@ exception-handling library.") "\"/tmp/\""))) (patches (list (search-patch "openexr-missing-samples.patch"))))) (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-broken-test + ;; This test fails on i686. Upstream developers suggest that + ;; this test is broken on i686 and can be safely disabled: + ;; https://github.com/openexr/openexr/issues/67#issuecomment-21169748 + (lambda _ + (substitute* "IlmImfTest/main.cpp" + (("#include \"testOptimizedInterleavePatterns.h\"") + "//#include \"testOptimizedInterleavePatterns.h\"") + (("TEST \\(testOptimizedInterleavePatterns") + "//TEST (testOptimizedInterleavePatterns")) + #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (propagated-inputs -- 2.6.3