Bug#868910: jakarta-jmeter: FTBFS: [javac] /<<PKGBUILDDIR>>/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java:43: error: package org.apache.commons.codec.binary does not exist

Lucas Nussbaum lucas at debian.org
Wed Jul 19 15:47:36 UTC 2017


Source: jakarta-jmeter
Version: 2.13-2
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170719 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build -- -Djmeter.version=2.13 -Dlib.api=lib/opt -DincludeAntRuntime=true install docs-printable docs-api
> 	ant -Duser.name debian -Djmeter.version=2.13 -Dlib.api=lib/opt -DincludeAntRuntime=true install docs-printable docs-api
> Buildfile: /<<PKGBUILDDIR>>/build.xml
> 
> _check_3rdparty:
> 
> _message_3rdParty:
> 
> init-version:
>      [echo] jmeter.version = 2.13
>      [echo] display.version = 2.13.20161028
>      [echo] implementation.version = 2.13.20161028
> 
> compile-jorphan:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/jorphan
>     [javac] Compiling 55 source files to /<<PKGBUILDDIR>>/build/jorphan
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
>     [javac] Note: /<<PKGBUILDDIR>>/src/jorphan/org/apache/jorphan/gui/JLabeledChoice.java uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 warning
> 
> compile-core:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/core
>     [javac] Compiling 372 source files to /<<PKGBUILDDIR>>/build/core
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 warning
>     [javac] Creating empty /<<PKGBUILDDIR>>/build/core/org/apache/jmeter/engine/package-info.class
> 
> compile-components:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/components
>     [javac] Compiling 175 source files to /<<PKGBUILDDIR>>/build/components
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
>     [javac] Note: /<<PKGBUILDDIR>>/src/components/org/apache/jmeter/assertions/SMIMEAssertion.java uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 warning
> 
> compile-functions:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/functions
>     [javac] Compiling 42 source files to /<<PKGBUILDDIR>>/build/functions
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
>     [javac] 1 warning
> 
> compile-http:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/protocol/http
>     [javac] Compiling 119 source files to /<<PKGBUILDDIR>>/build/protocol/http
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
>     [javac] /<<PKGBUILDDIR>>/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java:43: error: package org.apache.commons.codec.binary does not exist
>     [javac] import org.apache.commons.codec.binary.Base64;
>     [javac]                                       ^
>     [javac] /<<PKGBUILDDIR>>/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java:44: error: package org.apache.commons.codec.digest does not exist
>     [javac] import org.apache.commons.codec.digest.DigestUtils;
>     [javac]                                       ^
>     [javac] /<<PKGBUILDDIR>>/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java:637: error: cannot find symbol
>     [javac]                                 String authCred= new String(Base64.decodeBase64(authCredentialsBase64));
>     [javac]                                                             ^
>     [javac]   symbol:   variable Base64
>     [javac]   location: class ProxyControl
>     [javac] /<<PKGBUILDDIR>>/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java:682: error: cannot find symbol
>     [javac]                         "Fingerprint(SHA1): " + JOrphanUtils.baToHexString(DigestUtils.sha1(caCert.getEncoded()), ' '),
>     [javac]                                                                            ^
>     [javac]   symbol:   variable DigestUtils
>     [javac]   location: class ProxyControl
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 4 errors
>     [javac] 1 warning
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:610: Compile failed; see the compiler error output for details.
> 
> Total time: 4 seconds
> dh_auto_build: ant -Duser.name debian -Djmeter.version=2.13 -Dlib.api=lib/opt -DincludeAntRuntime=true install docs-printable docs-api returned exit code 1
> debian/rules:51: recipe for target 'override_dh_auto_build' failed
> make[1]: *** [override_dh_auto_build] Error 2

The full build log is available from:
   http://aws-logs.debian.net/2017/07/19/jakarta-jmeter_2.13-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-java-maintainers mailing list