Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/xorg-x11-xkb-utils.spec'], chrootPath='/var/lib/mock/dist-an23-build-107934-45695/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/xorg-x11-xkb-utils.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1659312000 Wrote: /builddir/build/SRPMS/xorg-x11-xkb-utils-7.7-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/xorg-x11-xkb-utils.spec'], chrootPath='/var/lib/mock/dist-an23-build-107934-45695/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/xorg-x11-xkb-utils.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1659312000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gdg99S + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xorg-x11-xkb-utils-7.7 + /usr/bin/mkdir -p xorg-x11-xkb-utils-7.7 + cd xorg-x11-xkb-utils-7.7 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/setxkbmap-1.3.2.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xkbcomp-1.4.2.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xkbevd-1.1.4.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xkbprint-1.0.4.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xkbutils-1.0.4.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd xkbcomp-1.4.2 ~/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2 ~/build/BUILD/xorg-x11-xkb-utils-7.7 Patch #0 (0001-Suppress-high-keycode-warnings-at-the-default-warnin.patch): + echo 'Patch #0 (0001-Suppress-high-keycode-warnings-at-the-default-warnin.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file keycodes.c + popd ~/build/BUILD/xorg-x11-xkb-utils-7.7 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7KlFEQ + 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 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/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 ~/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + CC=gcc + export CC + CXX=g++ + export CXX + cd xorg-x11-xkb-utils-7.7 + for app in * + pushd setxkbmap-1.3.2 + case $app in + 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 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/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 + mv ./configure.backup ./configure + /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 + mv ./configure.backup ./configure + '[' 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 + ./configure --build=aarch64-Anolis-linux --host=aarch64-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for aarch64-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for aarch64-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 build system type... aarch64-Anolis-linux-gnu checking host system type... aarch64-Anolis-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed 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 checking whether make supports nested variables... (cached) yes checking for SETXKBMAP... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j80 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2' Making all in man make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2/man' GEN setxkbmap.1 make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2' CC setxkbmap.o setxkbmap.c: In function 'getDisplay': setxkbmap.c:557:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 557 | settings.display.value = "default display"; | ^ setxkbmap.c: In function 'getServerValues': setxkbmap.c:607:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 607 | tmp = DFLT_XKB_RULES_FILE; | ^ setxkbmap.c:608:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 608 | vd.model = DFLT_XKB_MODEL; | ^ setxkbmap.c:609:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 609 | vd.layout = DFLT_XKB_LAYOUT; | ^ setxkbmap.c: In function 'applyRules': setxkbmap.c:864:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 864 | rfName = DFLT_XKB_RULES_FILE; | ^ CCLD setxkbmap make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2' + popd ~/build/BUILD/xorg-x11-xkb-utils-7.7 ~/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + for app in * + pushd xkbcomp-1.4.2 + case $app in + rm xkbparse.c + 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 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/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 2018-06-08 07:17:31.000000000 +0800 +++ ./configure 2022-08-01 11:29:03.883214980 +0800 @@ -1794,7 +1794,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 + mv ./configure.backup ./configure + '[' 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/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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-Anolis-linux --host=aarch64-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for aarch64-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for aarch64-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 build system type... aarch64-Anolis-linux-gnu checking host system type... aarch64-Anolis-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed 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 checking whether make supports nested variables... (cached) yes checking for bison... no checking for byacc... byacc checking for byacc... /usr/bin/byacc checking for strdup... yes checking for strcasecmp... yes checking for XKBCOMP... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating xkbcomp.pc config.status: creating config.h config.status: executing depfiles commands + make -j80 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2' Making all in man make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2/man' GEN xkbcomp.1 make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2' CC action.o CC alias.o CC compat.o CC expr.o CC geometry.o CC indicators.o CC keycodes.o CC keymap.o CC keytypes.o CC listing.o CC misc.o CC parseutils.o CC symbols.o CC utils.o CC vmod.o CC xkbcomp.o YACC xkbparse.c CC xkbpath.o CC xkbscan.o CC xkbparse.o xkbcomp.c: In function 'main': xkbcomp.c:936:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 936 | inputFile = "stdin"; | ^ xkbcomp.c:1136:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1136 | outputFile = "stdout"; | ^ symbols.c: In function 'HandleSymbolsBody': symbols.c:1508:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1508 | field.str = "symbols"; | ^ symbols.c:1510:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1510 | field.str = "actions"; | ^ geometry.c: In function 'CopySectionDef': geometry.c:3625:47: warning: passing argument 2 of 'XkbAddGeomColor' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3625 | color = XkbAddGeomColor(geom, "white", geom->num_colors); | ^~~~~~~ In file included from geometry.c:37: /usr/include/X11/extensions/XKBgeom.h:340:5: note: expected 'char *' but argument is of type 'const char *' 340 | char * /* spec */, | ^~~~~~ geometry.c: In function 'CompileGeometry': geometry.c:3707:31: warning: passing argument 2 of 'XkbAddGeomColor' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3707 | XkbAddGeomColor(geom, "black", geom->num_colors); | ^~~~~~~ /usr/include/X11/extensions/XKBgeom.h:340:5: note: expected 'char *' but argument is of type 'const char *' 340 | char * /* spec */, | ^~~~~~ geometry.c:3708:31: warning: passing argument 2 of 'XkbAddGeomColor' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3708 | XkbAddGeomColor(geom, "white", geom->num_colors); | ^~~~~~~ /usr/include/X11/extensions/XKBgeom.h:340:5: note: expected 'char *' but argument is of type 'const char *' 340 | char * /* spec */, | ^~~~~~ xkbparse.c:87:23: warning: redundant redeclaration of 'yylex' [-Wredundant-decls] 87 | # define YYLEX_DECL() yylex(void) | ^~~~~ xkbparse.c:92:5: note: in expansion of macro 'YYLEX_DECL' 92 | int YYLEX_DECL(); | ^~~~~~~~~~ In file included from xkbparse.y:96: parseutils.h:199:12: note: previous declaration of 'yylex' with type 'int(void)' 199 | extern int yylex(void); | ^~~~~ xkbparse.c:79:25: warning: redundant redeclaration of 'yyparse' [-Wredundant-decls] 79 | # define YYPARSE_DECL() yyparse(void) | ^~~~~~~ xkbparse.c:103:12: note: in expansion of macro 'YYPARSE_DECL' 103 | extern int YYPARSE_DECL(); | ^~~~~~~~~~~~ parseutils.h:200:12: note: previous declaration of 'yyparse' with type 'int(void)' 200 | extern int yyparse(void); | ^~~~~~~ alias.c: In function 'HandleAliasDef': alias.c:85:5: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation] 85 | strncpy(info->alias, alias, XkbKeyNameLength); | ^ alias.c:86:5: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation] 86 | strncpy(info->real, real, XkbKeyNameLength); | ^ misc.c: In function 'ComputeKbdDefaults': misc.c:455:62: warning: '%03d' directive output may be truncated writing between 3 and 10 bytes into a region of size 4 [-Wformat-truncation=] 455 | snprintf(tmpname, sizeof(tmpname), "U%03d", | ^~~~ misc.c:455:60: note: directive argument in the range [0, 2147483647] 455 | snprintf(tmpname, sizeof(tmpname), "U%03d", | ^~~~~~~ In file included from /usr/include/stdio.h:894, from utils.h:32, from xkbcomp.h:37, from misc.c:27: In function 'snprintf', inlined from 'ComputeKbdDefaults' at misc.c:455:25: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 5 and 12 bytes into a destination of size 5 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ misc.c: In function 'ComputeKbdDefaults': misc.c:469:58: warning: '%03d' directive output may be truncated writing between 3 and 10 bytes into a region of size 4 [-Wformat-truncation=] 469 | snprintf(tmpname, sizeof(tmpname), "U%03d", nUnknown++); | ^~~~ misc.c:469:56: note: directive argument in the range [0, 2147483647] 469 | snprintf(tmpname, sizeof(tmpname), "U%03d", nUnknown++); | ^~~~~~~ In function 'snprintf', inlined from 'ComputeKbdDefaults' at misc.c:469:21: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 5 and 12 bytes into a destination of size 5 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ action.c: In function 'HandleActionMessage': action.c:1002:17: warning: 'strncpy' specified bound 6 equals destination size [-Wstringop-truncation] 1002 | strncpy((char *) act->message, rtrn.str, 6); | ^ geometry.c: In function 'HandleGeometryFile': geometry.c:2580:9: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation] 2580 | strncpy(key->over, keyDef->over, XkbKeyNameLength); | ^ geometry.c:2581:9: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation] 2581 | strncpy(key->under, keyDef->under, XkbKeyNameLength); | ^ CCLD xkbcomp parseutils.c: In function 'IncludeCreate.constprop': parseutils.c:696:32: warning: 'extra_data' may be used uninitialized [-Wmaybe-uninitialized] 696 | incl->modifier = extra_data; | ^ parseutils.c:662:37: note: 'extra_data' was declared here 662 | char *file, *map, *stmt, *tmp, *extra_data; | ^ make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2' + popd ~/build/BUILD/xorg-x11-xkb-utils-7.7 ~/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + for app in * + pushd xkbevd-1.1.4 + case $app in + 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 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/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 2015-04-17 14:37:27.000000000 +0800 +++ ./configure 2022-08-01 11:29:10.723205092 +0800 @@ -1775,7 +1775,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 + mv ./configure.backup ./configure + '[' 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/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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-Anolis-linux --host=aarch64-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for aarch64-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for aarch64-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 build system type... aarch64-Anolis-linux-gnu checking host system type... aarch64-Anolis-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed 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 checking whether make supports nested variables... (cached) yes checking for bison... no checking for byacc... byacc checking for byacc... /usr/bin/byacc checking for strcasecmp... yes checking for XKBEVD... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j80 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4' Making all in man make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4/man' GEN xkbevd.1 make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4' CC cfgparse.o CC cfgscan.o CC evargs.o CC printev.o CC utils.o CC xkbevd.o cfgparse.c:1116:5: warning: redundant redeclaration of 'yyparse' [-Wredundant-decls] 1116 | int yyparse (void); | ^~~~~~~ In file included from cfgparse.y:66: xkbevd.h:100:12: note: previous declaration of 'yyparse' with type 'int(void)' 100 | extern int yyparse(void); | ^~~~~~~ xkbevd.c: In function 'GetDisplay': xkbevd.c:219:33: warning: declaration of 'dpyName' shadows a global declaration [-Wshadow] 219 | GetDisplay(char *program, char *dpyName, int *opcodeRtrn, int *evBaseRtrn) | ~~~~~~^~~~~~~ xkbevd.c:55:17: note: shadowed declaration is here 55 | static char * dpyName = NULL; | ^~~~~~~ xkbevd.c:222:14: warning: declaration of 'dpy' shadows a global declaration [-Wshadow] 222 | Display *dpy; | ^~~ xkbevd.c:56:17: note: shadowed declaration is here 56 | Display * dpy = NULL; | ^~~ cfgparse.c: In function 'yyparse': cfgparse.c:1623:20: warning: passing argument 1 of 'yyerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1623 | yyerror (YY_("syntax error")); | ^~~~~~~~~~~~~~ cfgparse.c:248:22: note: in definition of macro 'YY_' 248 | # define YY_(msgid) msgid | ^~~~~ xkbevd.h:101:26: note: expected 'char *' but argument is of type 'const char *' 101 | extern int yyerror(char *s); | ~~~~~~^ cfgparse.c:1769:16: warning: passing argument 1 of 'yyerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1769 | yyerror (YY_("memory exhausted")); | ^~~~~~~~~~~~~~~~~~ cfgparse.c:248:22: note: in definition of macro 'YY_' 248 | # define YY_(msgid) msgid | ^~~~~ xkbevd.h:101:26: note: expected 'char *' but argument is of type 'const char *' 101 | extern int yyerror(char *s); | ~~~~~~^ CCLD xkbevd make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4' + popd ~/build/BUILD/xorg-x11-xkb-utils-7.7 ~/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + for app in * + pushd xkbprint-1.0.4 + case $app in + 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 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/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 2015-04-17 14:41:50.000000000 +0800 +++ ./configure 2022-08-01 11:29:15.363198385 +0800 @@ -1856,7 +1856,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 + mv ./configure.backup ./configure + '[' 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 + ./configure --build=aarch64-Anolis-linux --host=aarch64-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 checking for aarch64-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of gcc... none checking for gcc option to accept ISO C99... none needed checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for aarch64-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 build system type... aarch64-Anolis-linux-gnu checking host system type... aarch64-Anolis-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed 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 checking whether make supports nested variables... (cached) yes checking for asprintf... yes checking for XKBPRINT... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j80 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4' Making all in man make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4/man' GEN xkbprint.1 make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4' CC psgeom.o CC utils.o CC xkbprint.o psgeom.c: In function 'PSProlog': xkbprint.c: In function 'parseArgs': xkbprint.c:424:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 424 | asprintf(&outputFile, "%s.pfa", outputFont); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ psgeom.c:700:49: warning: passing argument 2 of 'XkbAddGeomColor' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 700 | if (!(color = XkbAddGeomColor(geom, "black", geom->num_colors))) | ^~~~~~~ In file included from psgeom.c:39: /usr/include/X11/extensions/XKBgeom.h:340:5: note: expected 'char *' but argument is of type 'const char *' 340 | char * /* spec */, | ^~~~~~ psgeom.c:707:49: warning: passing argument 2 of 'XkbAddGeomColor' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 707 | if (!(color = XkbAddGeomColor(geom, "white", geom->num_colors))) | ^~~~~~~ /usr/include/X11/extensions/XKBgeom.h:340:5: note: expected 'char *' but argument is of type 'const char *' 340 | char * /* spec */, | ^~~~~~ psgeom.c: In function 'PSSection': psgeom.c:2030:21: warning: 'strncpy' output may be truncated copying 29 bytes from a string of length 29 [-Wstringop-truncation] 2030 | strncpy(top.label[G1L1], name, LABEL_LEN - 1); | ^ psgeom.c:2032:21: warning: 'strncpy' output may be truncated copying 29 bytes from a string of length 29 [-Wstringop-truncation] 2032 | strncpy(top.label[G1L2], name2, LABEL_LEN - 1); | ^ psgeom.c:2037:21: warning: 'strncpy' output may be truncated copying 29 bytes from a string of length 29 [-Wstringop-truncation] 2037 | strncpy(top.label[CENTER], name, LABEL_LEN - 1); | ^ psgeom.c:1721:13: warning: 'strncpy' output may be truncated copying 29 bytes from a string of length 29 [-Wstringop-truncation] 1721 | strncpy(top->label[(g * 2) + l], (char *) buf, LABEL_LEN - 1); | ^ CCLD xkbprint make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4' + popd ~/build/BUILD/xorg-x11-xkb-utils-7.7 ~/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + for app in * + pushd xkbutils-1.0.4 + case $app in + 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 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/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 2013-02-11 07:47:09.000000000 +0800 +++ ./configure 2022-08-01 11:29:21.073190130 +0800 @@ -1765,7 +1765,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 + mv ./configure.backup ./configure + '[' 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/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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-Anolis-linux --host=aarch64-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for aarch64-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking whether gcc and cc understand -c and -o together... yes checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for aarch64-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 build system type... aarch64-Anolis-linux-gnu checking host system type... aarch64-Anolis-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed 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 -Wcast-qual... 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 -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 checking for strcasecmp... yes checking for XKBVLEDS... yes checking for XKBBELL... yes checking for XKBWATCH... yes configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j80 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4' Making all in man make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4/man' GEN xkbbell.1 GEN xkbvleds.1 GEN xkbwatch.1 make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4' CC xkbvleds-xkbvleds.o CC xkbvleds-LED.o CC xkbvleds-utils.o CC xkbwatch-xkbwatch.o CC xkbwatch-LED.o CC xkbwatch-utils.o CC xkbbell-xkbbell.o xkbbell.c: In function 'main': xkbbell.c:205:58: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 205 | if (!XkbQueryExtension(dpy, &i1, &i2, &i3, &i4, &i5) > 0) { | ^ xkbbell.c:205:9: note: add parentheses around left hand side expression to silence this warning 205 | if (!XkbQueryExtension(dpy, &i1, &i2, &i3, &i4, &i5) > 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) LED.c:47:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 47 | offset(led.foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ LED.c:47:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 47 | offset(led.foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ In file included from LEDP.h:29, from LED.c:31: LED.h:65:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | #define XtNon "on" | ^~~~ LED.c:48:6: note: in expansion of macro 'XtNon' 48 | {XtNon, XtCOn, XtRBoolean, sizeof(Boolean), | ^~~~~ In file included from LEDP.h:29, from LED.c:31: LED.h:65:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | #define XtNon "on" | ^~~~ LED.c:48:6: note: in expansion of macro 'XtNon' 48 | {XtNon, XtCOn, XtRBoolean, sizeof(Boolean), | ^~~~~ LED.h:73:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | #define XtCOn "On" | ^~~~ LED.c:48:13: note: in expansion of macro 'XtCOn' 48 | {XtNon, XtCOn, XtRBoolean, sizeof(Boolean), | ^~~~~ LED.h:73:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | #define XtCOn "On" | ^~~~ LED.c:48:13: note: in expansion of macro 'XtCOn' 48 | {XtNon, XtCOn, XtRBoolean, sizeof(Boolean), | ^~~~~ LED.h:68:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | #define XtNtopColor "topColor" | ^~~~~~~~~~ LED.c:50:6: note: in expansion of macro 'XtNtopColor' 50 | {XtNtopColor, XtCTopColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~ LED.h:68:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | #define XtNtopColor "topColor" | ^~~~~~~~~~ LED.c:50:6: note: in expansion of macro 'XtNtopColor' 50 | {XtNtopColor, XtCTopColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~ LED.h:76:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | #define XtCTopColor "TopColor" | ^~~~~~~~~~ LED.c:50:19: note: in expansion of macro 'XtCTopColor' 50 | {XtNtopColor, XtCTopColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~ LED.h:76:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | #define XtCTopColor "TopColor" | ^~~~~~~~~~ LED.c:50:19: note: in expansion of macro 'XtCTopColor' 50 | {XtNtopColor, XtCTopColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~ LED.c:51:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | offset(led.top_color), XtRString, "black"}, | ^~~~~~~ LED.c:51:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | offset(led.top_color), XtRString, "black"}, | ^~~~~~~ LED.h:69:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | #define XtNbottomColor "bottomColor" | ^~~~~~~~~~~~~ LED.c:52:6: note: in expansion of macro 'XtNbottomColor' 52 | {XtNbottomColor, XtCBottomColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~ LED.h:69:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | #define XtNbottomColor "bottomColor" | ^~~~~~~~~~~~~ LED.c:52:6: note: in expansion of macro 'XtNbottomColor' 52 | {XtNbottomColor, XtCBottomColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~ LED.h:77:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | #define XtCBottomColor "BottomColor" | ^~~~~~~~~~~~~ LED.c:52:22: note: in expansion of macro 'XtCBottomColor' 52 | {XtNbottomColor, XtCBottomColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~ LED.h:77:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | #define XtCBottomColor "BottomColor" | ^~~~~~~~~~~~~ LED.c:52:22: note: in expansion of macro 'XtCBottomColor' 52 | {XtNbottomColor, XtCBottomColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~ LED.c:53:43: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | offset(led.bottom_color), XtRString, "white"}, | ^~~~~~~ LED.c:53:43: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | offset(led.bottom_color), XtRString, "white"}, | ^~~~~~~ LED.h:66:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | #define XtNonColor "onColor" | ^~~~~~~~~ LED.c:54:6: note: in expansion of macro 'XtNonColor' 54 | {XtNonColor, XtCOnColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~ LED.h:66:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | #define XtNonColor "onColor" | ^~~~~~~~~ LED.c:54:6: note: in expansion of macro 'XtNonColor' 54 | {XtNonColor, XtCOnColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~ LED.h:74:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | #define XtCOnColor "OnColor" | ^~~~~~~~~ LED.c:54:18: note: in expansion of macro 'XtCOnColor' 54 | {XtNonColor, XtCOnColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~ LED.h:74:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | #define XtCOnColor "OnColor" | ^~~~~~~~~ LED.c:54:18: note: in expansion of macro 'XtCOnColor' 54 | {XtNonColor, XtCOnColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~ LED.c:55:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | offset(led.on_color), XtRString, "green"}, | ^~~~~~~ LED.c:55:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | offset(led.on_color), XtRString, "green"}, | ^~~~~~~ LED.h:67:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | #define XtNoffColor "offColor" | ^~~~~~~~~~ LED.c:56:6: note: in expansion of macro 'XtNoffColor' 56 | {XtNoffColor, XtCOffColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~ LED.h:67:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | #define XtNoffColor "offColor" | ^~~~~~~~~~ LED.c:56:6: note: in expansion of macro 'XtNoffColor' 56 | {XtNoffColor, XtCOffColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~ LED.h:75:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | #define XtCOffColor "OffColor" | ^~~~~~~~~~ LED.c:56:19: note: in expansion of macro 'XtCOffColor' 56 | {XtNoffColor, XtCOffColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~ LED.h:75:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | #define XtCOffColor "OffColor" | ^~~~~~~~~~ LED.c:56:19: note: in expansion of macro 'XtCOffColor' 56 | {XtNoffColor, XtCOffColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~ LED.c:57:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | offset(led.off_color), XtRString, "#005000"}, | ^~~~~~~~~ LED.c:57:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | offset(led.off_color), XtRString, "#005000"}, | ^~~~~~~~~ LED.h:64:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | #define XtNbevel "bevel" | ^~~~~~~ LED.c:58:6: note: in expansion of macro 'XtNbevel' 58 | {XtNbevel, XtCBevel, XtRDimension, sizeof(Dimension), | ^~~~~~~~ LED.h:64:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | #define XtNbevel "bevel" | ^~~~~~~ LED.c:58:6: note: in expansion of macro 'XtNbevel' 58 | {XtNbevel, XtCBevel, XtRDimension, sizeof(Dimension), | ^~~~~~~~ LED.h:72:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | #define XtCBevel "Bevel" | ^~~~~~~ LED.c:58:16: note: in expansion of macro 'XtCBevel' 58 | {XtNbevel, XtCBevel, XtRDimension, sizeof(Dimension), | ^~~~~~~~ LED.h:72:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | #define XtCBevel "Bevel" | ^~~~~~~ LED.c:58:16: note: in expansion of macro 'XtCBevel' 58 | {XtNbevel, XtCBevel, XtRDimension, sizeof(Dimension), | ^~~~~~~~ LED.h:70:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | #define XtNledWidth "ledWidth" | ^~~~~~~~~~ LED.c:60:6: note: in expansion of macro 'XtNledWidth' 60 | {XtNledWidth, XtCLedWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~ LED.h:70:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | #define XtNledWidth "ledWidth" | ^~~~~~~~~~ LED.c:60:6: note: in expansion of macro 'XtNledWidth' 60 | {XtNledWidth, XtCLedWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~ LED.h:78:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | #define XtCLedWidth "LedWidth" | ^~~~~~~~~~ LED.c:60:19: note: in expansion of macro 'XtCLedWidth' 60 | {XtNledWidth, XtCLedWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~ LED.h:78:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | #define XtCLedWidth "LedWidth" | ^~~~~~~~~~ LED.c:60:19: note: in expansion of macro 'XtCLedWidth' 60 | {XtNledWidth, XtCLedWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~ LED.h:71:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | #define XtNledHeight "ledHeight" | ^~~~~~~~~~~ LED.c:62:6: note: in expansion of macro 'XtNledHeight' 62 | {XtNledHeight, XtCLedHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ LED.h:71:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | #define XtNledHeight "ledHeight" | ^~~~~~~~~~~ LED.c:62:6: note: in expansion of macro 'XtNledHeight' 62 | {XtNledHeight, XtCLedHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ LED.h:79:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | #define XtCLedHeight "LedHeight" | ^~~~~~~~~~~ LED.c:62:20: note: in expansion of macro 'XtCLedHeight' 62 | {XtNledHeight, XtCLedHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ LED.h:79:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | #define XtCLedHeight "LedHeight" | ^~~~~~~~~~~ LED.c:62:20: note: in expansion of macro 'XtCLedHeight' 62 | {XtNledHeight, XtCLedHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ LED.c:82:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | /* class_name */ "LED", | ^~~~~ LED.c:82:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | /* class_name */ "LED", | ^~~~~ xkbwatch.c:49:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | {"-off", "*on.on", XrmoptionNoArg, "FALSE"}, | ^~~~~~ xkbwatch.c:49:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | {"-off", "*on.on", XrmoptionNoArg, "FALSE"}, | ^~~~~~~~ xkbwatch.c:49:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | {"-off", "*on.on", XrmoptionNoArg, "FALSE"}, | ^~~~~~~ xkbwatch.c:50:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | {"-on", "*on.on", XrmoptionNoArg, "TRUE"} | ^~~~~ xkbwatch.c:50:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | {"-on", "*on.on", XrmoptionNoArg, "TRUE"} | ^~~~~~~~ xkbwatch.c:50:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | {"-on", "*on.on", XrmoptionNoArg, "TRUE"} | ^~~~~~ In file included from xkbwatch.c:39: xkbwatch.c: In function 'main': LED.h:65:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | #define XtNon "on" | ^~~~ xkbwatch.c:73:30: note: in expansion of macro 'XtNon' 73 | static Arg onArgs[] = { {XtNon, (XtArgVal) True} }; | ^~~~~ LED.h:65:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | #define XtNon "on" | ^~~~ xkbwatch.c:74:31: note: in expansion of macro 'XtNon' 74 | static Arg offArgs[] = { {XtNon, (XtArgVal) False} }; | ^~~~~ xkbwatch.c:76:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | "*Box*background: grey50", | ^~~~~~~~~~~~~~~~~~~~~~~~~ xkbwatch.c:77:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | "*Box*borderWidth: 0", | ^~~~~~~~~~~~~~~~~~~~~ xkbwatch.c:78:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | "*Box*vSpace: 1", | ^~~~~~~~~~~~~~~~ In file included from xkbvleds.c:39: xkbvleds.c: In function 'main': LED.h:65:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | #define XtNon "on" | ^~~~ xkbvleds.c:211:30: note: in expansion of macro 'XtNon' 211 | static Arg onArgs[] = { {XtNon, (XtArgVal) True} }; | ^~~~~ LED.h:65:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | #define XtNon "on" | ^~~~ xkbvleds.c:212:31: note: in expansion of macro 'XtNon' 212 | static Arg offArgs[] = { {XtNon, (XtArgVal) False} }; | ^~~~~ xkbvleds.c:214:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 214 | "*Box*background: grey40", | ^~~~~~~~~~~~~~~~~~~~~~~~~ xkbvleds.c:273:22: warning: declaration of 'i' shadows a previous local [-Wshadow] 273 | register int i, bit; | ^ xkbvleds.c:205:18: note: shadowed declaration is here 205 | register int i; | ^ xkbvleds.c:273:25: warning: declaration of 'bit' shadows a previous local [-Wshadow] 273 | register int i, bit; | ^~~ xkbvleds.c:206:14: note: shadowed declaration is here 206 | unsigned bit; | ^~~ CCLD xkbbell CCLD xkbwatch CCLD xkbvleds make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4' + popd ~/build/BUILD/xorg-x11-xkb-utils-7.7 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZEweZv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64 ++ dirname /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64 + 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 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/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 xorg-x11-xkb-utils-7.7 ~/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + for app in * + pushd setxkbmap-1.3.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64 'INSTALL=/usr/bin/install -p' Making install in man make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 setxkbmap.1 '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2/man' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2/man' make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin' /usr/bin/install -p setxkbmap '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.2' + popd ~/build/BUILD/xorg-x11-xkb-utils-7.7 ~/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + for app in * + pushd xkbcomp-1.4.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64 'INSTALL=/usr/bin/install -p' Making install in man make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 xkbcomp.1 '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2/man' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2/man' make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin' /usr/bin/install -p xkbcomp '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 xkbcomp.pc '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbcomp-1.4.2' + popd ~/build/BUILD/xorg-x11-xkb-utils-7.7 ~/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + for app in * + pushd xkbevd-1.1.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64 'INSTALL=/usr/bin/install -p' Making install in man make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 xkbevd.1 '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4/man' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4/man' make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin' /usr/bin/install -p xkbevd '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4' + popd ~/build/BUILD/xorg-x11-xkb-utils-7.7 ~/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + for app in * + pushd xkbprint-1.0.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64 'INSTALL=/usr/bin/install -p' Making install in man make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 xkbprint.1 '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4/man' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4/man' make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin' /usr/bin/install -p xkbprint '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4' + popd ~/build/BUILD/xorg-x11-xkb-utils-7.7 ~/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + for app in * + pushd xkbutils-1.0.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64 'INSTALL=/usr/bin/install -p' Making install in man make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4/man' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/man/man1" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/share/man/man1" /usr/bin/install -p -m 644 xkbbell.1 xkbvleds.1 xkbwatch.1 '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4/man' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4/man' make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin" /usr/bin/install -p xkbvleds xkbwatch xkbbell '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4' + popd ~/build/BUILD/xorg-x11-xkb-utils-7.7 + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 7.7-1.an23 --unique-debug-suffix -7.7-1.an23.aarch64 --unique-debug-src-base xorg-x11-xkb-utils-7.7-1.an23.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xorg-x11-xkb-utils-7.7 extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin/setxkbmap extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin/xkbcomp extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin/xkbbell extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin/xkbevd extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin/xkbprint extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin/xkbvleds extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/bin/xkbwatch original debug info size: 1332kB, size after compression: 1136kB /usr/bin/sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. 1991 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: xorg-x11-xkb-utils-7.7-1.an23.aarch64 Provides: setxkbmap = 1.3.2 xkbcomp = 1.4.2 xorg-x11-xkb-utils = 7.7-1.an23 xorg-x11-xkb-utils(aarch-64) = 7.7-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libxkbfile.so.1()(64bit) rtld(GNU_HASH) Processing files: xorg-x11-xkb-utils-devel-7.7-1.an23.aarch64 Provides: pkgconfig(xkbcomp) = 1.4.2 xorg-x11-xkb-utils-devel = 7.7-1.an23 xorg-x11-xkb-utils-devel(aarch-64) = 7.7-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config pkgconfig(x11) pkgconfig(xkbfile) pkgconfig(xproto) >= 7.0.17 Processing files: xorg-x11-xkb-extras-7.7-1.an23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.M4K2sp + umask 022 + cd /builddir/build/BUILD + cd xorg-x11-xkb-utils-7.7 + DOCDIR=/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/share/doc/xorg-x11-xkb-extras + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/share/doc/xorg-x11-xkb-extras + cp -pr xkbutils-1.0.4/COPYING /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/share/doc/xorg-x11-xkb-extras + cp -pr xkbutils-1.0.4/README /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64/usr/share/doc/xorg-x11-xkb-extras + RPM_EC=0 ++ jobs -p + exit 0 Provides: xkbevd = 1.1.4 xkbprint = 1.0.4 xkbutils = 1.0.4 xorg-x11-xkb-extras = 7.7-1.an23 xorg-x11-xkb-extras(aarch-64) = 7.7-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libX11.so.6()(64bit) libXaw.so.7()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libxkbfile.so.1()(64bit) rtld(GNU_HASH) Processing files: xorg-x11-xkb-utils-debugsource-7.7-1.an23.aarch64 Provides: xorg-x11-xkb-utils-debugsource = 7.7-1.an23 xorg-x11-xkb-utils-debugsource(aarch-64) = 7.7-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xorg-x11-xkb-utils-debuginfo-7.7-1.an23.aarch64 Provides: debuginfo(build-id) = 338da8c062f961b86d7a615dd17fa8ff0df1b6f9 debuginfo(build-id) = c45771ff67431d69914f8449f805c405081ab56b xorg-x11-xkb-utils-debuginfo = 7.7-1.an23 xorg-x11-xkb-utils-debuginfo(aarch-64) = 7.7-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xorg-x11-xkb-utils-debugsource(aarch-64) = 7.7-1.an23 Processing files: xorg-x11-xkb-extras-debuginfo-7.7-1.an23.aarch64 Provides: debuginfo(build-id) = 000d1df613ad94621b0a7d0cefb85109aa7c090b debuginfo(build-id) = 4c8339aa3ccf2aaf55165776c55540f8e71af4c9 debuginfo(build-id) = 8b8e7e782364c78d2e9c6568b081254941f067a6 debuginfo(build-id) = a2282edaba007e434ff4ce237542c75c708eab03 debuginfo(build-id) = fef9a12046f1eacbd07e29a130c6a747adce38a3 xorg-x11-xkb-extras-debuginfo = 7.7-1.an23 xorg-x11-xkb-extras-debuginfo(aarch-64) = 7.7-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xorg-x11-xkb-utils-debugsource(aarch-64) = 7.7-1.an23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64 Wrote: /builddir/build/RPMS/xorg-x11-xkb-utils-devel-7.7-1.an23.aarch64.rpm Wrote: /builddir/build/RPMS/xorg-x11-xkb-extras-7.7-1.an23.aarch64.rpm Wrote: /builddir/build/RPMS/xorg-x11-xkb-utils-7.7-1.an23.aarch64.rpm Wrote: /builddir/build/RPMS/xorg-x11-xkb-extras-debuginfo-7.7-1.an23.aarch64.rpm Wrote: /builddir/build/RPMS/xorg-x11-xkb-utils-debuginfo-7.7-1.an23.aarch64.rpm Wrote: /builddir/build/RPMS/xorg-x11-xkb-utils-debugsource-7.7-1.an23.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.h5Du7f + umask 022 + cd /builddir/build/BUILD + cd xorg-x11-xkb-utils-7.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-1.an23.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0