Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sblim-cmpi-syslog.spec'], chrootPath='/var/lib/mock/f40-build-758934-120018/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sblim-cmpi-syslog.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': 'C.UTF-8'} and shell False warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1626998400 Wrote: /builddir/build/SRPMS/sblim-cmpi-syslog-0.9.0-20.fc40.src.rpm RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sblim-cmpi-syslog.spec'], chrootPath='/var/lib/mock/f40-build-758934-120018/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sblim-cmpi-syslog.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': 'C.UTF-8'} and shell False warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1626998400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Oi3yQe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sblim-cmpi-syslog-0.9.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sblim-cmpi-syslog-0.9.0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd sblim-cmpi-syslog-0.9.0 + rm -rf /builddir/build/BUILD/sblim-cmpi-syslog-0.9.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/sblim-cmpi-syslog-0.9.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sblim-cmpi-syslog-0.9.0-pegasus-interop.patch):' Patch #0 (sblim-cmpi-syslog-0.9.0-pegasus-interop.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .interop --fuzz=0 patching file syslog-conf/mof/Syslog_ConfigurationRegistration.mof patching file syslog-conf/provider-register.sh patching file syslog-log/mof/Syslog_LogRegistration.mof patching file syslog-log/provider-register.sh patching file syslog-service/mof/Syslog_ServiceRegistration.mof patching file syslog-service/provider-register.sh + echo 'Patch #1 (sblim-cmpi-syslog-0.9.0-docdir.patch):' Patch #1 (sblim-cmpi-syslog-0.9.0-docdir.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .docdir --fuzz=0 patching file Makefile.in patching file syslog-conf/Makefile.in patching file syslog-log/Makefile.in patching file syslog-service/Makefile.in + echo 'Patch #2 (sblim-cmpi-syslog-0.9.0-prov-reg-sfcb-systemd.patch):' Patch #2 (sblim-cmpi-syslog-0.9.0-prov-reg-sfcb-systemd.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .prov-reg-sfcb-systemd --fuzz=0 patching file syslog-conf/provider-register.sh patching file syslog-log/provider-register.sh patching file syslog-service/provider-register.sh + echo 'Patch #3 (sblim-cmpi-syslog-0.9.0-format-security.patch):' Patch #3 (sblim-cmpi-syslog-0.9.0-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .format-security --fuzz=0 patching file syslog-conf/Syslog_SettingContext.c + echo 'Patch #4 (sblim-cmpi-syslog-0.9.0-buffer-overflow-remove-tmpnam.patch):' Patch #4 (sblim-cmpi-syslog-0.9.0-buffer-overflow-remove-tmpnam.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .buffer-overflow-remove-tmpnam --fuzz=0 patching file syslog-conf/util/syslogconfutil.c + rm -f COPYING + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Twsitf + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sblim-cmpi-syslog-0.9.0 + export 'CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info TESTSUITEDIR=/usr/share/sblim-testsuite PROVIDERDIR=/usr/lib64/cmpi SYSLOG=rsyslog checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ind_start in -lind_helper... no checking for CMPI headers... checking standard... checking /usr/include/cmpi... yes checking for CMPI provider directory... checking /usr/lib64/cmpi ... yes checking for CIM servers... checking sfcbd ... yes checking cimserver ... checking owcimomd ... checking size of int... 4 checking for SBLIM testsuite... checking /usr/share/sblim-testsuite ... checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for bzero... yes checking for gethostname... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strstr... yes ------------------------------------------------------- Configuration for sblim-cmpi-syslog complete. The following configuration options have been selected: CIMSERVER: sfcb PROVIDERDIR: /usr/lib64/cmpi SYSLOG: rsyslog CPPFLAGS: -I/usr/include/cmpi -DGENERIC -DNOEVENTS Indication Support Disabled Test Suite Support Enabled TESTSUITEDIR /usr/share/sblim-testsuite ------------------------------------------------------- configure: creating ./config.status config.status: creating Makefile config.status: creating sblim-cmpi-syslog.spec config.status: creating sblim-cmpi-syslog.rh.spec config.status: creating syslog-conf/Makefile config.status: creating syslog-log/Makefile config.status: creating syslog-service/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands You may now run make + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make make all-recursive make[1]: Entering directory '/builddir/build/BUILD/sblim-cmpi-syslog-0.9.0' Making all in syslog-conf make[2]: Entering directory '/builddir/build/BUILD/sblim-cmpi-syslog-0.9.0/syslog-conf' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o Syslog_ConfUtils.lo Syslog_ConfUtils.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c Syslog_ConfUtils.c -fPIC -DPIC -o .libs/Syslog_ConfUtils.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c Syslog_ConfUtils.c -o Syslog_ConfUtils.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wc,-nostartfiles -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libSyslog_ConfUtils.la -rpath /usr/lib64 Syslog_ConfUtils.lo libtool: link: gcc -shared -fPIC -DPIC .libs/Syslog_ConfUtils.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -nostartfiles -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,-soname -Wl,libSyslog_ConfUtils.so.0 -o .libs/libSyslog_ConfUtils.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libSyslog_ConfUtils.so.0" && ln -s "libSyslog_ConfUtils.so.0.0.0" "libSyslog_ConfUtils.so.0") libtool: link: (cd ".libs" && rm -f "libSyslog_ConfUtils.so" && ln -s "libSyslog_ConfUtils.so.0.0.0" "libSyslog_ConfUtils.so") libtool: link: ar cru .libs/libSyslog_ConfUtils.a Syslog_ConfUtils.o libtool: link: ranlib .libs/libSyslog_ConfUtils.a libtool: link: ( cd ".libs" && rm -f "libSyslog_ConfUtils.la" && ln -s "../libSyslog_ConfUtils.la" "libSyslog_ConfUtils.la" ) /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o syslogconfutil.lo `test -f 'util/syslogconfutil.c' || echo './'`util/syslogconfutil.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c util/syslogconfutil.c -fPIC -DPIC -o .libs/syslogconfutil.o util/syslogconfutil.c: In function 'Syslog_Setting_Next_Enum': util/syslogconfutil.c:144:46: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 144 | strncpy (cfile->facility, facility, sizeof (facility)); | ^ util/syslogconfutil.c:148:46: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 148 | strncpy (cfile->priority, priority, sizeof (priority)); | ^ util/syslogconfutil.c:152:43: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 152 | strncpy (cfile->target, pathbuf, sizeof (pathbuf)); | ^ util/syslogconfutil.c: In function 'Syslog_Setting_Get_Instance': util/syslogconfutil.c:212:52: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 212 | strncpy (cfile->facility, facility, sizeof (facility)); | ^ util/syslogconfutil.c:213:52: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 213 | strncpy (cfile->priority, priority, sizeof (priority)); | ^ util/syslogconfutil.c:214:49: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 214 | strncpy (cfile->target, pathbuf, sizeof (pathbuf)); | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c util/syslogconfutil.c -o syslogconfutil.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wc,-nostartfiles -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libsyslogconfutil.la -rpath /usr/lib64 syslogconfutil.lo libtool: link: gcc -shared -fPIC -DPIC .libs/syslogconfutil.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -nostartfiles -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,-soname -Wl,libsyslogconfutil.so.0 -o .libs/libsyslogconfutil.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libsyslogconfutil.so.0" && ln -s "libsyslogconfutil.so.0.0.0" "libsyslogconfutil.so.0") libtool: link: (cd ".libs" && rm -f "libsyslogconfutil.so" && ln -s "libsyslogconfutil.so.0.0.0" "libsyslogconfutil.so") libtool: link: ar cru .libs/libsyslogconfutil.a syslogconfutil.o libtool: link: ranlib .libs/libsyslogconfutil.a libtool: link: ( cd ".libs" && rm -f "libsyslogconfutil.la" && ln -s "../libsyslogconfutil.la" "libsyslogconfutil.la" ) /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o syslogsettingparse.lo `test -f 'util/syslogsettingparse.c' || echo './'`util/syslogsettingparse.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c util/syslogsettingparse.c -fPIC -DPIC -o .libs/syslogsettingparse.o util/syslogsettingparse.c: In function 'send_HUP_to_syslogd': util/syslogsettingparse.c:58:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | fgets(buf, 32, ifp); | ^~~~~~~~~~~~~~~~~~~ util/syslogsettingparse.c:66:9: warning: 'fclose' called on pointer returned from a mismatched allocation function [-Wmismatched-dealloc] 66 | fclose(ifp); | ^~~~~~~~~~~ util/syslogsettingparse.c:51:13: note: returned from 'popen' 51 | ifp=popen("/sbin/pidof " SYSLOG_DAEMON, "r"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c util/syslogsettingparse.c -o syslogsettingparse.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wc,-nostartfiles -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libsyslogsettingparse.la -rpath /usr/lib64 syslogsettingparse.lo libtool: link: gcc -shared -fPIC -DPIC .libs/syslogsettingparse.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -nostartfiles -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,-soname -Wl,libsyslogsettingparse.so.0 -o .libs/libsyslogsettingparse.so.0.0.0 /usr/bin/ld: .libs/syslogsettingparse.o: in function `atomic_rename': /builddir/build/BUILD/sblim-cmpi-syslog-0.9.0/syslog-conf/util/syslogsettingparse.c:298:(.text+0x167a): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' libtool: link: (cd ".libs" && rm -f "libsyslogsettingparse.so.0" && ln -s "libsyslogsettingparse.so.0.0.0" "libsyslogsettingparse.so.0") libtool: link: (cd ".libs" && rm -f "libsyslogsettingparse.so" && ln -s "libsyslogsettingparse.so.0.0.0" "libsyslogsettingparse.so") libtool: link: ar cru .libs/libsyslogsettingparse.a syslogsettingparse.o libtool: link: ranlib .libs/libsyslogsettingparse.a libtool: link: ( cd ".libs" && rm -f "libsyslogsettingparse.la" && ln -s "../libsyslogsettingparse.la" "libsyslogsettingparse.la" ) /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o Syslog_Configuration.lo Syslog_Configuration.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c Syslog_Configuration.c -fPIC -DPIC -o .libs/Syslog_Configuration.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c Syslog_Configuration.c -o Syslog_Configuration.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libSyslog_Configuration.la -rpath /usr/lib64/cmpi Syslog_Configuration.lo -lSyslog_ConfUtils -lsyslogconfutil -lsyslogsettingparse libtool: link: gcc -shared -fPIC -DPIC .libs/Syslog_Configuration.o /builddir/build/BUILD/sblim-cmpi-syslog-0.9.0/syslog-conf/.libs/libSyslog_ConfUtils.so /builddir/build/BUILD/sblim-cmpi-syslog-0.9.0/syslog-conf/.libs/libsyslogconfutil.so /builddir/build/BUILD/sblim-cmpi-syslog-0.9.0/syslog-conf/.libs/libsyslogsettingparse.so -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,-soname -Wl,libSyslog_Configuration.so -o .libs/libSyslog_Configuration.so libtool: link: ar cru .libs/libSyslog_Configuration.a Syslog_Configuration.o libtool: link: ranlib .libs/libSyslog_Configuration.a libtool: link: ( cd ".libs" && rm -f "libSyslog_Configuration.la" && ln -s "../libSyslog_Configuration.la" "libSyslog_Configuration.la" ) /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o Syslog_Setting.lo Syslog_Setting.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c Syslog_Setting.c -fPIC -DPIC -o .libs/Syslog_Setting.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c Syslog_Setting.c -o Syslog_Setting.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libSyslog_Setting.la -rpath /usr/lib64/cmpi Syslog_Setting.lo -lSyslog_ConfUtils -lsyslogconfutil -lsyslogsettingparse libtool: link: gcc -shared -fPIC -DPIC .libs/Syslog_Setting.o /builddir/build/BUILD/sblim-cmpi-syslog-0.9.0/syslog-conf/.libs/libSyslog_ConfUtils.so /builddir/build/BUILD/sblim-cmpi-syslog-0.9.0/syslog-conf/.libs/libsyslogconfutil.so /builddir/build/BUILD/sblim-cmpi-syslog-0.9.0/syslog-conf/.libs/libsyslogsettingparse.so -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,-soname -Wl,libSyslog_Setting.so -o .libs/libSyslog_Setting.so libtool: link: ar cru .libs/libSyslog_Setting.a Syslog_Setting.o libtool: link: ranlib .libs/libSyslog_Setting.a libtool: link: ( cd ".libs" && rm -f "libSyslog_Setting.la" && ln -s "../libSyslog_Setting.la" "libSyslog_Setting.la" ) /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o Syslog_SettingContext.lo Syslog_SettingContext.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c Syslog_SettingContext.c -fPIC -DPIC -o .libs/Syslog_SettingContext.o Syslog_SettingContext.c: In function 'associatorHelper': Syslog_SettingContext.c:372:12: warning: variable 'data' set but not used [-Wunused-but-set-variable] 372 | CMPIData data; | ^~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c Syslog_SettingContext.c -o Syslog_SettingContext.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libSyslog_SettingContext.la -rpath /usr/lib64/cmpi Syslog_SettingContext.lo -lSyslog_ConfUtils -lsyslogconfutil -lsyslogsettingparse libtool: link: gcc -shared -fPIC -DPIC .libs/Syslog_SettingContext.o /builddir/build/BUILD/sblim-cmpi-syslog-0.9.0/syslog-conf/.libs/libSyslog_ConfUtils.so /builddir/build/BUILD/sblim-cmpi-syslog-0.9.0/syslog-conf/.libs/libsyslogconfutil.so /builddir/build/BUILD/sblim-cmpi-syslog-0.9.0/syslog-conf/.libs/libsyslogsettingparse.so -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,-soname -Wl,libSyslog_SettingContext.so -o .libs/libSyslog_SettingContext.so libtool: link: ar cru .libs/libSyslog_SettingContext.a Syslog_SettingContext.o libtool: link: ranlib .libs/libSyslog_SettingContext.a libtool: link: ( cd ".libs" && rm -f "libSyslog_SettingContext.la" && ln -s "../libSyslog_SettingContext.la" "libSyslog_SettingContext.la" ) gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/cmpi -DGENERIC -DNOEVENTS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o setting.o `test -f 'test/system/linux/setting.c' || echo './'`test/system/linux/setting.c test/system/linux/setting.c: In function ‘setting_read’: test/system/linux/setting.c:57:11: error: implicit declaration of function ‘parse_list’ [-Werror=implicit-function-declaration] 57 | ret = parse_list(cbuf); | ^~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [Makefile:621: setting.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/sblim-cmpi-syslog-0.9.0/syslog-conf' make[1]: *** [Makefile:358: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/sblim-cmpi-syslog-0.9.0' make: *** [Makefile:267: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Twsitf (%build) RPM build warnings: RPM build errors: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.Twsitf (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/sblim-cmpi-syslog.spec