Source: bcel Version: 6.0~rc3-1 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 Tags: patch
Dear Maintainer, bcel fails to build from source in unstable/amd64 due to missing Build-Depends on junit4 : [..] [INFO] Using 'ISO-8859-1' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/lamby/temp/cdt.20150831021647.FTqQqqUK1R/bcel-6.0~rc3/src/test/resources [INFO] ------------------------------------------------------------------------ [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) org.apache.bcel:bcel:jar:6.0 2) junit:junit:jar:4.x ---------- 1 required artifact is missing. for artifact: org.apache.bcel:bcel:jar:6.0 from the specified remote repositories: central (https://repo1.maven.org/maven2) 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: 12 seconds [INFO] Finished at: Mon Aug 31 02:36:20 BST 2015 [INFO] Final Memory: 16M/299M [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 bcel dpkg-buildpackage: source version 6.0~rc3-1 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Emmanuel Bourg <ebo...@apache.org> dpkg-source --before-build bcel-6.0~rc3 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 -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/home/lamby/temp/cdt.20150831021647.FTqQqqUK1R/bcel-6.0~rc3/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] ------------------------------------------------------------------------ [INFO] Building Apache Commons BCEL [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting /home/lamby/temp/cdt.20150831021647.FTqQqqUK1R/bcel-6.0~rc3/target [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Mon Aug 31 02:35:55 BST 2015 [INFO] Final Memory: 8M/236M [INFO] ------------------------------------------------------------------------ rm -f -r /home/lamby/temp/cdt.20150831021647.FTqQqqUK1R/bcel-6.0~rc3/debian/maven-repo debian/stamp-maven-build rm -f debian/*.substvars /usr/bin/make -f debian/rules unpatch-poms make[1]: Entering directory '/home/lamby/temp/cdt.20150831021647.FTqQqqUK1R/bcel-6.0~rc3' mh_unpatchpoms -plibbcel-java rm -f -f debian/stamp-poms-patched make[1]: Leaving directory '/home/lamby/temp/cdt.20150831021647.FTqQqqUK1R/bcel-6.0~rc3' dh_clean mh_unpatchpoms -plibbcel-java rm -f -f debian/stamp-poms-patched mh_clean rm -f debian/stamp-maven-doc debian/rules build test -x debian/rules mkdir -p "." /usr/share/maven-debian-helper/copy-repo.sh /home/lamby/temp/cdt.20150831021647.FTqQqqUK1R/bcel-6.0~rc3/debian mh_patchpoms -plibbcel-java --debian-build --keep-pom-version --maven-repo=/home/lamby/temp/cdt.20150831021647.FTqQqqUK1R/bcel-6.0~rc3/debian/maven-repo touch debian/stamp-poms-patched # before-build target may be used to unpatch the pom files, so we need to check if # patching the pom files is needed here, normally not if [ ! -f pom.xml.save ]; then \ /usr/bin/make -f debian/rules patch-poms; \ fi cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/home/lamby/temp/cdt.20150831021647.FTqQqqUK1R/bcel-6.0~rc3/debian/maven-repo package [INFO] NOTE: Maven is executing in offline mode. Any artifacts not already in your local repository will be inaccessible. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Commons BCEL [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'ISO-8859-1' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/lamby/temp/cdt.20150831021647.FTqQqqUK1R/bcel-6.0~rc3/src/main/resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 372 source files to /home/lamby/temp/cdt.20150831021647.FTqQqqUK1R/bcel-6.0~rc3/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'ISO-8859-1' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/lamby/temp/cdt.20150831021647.FTqQqqUK1R/bcel-6.0~rc3/src/test/resources [INFO] ------------------------------------------------------------------------ [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) org.apache.bcel:bcel:jar:6.0 2) junit:junit:jar:4.x ---------- 1 required artifact is missing. for artifact: org.apache.bcel:bcel:jar:6.0 from the specified remote repositories: central (https://repo1.maven.org/maven2) 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: 12 seconds [INFO] Finished at: Mon Aug 31 02:36:20 BST 2015 [INFO] Final Memory: 16M/299M [INFO] ------------------------------------------------------------------------ /usr/share/cdbs/1/class/maven.mk:93: recipe for target 'mvn-build' failed make: *** [mvn-build] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2