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

James Page james.page at canonical.com
Thu Sep 30 11:20:49 UTC 2010


Package: easymock
Version: 2.4+ds1-4
Severity: important
Tags: patch
Justification: fails to build from source
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu maverick ubuntu-patch


easymock current fails to build from source in Ubuntu due to a missing
dependency on libhamcrest-java.

*** /tmp/tmpUsBqRe
In Ubuntu, we've applied the attached patch to achieve the following:

  * FTBFS Amended Build-Depends to include libhamcrest-java (LP: #651155) 

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-25-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
=== modified file 'debian/control'
--- debian/control	2010-05-03 20:12:00 +0000
+++ debian/control	2010-09-30 11:16:35 +0000
@@ -7,7 +7,7 @@
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/easymock/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/easymock/
 Build-Depends: cdbs, debhelper (>= 5.0.42), default-jdk, ant-optional (>= 1.7.0),
- junit4 (>= 4.6-2)
+ junit4 (>= 4.6-2), libhamcrest-java
 Standards-Version: 3.8.4
 Homepage: http://www.easymock.org
 

=== modified file 'debian/rules'
--- debian/rules	2010-05-03 20:12:00 +0000
+++ debian/rules	2010-09-30 11:16:13 +0000
@@ -23,7 +23,7 @@
 DEB_ANT_BUILD_TARGET = jar javadoc 
 DEB_ANT_BUILDFILE = debian/build.xml
 DEB_ANT_CHECK_TARGET = test
-DEB_JARS = ant-junit junit4
+DEB_JARS = ant-junit junit4 hamcrest-core
 
 DEB_INSTALL_DOCS_libeasymock-java := debian/README.Debian-source
 DEB_INSTALL_DOCS_libeasymock-java-doc := debian/README.Debian-source Documentation*.html easymock.css samples api 



More information about the pkg-java-maintainers mailing list