From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: [PATCH 07/13] gnu: gpsbabel: Fix regression caused by update to qt 5.7. Date: Sun, 21 Aug 2016 15:59:45 -0400 Message-ID: <87lgzpdham.fsf@netris.org> References: <20160820215957.GA6502@jasmine> <20160821140825.13048-1-david@craven.ch> <20160821140825.13048-7-david@craven.ch> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbYvb-0002Md-Ae for guix-devel@gnu.org; Sun, 21 Aug 2016 16:01:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bbYvW-0004Xf-Df for guix-devel@gnu.org; Sun, 21 Aug 2016 16:01:07 -0400 Received: from world.peace.net ([50.252.239.5]:41636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbYvW-0004Xb-9n for guix-devel@gnu.org; Sun, 21 Aug 2016 16:01:02 -0400 In-Reply-To: <20160821140825.13048-7-david@craven.ch> (David Craven's message of "Sun, 21 Aug 2016 16:08:20 +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" To: David Craven Cc: guix-devel@gnu.org David Craven writes: > * gnu/packages/gps.scm (gpsbabel)[arguments]: Require gnu++11. Disable tests > on all platforms due to rounding error. > --- > gnu/packages/gps.scm | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/gnu/packages/gps.scm b/gnu/packages/gps.scm > index ccd9636..8124990 100644 > --- a/gnu/packages/gps.scm > +++ b/gnu/packages/gps.scm > @@ -48,7 +48,9 @@ > "0xf7wmy2m29g2lm8lqc74yf8rf7sxfl3cfwbk7dpf0yf42pb0b6w")))) > (build-system gnu-build-system) > (arguments > - `(#:configure-flags '("--with-zlib=system") > + `(#:configure-flags > + '("--with-zlib=system" > + "CXXFLAGS=-std=gnu++11") The ' should be under the #, so the two lines above should be moved one column to the left. > #:phases > (modify-phases %standard-phases > (add-before 'configure 'pre-configure > @@ -59,7 +61,8 @@ > ;; On i686, 'raymarine.test' fails because of a rounding error: > ;; . As a workaround, disable tests > ;; on these platforms. > - #:tests? ,(not (string-prefix? "i686" (%current-system))))) > + ;; On x86_64 with -std=gnu++11 tests also fail due to rounding error. > + #:tests? #f)) Please add a FIXME to this comment. We should not be in the habit of simply disabling test suites that fail and forgetting about them. I don't see why there should be a rounding error on x86_64. Unlike i686, double-rounding doesn't happen on that platform, and it's what developers are mostly testing on. Anyway, okay for now with the FIXME comment. Mark