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 loongarch64 --nodeps /builddir/build/SPECS/libxkbfile.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-221424-16804/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libxkbfile.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/libxkbfile-1.1.1-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libxkbfile.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-221424-16804/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libxkbfile.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.awEyOT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libxkbfile-1.1.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libxkbfile-1.1.1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd libxkbfile-1.1.1 + /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.hZQyoA + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -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 libxkbfile-1.1.1 + export '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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + '[' '-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 2022-10-18 10:04:10.000000000 +0800 +++ ./configure 2024-07-27 03:28:10.923769074 +0800 @@ -1742,7 +1742,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 2024-07-27 03:28:10.923769074 +0800 +++ ./configure 2024-07-27 03:28:10.955769803 +0800 @@ -6794,7 +6794,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'" @@ -20089,7 +20089,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.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-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/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-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 --disable-static 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 build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for loongarch64-opencloudos-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 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 loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-opencloudos-linux-gnu-file... no checking for file... file checking for loongarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for loongarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6800: -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 loongarch64-opencloudos-linux-gnu-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... yes 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... no checking for gcc options needed to detect all undeclared functions... none needed checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for loongarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking if gcc supports -Werror=unknown-warning-option... no checking if gcc supports -Werror=unused-command-line-argument... no checking if gcc supports -Wall... yes checking if gcc supports -Wpointer-arith... yes checking if gcc supports -Wmissing-declarations... yes checking if gcc supports -Wformat=2... yes checking if gcc supports -Wstrict-prototypes... yes checking if gcc supports -Wmissing-prototypes... yes checking if gcc supports -Wnested-externs... yes checking if gcc supports -Wbad-function-cast... yes checking if gcc supports -Wold-style-definition... yes checking if gcc supports -Wdeclaration-after-statement... yes checking if gcc supports -Wunused... yes checking if gcc supports -Wuninitialized... yes checking if gcc supports -Wshadow... yes checking if gcc supports -Wmissing-noreturn... yes checking if gcc supports -Wmissing-format-attribute... yes checking if gcc supports -Wredundant-decls... yes checking if gcc supports -Wlogical-op... yes checking if gcc supports -Werror=implicit... yes checking if gcc supports -Werror=nonnull... yes checking if gcc supports -Werror=init-self... yes checking if gcc supports -Werror=main... yes checking if gcc supports -Werror=missing-braces... yes checking if gcc supports -Werror=sequence-point... yes checking if gcc supports -Werror=return-type... yes checking if gcc supports -Werror=trigraphs... yes checking if gcc supports -Werror=array-bounds... yes checking if gcc supports -Werror=write-strings... yes checking if gcc supports -Werror=address... yes checking if gcc supports -Werror=int-to-pointer-cast... yes checking if gcc supports -Werror=pointer-to-int-cast... yes checking if gcc supports -pedantic... yes checking if gcc supports -Werror... yes checking if gcc supports -Werror=attributes... yes Package xorg-macros was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-macros.pc' to the PKG_CONFIG_PATH environment variable Package 'xorg-macros', required by 'virtual:world', not found checking whether make supports nested variables... (cached) yes checking for strcasecmp... yes checking for strndup... yes checking for getc_unlocked... yes checking for XKBFILE... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating xkbfile.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c -o xkbbells.lo xkbbells.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c xkbbells.c -fPIC -DPIC -o .libs/xkbbells.o make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c -o xkberrs.lo xkberrs.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c xkberrs.c -fPIC -DPIC -o .libs/xkberrs.o make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c -o xkbdraw.lo xkbdraw.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c xkbdraw.c -fPIC -DPIC -o .libs/xkbdraw.o make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' xkbdraw.c: In function 'XkbGetOrderedDrawables': xkbdraw.c:79:23: warning: declaration of 'section' shadows a parameter [-Wshadow] 79 | XkbSectionPtr section; | ^~~~~~~ xkbdraw.c:72:59: note: shadowed declaration is here 72 | XkbGetOrderedDrawables(XkbGeometryPtr geom, XkbSectionPtr section) | ~~~~~~~~~~~~~~^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c -o xkbatom.lo xkbatom.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c xkbatom.c -fPIC -DPIC -o .libs/xkbatom.o make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c -o srvmisc.lo srvmisc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c srvmisc.c -fPIC -DPIC -o .libs/srvmisc.o make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c -o xkbmisc.lo xkbmisc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c xkbmisc.c -fPIC -DPIC -o .libs/xkbmisc.o make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' xkbmisc.c: In function '_XkbKSCheckCase': xkbmisc.c:100:32: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op] 100 | ((ks >= XK_Ygrave) && (ks <= XK_Fabovedot)) || | ^~ xkbmisc.c:114:36: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op] 114 | ((ks >= XK_wdiaeresis) && (ks <= XK_ycircumflex))) { | ^~ xkbmisc.c: In function 'XkbWriteXKBKeymapForNames': xkbmisc.c:247:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 247 | name = "default"; | ^ make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c -o xkbconfig.lo xkbconfig.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c xkbconfig.c -fPIC -DPIC -o .libs/xkbconfig.o make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' xkbconfig.c:1069:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1069 | {"rules", _XkbCF_RulesFile}, | ^~~~~~~ xkbconfig.c:1070:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1070 | {"model", _XkbCF_Model}, | ^~~~~~~ xkbconfig.c:1071:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1071 | {"layout", _XkbCF_Layout}, | ^~~~~~~~ xkbconfig.c:1072:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1072 | {"variant", _XkbCF_Variant}, | ^~~~~~~~~ xkbconfig.c:1073:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1073 | {"options", _XkbCF_Options}, | ^~~~~~~~~ xkbconfig.c:1074:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1074 | {"keymap", _XkbCF_Keymap}, | ^~~~~~~~ xkbconfig.c:1075:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1075 | {"keycodes", _XkbCF_Keycodes}, | ^~~~~~~~~~ xkbconfig.c:1076:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1076 | {"geometry", _XkbCF_Geometry}, | ^~~~~~~~~~ xkbconfig.c:1077:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1077 | {"realsymbols", _XkbCF_PhysSymbols}, | ^~~~~~~~~~~~~ xkbconfig.c:1078:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1078 | {"actualsymbols", _XkbCF_PhysSymbols}, | ^~~~~~~~~~~~~~~ xkbconfig.c:1079:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1079 | {"symbols", _XkbCF_Symbols}, | ^~~~~~~~~ xkbconfig.c:1080:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1080 | {"symbolstouse", _XkbCF_Symbols}, | ^~~~~~~~~~~~~~ xkbconfig.c:1081:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1081 | {"types", _XkbCF_Types}, | ^~~~~~~ xkbconfig.c:1082:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1082 | {"compat", _XkbCF_CompatMap}, | ^~~~~~~~ xkbconfig.c:1083:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1083 | {"modifiers", _XkbCF_InitialMods}, | ^~~~~~~~~~~ xkbconfig.c:1084:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1084 | {"controls", _XkbCF_InitialCtrls}, | ^~~~~~~~~~ xkbconfig.c:1085:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1085 | {"click", _XkbCF_ClickVolume}, | ^~~~~~~ xkbconfig.c:1086:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1086 | {"clickvolume", _XkbCF_ClickVolume}, | ^~~~~~~~~~~~~ xkbconfig.c:1087:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1087 | {"bell", _XkbCF_BellVolume}, | ^~~~~~ xkbconfig.c:1088:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1088 | {"bellvolume", _XkbCF_BellVolume}, | ^~~~~~~~~~~~ xkbconfig.c:1089:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1089 | {"bellpitch", _XkbCF_BellPitch}, | ^~~~~~~~~~~ xkbconfig.c:1090:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1090 | {"bellduration", _XkbCF_BellDuration}, | ^~~~~~~~~~~~~~ xkbconfig.c:1091:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1091 | {"repeatdelay", _XkbCF_RepeatDelay}, | ^~~~~~~~~~~~~ xkbconfig.c:1092:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1092 | {"repeatinterval", _XkbCF_RepeatInterval}, | ^~~~~~~~~~~~~~~~ xkbconfig.c:1093:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1093 | {"slowkeysdelay", _XkbCF_SlowKeysDelay}, | ^~~~~~~~~~~~~~~ xkbconfig.c:1094:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1094 | {"debouncedelay", _XkbCF_DebounceDelay}, | ^~~~~~~~~~~~~~~ xkbconfig.c:1095:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1095 | {"mousekeysdelay", _XkbCF_MouseKeysDelay}, | ^~~~~~~~~~~~~~~~ xkbconfig.c:1096:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1096 | {"mousekeysinterval", _XkbCF_MouseKeysInterval}, | ^~~~~~~~~~~~~~~~~~~ xkbconfig.c:1097:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1097 | {"mousekeystimetomax", _XkbCF_MouseKeysTimeToMax}, | ^~~~~~~~~~~~~~~~~~~~ xkbconfig.c:1098:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1098 | {"mousekeysmaxspeed", _XkbCF_MouseKeysMaxSpeed}, | ^~~~~~~~~~~~~~~~~~~ xkbconfig.c:1099:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1099 | {"mousekeyscurve", _XkbCF_MouseKeysCurve}, | ^~~~~~~~~~~~~~~~ xkbconfig.c:1100:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1100 | {"accessxtimeout", _XkbCF_AccessXTimeout}, | ^~~~~~~~~~~~~~~~ xkbconfig.c:1101:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1101 | {"axtimeout", _XkbCF_AccessXTimeout}, | ^~~~~~~~~~~ xkbconfig.c:1102:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1102 | {"accessxtimeoutctrlson", _XkbCF_AccessXTimeoutCtrlsOn}, | ^~~~~~~~~~~~~~~~~~~~~~~ xkbconfig.c:1103:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1103 | {"axtctrlson", _XkbCF_AccessXTimeoutCtrlsOn}, | ^~~~~~~~~~~~ xkbconfig.c:1104:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1104 | {"accessxtimeoutctrlsoff", _XkbCF_AccessXTimeoutCtrlsOff}, | ^~~~~~~~~~~~~~~~~~~~~~~~ xkbconfig.c:1105:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1105 | {"axtctrlsoff", _XkbCF_AccessXTimeoutCtrlsOff}, | ^~~~~~~~~~~~~ xkbconfig.c:1106:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1106 | {"accessxtimeoutfeedbackon",_XkbCF_AccessXTimeoutOptsOn}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ xkbconfig.c:1107:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1107 | {"axtfeedbackon", _XkbCF_AccessXTimeoutOptsOn}, | ^~~~~~~~~~~~~~~ xkbconfig.c:1108:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1108 | {"accessxtimeoutfeedbackoff",_XkbCF_AccessXTimeoutOptsOff}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xkbconfig.c:1109:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1109 | {"axtfeedbackoff", _XkbCF_AccessXTimeoutOptsOff}, | ^~~~~~~~~~~~~~~~ xkbconfig.c:1110:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1110 | {"ignorelockmods", _XkbCF_IgnoreLockMods}, | ^~~~~~~~~~~~~~~~ xkbconfig.c:1111:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1111 | {"ignorelockmodifiers", _XkbCF_IgnoreLockMods}, | ^~~~~~~~~~~~~~~~~~~~~ xkbconfig.c:1112:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1112 | {"ignoregrouplock", _XkbCF_IgnoreGroupLock}, | ^~~~~~~~~~~~~~~~~ xkbconfig.c:1113:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1113 | {"internalmods", _XkbCF_InternalMods}, | ^~~~~~~~~~~~~~ xkbconfig.c:1114:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1114 | {"internalmodifiers", _XkbCF_InternalMods}, | ^~~~~~~~~~~~~~~~~~~ xkbconfig.c:1115:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1115 | {"outofrangegroups", _XkbCF_GroupsWrap}, | ^~~~~~~~~~~~~~~~~~ xkbconfig.c:1116:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1116 | {"groups", _XkbCF_GroupsWrap}, | ^~~~~~~~ xkbconfig.c:1117:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1117 | {"feedback", _XkbCF_InitialFeedback}, | ^~~~~~~~~~ xkbconfig.c: In function 'XkbCFReportError': xkbconfig.c:1344:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 1344 | fprintf(file, msg, line); | ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c -o xkbout.lo xkbout.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c xkbout.c -fPIC -DPIC -o .libs/xkbout.o make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c -o maprules.lo maprules.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c maprules.c -fPIC -DPIC -o .libs/maprules.o make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' maprules.c: In function 'XkbRF_LoadRulesByName': maprules.c:1035:40: warning: '%s' directive output may be truncated writing up to 4094 bytes into a region of size between 1 and 4095 [-Wformat-truncation=] 1035 | snprintf(buf, sizeof(buf), "%s-%s", base, locale); | ^~ In file included from /usr/include/stdio.h:964, from maprules.c:33: In function 'snprintf', inlined from 'XkbRF_LoadRulesByName' at maprules.c:1035:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 8190 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c -o cout.lo cout.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c cout.c -fPIC -DPIC -o .libs/cout.o make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c -o xkmout.lo xkmout.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c xkmout.c -fPIC -DPIC -o .libs/xkmout.o make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' xkmout.c: In function 'SizeXKMSymbols': xkmout.c:519:31: warning: declaration of 'name' shadows a previous local [-Wshadow] 519 | char *name; | ^~~~ xkmout.c:490:11: note: shadowed declaration is here 490 | char *name; | ^~~~ make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c -o xkmread.lo xkmread.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c xkmread.c -fPIC -DPIC -o .libs/xkmread.o make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' xkmread.c: In function 'ReadXkmSymbols': xkmread.c:671:26: warning: declaration of 'g' shadows a previous local [-Wshadow] 671 | register int g; | ^ xkmread.c:592:21: note: shadowed declaration is here 592 | register int i, g, s, totalVModMaps; | ^ xkmread.c: In function 'XkmReadTOC': xkmread.c:1108:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1108 | fread(file_info, SIZEOF(xkmFileInfo), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xkmread.c:1118:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1118 | fread(&toc[i], SIZEOF(xkmSectionInfo), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xkmread.c: In function 'XkmReadFileSection': xkmread.c:1149:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1149 | fread(&tmpTOC, SIZEOF(xkmSectionInfo), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xkmread.c: In function 'XkmReadFileSectionName': xkmread.c:1224:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1224 | fread(&tmpTOC, SIZEOF(xkmSectionInfo), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xkmread.c:1235:42: warning: 'tmpTOC.type' may be used uninitialized [-Wmaybe-uninitialized] 1235 | XkbConfigText(tmpTOC.type, XkbMessage), 0); | ^ xkmread.c:1209:20: note: 'tmpTOC' declared here 1209 | xkmSectionInfo tmpTOC; | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c -o xkbtext.lo xkbtext.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11/extensions/ -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c xkbtext.c -fPIC -DPIC -o .libs/xkbtext.o make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' xkbtext.c:403:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 403 | "NoneOf", "AnyOfOrNone", "AnyOf", "AllOf", "Exactly" | ^~~~~~~~ xkbtext.c:403:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 403 | "NoneOf", "AnyOfOrNone", "AnyOf", "AllOf", "Exactly" | ^~~~~~~~~~~~~ xkbtext.c:403:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 403 | "NoneOf", "AnyOfOrNone", "AnyOf", "AllOf", "Exactly" | ^~~~~~~ xkbtext.c:403:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 403 | "NoneOf", "AnyOfOrNone", "AnyOf", "AllOf", "Exactly" | ^~~~~~~ xkbtext.c:403:48: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 403 | "NoneOf", "AnyOfOrNone", "AnyOf", "AllOf", "Exactly" | ^~~~~~~~~ xkbtext.c:819:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 819 | "NoAction", | ^~~~~~~~~~ xkbtext.c:820:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 820 | "SetMods", "LatchMods", "LockMods", | ^~~~~~~~~ xkbtext.c:820:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 820 | "SetMods", "LatchMods", "LockMods", | ^~~~~~~~~~~ xkbtext.c:820:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 820 | "SetMods", "LatchMods", "LockMods", | ^~~~~~~~~~ xkbtext.c:821:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 821 | "SetGroup", "LatchGroup", "LockGroup", | ^~~~~~~~~~ xkbtext.c:821:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 821 | "SetGroup", "LatchGroup", "LockGroup", | ^~~~~~~~~~~~ xkbtext.c:821:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 821 | "SetGroup", "LatchGroup", "LockGroup", | ^~~~~~~~~~~ xkbtext.c:822:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 822 | "MovePtr", | ^~~~~~~~~ xkbtext.c:823:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 823 | "PtrBtn", "LockPtrBtn", | ^~~~~~~~ xkbtext.c:823:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 823 | "PtrBtn", "LockPtrBtn", | ^~~~~~~~~~~~ xkbtext.c:824:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 824 | "SetPtrDflt", | ^~~~~~~~~~~~ xkbtext.c:825:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 825 | "ISOLock", | ^~~~~~~~~ xkbtext.c:826:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 826 | "Terminate", "SwitchScreen", | ^~~~~~~~~~~ xkbtext.c:826:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 826 | "Terminate", "SwitchScreen", | ^~~~~~~~~~~~~~ xkbtext.c:827:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 827 | "SetControls", "LockControls", | ^~~~~~~~~~~~~ xkbtext.c:827:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 827 | "SetControls", "LockControls", | ^~~~~~~~~~~~~~ xkbtext.c:828:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 828 | "ActionMessage", | ^~~~~~~~~~~~~~~ xkbtext.c:829:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 829 | "RedirectKey", | ^~~~~~~~~~~~~ xkbtext.c:830:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 830 | "DeviceBtn", "LockDeviceBtn" | ^~~~~~~~~~~ xkbtext.c:830:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 830 | "DeviceBtn", "LockDeviceBtn" | ^~~~~~~~~~~~~~~ xkbtext.c: In function 'XkbBehaviorText': xkbtext.c:1476:19: warning: declaration of 'tmp' shadows a previous local [-Wshadow] 1476 | char *tmp; | ^~~ xkbtext.c:1457:21: note: shadowed declaration is here 1457 | char buf[256], *tmp; | ^~~ xkbtext.c: In function 'XkbGeomFPText': xkbtext.c:767:47: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 767 | snprintf(buf, bufsize, "-%d.%d", wholeabs, frac); | ^ In file included from /usr/include/stdio.h:964, from xkbtext.c:33: In function 'snprintf', inlined from 'XkbGeomFPText' at xkbtext.c:767:17: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 5 and 13 bytes into a destination of size 12 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -version-number 1:0:2 -no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libxkbfile.la -rpath /usr/lib64 cout.lo maprules.lo srvmisc.lo xkbatom.lo xkbbells.lo xkbconfig.lo xkbdraw.lo xkberrs.lo xkbmisc.lo xkbout.lo xkbtext.lo xkmout.lo xkmread.lo -lX11 libtool: link: gcc -shared -fPIC -DPIC .libs/cout.o .libs/maprules.o .libs/srvmisc.o .libs/xkbatom.o .libs/xkbbells.o .libs/xkbconfig.o .libs/xkbdraw.o .libs/xkberrs.o .libs/xkbmisc.o .libs/xkbout.o .libs/xkbtext.o .libs/xkmout.o .libs/xkmread.o -lX11 -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,libxkbfile.so.1 -o .libs/libxkbfile.so.1.0.2 libtool: link: (cd ".libs" && rm -f "libxkbfile.so.1" && ln -s "libxkbfile.so.1.0.2" "libxkbfile.so.1") libtool: link: (cd ".libs" && rm -f "libxkbfile.so" && ln -s "libxkbfile.so.1.0.2" "libxkbfile.so") libtool: link: ( cd ".libs" && rm -f "libxkbfile.la" && ln -s "../libxkbfile.la" "libxkbfile.la" ) make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wB3H1m + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64 + cd libxkbfile-1.1.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libxkbfile.la '/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libxkbfile.so.1.0.2 /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/lib64/libxkbfile.so.1.0.2 libtool: install: (cd /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/lib64 && { ln -s -f libxkbfile.so.1.0.2 libxkbfile.so.1 || { rm -f libxkbfile.so.1 && ln -s libxkbfile.so.1.0.2 libxkbfile.so.1; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/lib64 && { ln -s -f libxkbfile.so.1.0.2 libxkbfile.so || { rm -f libxkbfile.so && ln -s libxkbfile.so.1.0.2 libxkbfile.so; }; }) libtool: install: /usr/bin/install -p .libs/libxkbfile.lai /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/lib64/libxkbfile.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/include/X11/extensions' /usr/bin/install -p -m 644 ../include/X11/extensions/XKM.h ../include/X11/extensions/XKBrules.h ../include/X11/extensions/XKBbells.h ../include/X11/extensions/XKBconfig.h ../include/X11/extensions/XKMformat.h ../include/X11/extensions/XKBfile.h '/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/include/X11/extensions' make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' make[1]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' make[1]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1' make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 xkbfile.pc '/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1' make[1]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1' + find /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64 -regex '.*\.la$' -delete + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.1.1-2.ocs23 --unique-debug-suffix -1.1.1-2.ocs23.loongarch64 --unique-debug-src-base libxkbfile-1.1.1-2.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/libxkbfile-1.1.1 extracting debug info from /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/lib64/libxkbfile.so.1.0.2 759 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: libxkbfile-1.1.1-2.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dMXCtJ + umask 022 + cd /builddir/build/BUILD + cd libxkbfile-1.1.1 + DOCDIR=/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/share/doc/libxkbfile + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/share/doc/libxkbfile + cp -pr ChangeLog /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/share/doc/libxkbfile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.zNAAJa + umask 022 + cd /builddir/build/BUILD + cd libxkbfile-1.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/share/licenses/libxkbfile + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/share/licenses/libxkbfile + cp -pr COPYING /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64/usr/share/licenses/libxkbfile + RPM_EC=0 ++ jobs -p + exit 0 Provides: libxkbfile = 1.1.1-2.ocs23 libxkbfile(loongarch-64) = 1.1.1-2.ocs23 libxkbfile.so.1()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Processing files: libxkbfile-devel-1.1.1-2.ocs23.loongarch64 Provides: libxkbfile-devel = 1.1.1-2.ocs23 libxkbfile-devel(loongarch-64) = 1.1.1-2.ocs23 pkgconfig(xkbfile) = 1.1.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libxkbfile.so.1()(64bit) pkgconfig(kbproto) pkgconfig(x11) Processing files: libxkbfile-debugsource-1.1.1-2.ocs23.loongarch64 Provides: libxkbfile-debugsource = 1.1.1-2.ocs23 libxkbfile-debugsource(loongarch-64) = 1.1.1-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libxkbfile-debuginfo-1.1.1-2.ocs23.loongarch64 Provides: debuginfo(build-id) = a67163b11487e2342c1d67ac1d4ccd6cd8aef440 libxkbfile-debuginfo = 1.1.1-2.ocs23 libxkbfile-debuginfo(loongarch-64) = 1.1.1-2.ocs23 libxkbfile.so.1.0.2-1.1.1-2.ocs23.loongarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libxkbfile-debugsource(loongarch-64) = 1.1.1-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.ocs23.loongarch64 Wrote: /builddir/build/RPMS/libxkbfile-devel-1.1.1-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libxkbfile-1.1.1-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libxkbfile-debugsource-1.1.1-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libxkbfile-debuginfo-1.1.1-2.ocs23.loongarch64.rpm Child return code was: 0