From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: bug#31943: Some Maven bugs Date: Sat, 23 Jun 2018 12:20:33 +0200 Message-ID: <20180623122033.31edf218@lepiller.eu> References: <20180623003935.21f7da0b@alma-ubu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/MUB//N9oPu7o_05DSe.uiS8"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWffH-0003lV-Go for bug-guix@gnu.org; Sat, 23 Jun 2018 06:21:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWffC-0000EA-Jw for bug-guix@gnu.org; Sat, 23 Jun 2018 06:21:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52914) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWffC-0000Do-Fb for bug-guix@gnu.org; Sat, 23 Jun 2018 06:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fWffC-0005CT-7S for bug-guix@gnu.org; Sat, 23 Jun 2018 06:21:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWfev-0003is-2q for bug-guix@gnu.org; Sat, 23 Jun 2018 06:20:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWfeq-000050-8F for bug-guix@gnu.org; Sat, 23 Jun 2018 06:20:45 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:48148) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fWfep-0008WU-TK for bug-guix@gnu.org; Sat, 23 Jun 2018 06:20:40 -0400 Received: from localhost (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by lepiller.eu (OpenSMTPD) with ESMTPSA id 3888e26c (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for ; Sat, 23 Jun 2018 10:20:53 +0000 (UTC) In-Reply-To: <20180623003935.21f7da0b@alma-ubu> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 31943@debbugs.gnu.org --Sig_/MUB//N9oPu7o_05DSe.uiS8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le Sat, 23 Jun 2018 00:39:35 +0200, Bj=C3=B6rn H=C3=B6fling a =C3=A9crit : > Maven is now part of Guix, yeah! I gave it a try and found some bugs > which I post collectively here. I don't know yet where exactly they > come from and if they are trivial or not to fix. So if you think they > should better go each into a separate bug report, please separate > them. >=20 > For reference, I'm on Ubuntu with: >=20 > $> guix pull --list-generations | tail --lines=3D6 =20 > guile: warning: failed to install locale > warning: failed to install locale: Invalid argument >=20 > Generation 2 Jun 22 2018 21:53:40 (current) > guix 18ab54d > repository URL: https://git.savannah.gnu.org/git/guix.git > commit: 18ab54d4a2aaf932b14e69c30650c1d2c4db33c7 >=20 >=20 > 1) The following propagated inputs are used from bash scripts > and are missing: which, coreutils >=20 > 2) There is something wrong with the version output: Fixed with 7504f3c3d3a2fbd0f901757a9bd3175e424c11ca and e27c43d94e23daf6b114b03688a51c924890a286 :) > [...] >=20 > 3) The -version part is already handled by Java code. So I tried to > debug Maven remotely from Eclipse, but it failed with a message saying > that debug symbols were missing. I want to verify this again, but > could this be a problem of the ant-build-system removing debug > symbols? I think our ant-build-system doesn't add debugging symbols to our java packages. That's where it should be fixed (if we want to fix it?) >=20 > 4) I cannot use icedteaX (x \in {1,2}) (i.e. X=3D2 means JDK 1.7) with > Maven. Is this a bug or a fact? >=20 This is because some of the dependencies cannot be built without java8. I think there is an option in ant to build with a new jdk but stay compatible with older jdks. Our ant-build-system should probably use that. > [...] >=20 > 5) Maven complains about the logger output: >=20 > Is this comment related to the WARNING? Will it go away with > maven-slf4j-provider? Exactly. >=20 >=20 > 6) Maven does not compile Java 1.8 code. >=20 Ok, this is unexpected, and that's what I'll be working on next. >=20 >=20 > 7) I have some trouble executing the tests. This is indeterministic > (!), sometimes is is successful, sometimes I get an error: >=20 Weird too. >=20 >=20 > 8) BTW maven is NOT creating a reproducible output. That's important > if you want to use it to as a build tool for Guix: >=20 I think this is expected. I've seen a bug report about that, but can't find it anymore. We could reuse the repack-jar phase from the ant-build-system though. >=20 > Bj=C3=B6rn Thank you for your reports! --Sig_/MUB//N9oPu7o_05DSe.uiS8 Content-Type: application/pgp-signature Content-Description: Signature digitale OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEtfrmKFtBNyiyoPrtQxEfRSAIagwFAlsuHvEACgkQQxEfRSAI agwWqg//aYllfmeSD3t3ey834naXN2nuI7uGtYoMmOcfWM7vOiFoONh/nkCZIDP/ hBPNpo+K6uKG8DDE+gXxhSBJMYcAJj2lcWdPWrB/DkMDQvKIf6WQx7E4/IBk3D78 WiGrDLuu+5TWDf2agT/rxSs3txjHKbAxIKRl+K9BWamOLOjWMTTQ2X0DNTzKOAcb KuLnbDQ1IDjdBJl3NH/Yf5dZP0W+fdIsO1Z1L0ri3aJHQAG8jb9wRt5X65Mjk+nA wyHpeGdw1YY9buGGPYHBw0X6Nunnvsp7DmRmBLIQVuXnETdDsaR2p+XFz5myGYz9 G0RTavdcAbya+BKzni/mg9bCiUTP062s2+APXbVan5zx4WDit4uKMxaPvVc//4QB AV0ETHzOZNxN8/vF86oaKzpbL0vzwGp0hsAssON46bGhThfE9IQaSyeCEJKcLlnv JycHsYgI9yKUSaqtt9h0+PEeTHtHaiWbF+6xS73dIu0Bvou8Vz4cKicrT8CrXYIy 0C/H94g7ONPYwL127GPxiaq+oaPYqt5B8BcmrLcVW3TWQjoRAzziriL0rjjH8CKv l9o+v1nUENqu6Fl14sKm7KN5XryqoCZdbaR4GM7gDpP8DADbB7mcSLBJ8p5h4Xcl 09gBwRD/BZaTrAONvOsZk2bIsSji+GHRmXT98Zxh2ocL2rwtuNc= =OysK -----END PGP SIGNATURE----- --Sig_/MUB//N9oPu7o_05DSe.uiS8--