From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyYp1-0005BP-GA for guix-patches@gnu.org; Wed, 21 Mar 2018 04:10:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyYnu-0004DK-UG for guix-patches@gnu.org; Wed, 21 Mar 2018 04:10:11 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36891) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyYnu-0004Ce-NA for guix-patches@gnu.org; Wed, 21 Mar 2018 04:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eyYnu-0004X5-D2 for guix-patches@gnu.org; Wed, 21 Mar 2018 04:09:02 -0400 Subject: [bug#30845] [PATCH 05/82] gnu: Add java-bouncycastle. Resent-Message-ID: Date: Wed, 21 Mar 2018 09:08:17 +0100 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20180321090817.420dd9e5@alma-ubu> In-Reply-To: <832fd33b40df274d86fa2f54e9201cfe@lepiller.eu> References: <20180318134211.38163cd6@lepiller.eu> <20180318130530.1654-5-julien@lepiller.eu> <20180319233229.100a43dd@alma-ubu> <832fd33b40df274d86fa2f54e9201cfe@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/TpjLjZ7BxsVF7qQGNLLoG=Q"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: julien lepiller Cc: 30845@debbugs.gnu.org --Sig_/TpjLjZ7BxsVF7qQGNLLoG=Q Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 20 Mar 2018 09:06:00 +0100 julien lepiller wrote: > Le 2018-03-19 23:32, Bj=C3=B6rn H=C3=B6fling a =C3=A9crit=C2=A0: [...] > > At least the 1.59 version contains two jars for the test: > >=20 > > bc-java-r1rv59$ find . -name "*.jar" > > ./test/libs/jna-4.3.0.jar > > ./test/libs/jna-platform-4.3.0.jar > >=20 > > Can you snip them away? =20 >=20 > Oh, good catch! But jna and jna-platform are patches 9 and 10, and > they depend on bouncycastle... Hm. So maybe 1) Disable tests, or 2) Disable tests and just "(define" it as bouncycastle-bootstrap. Then build the jna-* packages with it. Then build the final (define-public .. bouncycastle) with tests enabled. >=20 > >=20 > > I tried to build it but it still hangs here: > >=20 > > [..] > > test: > > [mkdir] Created dir: > > /tmp/guix-build-java-bouncycastle-1.58.drv-0/bc-java-r1rv58/build/jdk15= on > > [junit] Test org.bouncycastle.mail.smime.test.AllTests FAILED > >=20 > >=20 > > Maybe it takes a bit longer and I know something tomorrow. =20 >=20 > This phase takes a lot of time without output, but it eventually=20 > terminates. My only concern is that the first test fails, but the > phase terminates correctly, so bouncycastle is installed disregarding > test result. I'll investigate. Yes, finally it finished. But because it finishes sucessfully, the junit test results get lost. Maybe one could add temporarily a #f to the last phase (or a phase after 'test), so build directory gets kept (with -K build option). What I found strange is that it took much wall-time but CPU-activity was often quite low. Bj=C3=B6rn --Sig_/TpjLjZ7BxsVF7qQGNLLoG=Q Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlqyEvIACgkQvyhstlk+X/1C3ACfYnWltQEEviyCnvMlMeN68rHd S+sAnjexeVsnC7WgTRwHocu1xlK1Vho5 =bCcJ -----END PGP SIGNATURE----- --Sig_/TpjLjZ7BxsVF7qQGNLLoG=Q--