Bug#917727: openhft-lang: FTBFS: [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/IOTools.java:[85, 13] cannot find symbol

Lucas Nussbaum lucas at debian.org
Sat Dec 29 22:25:20 GMT 2018


Source: openhft-lang
Version: 6.7.6-1
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20181229 ftbfs-buster

Hi,

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

Relevant part (hopefully):
>  debian/rules build
> dh build --buildsystem=maven
>    dh_update_autotools_config -O--buildsystem=maven
>    dh_auto_configure -O--buildsystem=maven
> 	mh_patchpoms -plibopenhft-lang-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    dh_auto_build -O--buildsystem=maven
> 	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.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 --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] OpenHFT/Java-Lang/lang                                          [bundle]
> [INFO] Java Lang Parent                                                   [pom]
> [INFO] 
> [INFO] --------------------------< net.openhft:lang >--------------------------
> [INFO] Building OpenHFT/Java-Lang/lang 6.7.6                              [1/2]
> [INFO] -------------------------------[ bundle ]-------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ lang ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/lang/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ lang ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 165 source files to /<<PKGBUILDDIR>>/lang/target/classes
> [INFO] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/model/DataValueClassCache.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/model/DataValueClassCache.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/locks/NativeAtomicAccess.java: Some input files use unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/locks/NativeAtomicAccess.java: Recompile with -Xlint:unchecked for details.
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING : 
> [INFO] -------------------------------------------------------------
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/NativeBytes.java:[22,16] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ChronicleUnsafe.java:[20,16] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/MappedMemory.java:[21,18] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/DirectByteBufferBytes.java:[18,18] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/MappedNativeBytes.java:[21,16] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/VanillaMappedBytes.java:[19,18] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/AbstractMappedStore.java:[32,18] sun.nio.ch.FileChannelImpl is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ByteBufferReuse.java:[23,16] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/CharBufferReuse.java:[23,16] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ByteBufferBytes.java:[23,18] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/IOTools.java:[23,18] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/NativeBytes.java:[43,25] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/NativeBytes.java:[51,31] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/NativeBytes.java:[53,23] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ChronicleUnsafe.java:[32,25] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ChronicleUnsafe.java:[37,31] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ChronicleUnsafe.java:[39,23] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/MappedMemory.java:[71,18] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/DirectByteBufferBytes.java:[36,19] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/DirectByteBufferBytes.java:[37,19] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/DirectByteBufferBytes.java:[67,39] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/MappedNativeBytes.java:[45,31] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/MappedNativeBytes.java:[47,13] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/MappedNativeBytes.java:[47,30] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/VanillaMappedBytes.java:[63,50] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/VanillaMappedBytes.java:[64,50] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/VanillaMappedBytes.java:[95,28] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/AbstractMappedStore.java:[126,29] sun.nio.ch.FileChannelImpl is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ByteBufferReuse.java:[120,19] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/CharBufferReuse.java:[105,19] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ByteBufferBytes.java:[69,31] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ByteBufferBytes.java:[77,31] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ByteBufferBytes.java:[127,31] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ByteBufferBytes.java:[128,30] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ByteBufferBytes.java:[461,31] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ByteBufferBytes.java:[462,65] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ByteBufferBytes.java:[500,31] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ByteBufferBytes.java:[501,66] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/IOTools.java:[84,27] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/IOTools.java:[85,28] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [INFO] 40 warnings 
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/VanillaMappedBytes.java:[18,16] cannot find symbol
>   symbol:   class Cleaner
>   location: package sun.misc
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/AbstractMappedStore.java:[31,16] cannot find symbol
>   symbol:   class Cleaner
>   location: package sun.misc
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/AbstractMappedStore.java:[42,19] cannot find symbol
>   symbol:   class Cleaner
>   location: class net.openhft.lang.io.AbstractMappedStore
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/DirectStore.java:[25,16] cannot find symbol
>   symbol:   class Cleaner
>   location: package sun.misc
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/DirectStore.java:[35,19] cannot find symbol
>   symbol:   class Cleaner
>   location: class net.openhft.lang.io.DirectStore
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/IOTools.java:[22,16] cannot find symbol
>   symbol:   class Cleaner
>   location: package sun.misc
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/VanillaMappedBytes.java:[95,13] cannot find symbol
>   symbol:   class Cleaner
>   location: class net.openhft.lang.io.VanillaMappedBytes
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/AbstractMappedStore.java:[62,28] cannot find symbol
>   symbol:   variable Cleaner
>   location: class net.openhft.lang.io.AbstractMappedStore
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ByteBufferReuse.java:[125,34] cannot find symbol
>   symbol:   method defineClass(java.lang.String,byte[],int,int,java.lang.ClassLoader,<nulltype>)
>   location: variable unsafe of type sun.misc.Unsafe
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/DirectStore.java:[65,19] cannot find symbol
>   symbol:   variable Cleaner
>   location: class net.openhft.lang.io.DirectStore
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/CharBufferReuse.java:[110,34] cannot find symbol
>   symbol:   method defineClass(java.lang.String,byte[],int,int,java.lang.ClassLoader,<nulltype>)
>   location: variable unsafe of type sun.misc.Unsafe
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/IOTools.java:[85,13] cannot find symbol
>   symbol:   class Cleaner
>   location: class net.openhft.lang.io.IOTools
> [INFO] 12 errors 
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] OpenHFT/Java-Lang/lang 6.7.6 ....................... FAILURE [  3.053 s]
> [INFO] Java Lang Parent 6.7-SNAPSHOT ...................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  3.982 s
> [INFO] Finished at: 2018-12-29T14:15:27Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project lang: Compilation failure: Compilation failure: 
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/VanillaMappedBytes.java:[18,16] cannot find symbol
> [ERROR]   symbol:   class Cleaner
> [ERROR]   location: package sun.misc
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/AbstractMappedStore.java:[31,16] cannot find symbol
> [ERROR]   symbol:   class Cleaner
> [ERROR]   location: package sun.misc
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/AbstractMappedStore.java:[42,19] cannot find symbol
> [ERROR]   symbol:   class Cleaner
> [ERROR]   location: class net.openhft.lang.io.AbstractMappedStore
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/DirectStore.java:[25,16] cannot find symbol
> [ERROR]   symbol:   class Cleaner
> [ERROR]   location: package sun.misc
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/DirectStore.java:[35,19] cannot find symbol
> [ERROR]   symbol:   class Cleaner
> [ERROR]   location: class net.openhft.lang.io.DirectStore
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/IOTools.java:[22,16] cannot find symbol
> [ERROR]   symbol:   class Cleaner
> [ERROR]   location: package sun.misc
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/VanillaMappedBytes.java:[95,13] cannot find symbol
> [ERROR]   symbol:   class Cleaner
> [ERROR]   location: class net.openhft.lang.io.VanillaMappedBytes
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/AbstractMappedStore.java:[62,28] cannot find symbol
> [ERROR]   symbol:   variable Cleaner
> [ERROR]   location: class net.openhft.lang.io.AbstractMappedStore
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/ByteBufferReuse.java:[125,34] cannot find symbol
> [ERROR]   symbol:   method defineClass(java.lang.String,byte[],int,int,java.lang.ClassLoader,<nulltype>)
> [ERROR]   location: variable unsafe of type sun.misc.Unsafe
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/DirectStore.java:[65,19] cannot find symbol
> [ERROR]   symbol:   variable Cleaner
> [ERROR]   location: class net.openhft.lang.io.DirectStore
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/CharBufferReuse.java:[110,34] cannot find symbol
> [ERROR]   symbol:   method defineClass(java.lang.String,byte[],int,int,java.lang.ClassLoader,<nulltype>)
> [ERROR]   location: variable unsafe of type sun.misc.Unsafe
> [ERROR] /<<PKGBUILDDIR>>/lang/src/main/java/net/openhft/lang/io/IOTools.java:[85,13] cannot find symbol
> [ERROR]   symbol:   class Cleaner
> [ERROR]   location: class net.openhft.lang.io.IOTools
> [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
> dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.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 --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make: *** [debian/rules:4: build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2018/12/29/openhft-lang_6.7.6-1_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