Source: jasypt Version: 1.8-2 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, jasypt fails to build from source in unstable/amd64 due to missing Build-Depends on junit4: [..] [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/lamby/temp/cdt.20150830203353.LdA1ey8CHO/jasypt-1.8/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.jasypt:jasypt:jar:1.8 2) junit:junit:jar:4.x ---------- 1 required artifact is missing. for artifact: org.jasypt:jasypt:jar:1.8 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: 2 seconds [INFO] Finished at: Sun Aug 30 20:35:03 BST 2015 [INFO] Final Memory: 19M/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 jasypt dpkg-buildpackage: source version 1.8-2 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Emmanuel Bourg <ebo...@apache.org> dpkg-source --before-build jasypt-1.8 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean test -x debian/rules mkdir -p "." /usr/share/maven-debian-helper/copy-repo.sh /home/lamby/temp/cdt.20150830203353.LdA1ey8CHO/jasypt-1.8/debian mh_patchpoms -plibjasypt-java --debian-build --keep-pom-version --maven-repo=/home/lamby/temp/cdt.20150830203353.LdA1ey8CHO/jasypt-1.8/debian/maven-repo --ignore-rules=debian/maven.ignoreRules --clean-ignore-rules=debian/maven.cleanIgnoreRules touch debian/stamp-poms-patched 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.20150830203353.LdA1ey8CHO/jasypt-1.8/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.20150830203353.LdA1ey8CHO/jasypt-1.8/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 JASYPT: Java Simplified Encryption [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean {execution: default-clean}] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Sun Aug 30 20:34:55 BST 2015 [INFO] Final Memory: 8M/236M [INFO] ------------------------------------------------------------------------ rm -f -r /home/lamby/temp/cdt.20150830203353.LdA1ey8CHO/jasypt-1.8/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.20150830203353.LdA1ey8CHO/jasypt-1.8' mh_unpatchpoms -plibjasypt-java rm -f -f debian/stamp-poms-patched make[1]: Leaving directory '/home/lamby/temp/cdt.20150830203353.LdA1ey8CHO/jasypt-1.8' dh_clean mh_unpatchpoms -plibjasypt-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.20150830203353.LdA1ey8CHO/jasypt-1.8/debian mh_patchpoms -plibjasypt-java --debian-build --keep-pom-version --maven-repo=/home/lamby/temp/cdt.20150830203353.LdA1ey8CHO/jasypt-1.8/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 -Dproperties.file.manual=/home/lamby/temp/cdt.20150830203353.LdA1ey8CHO/jasypt-1.8/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.20150830203353.LdA1ey8CHO/jasypt-1.8/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 JASYPT: Java Simplified Encryption [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/lamby/temp/cdt.20150830203353.LdA1ey8CHO/jasypt-1.8/src/main/resources [INFO] Copying 2 resources to META-INF [INFO] [compiler:compile {execution: default-compile}] [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [INFO] Compiling 129 source files to /home/lamby/temp/cdt.20150830203353.LdA1ey8CHO/jasypt-1.8/target/classes [INFO] [resources:testResources {execution: default-testResources}] [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/lamby/temp/cdt.20150830203353.LdA1ey8CHO/jasypt-1.8/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.jasypt:jasypt:jar:1.8 2) junit:junit:jar:4.x ---------- 1 required artifact is missing. for artifact: org.jasypt:jasypt:jar:1.8 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: 2 seconds [INFO] Finished at: Sun Aug 30 20:35:03 BST 2015 [INFO] Final Memory: 19M/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
__ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use debian-j...@lists.debian.org for discussions and questions.