* Package: dev-java/snappy-1.1.10.5:1.1 * Repository: gentoo * Maintainer: java@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using: openjdk-bin-21 >>> Unpacking source... >>> Unpacking snappy-1.1.10.5.tar.gz to /var/tmp/portage/dev-java/snappy-1.1.10.5/work >>> Source unpacked in /var/tmp/portage/dev-java/snappy-1.1.10.5/work >>> Preparing source in /var/tmp/portage/dev-java/snappy-1.1.10.5/work/snappy-java-1.1.10.5 ... * Applying 1.1.7.8-java-version-target.patch ... [ ok ] * Applying snappy-1.1.10.1-unbundle-snappy.patch ... [ ok ] * Applying 1.1.7.8-unbundle-bitshuffle.patch ... [ ok ] * Applying 1.1.7.8-gentoo.patch ... [ ok ] * Applying snappy-1.1.10.5-SnappyOutputStreamTest.patch ... [ ok ] * Applying snappy-1.1.10.1-commons-lang3.patch ... [ ok ] >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-28T01:06)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/dev-java/snappy-1.1.10.5/work/snappy-java-1.1.10.5 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/snappy-1.1.10.5/work/snappy-java-1.1.10.5 ... make -j4 CXX=clang++ JAVA_SOURCE=1.8 JAVA_TARGET=1.8 OS_NAME:Linux, OS_ARCH:x86_64 fatal: not a git repository (or any parent up to mount point /var/tmp) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: not a git repository (or any parent up to mount point /var/tmp) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). ./script/dynver.sh: line 11: [: -eq: unary operator expected "$JAVA_HOME/bin/javac" -source 1.8 -target 1.8 -h src/main/java/org/xerial/snappy/ -d target/jni-classes -sourcepath src/main/java src/main/java/org/xerial/snappy/SnappyNative.java "$JAVA_HOME/bin/javac" -source 1.8 -target 1.8 -h src/main/java/org/xerial/snappy/ -d target/jni-classes -sourcepath src/main/java src/main/java/org/xerial/snappy/BitShuffleNative.java warning: [options] bootstrap class path not set in conjunction with -source 8 warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. warning: [options] bootstrap class path not set in conjunction with -source 8 warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 4 warnings clang++ -Ilib/inc_linux -I/opt/openjdk-bin-21.0.1_p12/include -O2 -fPIC -fvisibility=hidden -m64 -std=c++11 -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DNDEBUG -I"/opt/openjdk-bin-21.0.1_p12/include/linux" -Itarget/snappy-1.1.10 -Itarget/snappy-1.1.10-Linux-x86_64 -c src/main/java/org/xerial/snappy/BitShuffleNative.cpp -o target/snappy-1.1.10-Linux-x86_64/BitShuffleNative.o 4 warnings clang++ -Ilib/inc_linux -I/opt/openjdk-bin-21.0.1_p12/include -O2 -fPIC -fvisibility=hidden -m64 -std=c++11 -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DNDEBUG -I"/opt/openjdk-bin-21.0.1_p12/include/linux" -Itarget/snappy-1.1.10 -Itarget/snappy-1.1.10-Linux-x86_64 -c src/main/java/org/xerial/snappy/SnappyNative.cpp -o target/snappy-1.1.10-Linux-x86_64/SnappyNative.o clang++ -Ilib/inc_linux -I/opt/openjdk-bin-21.0.1_p12/include -O2 -fPIC -fvisibility=hidden -m64 -std=c++11 -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DNDEBUG -I"/opt/openjdk-bin-21.0.1_p12/include/linux" -Itarget/snappy-1.1.10 -Itarget/snappy-1.1.10-Linux-x86_64 -o target/snappy-1.1.10-Linux-x86_64/libsnappyjava.so target/snappy-1.1.10-Linux-x86_64/SnappyNative.o target/snappy-1.1.10-Linux-x86_64/BitShuffleNative.o -shared -static-libgcc -static-libstdc++ -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lsnappy -lbitshuffle -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'vtable for std::bad_alloc'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(stdlib_exception.cpp.o) >>> referenced by stdlib_exception.cpp.o:(std::bad_alloc::bad_alloc()) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol '__cxa_unexpected_handler'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(cxa_default_handlers.cpp.o) >>> referenced by cxa_default_handlers.cpp.o:(std::set_unexpected(void (*)())) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol '__cxa_terminate_handler'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(cxa_default_handlers.cpp.o) >>> referenced by cxa_default_handlers.cpp.o:(std::set_terminate(void (*)())) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol '__cxa_new_handler'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(cxa_default_handlers.cpp.o) >>> referenced by cxa_default_handlers.cpp.o:(std::set_new_handler(void (*)())) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'vtable for std::bad_cast'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(stdlib_typeinfo.cpp.o) >>> referenced by stdlib_typeinfo.cpp.o:(std::bad_cast::bad_cast()) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'vtable for std::bad_typeid'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(stdlib_typeinfo.cpp.o) >>> referenced by stdlib_typeinfo.cpp.o:(std::bad_typeid::bad_typeid()) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'typeinfo for __cxxabiv1::__shim_type_info'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(private_typeinfo.cpp.o) >>> referenced by private_typeinfo.cpp.o:(__cxxabiv1::__class_type_info::can_catch(__cxxabiv1::__shim_type_info const*, void*&) const) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'typeinfo for __cxxabiv1::__class_type_info'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(private_typeinfo.cpp.o) >>> referenced by private_typeinfo.cpp.o:(__cxxabiv1::__class_type_info::can_catch(__cxxabiv1::__shim_type_info const*, void*&) const) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'typeinfo for __cxxabiv1::__shim_type_info'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(private_typeinfo.cpp.o) >>> referenced by private_typeinfo.cpp.o:(__cxxabiv1::__pbase_type_info::can_catch(__cxxabiv1::__shim_type_info const*, void*&) const) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'typeinfo for __cxxabiv1::__pbase_type_info'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(private_typeinfo.cpp.o) >>> referenced by private_typeinfo.cpp.o:(__cxxabiv1::__pbase_type_info::can_catch(__cxxabiv1::__shim_type_info const*, void*&) const) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'typeinfo name for std::nullptr_t'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(private_typeinfo.cpp.o) >>> referenced by private_typeinfo.cpp.o:(__cxxabiv1::__pointer_type_info::can_catch(__cxxabiv1::__shim_type_info const*, void*&) const) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'typeinfo for __cxxabiv1::__shim_type_info'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(private_typeinfo.cpp.o) >>> referenced by private_typeinfo.cpp.o:(__cxxabiv1::__pointer_type_info::can_catch(__cxxabiv1::__shim_type_info const*, void*&) const) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'typeinfo for __cxxabiv1::__pbase_type_info'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(private_typeinfo.cpp.o) >>> referenced by private_typeinfo.cpp.o:(__cxxabiv1::__pointer_type_info::can_catch(__cxxabiv1::__shim_type_info const*, void*&) const) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'typeinfo for __cxxabiv1::__shim_type_info'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(private_typeinfo.cpp.o) >>> referenced by private_typeinfo.cpp.o:(__cxxabiv1::__pointer_type_info::can_catch(__cxxabiv1::__shim_type_info const*, void*&) const) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'vtable for std::bad_array_new_length'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(stdlib_exception.cpp.o) >>> referenced by stdlib_exception.cpp.o:(std::bad_array_new_length::bad_array_new_length()) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'vtable for std::logic_error'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(stdlib_stdexcept.cpp.o) >>> referenced by stdlib_stdexcept.cpp.o:(std::logic_error::~logic_error()) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'vtable for std::logic_error'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(stdlib_stdexcept.cpp.o) >>> referenced by stdlib_stdexcept.cpp.o:(std::logic_error::~logic_error()) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'vtable for std::runtime_error'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(stdlib_stdexcept.cpp.o) >>> referenced by stdlib_stdexcept.cpp.o:(std::runtime_error::~runtime_error()) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'vtable for std::runtime_error'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(stdlib_stdexcept.cpp.o) >>> referenced by stdlib_stdexcept.cpp.o:(std::runtime_error::~runtime_error()) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'vtable for std::logic_error'; recompile with -fPIC >>> defined in /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a(stdlib_stdexcept.cpp.o) >>> referenced by stdlib_stdexcept.cpp.o:(std::domain_error::~domain_error()) in archive /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/libc++abi.a ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) clang++: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:130: target/snappy-1.1.10-Linux-x86_64/libsnappyjava.so] Error 1 * ERROR: dev-java/snappy-1.1.10.5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-java/snappy-1.1.10.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/snappy-1.1.10.5::gentoo'`. * The complete build log is located at '/var/log/portage/dev-java:snappy-1.1.10.5:20231201-082202.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/snappy-1.1.10.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/snappy-1.1.10.5/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/snappy-1.1.10.5/work/snappy-java-1.1.10.5' * S: '/var/tmp/portage/dev-java/snappy-1.1.10.5/work/snappy-java-1.1.10.5' !!! When you file a bug report, please include the following information: GENTOO_VM=openjdk-bin-21 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-21.0.1_p12" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" and of course, the output of emerge --info =snappy-1.1.10.5