Bug#797298: msv: FTBFS: Failed to resolve artifact [..] junit:junit:jar:4.x

2015-08-30 Thread Hans Joachim Desserud

Now also with patch included.

Sorry about that.

--
mvh / best regards
Hans Joachim Desserud
http://desserud.orgdiff --git a/debian/control b/debian/control
index 6bdecf8..5f8d4d3 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Java Maintainers 
 Build-Depends: debhelper (>= 7.0.50~), maven-debian-helper, default-jdk, cdbs,
  libisorelax-java, libjdom1-java, librelaxng-datatype-java, libxalan2-java,
- libxerces2-java, libxml-commons-resolver1.1-java, ant
+ libxerces2-java, libxml-commons-resolver1.1-java, ant, junit4
 Standards-Version: 3.9.4
 Homepage: http://java.net/projects/msv
 Vcs-Git: git://anonscm.debian.org/pkg-java/msv.git
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#797298: msv: FTBFS: Failed to resolve artifact [..] junit:junit:jar:4.x

2015-08-30 Thread Hans Joachim Desserud

tags 797298 patch
thanks

Adding junit4 to build-dependencies resolves this issue, see the 
attached patch.


Build-dependencies should probably be reorganized to list one per line, 
but
if I did it, the patch became a lot harder to read. Might be natural to 
do

when adding this to the repo. :)

--
mvh / best regards
Hans Joachim Desserud
http://desserud.org

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#797298: msv: FTBFS: Failed to resolve artifact [..] junit:junit:jar:4.x

2015-08-29 Thread Chris Lamb
Source: msv
Version: 2009.1+dfsg1-4
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

msv fails to build from source in unstable/amd64:

  [..]

  [ERROR] BUILD ERROR
  [INFO]
  
  [INFO] Failed to resolve artifact.
  
  Missing:
  --
  1) junit:junit:jar:4.x
  
Try downloading the file manually from the project website.
  
Then, install it using the command: 
mvn install:install-file -DgroupId=junit -DartifactId=junit
-Dversion=4.x -Dpackaging=jar -Dfile=/path/to/file
  
Alternatively, if you host your own repository you can deploy the
file there: 
mvn deploy:deploy-file -DgroupId=junit -DartifactId=junit
-Dversion=4.x -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
  
Path to dependency: 
1) com.sun.msv.datatype.xsd:xsdlib:jar:2009.1
2) junit:junit:jar:4.x
  
  --
  1 required artifact is missing.
  
  for artifact: 
com.sun.msv.datatype.xsd:xsdlib:jar:2009.1
  
  from the specified remote repositories:
central (https://repo1.maven.org/maven2),
maven2-repository.dev.java.net (http://download.java.net/maven/2/)
  
  
  
  NOTE: Maven is executing in offline mode. Any artifacts not already in
  your local
  repository will be inaccessible.
  
  
  [INFO]
  
  [INFO] For more information, run Maven with the -e switch
  [INFO]
  
  [INFO] Total time: 2 seconds
  [INFO] Finished at: Sat Aug 29 11:18:12 BST 2015
  [INFO] Final Memory: 10M/236M
  [INFO]
  
  /usr/share/cdbs/1/class/maven.mk:93: recipe for target 'mvn-build'
  failed
  make: *** [mvn-build] Error 1

  [..]

The full build log is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
 dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: source package msv
dpkg-buildpackage: source version 2009.1+dfsg1-4
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Giovanni Mascellani 
 dpkg-source --before-build msv-2009.1+dfsg1
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
test -x debian/rules
mkdir -p "."
cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp 
/usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar 
-Dproperties.file.manual=/home/lamby/temp/cdt.20150829111318.l3OoXmZY7n/msv-2009.1+dfsg1/debian/maven.properties
 -Dclassworlds.conf=/etc/maven2/m2-debian.conf 
org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml 
-Dmaven.repo.local=/home/lamby/temp/cdt.20150829111318.l3OoXmZY7n/msv-2009.1+dfsg1/debian/maven-repo
  clean
[INFO] 
NOTE: Maven is executing in offline mode. Any artifacts not already in your 
local
repository will be inaccessible.

[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   msv
[INFO]   MSV Parent
[INFO]   MSV XML Schema Library
[INFO]   MSV Test Harness
[INFO]   MSV Core
[INFO]   MSV RNG Converter
[INFO] 
[INFO] Building msv
[INFO]task-segment: [clean]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] 
[INFO] Building MSV Parent
[INFO]task-segment: [clean]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] 
[INFO] Building MSV XML Schema Library
[INFO]task-segment: [clean]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting 
/home/lamby/temp/cdt.20150829111318.l3OoXmZY7n/msv-2009.1+dfsg1/xsdlib/target
[INFO] 
[INFO] Building MSV Test Harness
[INFO]task-segment: [clean]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] 
[INFO] Building MSV Core
[INFO]task-segment: [clean]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] 
[INFO] Building MSV RNG Converter
[INFO]task-segment: [clean]
[INFO] --