Bug#598606: easymock fails to build from source due to missing build dependency on libhamcrest-java

Onkar Shinde onkarshinde at ubuntu.com
Fri Oct 1 09:48:03 UTC 2010


On Thu, Sep 30, 2010 at 9:31 PM, James Page <james.page at canonical.com> wrote:
> On Thu, 2010-09-30 at 10:49 -0430, Miguel Landaeta wrote:
> Hi Miguel
>
>> I could not reproduce this in Debian.
>> easymock B-D on junit4 and this depends on libhamcrest-java.
>
> You are completely correct; I overlooked this. However this package
> still fails to build on Ubuntu Maverick Meerkat during the test phase of
> the build.  The easymock debian/rules file does not include
> hamcrest-core in DEB_JARS which I believe is the cause of the failure.
>
>> Do you have a log of the failed build on Ubuntu?
>
> See attachment
>

This is Ubuntu specific bug. The junit4 package in Ubuntu is not in
sync with Debian. The version in Debian has hamcrest.jar in junit4's
MANIFEST.MF. This autoloads hamcrest whenever junit4 is loaded.
I have already requested junit4 sync. Check
https://bugs.edge.launchpad.net/ubuntu/+source/junit4/+bug/648227


Cheers,
Onkar
-- 
Passion - Some people climb mountains - others write Free software.
Don't ask why - the reason is the same.





More information about the pkg-java-maintainers mailing list