From unknown Mon Jun 23 16:47:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26294: [PATCH] gnu: rocksdb: Disable tests on 32-bit systems. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Mar 2017 09:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26294 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 26294@debbugs.gnu.org Cc: Marius Bakke X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14907805645907 (code B ref -1); Wed, 29 Mar 2017 09:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Mar 2017 09:42:44 +0000 Received: from localhost ([127.0.0.1]:50104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctA7o-0001XD-BK for submit@debbugs.gnu.org; Wed, 29 Mar 2017 05:42:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctA7l-0001Wz-MO for submit@debbugs.gnu.org; Wed, 29 Mar 2017 05:42:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ctA7f-00020T-RU for submit@debbugs.gnu.org; Wed, 29 Mar 2017 05:42:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40161) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ctA7f-00020P-OD for submit@debbugs.gnu.org; Wed, 29 Mar 2017 05:42:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctA7e-00059F-IJ for guix-patches@gnu.org; Wed, 29 Mar 2017 05:42:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ctA7b-0001zZ-Ei for guix-patches@gnu.org; Wed, 29 Mar 2017 05:42:34 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36155) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ctA7a-0001yd-Ob for guix-patches@gnu.org; Wed, 29 Mar 2017 05:42:31 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1266120985; Wed, 29 Mar 2017 05:42:26 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Wed, 29 Mar 2017 05:42:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc:x-sasl-enc; s=fm1; bh=/f1WJVfNvziVSvaqUKrs2GQcMlCeb7 dVnFnFPCJvoLM=; b=l9vI1JjZ8DClnu2andOUwcZzcWscNuG8uZBmPIFyvdpOuB N4ejVB29bEvxBckPd5qrVPXXAvrAcmwSs6rzyAgb7gtELP2FMMtAlFS7rh7RuNKg K7fMWiLGJb/uH9HEkInBPuyYRgLK5LYDZUIQIpFNhEngB/yEdTEkP6X28zTDz0NC Sc65AAQwfw6vxQ+q9Um6Ojnmx/8sv/Xh4Q/dH7RUWdYzAmD7FghFpgwBLjhALb97 pONk8B2JyNcugLoMUb2NXpRlesFkBidIDo1HGEGtdu5/gJzQrUUkocxbygTx4mWF YeRHVw+64Bgtl4fdGhBXNODqKjAaQslqOWZp1zvg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=/f1WJV fNvziVSvaqUKrs2GQcMlCeb7dVnFnFPCJvoLM=; b=lk7lcDD17nm96MmRb5YKvi pjRWq67AoYO1lOgH68dvYMIYd2XPo7As/2jeubAvWgz8sBkytuaRcLYtlN8AqTXC OxEkYDjMMgfct2P3Rf5hi8tyPiLhc20YbhGZAja0R7qxcmaQfdbZODQo1hXW+3az Q63hvUEgeE7P+V5Vp/7XANE/BIuusdSYzqUv6Fo00/vbi3tUm6QgzfZVEMWiw0iJ DPdOr02TiwBO9FfTSMqFlSD0IbygqajpHkoeYa8IDlWkpBDlvyME++u7HFPD3y5f aoESeKLrpCZ5PxH6iJJvugsnXS2QfrwdAtFMSOp+aQsjOm/1zEH2b471Jh+Tsjhg == X-ME-Sender: X-Sasl-enc: jGm++qnlB+OVkRggLr5M1H4+11qgbz53GNG2vK3/H/oX 1490780545 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 9D9C07E6E3; Wed, 29 Mar 2017 05:42:25 -0400 (EDT) From: Marius Bakke Date: Wed, 29 Mar 2017 11:42:20 +0200 Message-Id: <20170329094220.5694-1-mbakke@fastmail.com> X-Mailer: git-send-email 2.12.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) * gnu/packages/databases.scm (rocksdb)[arguments]: Make #:tests? conditional. Delete unnecessary 'build' phase. --- gnu/packages/databases.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index b87e8a210..e73635910 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -533,12 +533,20 @@ types are supported, as is encryption.") #t)))) (build-system gnu-build-system) (arguments - '(#:make-flags (list "CC=gcc" + `(#:make-flags (list "CC=gcc" ;; Make the resulting library position-independent so the ;; static version can be included in shared objects. "EXTRA_CXXFLAGS=-fPIC" (string-append "INSTALL_PATH=" (assoc-ref %outputs "out"))) + ;; Many tests fail on 32-bit platforms. There are multiple reports about + ;; this upstream, but it's not going to be supported any time soon. + #:tests? (let ((system ,(or (%current-target-system) + (%current-system))) + (supported-systems '("x86_64-linux" "aarch64-linux"))) + (if (member system supported-systems) + #t + #f)) #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-Makefile @@ -548,6 +556,8 @@ types are supported, as is encryption.") (("#!/bin/sh") (string-append "#!" (which "sh")))) #t)) (delete 'configure) + ;; The default target is only needed for tests and built on demand. + (delete 'build) (add-before 'check 'disable-failing-tests (lambda _ (substitute* "Makefile" -- 2.12.2 From unknown Mon Jun 23 16:47:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26294: [PATCH] gnu: rocksdb: Disable tests on 32-bit systems. Resent-From: Kei Kebreau Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Mar 2017 19:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26294 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 26294@debbugs.gnu.org Received: via spool by 26294-submit@debbugs.gnu.org id=B26294.14909868554163 (code B ref 26294); Fri, 31 Mar 2017 19:01:02 +0000 Received: (at 26294) by debbugs.gnu.org; 31 Mar 2017 19:00:55 +0000 Received: from localhost ([127.0.0.1]:54764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cu1n4-000154-Uk for submit@debbugs.gnu.org; Fri, 31 Mar 2017 15:00:55 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:38766 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cu1n2-00014w-Ne for 26294@debbugs.gnu.org; Fri, 31 Mar 2017 15:00:53 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id BAA6E5162DF; Fri, 31 Mar 2017 21:00:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1490986851; bh=VxOvaei5v1c3VbggjVWQEev1Oun3M1xzqg6rebOywGw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ipknaMxQt/wwwzZViURmig1LUlEgwCuxLBL3bVIXYRgBcOxQDLc/sRXNVwXT3HoFz yj01tOnM33gzsD/hUWP7r2EZIsI98ZhoXffXCdSHkaQsWyhS+0IAngnsRS+CRv4LSF 3WpzK1FF6UyiJdmccjlsZyippVlZLnjKBkTyh6EY= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Kei Kebreau DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1490986850; bh=VxOvaei5v1c3VbggjVWQEev1Oun3M1xzqg6rebOywGw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=l72DuWwWEUGvUXvtXsu9eRkt+VrDwzfSlmxATOnktg2e17MpVBzhkzO6PcMQ1cD9B vDijweo82igNEr9bCE+/vLBJCK9Y8kkRkYOWHztZdMR1pPgQxcvwxuM793pqKFhXvM VAzoDA7ViXTmzKLCgOl5oVkA+ZQTpzBiOCOR8sxY= References: <20170329094220.5694-1-mbakke@fastmail.com> Date: Fri, 31 Mar 2017 15:00:33 -0400 In-Reply-To: <20170329094220.5694-1-mbakke@fastmail.com> (Marius Bakke's message of "Wed, 29 Mar 2017 11:42:20 +0200") Message-ID: <87bmsh5l0u.fsf@openmailbox.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain Marius Bakke writes: > * gnu/packages/databases.scm (rocksdb)[arguments]: Make #:tests? conditional. > Delete unnecessary 'build' phase. > --- > gnu/packages/databases.scm | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm > index b87e8a210..e73635910 100644 > --- a/gnu/packages/databases.scm > +++ b/gnu/packages/databases.scm > @@ -533,12 +533,20 @@ types are supported, as is encryption.") > #t)))) > (build-system gnu-build-system) > (arguments > - '(#:make-flags (list "CC=gcc" > + `(#:make-flags (list "CC=gcc" > ;; Make the resulting library position-independent so the > ;; static version can be included in shared objects. > "EXTRA_CXXFLAGS=-fPIC" > (string-append "INSTALL_PATH=" > (assoc-ref %outputs "out"))) > + ;; Many tests fail on 32-bit platforms. There are multiple reports about > + ;; this upstream, but it's not going to be supported any time soon. > + #:tests? (let ((system ,(or (%current-target-system) > + (%current-system))) > + (supported-systems '("x86_64-linux" "aarch64-linux"))) > + (if (member system supported-systems) > + #t > + #f)) > #:phases > (modify-phases %standard-phases > (add-after 'unpack 'patch-Makefile > @@ -548,6 +556,8 @@ types are supported, as is encryption.") > (("#!/bin/sh") (string-append "#!" (which "sh")))) > #t)) > (delete 'configure) > + ;; The default target is only needed for tests and built on demand. > + (delete 'build) > (add-before 'check 'disable-failing-tests > (lambda _ > (substitute* "Makefile" I'm unable to test your claim about 32-bit tests (I'm getting HTTP error code 504 when attempt to access info on hydra.gnu.org), but the package builds and lints fine for me on x86_64. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAljep1EACgkQ5qXuPBlG eg03BxAAhuuzdC9lPrRkMp7FNwYvW5RuPn5/unmFYs26fRajxbWZICy+SsN97zZe h8waQWllWeFY/3m1wTYy+qTG+75VUgjlGkhCRajTMNRq3F1fhxvmwMF802z1+Xtq Q/dTawBXHzdYllJlVoKMfGn5xJ5UrpeuN3Yvn2KUDNBuRQjacmMNDbyv/rTTbQa0 ovbziB00/i7IR9y+tMMHL1aG06YSAAg42QGcaTqUYGMh0483m1bbZ2tmxVtJFRPK 9lVMTqQDzmEANau19Zk7/AU1puofMYqCxf+FDdalMHZ4yH2/8/+iHl8hCNx9PvF7 q73IbNJoWVedWJCGVCxZZrjh3hGqUQ5vnpW1LoyMdI0etOUwoE30nOX4/Cy05VQ3 +b8bvydQJL6WTraK4NqrDTn0DZdxT52SiYuiu4XdeCC06vW+zBJrS+MNrKr8RK4T BDWxR2NKEajLLaWVkebUA9i9kF4AFFdgWFYYwlEskLNkbDY0luFHYBwLWRtLwPeU eM6oVsK5yR81VmhMT92O+wG4OVc5TOwcNZSVA19KhZiM5hrd0Fm/gGHoFfI7Ayd3 cZRHw7ze3mOeexybBU68kiNfcthC3Et2v70CvjaHsKmWNwpVTBkwnv4eRBo1f08w L0ejoOihJz0N/vLSKK+9WyBk7teJrZvMYajrVLBkrAB4ioXoc2g= =5prQ -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Jun 23 16:47:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26294: [PATCH] gnu: rocksdb: Disable tests on 32-bit systems. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Apr 2017 21:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26294 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 26294@debbugs.gnu.org Received: via spool by 26294-submit@debbugs.gnu.org id=B26294.14924645735989 (code B ref 26294); Mon, 17 Apr 2017 21:30:02 +0000 Received: (at 26294) by debbugs.gnu.org; 17 Apr 2017 21:29:33 +0000 Received: from localhost ([127.0.0.1]:53045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0EDF-0001YX-8h for submit@debbugs.gnu.org; Mon, 17 Apr 2017 17:29:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0EDC-0001Y5-3z for 26294@debbugs.gnu.org; Mon, 17 Apr 2017 17:29:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0ED3-00068W-Pj for 26294@debbugs.gnu.org; Mon, 17 Apr 2017 17:29:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0ED3-00068S-MV; Mon, 17 Apr 2017 17:29:21 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:38534 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d0ED3-0003EX-3P; Mon, 17 Apr 2017 17:29:21 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170329094220.5694-1-mbakke@fastmail.com> Date: Mon, 17 Apr 2017 23:29:18 +0200 In-Reply-To: <20170329094220.5694-1-mbakke@fastmail.com> (Marius Bakke's message of "Wed, 29 Mar 2017 11:42:20 +0200") Message-ID: <87zifeoh8x.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, Marius Bakke skribis: > * gnu/packages/databases.scm (rocksdb)[arguments]: Make #:tests? conditio= nal. > Delete unnecessary 'build' phase. > --- > gnu/packages/databases.scm | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm > index b87e8a210..e73635910 100644 > --- a/gnu/packages/databases.scm > +++ b/gnu/packages/databases.scm > @@ -533,12 +533,20 @@ types are supported, as is encryption.") > #t)))) > (build-system gnu-build-system) > (arguments > - '(#:make-flags (list "CC=3Dgcc" > + `(#:make-flags (list "CC=3Dgcc" > ;; Make the resulting library position-indepen= dent so the > ;; static version can be included in shared ob= jects. > "EXTRA_CXXFLAGS=3D-fPIC" > (string-append "INSTALL_PATH=3D" > (assoc-ref %outputs "out"))) > + ;; Many tests fail on 32-bit platforms. There are multiple report= s about > + ;; this upstream, but it's not going to be supported any time soo= n. > + #:tests? (let ((system ,(or (%current-target-system) > + (%current-system))) > + (supported-systems '("x86_64-linux" "aarch64-linux= "))) > + (if (member system supported-systems) > + #t > + #f)) This doesn=E2=80=99t work because (%current-target-system) is a GNU triplet, like =E2=80=9Carm-linux-gnueabihf=E2=80=9D, whereas (%current-system) is a = =E2=80=9Csystem type=E2=80=9D, like =E2=80=9Carmhf-linux=E2=80=9D. Instead you should use =E2=80=98string-prefix?=E2=80=99 or similar. Other than that, I think it should go in! Thanks, Ludo=E2=80=99. From unknown Mon Jun 23 16:47:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26294: [PATCH] gnu: rocksdb: Disable tests on 32-bit systems. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Apr 2017 21:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26294 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 26294@debbugs.gnu.org Received: via spool by 26294-submit@debbugs.gnu.org id=B26294.149246490113358 (code B ref 26294); Mon, 17 Apr 2017 21:35:01 +0000 Received: (at 26294) by debbugs.gnu.org; 17 Apr 2017 21:35:01 +0000 Received: from localhost ([127.0.0.1]:53063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0EIW-0003TO-RH for submit@debbugs.gnu.org; Mon, 17 Apr 2017 17:35:01 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:53909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0EIV-0003TG-D6 for 26294@debbugs.gnu.org; Mon, 17 Apr 2017 17:34:59 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0BD8120B1C; Mon, 17 Apr 2017 17:34:59 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Mon, 17 Apr 2017 17:34:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=SWcjK59UGedDRBzBsUp+heJUrnnGNisCoKhTJT3iR i0=; b=AdxGgk0xJ5UQJNbkFStnx6WoAhBhFQCib9MS0hPZooRr+RkHr8Aq50Fmj lB9p8dfPLP6pxiSDEUzT1z+Iwx2cjYV4EEo8PjdtmkBmWYgW7FvwmIpNtVtUispw mfifMnZKsndzj9zbVB4ge1GMeH50FomllhWV6wMuneH2b7Bvd9ahz46XZ73kUklb wbTwaKUiV6ujIpyksTPX/FjiTdSCP6XmDs1JXZ+qi3pmo2StqS/4Lc5ad97QXF7q MU18tLPK8YDzVfziPlqS1feJ/bBojPlW76+gp9CZqOJuCrOyxnLH+/QMpS/UtemS K4ivLj2+lPVAstiibe1N1A/mTs09Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=SWcjK59UGedDRBzBsU p+heJUrnnGNisCoKhTJT3iRi0=; b=nkFX6f4vF+W0rVKUuF0tN4AoPDaL5xMir0 fCmpUle13oscuByWdW3bfg+HrFu6q9WJfDjfxiKRi3ZvmlUM4mWh84Ab/OdjteDJ dDXkjFp4/JYZ1qb96Q+X+3KvGFn87f+qK5mS9hWkj+4PZMq6kX3LCOKleVhrnntg WyOUfqIyNsO90VEXH/8+Uwm/N4OWkeLt6/uW6JfKAIpmBqnGlzw1bIFyOgplRfv/ vL+miPUGBD52kSTx0xU3hOY5h8Rggzv+ZJHu1HoLAtoqUmMcX5mY8m7kST4eCF2X h1ROlNWp4n11bKfLZt+TLwnj252KSb6SSPrw7HxSR3zCUBxrjQGQ== X-ME-Sender: X-Sasl-enc: hrYCb9EOP+1pGsio4M1zAtOmFTWo+5ZAL1j2zVsJmIIY 1492464898 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 932147E6A3; Mon, 17 Apr 2017 17:34:58 -0400 (EDT) From: Marius Bakke In-Reply-To: <87zifeoh8x.fsf@gnu.org> References: <20170329094220.5694-1-mbakke@fastmail.com> <87zifeoh8x.fsf@gnu.org> User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) Date: Mon, 17 Apr 2017 23:34:56 +0200 Message-ID: <871ssqlnun.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hello, > > Marius Bakke skribis: > >> * gnu/packages/databases.scm (rocksdb)[arguments]: Make #:tests? conditi= onal. >> Delete unnecessary 'build' phase. >> --- >> gnu/packages/databases.scm | 12 +++++++++++- >> 1 file changed, 11 insertions(+), 1 deletion(-) >> >> diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm >> index b87e8a210..e73635910 100644 >> --- a/gnu/packages/databases.scm >> +++ b/gnu/packages/databases.scm >> @@ -533,12 +533,20 @@ types are supported, as is encryption.") >> #t)))) >> (build-system gnu-build-system) >> (arguments >> - '(#:make-flags (list "CC=3Dgcc" >> + `(#:make-flags (list "CC=3Dgcc" >> ;; Make the resulting library position-indepe= ndent so the >> ;; static version can be included in shared o= bjects. >> "EXTRA_CXXFLAGS=3D-fPIC" >> (string-append "INSTALL_PATH=3D" >> (assoc-ref %outputs "out"))) >> + ;; Many tests fail on 32-bit platforms. There are multiple repor= ts about >> + ;; this upstream, but it's not going to be supported any time so= on. >> + #:tests? (let ((system ,(or (%current-target-system) >> + (%current-system))) >> + (supported-systems '("x86_64-linux" "aarch64-linu= x"))) >> + (if (member system supported-systems) >> + #t >> + #f)) > > This doesn=E2=80=99t work because (%current-target-system) is a GNU tripl= et, > like =E2=80=9Carm-linux-gnueabihf=E2=80=9D, whereas (%current-system) is = a =E2=80=9Csystem > type=E2=80=9D, like =E2=80=9Carmhf-linux=E2=80=9D. > > Instead you should use =E2=80=98string-prefix?=E2=80=99 or similar. > > Other than that, I think it should go in! Well, I actually tried this recently (also disabling the individual tests, which was a rabbit hole that ultimately gave an inexplicable error). Anyway, when building for i686-linux on x86_64, the compiler appears to hit a never-ending loop at the linking stage! I'm pretty sure this was not the case before the core-updates merge (when I tested this), so I wonder if it's a case of https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26497 . To be continued, but now it would just cause the build to take up a CPU core until it times out, rather than failing early.. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlj1NQEACgkQoqBt8qM6 VPrXpwgAoL7EOPvrpzW0blrZT7hlwtfaro2tP/yO5SBP/y/ccUF1JA2SWdDo4ARX jOo+/Tci+DAzXDX165356HNNCzRfsOZ1kZ10ThyDS/VU/JVg3ju1XKqRuZOnVFoq 2LHBlzP2rk4s/F6A2nu+wqOOFW8pJE+xr0el3Wsarn/Wf3t6ozIlIWVLAokZSKHm MLqJHkNHqhI8XP1oDxeM6W55P9KBn4csXe0xGdhFQZrTHPQ2A5tS2x+IIjmD47aV KbyRH++KlSk4PH6SfK67jG00mZsXFAKD9J07/pAO8ev2nMAVF0cyVqsB9ert214E G8Mi2wZskHOXF4KaWECAL6OlH3cJ1w== =+0Lf -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Jun 23 16:47:33 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Marius Bakke Subject: bug#26294: closed (Re: bug#26294: [PATCH] gnu: rocksdb: Disable tests on 32-bit systems.) Message-ID: References: <87shkai4ss.fsf@fastmail.com> <20170329094220.5694-1-mbakke@fastmail.com> X-Gnu-PR-Message: they-closed 26294 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 26294@debbugs.gnu.org Date: Fri, 12 May 2017 13:28:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1494595682-3808-1" This is a multi-part message in MIME format... ------------=_1494595682-3808-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #26294: [PATCH] gnu: rocksdb: Disable tests on 32-bit systems. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 26294@debbugs.gnu.org. --=20 26294: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26294 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1494595682-3808-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 26294-done) by debbugs.gnu.org; 12 May 2017 13:27:20 +0000 Received: from localhost ([127.0.0.1]:39930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9AbI-0000yN-0H for submit@debbugs.gnu.org; Fri, 12 May 2017 09:27:20 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:58257) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9AbG-0000yF-7v for 26294-done@debbugs.gnu.org; Fri, 12 May 2017 09:27:18 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 6D79F207E3; Fri, 12 May 2017 09:27:17 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Fri, 12 May 2017 09:27:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=0OAeroFOMWcYtQQJNocXGgUy1CqQJOytLtF7z0KZp Ig=; b=f7CA5Y7b4uyalWvvquvL6UBVAILt43QI7IRDV03y8uHQPSD+XztM0VF85 vN3Rcl8GBtpFJBNagiGBbMqU8wBefdDnDxO+zJmhCzjgzjNj/8M+e0BpGbRu+mMp MZbybhwpj5lTJATlcQv+ejBSIYBZXIeXZ1RbJRZkoy6PMGIG8RxhaYI9faKHci9T 751th0LdjDYuubUchjZnk9vPx5l9/HNlvBdRPodc6OAxMMfJLOTN4VaXoP6fpAFF Ydn/mmQ52/MP/EFfFFZBIsFU2cMR2LPLQuaDD/tQYqm3Y1hrEifbpAjxtyn2nlNK wOTf+LVFZlSuj8l5kEmMJowlwiKUQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=0OAeroFOMWcYtQQJNo cXGgUy1CqQJOytLtF7z0KZpIg=; b=V5YbfesdE8NJBQzVYfL39PPWNeKFIRfZ1H 1j3O66ly+3jMIFW4oj7DSsB97Iq6ANYT4NqvZ7+rWn2AB984tKTXFvjkQ2UeZIDU gNsokqL2POQFMphs0AmKoAlwmv69Py2IDSECava5qP0yCTSs2ZP6US4FVHHEFBoh OWm7aKYe2my6j6T6J5CujWYFtwkIQuw7wv5IjmOotWCqgtqBn7DmgtHKnSBVwZyT lR4tjyPsW/hsH2WVxM3OsJusAHLNjsV2UDwOQIZ2PSLczg47iUob25P/xNWMPQT0 JdPNzZ3bVvuTaq1h7yzda1ECGKUVLcLNwYnP6yoJWv0jywdRL5wQ== X-ME-Sender: X-Sasl-enc: lfshJ6ZdBuH780l5rimz5mytj18LFPa6eeczV0Gp/dK7 1494595637 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 0086F24950; Fri, 12 May 2017 09:27:16 -0400 (EDT) From: Marius Bakke To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#26294: [PATCH] gnu: rocksdb: Disable tests on 32-bit systems. In-Reply-To: <871ssqlnun.fsf@fastmail.com> References: <20170329094220.5694-1-mbakke@fastmail.com> <87zifeoh8x.fsf@gnu.org> <871ssqlnun.fsf@fastmail.com> User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Fri, 12 May 2017 15:27:15 +0200 Message-ID: <87shkai4ss.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26294-done Cc: 26294-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Marius Bakke writes: > Ludovic Court=C3=A8s writes: > >> Hello, >> >> Marius Bakke skribis: >> >>> * gnu/packages/databases.scm (rocksdb)[arguments]: Make #:tests? condit= ional. >>> Delete unnecessary 'build' phase. >>> --- >>> gnu/packages/databases.scm | 12 +++++++++++- >>> 1 file changed, 11 insertions(+), 1 deletion(-) >>> >>> diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm >>> index b87e8a210..e73635910 100644 >>> --- a/gnu/packages/databases.scm >>> +++ b/gnu/packages/databases.scm >>> @@ -533,12 +533,20 @@ types are supported, as is encryption.") >>> #t)))) >>> (build-system gnu-build-system) >>> (arguments >>> - '(#:make-flags (list "CC=3Dgcc" >>> + `(#:make-flags (list "CC=3Dgcc" >>> ;; Make the resulting library position-indep= endent so the >>> ;; static version can be included in shared = objects. >>> "EXTRA_CXXFLAGS=3D-fPIC" >>> (string-append "INSTALL_PATH=3D" >>> (assoc-ref %outputs "out"))) >>> + ;; Many tests fail on 32-bit platforms. There are multiple repo= rts about >>> + ;; this upstream, but it's not going to be supported any time s= oon. >>> + #:tests? (let ((system ,(or (%current-target-system) >>> + (%current-system))) >>> + (supported-systems '("x86_64-linux" "aarch64-lin= ux"))) >>> + (if (member system supported-systems) >>> + #t >>> + #f)) >> >> This doesn=E2=80=99t work because (%current-target-system) is a GNU trip= let, >> like =E2=80=9Carm-linux-gnueabihf=E2=80=9D, whereas (%current-system) is= a =E2=80=9Csystem >> type=E2=80=9D, like =E2=80=9Carmhf-linux=E2=80=9D. >> >> Instead you should use =E2=80=98string-prefix?=E2=80=99 or similar. >> >> Other than that, I think it should go in! > > Well, I actually tried this recently (also disabling the individual > tests, which was a rabbit hole that ultimately gave an inexplicable > error). > > Anyway, when building for i686-linux on x86_64, the compiler appears to > hit a never-ending loop at the linking stage! I'm pretty sure this was > not the case before the core-updates merge (when I tested this), so I > wonder if it's a case of > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26497 . > > To be continued, but now it would just cause the build to take up a CPU > core until it times out, rather than failing early.. I'm still hitting some loop when building for i686-linux, but decided to push this patch regardless to see if it works better on native platforms (especially ARM, now that jemalloc is fixed). Closing this bug, but will keep an eye on Hydra and open a new bug if the build farm encounters the same problem. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlkVuDMACgkQoqBt8qM6 VPqscgf+NRAfN21EW0cn80iW4fq+qRRa9c1tdRyR7lREcKF3xG3YuaJO2fWqPwlR HjALwMtyd1u4Rc9GIUDPnJynzqh071pzCKwJbIC3gy+Ui1UOsQCjxibxUiTQpRi3 dhvQq3FoTclM61oXL8Dop261zecMbZCzb5O0rGxpMNbRNhhQun/sXX0GoXolUUit Ju1lMpkP3nQJyfmEVURnEktCqvw3nuf3gG6PdR89oRlKjWDpTnQJK/6lG+lcpvHn 7oIgkeTxvv5/0d+YI+EfsVGkHDL6hJncyH+H9dpQqZDhBbEgXt1SEEB8pckl5plv kfdEU2RQXll7OVjzl6MuSss85q3yVA== =FEv/ -----END PGP SIGNATURE----- --=-=-=-- ------------=_1494595682-3808-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Mar 2017 09:42:44 +0000 Received: from localhost ([127.0.0.1]:50104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctA7o-0001XD-BK for submit@debbugs.gnu.org; Wed, 29 Mar 2017 05:42:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctA7l-0001Wz-MO for submit@debbugs.gnu.org; Wed, 29 Mar 2017 05:42:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ctA7f-00020T-RU for submit@debbugs.gnu.org; Wed, 29 Mar 2017 05:42:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40161) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ctA7f-00020P-OD for submit@debbugs.gnu.org; Wed, 29 Mar 2017 05:42:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctA7e-00059F-IJ for guix-patches@gnu.org; Wed, 29 Mar 2017 05:42:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ctA7b-0001zZ-Ei for guix-patches@gnu.org; Wed, 29 Mar 2017 05:42:34 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36155) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ctA7a-0001yd-Ob for guix-patches@gnu.org; Wed, 29 Mar 2017 05:42:31 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1266120985; Wed, 29 Mar 2017 05:42:26 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Wed, 29 Mar 2017 05:42:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc:x-sasl-enc; s=fm1; bh=/f1WJVfNvziVSvaqUKrs2GQcMlCeb7 dVnFnFPCJvoLM=; b=l9vI1JjZ8DClnu2andOUwcZzcWscNuG8uZBmPIFyvdpOuB N4ejVB29bEvxBckPd5qrVPXXAvrAcmwSs6rzyAgb7gtELP2FMMtAlFS7rh7RuNKg K7fMWiLGJb/uH9HEkInBPuyYRgLK5LYDZUIQIpFNhEngB/yEdTEkP6X28zTDz0NC Sc65AAQwfw6vxQ+q9Um6Ojnmx/8sv/Xh4Q/dH7RUWdYzAmD7FghFpgwBLjhALb97 pONk8B2JyNcugLoMUb2NXpRlesFkBidIDo1HGEGtdu5/gJzQrUUkocxbygTx4mWF YeRHVw+64Bgtl4fdGhBXNODqKjAaQslqOWZp1zvg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=/f1WJV fNvziVSvaqUKrs2GQcMlCeb7dVnFnFPCJvoLM=; b=lk7lcDD17nm96MmRb5YKvi pjRWq67AoYO1lOgH68dvYMIYd2XPo7As/2jeubAvWgz8sBkytuaRcLYtlN8AqTXC OxEkYDjMMgfct2P3Rf5hi8tyPiLhc20YbhGZAja0R7qxcmaQfdbZODQo1hXW+3az Q63hvUEgeE7P+V5Vp/7XANE/BIuusdSYzqUv6Fo00/vbi3tUm6QgzfZVEMWiw0iJ DPdOr02TiwBO9FfTSMqFlSD0IbygqajpHkoeYa8IDlWkpBDlvyME++u7HFPD3y5f aoESeKLrpCZ5PxH6iJJvugsnXS2QfrwdAtFMSOp+aQsjOm/1zEH2b471Jh+Tsjhg == X-ME-Sender: X-Sasl-enc: jGm++qnlB+OVkRggLr5M1H4+11qgbz53GNG2vK3/H/oX 1490780545 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 9D9C07E6E3; Wed, 29 Mar 2017 05:42:25 -0400 (EDT) From: Marius Bakke To: guix-patches@gnu.org Subject: [PATCH] gnu: rocksdb: Disable tests on 32-bit systems. Date: Wed, 29 Mar 2017 11:42:20 +0200 Message-Id: <20170329094220.5694-1-mbakke@fastmail.com> X-Mailer: git-send-email 2.12.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit Cc: Marius Bakke X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) * gnu/packages/databases.scm (rocksdb)[arguments]: Make #:tests? conditional. Delete unnecessary 'build' phase. --- gnu/packages/databases.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index b87e8a210..e73635910 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -533,12 +533,20 @@ types are supported, as is encryption.") #t)))) (build-system gnu-build-system) (arguments - '(#:make-flags (list "CC=gcc" + `(#:make-flags (list "CC=gcc" ;; Make the resulting library position-independent so the ;; static version can be included in shared objects. "EXTRA_CXXFLAGS=-fPIC" (string-append "INSTALL_PATH=" (assoc-ref %outputs "out"))) + ;; Many tests fail on 32-bit platforms. There are multiple reports about + ;; this upstream, but it's not going to be supported any time soon. + #:tests? (let ((system ,(or (%current-target-system) + (%current-system))) + (supported-systems '("x86_64-linux" "aarch64-linux"))) + (if (member system supported-systems) + #t + #f)) #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-Makefile @@ -548,6 +556,8 @@ types are supported, as is encryption.") (("#!/bin/sh") (string-append "#!" (which "sh")))) #t)) (delete 'configure) + ;; The default target is only needed for tests and built on demand. + (delete 'build) (add-before 'check 'disable-failing-tests (lambda _ (substitute* "Makefile" -- 2.12.2 ------------=_1494595682-3808-1--