Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/imsettings.spec'], chrootPath='/var/lib/mock/dist-an23-dde-build-315385-67695/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=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/imsettings.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1693180800 Wrote: /builddir/build/SRPMS/imsettings-1.8.1-3.up1.01.1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/imsettings.spec'], chrootPath='/var/lib/mock/dist-an23-dde-build-315385-67695/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=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/imsettings.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1693180800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PxoaX5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf imsettings-1.8.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/imsettings-1.8.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd imsettings-1.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/imsettings-constraint-of-language.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/imsettings-disable-xim.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/imsettings-xinput-xcompose.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/imsettings-force-enable-for-cinnamon.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/9000-fix-journal_missing_chinese.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-add-en_US-to-language-list.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ucEBUv + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd imsettings-1.8.1 + autoreconf -f configure.ac:186: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:186: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:186: the top level configure.ac:190: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:190: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:190: the top level configure.ac:195: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:195: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:195: the top level configure.ac:199: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:199: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:199: the top level configure.ac:203: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:203: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:203: the top level configure.ac:207: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:207: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:207: the top level configure.ac:211: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:211: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:211: the top level tests/Makefile.am:95: warning: variable 'test_gcit_13_SOURCES' is defined but no program or tests/Makefile.am:95: library has 'test_gcit_13' as canonical name (possible typo) tests/Makefile.am:77: warning: variable 'test_gcit_5_SOURCES' is defined but no program or tests/Makefile.am:77: library has 'test_gcit_5' as canonical name (possible typo) tests/Makefile.am:82: warning: variable 'test_gcit_7_SOURCES' is defined but no program or tests/Makefile.am:82: library has 'test_gcit_7' as canonical name (possible typo) tests/Makefile.am:72: warning: variable 'test_imsettings_request_SOURCES' is defined but no program or tests/Makefile.am:72: library has 'test_imsettings_request' as canonical name (possible typo) + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-10-11 23:06:46.672217742 +0800 +++ ./configure 2023-10-11 23:06:47.825139010 +0800 @@ -2003,7 +2003,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-10-11 23:06:47.825139010 +0800 +++ ./configure 2023-10-11 23:06:47.844643318 +0800 @@ -7378,7 +7378,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -23902,7 +23902,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 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.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./config.guess '/usr/lib/rpm/anolis/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./config.sub '/usr/lib/rpm/anolis/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-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/anolis/anolis-hardened-ld"~' ./ltmain.sh ++ dirname ./configure + /usr/lib/rpm/anolis/force-as-needed-for-shared-lib-in-libtool . Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/anolis/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking ++ dirname ./configure + /usr/lib/rpm/anolis/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 + ./configure --build=x86_64-Anolis-linux --host=x86_64-Anolis-linux --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 --with-xinputsh=50-xinput.sh --disable-static --disable-schemas-install configure: WARNING: unrecognized options: --disable-schemas-install checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no ./configure: line 3928: AX_CHECK_ENABLE_DEBUG: command not found ./configure: line 3929: test: =: unary operator expected checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-Anolis-linux-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none 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 how to convert x86_64-Anolis-linux-gnu file names to x86_64-Anolis-linux-gnu format... func_convert_file_noop checking how to convert x86_64-Anolis-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-Anolis-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-Anolis-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-Anolis-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-Anolis-linux-strip... no checking for strip... strip checking for x86_64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7384: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-Anolis-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no 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 -m elf_x86_64) 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... no checking for x86_64-Anolis-linux-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate ./configure: line 17979: GNOME_COMPILE_WARNINGS: command not found ./configure: line 17981: GNOME_COMMON_INIT: command not found ./configure: line 17982: GNOME_MAINTAINER_MODE_DEFINES: command not found checking for x86_64-Anolis-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gtk-doc... no configure: WARNING: You will not be able to create source packages with 'make dist' because gtk-doc >= 1.0 is not found. checking for gtkdoc-check... no checking for gtkdoc-check... no checking for gtkdoc-rebase... no checking for gtkdoc-mkpdf... no checking whether to build gtk-doc documentation... no checking for GTKDOC_DEPS... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by gcc... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking how to run the C preprocessor... gcc -E checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for IMSETTINGS... yes checking for LIBNOTIFY... yes checking for LIBNOTIFY_OLD... no checking for X11... yes checking for GCONF... no checking for GSETTINGS... yes checking for LXDE... yes checking for MATE... no checking for XFCE... yes checking for XIM... yes checking for GTHREAD... yes checking for CHECK... no checking for x86_64-Anolis-linux-pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.16... yes checking for GLIB... yes checking for GLIB - version >= 2.36.0... yes (version 2.76.4) checking for gobject-introspection... yes checking for GTK3... yes checking for FALLBACK_SUPPORT_IN_GTK... yes checking for GTK2... yes checking for FALLBACK_SUPPORT_IN_GTK2... yes checking Whether GTK+ supports the immodules' fallback... yes (gtk3: yes, gtk2: yes) checking whether to build the specific xinput script directory... no checking whether to build the specific xinputrc directory... no checking whether to give the specific xinput.sh name... yes checking whether to build the specific xinit script directory... no checking whether to build the specific xinput suffix... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating imsettings.pc config.status: creating imsettings-uninstalled.pc config.status: creating backends/Makefile config.status: creating backends/cinnamon-gsettings/Makefile config.status: creating backends/gconf/Makefile config.status: creating backends/gsettings/Makefile config.status: creating backends/lxde/Makefile config.status: creating backends/mate-gsettings/Makefile config.status: creating backends/mateconf/Makefile config.status: creating backends/qt/Makefile config.status: creating backends/xfce/Makefile config.status: creating backends/xim/Makefile config.status: creating data/Makefile config.status: creating data/none.in config.status: creating data/xcompose.in config.status: creating data/xim.in config.status: creating data/xinput.sh.in config.status: creating data/xinputinfo.sh config.status: creating docs/Makefile config.status: creating docs/version.xml config.status: creating imsettings/Makefile config.status: creating imsettings-daemon/Makefile config.status: creating po/Makefile.in config.status: creating utils/Makefile config.status: creating tests/Makefile config.status: creating tests/testcases/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing chmod-scripts commands configure: WARNING: unrecognized options: --disable-schemas-install ========== Build Information ========== CFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -pthread LDFLAGS: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 GConf support: no GSettings support: yes CFLAGS: -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -pthread LDFLAGS: -lgio-2.0 -lgobject-2.0 -lglib-2.0 MATE (< 1.5) support: no LXDE support: yes CFLAGS: -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread LDFLAGS: -lglib-2.0 Qt support: yes CFLAGS: -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread LDFLAGS: -lglib-2.0 Xfce support: yes CFLAGS: -I/usr/include/xfce4/xfconf-0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -pthread LDFLAGS: -lxfconf-0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 XIM support: yes CFLAGS: -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -pthread LDFLAGS: -lgxim -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 XINPUT_PATH: /etc/X11/xinit/xinput.d/ XINPUTRC_PATH: /etc/X11/xinit/ XINIT_PATH: /etc/X11/xinit/xinitrc.d/ XINPUTSH: 50-xinput.sh XINPUT_SUFFIX: .conf Rebuilds: yes Unit testing: no + make -j80 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/imsettings-1.8.1' Making all in data make[2]: Entering directory '/builddir/build/BUILD/imsettings-1.8.1/data' GEN imsettings-target-checker.sh GEN imsettings-functions GEN none.conf GEN xim.conf GEN xcompose.conf GEN 50-xinput.sh make[2]: Leaving directory '/builddir/build/BUILD/imsettings-1.8.1/data' Making all in imsettings make[2]: Entering directory '/builddir/build/BUILD/imsettings-1.8.1/imsettings' CC libimsettings_la-imsettings-client.lo CC libimsettings_la-imsettings-info.lo CC libimsettings_la-imsettings-utils.lo imsettings-client.c:194:13: warning: Deprecated pre-processor symbol: replace with "static inline" 194 | G_INLINE_FUNC gboolean | ^~~~~~~~~~ imsettings-client.c:216:13: warning: Deprecated pre-processor symbol: replace with "static inline" 216 | G_INLINE_FUNC gchar * | ^~~~~~~~~ imsettings-client.c:238:13: warning: Deprecated pre-processor symbol: replace with "static inline" 238 | G_INLINE_FUNC GVariant * | ^~~~~~~~~~~~ imsettings-info.c:85:13: warning: Deprecated pre-processor symbol: replace with "static inline" 85 | G_INLINE_FUNC const gchar * | ^~~~~~~~~~~~~~~ imsettings-info.c:94:13: warning: Deprecated pre-processor symbol: replace with "static inline" 94 | G_INLINE_FUNC const gchar * | ^~~~~~~~~~~~~~~ imsettings-info.c:103:13: warning: Deprecated pre-processor symbol: replace with "static inline" 103 | G_INLINE_FUNC gchar * | ^~~~~~~~~ imsettings-info.c:155:13: warning: Deprecated pre-processor symbol: replace with "static inline" 155 | G_INLINE_FUNC gboolean | ^~~~~~~~~~ CCLD libimsettings.la GISCAN IMSettings-1.8.gir imsettings-client.c:540: Warning: IMSettings: unexpected annotation: out imsettings-info.h:94: Warning: IMSettings: Constructor return type mismatch symbol='imsettings_info_variant_new' constructed='IMSettings.Info' return='GLib.Variant' :: Warning: IMSettings: (ErrorQuarkFunction)g_error_quark: imsettings_g_error_quark: Couldn't find corresponding enumeration GICOMP IMSettings-1.8.gir make[2]: Leaving directory '/builddir/build/BUILD/imsettings-1.8.1/imsettings' Making all in imsettings-daemon make[2]: Entering directory '/builddir/build/BUILD/imsettings-1.8.1/imsettings-daemon' GEN stamp-marshal.h INFO: Reading ./marshal.list... GEN imsettings-marshal.c INFO: Reading ./marshal.list... make all-am make[3]: Entering directory '/builddir/build/BUILD/imsettings-1.8.1/imsettings-daemon' CC imsettings_daemon-imsettings-marshal.o CC imsettings_daemon-imsettings-module.o CC imsettings_daemon-imsettings-proc.o CC imsettings_daemon-imsettings-server.o CC imsettings_daemon-main.o GEN imsettings-daemon.service imsettings-proc.c:43:9: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 43 | GTimeVal started_time; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/glib/gi18n-lib.h:23, from imsettings-proc.c:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ imsettings-proc.c: In function '_watch_im_status_cb': imsettings-proc.c:138:9: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 138 | GTimeVal current; | ^~~~~~~~ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ imsettings-proc.c:195:17: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 195 | g_get_current_time(¤t); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:35, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here 728 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ imsettings-server.c: In function 'imsettings_server_log_handler': imsettings-server.c:175:9: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 175 | GTimeVal val; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/glib/gi18n-lib.h:23, from imsettings-server.c:31: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ imsettings-server.c:177:9: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 177 | g_get_current_time(&val); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:35, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here 728 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ imsettings-proc.c: In function '_start_process': imsettings-proc.c:375:25: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 375 | g_get_current_time(&pinfo->started_time); | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here 728 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ imsettings-proc.c:378:25: warning: 'g_time_val_to_iso8601' is deprecated: Use 'g_date_time_format' instead [-Wdeprecated-declarations] 378 | time = g_time_val_to_iso8601(&pinfo->started_time); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:92: /usr/include/glib-2.0/glib/gtimer.h:75:10: note: declared here 75 | gchar* g_time_val_to_iso8601 (GTimeVal *time_) G_GNUC_MALLOC; | ^~~~~~~~~~~~~~~~~~~~~ imsettings-proc.c: In function '_stop_process': imsettings-proc.c:455:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 455 | GTimeVal time; | ^~~~~~~~ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ imsettings-proc.c:458:25: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 458 | g_get_current_time(&time); | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here 728 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ imsettings-proc.c:459:25: warning: 'g_time_val_to_iso8601' is deprecated: Use 'g_date_time_format' instead [-Wdeprecated-declarations] 459 | s = g_time_val_to_iso8601(&time); | ^ /usr/include/glib-2.0/glib/gtimer.h:75:10: note: declared here 75 | gchar* g_time_val_to_iso8601 (GTimeVal *time_) G_GNUC_MALLOC; | ^~~~~~~~~~~~~~~~~~~~~ imsettings-server.c: In function 'imsettings_server_cb_is_supported_desktop': imsettings-server.c:733:9: warning: 'g_spawn_check_exit_status' is deprecated: Use 'g_spawn_check_wait_status' instead [-Wdeprecated-declarations] 733 | if (!g_spawn_check_exit_status(ret, &err)) | ^~ In file included from /usr/include/glib-2.0/glib.h:84: /usr/include/glib-2.0/glib/gspawn.h:315:10: note: declared here 315 | gboolean g_spawn_check_exit_status (gint wait_status, | ^~~~~~~~~~~~~~~~~~~~~~~~~ CCLD imsettings-daemon /usr/bin/ld: imsettings_daemon-imsettings-server.o (symbol from plugin): in function `signals': (.text+0x0): multiple definition of `signals'; imsettings_daemon-imsettings-proc.o (symbol from plugin):(.text+0x0): first defined here imsettings-server.c:94:7: warning: type of 'signals' does not match original declaration [-Wlto-type-mismatch] 94 | guint signals[LAST_SIGNAL]; | ^ imsettings-proc.c:87:7: note: array types have different bounds 87 | guint signals[LAST_SIGNAL] = { 0 }; | ^ imsettings-proc.c:87:7: note: 'signals' was previously declared here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:633: imsettings-daemon] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/imsettings-1.8.1/imsettings-daemon' make[2]: Leaving directory '/builddir/build/BUILD/imsettings-1.8.1/imsettings-daemon' make[2]: *** [Makefile:548: all] Error 2 make[1]: *** [Makefile:608: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/imsettings-1.8.1' make: *** [Makefile:515: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.ucEBUv (%build) Bad exit status from /var/tmp/rpm-tmp.ucEBUv (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/imsettings.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/imsettings.spec