Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/abrt-java-connector.spec'], chrootPath='/var/lib/mock/f33-build-223557-48451/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/abrt-java-connector.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1581033600 Wrote: /builddir/build/SRPMS/abrt-java-connector-1.1.4-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/abrt-java-connector.spec'], chrootPath='/var/lib/mock/f33-build-223557-48451/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/abrt-java-connector.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1581033600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8m8Bik + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1 + /usr/bin/gzip -dc /builddir/build/SOURCES/abrt-java-connector-1.1.4-7b2a3a1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8ZtsBg + umask 022 + cd /builddir/build/BUILD + cd abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE=Release CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. -- The C compiler identification is GNU 10.0.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done Configuring abrt-java-connector-1.1.4 on Linux-riscv64 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.3") -- Checking for module 'satyr' -- Found satyr, version 0.30 -- Checking for module 'libreport' -- Found libreport, version 2.13.0 -- Checking for module 'abrt' -- Found abrt, version 2.14.1 -- Found JNI: /usr/lib/jvm/java/jre/lib/riscv64/libjawt.so -- Checking for module 'libsystemd' -- Found libsystemd, version 245 -- The CXX compiler identification is GNU 10.0.1 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Java: /usr/bin/java (found version "1.8.0_212") Requires testsuite ver: java-1.8 -- Checking for module 'check' -- Found check, version 0.14.0 -- Looking for include file locale.h -- Looking for include file locale.h - found -- Checking for module 'rpm' -- Found rpm, version 4.15.90 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX -- Build files have been written to: /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1 + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/cmake -S/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1 -B/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/CMakeFiles /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f src/CMakeFiles/AbrtChecker.dir/build.make src/CMakeFiles/AbrtChecker.dir/depend /usr/bin/make -f utils/CMakeFiles/abrt-action-analyze-java.dir/build.make utils/CMakeFiles/abrt-action-analyze-java.dir/depend /usr/bin/make -f po/CMakeFiles/nls.dir/build.make po/CMakeFiles/nls.dir/depend make[2]: Entering directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' cd /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1 /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/po /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1 /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/po /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/po/CMakeFiles/nls.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/po/CMakeFiles/nls.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/po/CMakeFiles/nls.dir/depend.internal". Dependee "/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/po/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/po/CMakeFiles/nls.dir/depend.internal". Scanning dependencies of target nls make[2]: Leaving directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' make[2]: Entering directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' cd /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1 /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1 /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/CMakeFiles/abrt-action-analyze-java.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/CMakeFiles/abrt-action-analyze-java.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/CMakeFiles/abrt-action-analyze-java.dir/depend.internal". Dependee "/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/CMakeFiles/abrt-action-analyze-java.dir/depend.internal". Scanning dependencies of target abrt-action-analyze-java make[2]: Leaving directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' /usr/bin/make -f utils/CMakeFiles/abrt-action-analyze-java.dir/build.make utils/CMakeFiles/abrt-action-analyze-java.dir/build /usr/bin/make -f po/CMakeFiles/nls.dir/build.make po/CMakeFiles/nls.dir/build make[2]: Entering directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' [ 0%] Extract translatable messages to abrt-java-connector.pot /usr/bin/xgettext --files-from /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/po/POTFILES.in --keyword=_ -o /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/po/abrt-java-connector.pot --copyright-holder="ABRT\ Team" --msgid-bugs-address="crash-catcher\ at\ lists.fedorahosted.org" --no-wrap --no-location make[2]: Leaving directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' make[1]: Entering directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' [ 33%] Built target nls make[1]: Leaving directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' make[2]: Entering directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' cd /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1 /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1 /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/CMakeFiles/AbrtChecker.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/CMakeFiles/AbrtChecker.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/CMakeFiles/AbrtChecker.dir/depend.internal". Dependee "/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/CMakeFiles/AbrtChecker.dir/depend.internal". Scanning dependencies of target AbrtChecker make[2]: Leaving directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' /usr/bin/make -f src/CMakeFiles/AbrtChecker.dir/build.make src/CMakeFiles/AbrtChecker.dir/build make[2]: Entering directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' [ 33%] Building C object src/CMakeFiles/AbrtChecker.dir/jthrowable_circular_buf.c.o cd /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src && /usr/bin/cc -DAbrtChecker_EXPORTS -DHAVE_SYSTEMD=1 -DVERSION=\"1.1.4\" -D_GNU_SOURCE -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -I/usr/include/libreport -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/abrt -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=c99 -DNDEBUG -Werror -DSILENT -fPIC -o CMakeFiles/AbrtChecker.dir/jthrowable_circular_buf.c.o -c /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/jthrowable_circular_buf.c make[2]: Leaving directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' make[2]: Entering directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' [ 33%] Building C object src/CMakeFiles/AbrtChecker.dir/jthread_map.c.o cd /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src && /usr/bin/cc -DAbrtChecker_EXPORTS -DHAVE_SYSTEMD=1 -DVERSION=\"1.1.4\" -D_GNU_SOURCE -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -I/usr/include/libreport -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/abrt -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=c99 -DNDEBUG -Werror -DSILENT -fPIC -o CMakeFiles/AbrtChecker.dir/jthread_map.c.o -c /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/jthread_map.c make[2]: Leaving directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' make[2]: Entering directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' [ 33%] Building C object utils/CMakeFiles/abrt-action-analyze-java.dir/abrt-action-analyze-java.c.o cd /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils && /usr/bin/cc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"abrt-java-connector\" -D_GNU_SOURCE -I/usr/include/json-c -I/usr/include/libreport -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/abrt -I/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=c99 -DNDEBUG -Werror -DSILENT -o CMakeFiles/abrt-action-analyze-java.dir/abrt-action-analyze-java.c.o -c /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c make[2]: Leaving directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c: In function 'write_to_fd': /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:80:5: error: implicit declaration of function 'full_write'; did you mean 'fwrite'? [-Werror=implicit-function-declaration] 80 | full_write(fdout, message, strlen(message)); | ^~~~~~~~~~ | fwrite /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c: In function 'backtrace_from_fd': /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:123:12: error: implicit declaration of function 'xmalloc_read' [-Werror=implicit-function-declaration] 123 | return xmalloc_read(fdin, /*no size limit*/NULL); | ^~~~~~~~~~~~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:123:12: error: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Werror=int-conversion] 123 | return xmalloc_read(fdin, /*no size limit*/NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c: In function 'backtrace_from_file': /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:129:12: error: implicit declaration of function 'xmalloc_xopen_read_close'; did you mean 'libreport_xmalloc_xopen_read_close'? [-Werror=implicit-function-declaration] 129 | return xmalloc_xopen_read_close(file_name, /*no size limit*/NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~ | libreport_xmalloc_xopen_read_close /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:129:12: error: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Werror=int-conversion] 129 | return xmalloc_xopen_read_close(file_name, /*no size limit*/NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c: In function 'work_out_list_of_remote_urls': /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:135:39: error: implicit declaration of function 'strbuf_new' [-Werror=implicit-function-declaration] 135 | struct strbuf *remote_files_csv = strbuf_new(); | ^~~~~~~~~~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:135:39: error: initialization of 'struct strbuf *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:142:46: error: implicit declaration of function 'prefixcmp' [-Werror=implicit-function-declaration] 142 | if (NULL != frame->class_path && prefixcmp(frame->class_path, "file://") != 0) | ^~~~~~~~~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:150:25: error: implicit declaration of function 'strbuf_append_strf' [-Werror=implicit-function-declaration] 150 | strbuf_append_strf(remote_files_csv, "%s%s", | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:167:16: error: implicit declaration of function 'strbuf_free_nobuf' [-Werror=implicit-function-declaration] 167 | return strbuf_free_nobuf(remote_files_csv); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:167:16: error: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Werror=int-conversion] 167 | return strbuf_free_nobuf(remote_files_csv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:170:5: error: implicit declaration of function 'strbuf_free' [-Werror=implicit-function-declaration] 170 | strbuf_free(remote_files_csv); | ^~~~~~~~~~~ In file included from /usr/include/abrt/libabrt.h:17, from /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:29: /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c: In function 'main': /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:281:23: error: 'g_verbose' undeclared (first use in this function) 281 | OPT__VERBOSE(&g_verbose), | ^~~~~~~~~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:281:23: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:290:21: error: implicit declaration of function 'parse_opts' [-Werror=implicit-function-declaration] 290 | unsigned opts = parse_opts(argc, argv, program_options, program_usage_string); | ^~~~~~~~~~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:292:5: error: implicit declaration of function 'export_abrt_envvars'; did you mean 'libreport_export_abrt_envvars'? [-Werror=implicit-function-declaration] 292 | export_abrt_envvars(0); | ^~~~~~~~~~~~~~~~~~~ | libreport_export_abrt_envvars /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:334:19: error: comparison between pointer and integer [-Werror] 334 | if (g_verbose >= 3) | ^~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:360:30: error: implicit declaration of function 'xasprintf'; did you mean 'rasprintf'? [-Werror=implicit-function-declaration] 360 | results_iter->data = xasprintf( | ^~~~~~~~~ | rasprintf /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:360:28: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 360 | results_iter->data = xasprintf( | ^ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:372:28: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 372 | results_iter->data = xasprintf( | ^ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/utils/abrt-action-analyze-java.c:384:28: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 384 | results_iter->data = xasprintf( | ^ cc1: all warnings being treated as errors make[2]: *** [utils/CMakeFiles/abrt-action-analyze-java.dir/build.make:86: utils/CMakeFiles/abrt-action-analyze-java.dir/abrt-action-analyze-java.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1068: utils/CMakeFiles/abrt-action-analyze-java.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' [ 33%] Building C object src/CMakeFiles/AbrtChecker.dir/configuration.c.o cd /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src && /usr/bin/cc -DAbrtChecker_EXPORTS -DHAVE_SYSTEMD=1 -DVERSION=\"1.1.4\" -D_GNU_SOURCE -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -I/usr/include/libreport -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/abrt -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=c99 -DNDEBUG -Werror -DSILENT -fPIC -o CMakeFiles/AbrtChecker.dir/configuration.c.o -c /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/configuration.c make[2]: Leaving directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/configuration.c: In function 'parse_configuration_file': /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/configuration.c:404:30: error: implicit declaration of function 'new_map_string'; did you mean 'insert_map_string'? [-Werror=implicit-function-declaration] 404 | map_string_t *settings = new_map_string(); | ^~~~~~~~~~~~~~ | insert_map_string /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/configuration.c:404:30: error: initialization of 'map_string_t *' {aka 'struct _GHashTable *'} from 'int' makes pointer from integer without a cast [-Werror=int-conversion] /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/configuration.c:407:9: error: implicit declaration of function 'load_conf_file'; did you mean 'load_text_file'? [-Werror=implicit-function-declaration] 407 | load_conf_file(filename, settings, /*skip empty*/0); | ^~~~~~~~~~~~~~ | load_text_file /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/configuration.c:411:9: error: implicit declaration of function 'load_abrt_plugin_conf_file'; did you mean 'abrt_load_abrt_plugin_conf_file'? [-Werror=implicit-function-declaration] 411 | load_abrt_plugin_conf_file(filename, settings); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | abrt_load_abrt_plugin_conf_file /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/configuration.c:420:5: error: implicit declaration of function 'init_map_string_iter' [-Werror=implicit-function-declaration] 420 | init_map_string_iter(&iter, settings); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/configuration.c:423:11: error: implicit declaration of function 'next_map_string_iter' [-Werror=implicit-function-declaration] 423 | while(next_map_string_iter(&iter, &key, &value)) | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/configuration.c:428:5: error: implicit declaration of function 'free_map_string'; did you mean 'insert_map_string'? [-Werror=implicit-function-declaration] 428 | free_map_string(settings); | ^~~~~~~~~~~~~~~ | insert_map_string cc1: all warnings being treated as errors make[2]: *** [src/CMakeFiles/AbrtChecker.dir/build.make:86: src/CMakeFiles/AbrtChecker.dir/configuration.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' [ 33%] Building C object src/CMakeFiles/AbrtChecker.dir/abrt-checker.c.o cd /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src && /usr/bin/cc -DAbrtChecker_EXPORTS -DHAVE_SYSTEMD=1 -DVERSION=\"1.1.4\" -D_GNU_SOURCE -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -I/usr/include/libreport -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/abrt -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=c99 -DNDEBUG -Werror -DSILENT -fPIC -o CMakeFiles/AbrtChecker.dir/abrt-checker.c.o -c /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/abrt-checker.c make[2]: Leaving directory '/builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1' /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/abrt-checker.c: In function 'add_process_properties_data': /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/abrt-checker.c:599:21: error: implicit declaration of function 'get_environ'; did you mean 'g_get_environ'? [-Werror=implicit-function-declaration] 599 | char *environ = get_environ(pid); | ^~~~~~~~~~~ | g_get_environ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/abrt-checker.c:599:21: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/abrt-checker.c: In function 'escape_newline_chars': /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/abrt-checker.c:646:16: error: implicit declaration of function 'xasprintf'; did you mean 'asprintf'? [-Werror=implicit-function-declaration] 646 | return xasprintf("Error in abrt-java-connector: failed to open memstream"); | ^~~~~~~~~ | asprintf /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/abrt-checker.c:646:16: error: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Werror=int-conversion] 646 | return xasprintf("Error in abrt-java-connector: failed to open memstream"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/abrt-checker.c: In function 'write_to_cel': /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/abrt-checker.c:677:18: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 677 | char *json = xasprintf("{\"%s\": \"%s\", " | ^~~~~~~~~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/abrt-checker.c: In function 'get_executable': /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/abrt-checker.c:1170:24: error: implicit declaration of function 'malloc_readlink' [-Werror=implicit-function-declaration] 1170 | char *executable = malloc_readlink(buf); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/abrt-java-connector-7b2a3a1b8884ab08fe4cc7737de7f9f45d8f24f1/src/abrt-checker.c:1170:24: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] cc1: all warnings being treated as errors make[2]: *** [src/CMakeFiles/AbrtChecker.dir/build.make:99: src/CMakeFiles/AbrtChecker.dir/abrt-checker.c.o] Error 1 RPM build errors: make[1]: *** [CMakeFiles/Makefile2:296: src/CMakeFiles/AbrtChecker.dir/all] Error 2 make: *** [Makefile:164: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.8ZtsBg (%build) Bad exit status from /var/tmp/rpm-tmp.8ZtsBg (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/abrt-java-connector.spec