FS#34273 - [junit] junit.jar does not contain hamcrest and sets no classpath

Attached to Project: Arch Linux
Opened by Maxime de Roucy (akira86) - Tuesday, 12 March 2013, 07:49 GMT
Last edited by Guillaume ALAUX (galaux) - Thursday, 14 March 2013, 10:49 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Guillaume ALAUX (galaux)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
junit.jar doesn't include hamcrest nor set classpath to hamcrest jar.

Additional info:
* package version : 4.11-2

I discovered this issue when compilling LibreOffice.
The configure scripte fail at :
# check if either class-path entry is available for hamcrest or
# it's bundled
if "$JAVA_HOME/bin/jar" tf "$OOO_JUNIT_JAR" |$GREP -q hamcrest || \
"$UNZIP" -c "$OOO_JUNIT_JAR" META-INF/MANIFEST.MF |$GREP 'Class-Path:' | $GREP -q 'hamcrest'; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OOO_JUNIT_JAR" >&5
$as_echo "$OOO_JUNIT_JAR" >&6; }
else
as_fn_error $? "your junit jar neither sets a classpath nor includes hamcrest; please
provide a full junit jar or use --without-junit" "$LINENO" 5
fi

→ your junit jar neither sets a classpath nor includes hamcrest; please provide a full junit jar or use --without-junit
This task depends upon

Closed by  Guillaume ALAUX (galaux)
Thursday, 14 March 2013, 10:49 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 4.11-3
Comment by Guillaume ALAUX (galaux) - Wednesday, 13 March 2013, 21:35 GMT
4.11-3 should fix your issue. Could you please check and report back here.
Comment by Maxime de Roucy (akira86) - Thursday, 14 March 2013, 06:43 GMT
I didn't test the jar and I don't know enough java to test it but the LibreOffice configure scripte know works.
It's building right know, I will tell you in a couple of hours it something fail on junit, else I think we can consider this bug closed.
Comment by Guillaume ALAUX (galaux) - Thursday, 14 March 2013, 08:07 GMT
> the LibreOffice configure scripte know works
Actually that's the piece of information I was looking for.

> I will tell you in a couple of hours it something fail on junit
Yes, please do.
Comment by Maxime de Roucy (akira86) - Thursday, 14 March 2013, 10:44 GMT
Nothing fail during the build… I think you can close this bug.

Thanks

Loading...