From: Julien Lepiller <julien@lepiller.eu>
To: 31943@debbugs.gnu.org
Subject: bug#31943: Some Maven bugs
Date: Sat, 23 Jun 2018 12:20:33 +0200 [thread overview]
Message-ID: <20180623122033.31edf218@lepiller.eu> (raw)
In-Reply-To: <20180623003935.21f7da0b@alma-ubu>
[-- Attachment #1: Type: text/plain, Size: 2659 bytes --]
Le Sat, 23 Jun 2018 00:39:35 +0200,
Björn Höfling <bjoern.hoefling@bjoernhoefling.de> a écrit :
> 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.
>
> For reference, I'm on Ubuntu with:
>
> $> guix pull --list-generations | tail --lines=6
> guile: warning: failed to install locale
> warning: failed to install locale: Invalid argument
>
> Generation 2 Jun 22 2018 21:53:40 (current)
> guix 18ab54d
> repository URL: https://git.savannah.gnu.org/git/guix.git
> commit: 18ab54d4a2aaf932b14e69c30650c1d2c4db33c7
>
>
> 1) The following propagated inputs are used from bash scripts
> and are missing: which, coreutils
>
> 2) There is something wrong with the version output:
Fixed with 7504f3c3d3a2fbd0f901757a9bd3175e424c11ca and
e27c43d94e23daf6b114b03688a51c924890a286 :)
> [...]
>
> 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?)
>
> 4) I cannot use icedteaX (x \in {1,2}) (i.e. X=2 means JDK 1.7) with
> Maven. Is this a bug or a fact?
>
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.
> [...]
>
> 5) Maven complains about the logger output:
>
> Is this comment related to the WARNING? Will it go away with
> maven-slf4j-provider?
Exactly.
>
>
> 6) Maven does not compile Java 1.8 code.
>
Ok, this is unexpected, and that's what I'll be working on next.
>
>
> 7) I have some trouble executing the tests. This is indeterministic
> (!), sometimes is is successful, sometimes I get an error:
>
Weird too.
>
>
> 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:
>
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.
>
> Björn
Thank you for your reports!
[-- Attachment #2: Signature digitale OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2018-06-23 10:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-22 22:39 bug#31943: Some Maven bugs Björn Höfling
2018-06-23 10:20 ` Julien Lepiller [this message]
2018-06-25 10:13 ` Björn Höfling
2018-07-04 20:06 ` Julien Lepiller
2018-07-05 4:42 ` Björn Höfling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180623122033.31edf218@lepiller.eu \
--to=julien@lepiller.eu \
--cc=31943@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).