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