Bug#917732: openhft-chronicle-bytes: FTBFS: [ERROR] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/NativeBytesStore.java:[78, 48] cannot find symbol

Lucas Nussbaum lucas at debian.org
Sat Dec 29 22:24:04 GMT 2018


Source: openhft-chronicle-bytes
Version: 1.1.15-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-chronicle-bytes-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] --------------------< net.openhft:chronicle-bytes >---------------------
> [INFO] Building OpenHFT/Chronicle-Bytes 1.1.15
> [INFO] -------------------------------[ bundle ]-------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ chronicle-bytes ---
> [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>>/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ chronicle-bytes ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 52 source files to /<<PKGBUILDDIR>>/target/classes
> [INFO] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/BytesStore.java: Some input files use unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/BytesStore.java: Recompile with -Xlint:unchecked for details.
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING : 
> [INFO] -------------------------------------------------------------
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/BytesStore.java:[23,18] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/HeapBytesStore.java:[23,16] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/HeapBytesStore.java:[24,18] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/NativeBytesStore.java:[27,18] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/BytesStore.java:[42,76] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/HeapBytesStore.java:[60,27] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/HeapBytesStore.java:[68,27] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/HeapBytesStore.java:[337,33] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/NativeBytesStore.java:[142,22] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/NativeBytesStore.java:[144,21] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/NativeBytesStore.java:[426,33] sun.nio.ch.DirectBuffer is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/VanillaBytes.java:[263,58] appendUTF(long,char[],int,int) in net.openhft.chronicle.bytes.NativeBytesStore has been deprecated
> [INFO] 12 warnings 
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/NativeBytesStore.java:[26,16] cannot find symbol
>   symbol:   class Cleaner
>   location: package sun.misc
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/NativeBytesStore.java:[55,13] cannot find symbol
>   symbol:   class Cleaner
>   location: class net.openhft.chronicle.bytes.NativeBytesStore<Underlying>
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/NativeBytesStore.java:[78,48] cannot find symbol
>   symbol:   variable Cleaner
>   location: class net.openhft.chronicle.bytes.NativeBytesStore<Underlying>
> [INFO] 3 errors 
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  3.471 s
> [INFO] Finished at: 2018-12-29T12:30:16Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project chronicle-bytes: Compilation failure: Compilation failure: 
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/NativeBytesStore.java:[26,16] cannot find symbol
> [ERROR]   symbol:   class Cleaner
> [ERROR]   location: package sun.misc
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/NativeBytesStore.java:[55,13] cannot find symbol
> [ERROR]   symbol:   class Cleaner
> [ERROR]   location: class net.openhft.chronicle.bytes.NativeBytesStore<Underlying>
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/net/openhft/chronicle/bytes/NativeBytesStore.java:[78,48] cannot find symbol
> [ERROR]   symbol:   variable Cleaner
> [ERROR]   location: class net.openhft.chronicle.bytes.NativeBytesStore<Underlying>
> [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-chronicle-bytes_1.1.15-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