Hi,
I updated one of my packages which use gradle. It works fine in mock for f28 and rawhide. Also rawhide works in koji. Only f28 fails [1].
The error is:
java.lang.IllegalArgumentException: Cannot find JAR 'apache-jsp.jar' required by module 'gradle-launcher' using classpath or distribution directory '/usr/share/gradle'
When I check dnf dependencies I see that gradle in f28 does not provide apache-jsp.jar (f27 and rawhide do), but still in my mock I don't get this error.
Does anyone have a clue what is going on there?
Thanks and Best Regards,
Roman
[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=27279309
On 2018-05-29 14:33, Roman Mohr wrote:
Hi,
I updated one of my packages which use gradle. It works fine in mock for f28 and rawhide. Also rawhide works in koji. Only f28 fails [1].
The error is:
java.lang.IllegalArgumentException: Cannot find JAR 'apache-jsp.jar' required by module 'gradle-launcher' using classpath or distribution directory '/usr/share/gradle'
When I check dnf dependencies I see that gradle in f28 does not provide apache-jsp.jar (f27 and rawhide do), but still in my mock I don't get this error.
Does anyone have a clue what is going on there?
There was a bootstrap version of gradle in that buildroot. Gradle is built in two phases and you were unlucky to get the intermediate one, which is not fully working. It is not tagged in buildroot override anymore, so it should work now, just resubmit the build.
Michael
Thanks and Best Regards,
Roman
[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=27279309
java-devel mailing list -- java-devel@lists.fedoraproject.org To unsubscribe send an email to java-devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/java-devel@lists.fedoraproject...
On 06/01/2018 02:58 PM, Michael Šimáček wrote:
On 2018-05-29 14:33, Roman Mohr wrote:
Hi,
I updated one of my packages which use gradle. It works fine in mock for f28 and rawhide. Also rawhide works in koji. Only f28 fails [1].
The error is:
java.lang.IllegalArgumentException: Cannot find JAR 'apache-jsp.jar' required by module 'gradle-launcher' using classpath or distribution directory '/usr/share/gradle'
When I check dnf dependencies I see that gradle in f28 does not provide apache-jsp.jar (f27 and rawhide do), but still in my mock I don't get this error.
Does anyone have a clue what is going on there?
There was a bootstrap version of gradle in that buildroot. Gradle is built in two phases and you were unlucky to get the intermediate one, which is not fully working. It is not tagged in buildroot override anymore, so it should work now, just resubmit the build.
It's not just about being lucky or not - the override was submitted with a month-long expiry time, which shouldn't happen.
$ koji list-history -s tag_listing --build gradle-4.3.1-7.boot.fc28 --tag f28-override Mon Apr 30 13:46:02 2018 gradle-4.3.1-7.boot.fc28 tagged into f28-override by bodhi Wed May 30 02:00:05 2018 gradle-4.3.1-7.boot.fc28 untagged from f28-override by bodhi
Such bootstrap builds should ideally be in overrides for just a few minutes max, like my ant override:
$ koji list-history -s tag_listing --build ant-1.10.2-0.1.fc28 --tag f28-override Tue Mar 6 14:13:24 2018 ant-1.10.2-0.1.fc28 tagged into f28-override by bodhi Tue Mar 6 14:17:49 2018 ant-1.10.2-0.1.fc28 untagged from f28-override by bodhi
Hmm, I always assumed build overrides where automatically expired when the build is pushed to updates stable -- I guess this isn't true.
I was the one that created that override, so I apologise for that.
On 2 June 2018 at 06:51, Mikolaj Izdebski mizdebsk@redhat.com wrote:
On 06/01/2018 02:58 PM, Michael Šimáček wrote:
On 2018-05-29 14:33, Roman Mohr wrote:
Hi,
I updated one of my packages which use gradle. It works fine in mock for f28 and rawhide. Also rawhide works in koji. Only f28 fails [1].
The error is:
java.lang.IllegalArgumentException: Cannot find JAR
'apache-jsp.jar' required by module 'gradle-launcher' using classpath or distribution directory '/usr/share/gradle'
When I check dnf dependencies I see that gradle in f28 does not provide apache-jsp.jar (f27 and rawhide do), but still in my mock I don't get this error.
Does anyone have a clue what is going on there?
There was a bootstrap version of gradle in that buildroot. Gradle is built in two phases and you were unlucky to get the intermediate one, which is not fully working. It is not tagged in buildroot override anymore, so it should work now, just resubmit the build.
It's not just about being lucky or not - the override was submitted with a month-long expiry time, which shouldn't happen.
$ koji list-history -s tag_listing --build gradle-4.3.1-7.boot.fc28 --tag f28-override Mon Apr 30 13:46:02 2018 gradle-4.3.1-7.boot.fc28 tagged into f28-override by bodhi Wed May 30 02:00:05 2018 gradle-4.3.1-7.boot.fc28 untagged from f28-override by bodhi
Such bootstrap builds should ideally be in overrides for just a few minutes max, like my ant override:
$ koji list-history -s tag_listing --build ant-1.10.2-0.1.fc28 --tag f28-override Tue Mar 6 14:13:24 2018 ant-1.10.2-0.1.fc28 tagged into f28-override by bodhi Tue Mar 6 14:17:49 2018 ant-1.10.2-0.1.fc28 untagged from f28-override by bodhi
-- Mikolaj Izdebski Senior Software Engineer, Red Hat IRC: mizdebsk _______________________________________________ java-devel mailing list -- java-devel@lists.fedoraproject.org To unsubscribe send an email to java-devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/java-devel@ lists.fedoraproject.org/message/RAESHWQKEIL74PSRSPYNDNJGJXW4CBAN/
On Fri, Jun 1, 2018 at 2:58 PM, Michael Šimáček msimacek@redhat.com wrote:
On 2018-05-29 14:33, Roman Mohr wrote:
Hi,
I updated one of my packages which use gradle. It works fine in mock for f28 and rawhide. Also rawhide works in koji. Only f28 fails [1].
The error is:
java.lang.IllegalArgumentException: Cannot find JAR
'apache-jsp.jar' required by module 'gradle-launcher' using classpath or distribution directory '/usr/share/gradle'
When I check dnf dependencies I see that gradle in f28 does not provide apache-jsp.jar (f27 and rawhide do), but still in my mock I don't get this error.
Does anyone have a clue what is going on there?
There was a bootstrap version of gradle in that buildroot. Gradle is built in two phases and you were unlucky to get the intermediate one, which is not fully working. It is not tagged in buildroot override anymore, so it should work now, just resubmit the build.
Resubmitting worked. Thanks.
Roman
Michael
Thanks and Best Regards,
Roman
[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=27279309
java-devel mailing list -- java-devel@lists.fedoraproject.org To unsubscribe send an email to java-devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.or g/archives/list/java-devel@lists.fedoraproject.org/message/P YBSWVRCRGRUCSFN3N2GH3HJEKVACOUV/
java-devel@lists.fedoraproject.org