Bug#869026: netty: FTBFS: [exec] Execute failed: java.io.IOException: Cannot run program "git" (in directory "/<<PKGBUILDDIR>>/common"): error=2, No such file or directory

Lucas Nussbaum lucas at debian.org
Thu Jul 20 05:40:43 UTC 2017


Source: netty
Version: 1:4.1.7-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>>'
> # Replace the missing groovy-maven-plugin
> mkdir -p common/target
> groovy -Dcollection.template.dir=common/src/main/templates \
>        -Dcollection.template.test.dir=common/src/test/templates \
>        -Dcollection.src.dir=common/target/generated-sources/collections/java \
>        -Dcollection.testsrc.dir=common/target/generated-test-sources/collections/java \
>        common/src/main/script/codegen.groovy
>      [copy] Copying 3 files to /<<PKGBUILDDIR>>/common/target/generated-sources/collections/java
>      [copy] Copying 3 files to /<<PKGBUILDDIR>>/common/target/generated-sources/collections/java
>      [copy] Copying 3 files to /<<PKGBUILDDIR>>/common/target/generated-sources/collections/java
>      [copy] Copying 3 files to /<<PKGBUILDDIR>>/common/target/generated-sources/collections/java
>      [copy] Copying 3 files to /<<PKGBUILDDIR>>/common/target/generated-sources/collections/java
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/common/target/generated-test-sources/collections/java
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/common/target/generated-test-sources/collections/java
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/common/target/generated-test-sources/collections/java
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/common/target/generated-test-sources/collections/java
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/common/target/generated-test-sources/collections/java
> dh_auto_build -- package -Dbuild.date='2017-01-23 08:32:14'
> 	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo package "-Dbuild.date=2017-01-23 08:32:14" -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] Netty
> [INFO] Netty/Common
> [INFO] Netty/Buffer
> [INFO] Netty/Resolver
> [INFO] Netty/Transport
> [INFO] Netty/Codec
> [INFO] Netty/Codec/DNS
> [INFO] Netty/Codec/HAProxy
> [INFO] Netty/Handler
> [INFO] Netty/Codec/HTTP
> [INFO] Netty/Codec/HTTP2
> [INFO] Netty/Codec/Memcache
> [INFO] Netty/Codec/MQTT
> [INFO] Netty/Codec/Redis
> [INFO] Netty/Codec/SMTP
> [INFO] Netty/Codec/Socks
> [INFO] Netty/Codec/Stomp
> [INFO] Netty/Resolver/DNS
> [INFO] Netty/Transport/SCTP
> [INFO] Netty/Handler/Proxy
> [INFO] Netty/Transport/Native/Epoll
> [INFO] Netty/All-in-One
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Netty 4.1.7.Final
> [INFO] ------------------------------------------------------------------------
> [WARNING] The artifact javassist:javassist:jar:debian has been relocated to org.javassist:javassist:jar:debian
> [INFO] 
> [INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ netty-parent ---
> [INFO] 
> [INFO] --- maven-antrun-plugin:1.8:run (write-version-properties) @ netty-parent ---
> [WARNING] The POM for ant-contrib:ant-contrib:jar:debian is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [INFO] Executing tasks
> 
> main:
>      [exec] Execute failed: java.io.IOException: Cannot run program "git" (in directory "/<<PKGBUILDDIR>>"): error=2, No such file or directory
>      [exec] Execute failed: java.io.IOException: Cannot run program "git" (in directory "/<<PKGBUILDDIR>>"): error=2, No such file or directory
>      [echo] Current commit: 0 on 1970-01-01 00:00:00 +0000
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/target/classes/META-INF
> [propertyfile] Creating new property file: /<<PKGBUILDDIR>>/target/classes/META-INF/io.netty.versions.properties
> [INFO] Executed tasks
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (generate-manifest) @ netty-parent ---
> [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle]
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Netty/Common 4.1.7.Final
> [INFO] ------------------------------------------------------------------------
> [WARNING] The artifact javassist:javassist:jar:debian has been relocated to org.javassist:javassist:jar:debian
> [INFO] 
> [INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ netty-common ---
> [INFO] 
> [INFO] --- maven-antrun-plugin:1.8:run (write-version-properties) @ netty-common ---
> [INFO] Executing tasks
> 
> main:
>      [exec] Execute failed: java.io.IOException: Cannot run program "git" (in directory "/<<PKGBUILDDIR>>/common"): error=2, No such file or directory
>      [exec] Execute failed: java.io.IOException: Cannot run program "git" (in directory "/<<PKGBUILDDIR>>/common"): error=2, No such file or directory
>      [echo] Current commit: 0 on 1970-01-01 00:00:00 +0000
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/common/target/classes/META-INF
> [propertyfile] Creating new property file: /<<PKGBUILDDIR>>/common/target/classes/META-INF/io.netty.versions.properties
> [INFO] Executed tasks
> [INFO] 
> [INFO] --- build-helper-maven-plugin:1.8:add-source (add-source) @ netty-common ---
> [INFO] Source directory: /<<PKGBUILDDIR>>/common/target/generated-sources/collections/java added.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ netty-common ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/common/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ netty-common ---
> [WARNING] The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [WARNING] The POM for org.codehaus.plexus:plexus-compiler-javac:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 152 source files to /<<PKGBUILDDIR>>/common/target/classes
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING : 
> [INFO] -------------------------------------------------------------
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/PlatformDependent0.java:[20,15] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/Striped64.java:[116,37] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/Striped64.java:[306,33] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/Striped64.java:[329,27] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/Striped64.java:[331,27] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/Striped64.java:[335,73] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/Striped64.java:[336,39] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/Striped64.java:[337,42] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/Striped64.java:[337,63] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/PlatformDependent0.java:[42,17] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/PlatformDependent0.java:[100,8] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/PlatformDependent0.java:[107,50] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/PlatformDependent0.java:[129,26] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/PlatformDependent0.java:[137,22] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ForkJoinTask.java:[1514,33] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ForkJoinTask.java:[1538,27] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ForkJoinTask.java:[1540,27] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ForkJoinTask.java:[1544,73] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ForkJoinTask.java:[1545,39] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ForkJoinTask.java:[1546,42] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ForkJoinTask.java:[1546,63] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ForkJoinPool.java:[1048,37] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ForkJoinPool.java:[3245,33] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ForkJoinPool.java:[3342,27] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ForkJoinPool.java:[3344,27] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ForkJoinPool.java:[3348,73] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ForkJoinPool.java:[3349,39] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ForkJoinPool.java:[3350,42] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ForkJoinPool.java:[3350,63] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/CountedCompleter.java:[728,33] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/CountedCompleter.java:[747,27] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/CountedCompleter.java:[749,27] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/CountedCompleter.java:[753,73] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/CountedCompleter.java:[754,39] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/CountedCompleter.java:[755,42] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/CountedCompleter.java:[755,63] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ConcurrentHashMapV8.java:[3099,37] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ConcurrentHashMapV8.java:[6138,33] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ConcurrentHashMapV8.java:[6183,27] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ConcurrentHashMapV8.java:[6185,27] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ConcurrentHashMapV8.java:[6189,73] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ConcurrentHashMapV8.java:[6190,39] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ConcurrentHashMapV8.java:[6191,42] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/chmv8/ConcurrentHashMapV8.java:[6191,63] Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/concurrent/NonStickyEventExecutorGroup.java:[294,20] [deprecation] shutdown() in AbstractEventExecutor has been deprecated
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/concurrent/NonStickyEventExecutorGroup.java:[295,20] [deprecation] shutdown() in EventExecutorGroup has been deprecated
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/DefaultAttributeMap.java:[179,20] [deprecation] remove() in Attribute has been deprecated
> [WARNING] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/DefaultAttributeMap.java:[171,17] [deprecation] getAndRemove() in Attribute has been deprecated
>   where T is a type-variable:
>     T extends Object declared in interface Attribute
> [INFO] 48 warnings 
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/PlatformDependent.java:[838,23] error: no suitable constructor found for MpscChunkedArrayQueue(int,int,boolean)
>     constructor MpscChunkedArrayQueue.MpscChunkedArrayQueue(int) is not applicable
>       (actual and formal argument lists differ in length)
>     constructor MpscChunkedArrayQueue.MpscChunkedArrayQueue(int,int) is not applicable
>       (actual and formal argument lists differ in length)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Netty .............................................. SUCCESS [  0.777 s]
> [INFO] Netty/Common ....................................... FAILURE [  2.645 s]
> [INFO] Netty/Buffer ....................................... SKIPPED
> [INFO] Netty/Resolver ..................................... SKIPPED
> [INFO] Netty/Transport .................................... SKIPPED
> [INFO] Netty/Codec ........................................ SKIPPED
> [INFO] Netty/Codec/DNS .................................... SKIPPED
> [INFO] Netty/Codec/HAProxy ................................ SKIPPED
> [INFO] Netty/Handler ...................................... SKIPPED
> [INFO] Netty/Codec/HTTP ................................... SKIPPED
> [INFO] Netty/Codec/HTTP2 .................................. SKIPPED
> [INFO] Netty/Codec/Memcache ............................... SKIPPED
> [INFO] Netty/Codec/MQTT ................................... SKIPPED
> [INFO] Netty/Codec/Redis .................................. SKIPPED
> [INFO] Netty/Codec/SMTP ................................... SKIPPED
> [INFO] Netty/Codec/Socks .................................. SKIPPED
> [INFO] Netty/Codec/Stomp .................................. SKIPPED
> [INFO] Netty/Resolver/DNS ................................. SKIPPED
> [INFO] Netty/Transport/SCTP ............................... SKIPPED
> [INFO] Netty/Handler/Proxy ................................ SKIPPED
> [INFO] Netty/Transport/Native/Epoll ....................... SKIPPED
> [INFO] Netty/All-in-One ................................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3.645 s
> [INFO] Finished at: 2017-07-19T11:47:43Z
> [INFO] Final Memory: 21M/784M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project netty-common: Compilation failure
> [ERROR] /<<PKGBUILDDIR>>/common/src/main/java/io/netty/util/internal/PlatformDependent.java:[838,23] error: no suitable constructor found for MpscChunkedArrayQueue(int,int,boolean)
> [ERROR]     constructor MpscChunkedArrayQueue.MpscChunkedArrayQueue(int) is not applicable
> [ERROR]       (actual and formal argument lists differ in length)
> [ERROR]     constructor MpscChunkedArrayQueue.MpscChunkedArrayQueue(int,int) is not applicable
> [ERROR]       (actual and formal argument lists differ in length)
> [ERROR] 
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :netty-common
> dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo package -Dbuild.date=2017-01-23 08:32:14 -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> debian/rules:9: 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/netty_4.1.7-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