Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/xorg-x11-xkb-utils.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-47178-21823/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=986gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w1zaaxp5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w1zaaxp5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '21a4442b30d14d8da2c274836fe069e8', '-D', '/var/lib/mock/dist-an8-loongarch64-build-47178-21823/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w1zaaxp5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/xorg-x11-xkb-utils-7.7-28.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/xorg-x11-xkb-utils.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-47178-21823/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=986gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w1zaaxp5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w1zaaxp5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '80737e3db3564e14af8fdc1e4637a301', '-D', '/var/lib/mock/dist-an8-loongarch64-build-47178-21823/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w1zaaxp5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GEiy2e + 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/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/setxkbmap-1.3.1.tar.bz2 + 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/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xkbevd-1.1.4.tar.bz2 + 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/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xkbutils-1.0.4.tar.bz2 + 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 + echo 'Patch #0 (0001-Suppress-high-keycode-warnings-at-the-default-warnin.patch):' Patch #0 (0001-Suppress-high-keycode-warnings-at-the-default-warnin.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file keycodes.c + echo 'Patch #1 (0001-Don-t-pretend-unresolved-symbols-are-an-error.patch):' Patch #1 (0001-Don-t-pretend-unresolved-symbols-are-an-error.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file symbols.c + popd ~/build/BUILD/xorg-x11-xkb-utils-7.7 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8hcuKd + umask 022 + cd /builddir/build/BUILD + cd xorg-x11-xkb-utils-7.7 ~/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.1 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + for app in * + pushd setxkbmap-1.3.1 + case $app in + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-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 loongarch64-Anolis-linux-gcc... no checking for 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 loongarch64-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... loongarch64-Anolis-linux-gnu checking host system type... loongarch64-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 -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.1' Making all in man make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.1/man' GEN setxkbmap.1 make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.1/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.1' CC setxkbmap.o setxkbmap.c: In function 'getDisplay': setxkbmap.c:557:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 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] tmp = DFLT_XKB_RULES_FILE; ^ setxkbmap.c:608:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] vd.model = DFLT_XKB_MODEL; ^ setxkbmap.c:609:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] vd.layout = DFLT_XKB_LAYOUT; ^ setxkbmap.c: In function 'applyRules': setxkbmap.c:861:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] rfName = DFLT_XKB_RULES_FILE; ^ CCLD setxkbmap make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.1' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.1' + 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 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-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 loongarch64-Anolis-linux-gcc... no checking for 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 loongarch64-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... loongarch64-Anolis-linux-gnu checking host system type... loongarch64-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 -j4 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 alias.o CC action.o CC compat.o CC expr.o In function 'InitAliasInfo', inlined from 'HandleAliasDef' at alias.c:101:13: alias.c:85:5: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation] 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] strncpy(info->real, real, XkbKeyNameLength); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias.c: In function 'ApplyAliases': alias.c:272:13: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation] strncpy(a->alias, info->alias, XkbKeyNameLength); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias.c:273:13: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation] strncpy(a->real, info->real, XkbKeyNameLength); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC geometry.o geometry.c: In function 'CopySectionDef': geometry.c:3625:47: warning: passing argument 2 of 'XkbAddGeomColor' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 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 *' 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] XkbAddGeomColor(geom, "black", 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 *' char * /* spec */, ^~~~~~ geometry.c:3708:31: warning: passing argument 2 of 'XkbAddGeomColor' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 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 *' char * /* spec */, ^~~~~~ CC indicators.o CC keycodes.o CC keymap.o CC keytypes.o CC listing.o CC misc.o CC parseutils.o 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=] snprintf(tmpname, sizeof(tmpname), "U%03d", ^~~~ misc.c:455:60: note: directive argument in the range [0, 2147483647] snprintf(tmpname, sizeof(tmpname), "U%03d", ^~~~~~~ misc.c:455:25: note: 'snprintf' output between 5 and 12 bytes into a destination of size 5 snprintf(tmpname, sizeof(tmpname), "U%03d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nUnknown++); ~~~~~~~~~~~ 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=] snprintf(tmpname, sizeof(tmpname), "U%03d", nUnknown++); ^~~~ misc.c:469:56: note: directive argument in the range [0, 2147483647] snprintf(tmpname, sizeof(tmpname), "U%03d", nUnknown++); ^~~~~~~ misc.c:469:21: note: 'snprintf' output between 5 and 12 bytes into a destination of size 5 snprintf(tmpname, sizeof(tmpname), "U%03d", nUnknown++); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC symbols.o symbols.c: In function 'HandleSymbolsBody': symbols.c:1508:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] field.str = "symbols"; ^ symbols.c:1510:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] field.str = "actions"; ^ In function 'HandleOverlayDef.isra.35', inlined from 'HandleSectionBody.isra.36' at geometry.c:2789:18, inlined from 'HandleSectionDef.isra.37' at geometry.c:2829:10, inlined from 'HandleGeometryFile' at geometry.c:2875:18: geometry.c:2580:9: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation] 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] strncpy(key->under, keyDef->under, XkbKeyNameLength); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC utils.o CC vmod.o CC xkbcomp.o YACC xkbparse.c CC xkbpath.o xkbcomp.c: In function 'main': xkbcomp.c:936:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] inputFile = "stdin"; ^ xkbcomp.c:1136:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] outputFile = "stdout"; ^ In function 'CopyOverlayDef.isra.39', inlined from 'CopySectionDef' at geometry.c:3643:13, inlined from 'CompileGeometry' at geometry.c:3747:22: geometry.c:3544:9: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation] strncpy(key->over.name, ki->over, XkbKeyNameLength); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ geometry.c:3545:9: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation] strncpy(key->under.name, ki->under, XkbKeyNameLength); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC xkbscan.o CC xkbparse.o xkbparse.c:79:25: warning: redundant redeclaration of 'yyparse' [-Wredundant-decls] # define YYPARSE_DECL() yyparse(void) ^~~~~~~ xkbparse.c:99:12: note: in expansion of macro 'YYPARSE_DECL' extern int YYPARSE_DECL(); ^~~~~~~~~~~~ In file included from xkbparse.y:96: parseutils.h:200:12: note: previous declaration of 'yyparse' was here extern int yyparse(void); ^~~~~~~ CCLD xkbcomp 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 + for app in * + pushd xkbevd-1.1.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + case $app in + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-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 loongarch64-Anolis-linux-gcc... no checking for 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 loongarch64-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... loongarch64-Anolis-linux-gnu checking host system type... loongarch64-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 -j4 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 evargs.o CC cfgscan.o CC printev.o cfgparse.c:1116:5: warning: redundant redeclaration of 'yyparse' [-Wredundant-decls] int yyparse (void); ^~~~~~~ In file included from cfgparse.y:66: xkbevd.h:100:12: note: previous declaration of 'yyparse' was here extern int yyparse(void); ^~~~~~~ cfgparse.c: In function 'yyparse': cfgparse.c:1623:20: warning: passing argument 1 of 'yyerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] yyerror (YY_("syntax error")); ^~~~~~~~~~~~~~ cfgparse.c:248:22: note: in definition of macro 'YY_' # define YY_(msgid) msgid ^~~~~ In file included from cfgparse.y:66: xkbevd.h:101:26: note: expected 'char *' but argument is of type 'const char *' extern int yyerror(char *s); ~~~~~~^ cfgparse.c:1769:16: warning: passing argument 1 of 'yyerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] yyerror (YY_("memory exhausted")); ^~~~~~~~~~~~~~~~~~ cfgparse.c:248:22: note: in definition of macro 'YY_' # define YY_(msgid) msgid ^~~~~ In file included from cfgparse.y:66: xkbevd.h:101:26: note: expected 'char *' but argument is of type 'const char *' extern int yyerror(char *s); ~~~~~~^ CC utils.o CC xkbevd.o xkbevd.c: In function 'GetDisplay': xkbevd.c:219:33: warning: declaration of 'dpyName' shadows a global declaration [-Wshadow] GetDisplay(char *program, char *dpyName, int *opcodeRtrn, int *evBaseRtrn) ~~~~~~^~~~~~~ xkbevd.c:55:17: note: shadowed declaration is here static char * dpyName = NULL; ^~~~~~~ xkbevd.c:222:14: warning: declaration of 'dpy' shadows a global declaration [-Wshadow] Display *dpy; ^~~ xkbevd.c:56:17: note: shadowed declaration is here Display * dpy = NULL; ^~~ 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 + for app in * + pushd xkbprint-1.0.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + case $app in + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-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 loongarch64-Anolis-linux-gcc... no checking for 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 loongarch64-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... loongarch64-Anolis-linux-gnu checking host system type... loongarch64-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 -j4 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': psgeom.c:700:49: warning: passing argument 2 of 'XkbAddGeomColor' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 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 *' char * /* spec */, ^~~~~~ psgeom.c:707:49: warning: passing argument 2 of 'XkbAddGeomColor' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!(color = XkbAddGeomColor(geom, "white", 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 *' char * /* spec */, ^~~~~~ In function 'FindKeysymsByName', inlined from 'PSSection' at psgeom.c:1998:22: psgeom.c:1721:13: warning: 'strncpy' output may be truncated copying 29 bytes from a string of length 29 [-Wstringop-truncation] 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 + for app in * + pushd xkbutils-1.0.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + case $app in + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-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 loongarch64-Anolis-linux-gcc... no checking for 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 loongarch64-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... loongarch64-Anolis-linux-gnu checking host system type... loongarch64-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 -j4 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 xkbvleds.1 GEN xkbbell.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 LED.c:47:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(led.foreground), XtRString, XtDefaultForeground}, ^~~~~~~~~~~~~~~~~~~ In file included from LEDP.h:29, from LED.c:31: LED.h:65:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNon "on" ^~~~ LED.c:48:6: note: in expansion of macro 'XtNon' {XtNon, XtCOn, XtRBoolean, sizeof(Boolean), ^~~~~ LED.h:73:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOn "On" ^~~~ LED.c:48:13: note: in expansion of macro 'XtCOn' {XtNon, XtCOn, XtRBoolean, sizeof(Boolean), ^~~~~ LED.h:68:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtopColor "topColor" ^~~~~~~~~~ LED.c:50:6: note: in expansion of macro 'XtNtopColor' {XtNtopColor, XtCTopColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~~ LED.h:76:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTopColor "TopColor" ^~~~~~~~~~ LED.c:50:19: note: in expansion of macro 'XtCTopColor' {XtNtopColor, XtCTopColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~~ LED.c:51:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(led.top_color), XtRString, "black"}, ^~~~~~~ xkbwatch.c:49:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-off", "*on.on", XrmoptionNoArg, "FALSE"}, ^~~~~~ xkbwatch.c:49:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-off", "*on.on", XrmoptionNoArg, "FALSE"}, ^~~~~~~~ xkbwatch.c:49:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-off", "*on.on", XrmoptionNoArg, "FALSE"}, ^~~~~~~ xkbwatch.c:50:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-on", "*on.on", XrmoptionNoArg, "TRUE"} ^~~~~ xkbwatch.c:50:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-on", "*on.on", XrmoptionNoArg, "TRUE"} ^~~~~~~~ xkbwatch.c:50:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-on", "*on.on", XrmoptionNoArg, "TRUE"} ^~~~~~ In file included from xkbwatch.c:39: xkbwatch.c: In function 'main': LED.h:65:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNon "on" ^~~~ xkbwatch.c:73:30: note: in expansion of macro 'XtNon' static Arg onArgs[] = { {XtNon, (XtArgVal) True} }; ^~~~~ LED.h:65:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNon "on" ^~~~ xkbwatch.c:74:31: note: in expansion of macro 'XtNon' static Arg offArgs[] = { {XtNon, (XtArgVal) False} }; ^~~~~ xkbwatch.c:76:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "*Box*background: grey50", ^~~~~~~~~~~~~~~~~~~~~~~~~ xkbwatch.c:77:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "*Box*borderWidth: 0", ^~~~~~~~~~~~~~~~~~~~~ xkbwatch.c:78:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "*Box*vSpace: 1", ^~~~~~~~~~~~~~~~ In file included from xkbvleds.c:39: xkbvleds.c: In function 'main': LED.h:65:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNon "on" ^~~~ xkbvleds.c:211:30: note: in expansion of macro 'XtNon' static Arg onArgs[] = { {XtNon, (XtArgVal) True} }; ^~~~~ LED.h:65:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNon "on" ^~~~ xkbvleds.c:212:31: note: in expansion of macro 'XtNon' static Arg offArgs[] = { {XtNon, (XtArgVal) False} }; ^~~~~ xkbvleds.c:214:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "*Box*background: grey40", ^~~~~~~~~~~~~~~~~~~~~~~~~ xkbvleds.c:273:22: warning: declaration of 'i' shadows a previous local [-Wshadow] register int i, bit; ^ xkbvleds.c:205:18: note: shadowed declaration is here register int i; ^ xkbvleds.c:273:25: warning: declaration of 'bit' shadows a previous local [-Wshadow] register int i, bit; ^~~ xkbvleds.c:206:14: note: shadowed declaration is here unsigned bit; ^~~ In file included from LEDP.h:29, from LED.c:31: LED.h:69:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottomColor "bottomColor" ^~~~~~~~~~~~~ LED.c:52:6: note: in expansion of macro 'XtNbottomColor' {XtNbottomColor, XtCBottomColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~~~~~ LED.h:77:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBottomColor "BottomColor" ^~~~~~~~~~~~~ LED.c:52:22: note: in expansion of macro 'XtCBottomColor' {XtNbottomColor, XtCBottomColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~~~~~ LED.c:53:43: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(led.bottom_color), XtRString, "white"}, ^~~~~~~ In file included from LEDP.h:29, from LED.c:31: LED.h:66:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNonColor "onColor" ^~~~~~~~~ LED.c:54:6: note: in expansion of macro 'XtNonColor' {XtNonColor, XtCOnColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~ LED.h:74:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOnColor "OnColor" ^~~~~~~~~ LED.c:54:18: note: in expansion of macro 'XtCOnColor' {XtNonColor, XtCOnColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~ LED.c:55:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(led.on_color), XtRString, "green"}, ^~~~~~~ In file included from LEDP.h:29, from LED.c:31: LED.h:67:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNoffColor "offColor" ^~~~~~~~~~ LED.c:56:6: note: in expansion of macro 'XtNoffColor' {XtNoffColor, XtCOffColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~~ LED.h:75:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOffColor "OffColor" ^~~~~~~~~~ LED.c:56:19: note: in expansion of macro 'XtCOffColor' {XtNoffColor, XtCOffColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~~ LED.c:57:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(led.off_color), XtRString, "#005000"}, ^~~~~~~~~ In file included from LEDP.h:29, from LED.c:31: LED.h:64:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbevel "bevel" ^~~~~~~ LED.c:58:6: note: in expansion of macro 'XtNbevel' {XtNbevel, XtCBevel, XtRDimension, sizeof(Dimension), ^~~~~~~~ LED.h:72:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBevel "Bevel" ^~~~~~~ LED.c:58:16: note: in expansion of macro 'XtCBevel' {XtNbevel, XtCBevel, XtRDimension, sizeof(Dimension), ^~~~~~~~ LED.h:70:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNledWidth "ledWidth" ^~~~~~~~~~ LED.c:60:6: note: in expansion of macro 'XtNledWidth' {XtNledWidth, XtCLedWidth, XtRDimension, sizeof(Dimension), ^~~~~~~~~~~ LED.h:78:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLedWidth "LedWidth" ^~~~~~~~~~ LED.c:60:19: note: in expansion of macro 'XtCLedWidth' {XtNledWidth, XtCLedWidth, XtRDimension, sizeof(Dimension), ^~~~~~~~~~~ LED.h:71:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNledHeight "ledHeight" ^~~~~~~~~~~ LED.c:62:6: note: in expansion of macro 'XtNledHeight' {XtNledHeight, XtCLedHeight, XtRDimension, sizeof(Dimension), ^~~~~~~~~~~~ LED.h:79:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLedHeight "LedHeight" ^~~~~~~~~~~ LED.c:62:20: note: in expansion of macro 'XtCLedHeight' {XtNledHeight, XtCLedHeight, XtRDimension, sizeof(Dimension), ^~~~~~~~~~~~ LED.c:82:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "LED", ^~~~~ CC xkbwatch-LED.o LED.c:47:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(led.foreground), XtRString, XtDefaultForeground}, ^~~~~~~~~~~~~~~~~~~ In file included from LEDP.h:29, from LED.c:31: LED.h:65:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNon "on" ^~~~ LED.c:48:6: note: in expansion of macro 'XtNon' {XtNon, XtCOn, XtRBoolean, sizeof(Boolean), ^~~~~ LED.h:73:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOn "On" ^~~~ LED.c:48:13: note: in expansion of macro 'XtCOn' {XtNon, XtCOn, XtRBoolean, sizeof(Boolean), ^~~~~ LED.h:68:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtopColor "topColor" ^~~~~~~~~~ LED.c:50:6: note: in expansion of macro 'XtNtopColor' {XtNtopColor, XtCTopColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~~ LED.h:76:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTopColor "TopColor" ^~~~~~~~~~ LED.c:50:19: note: in expansion of macro 'XtCTopColor' {XtNtopColor, XtCTopColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~~ LED.c:51:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(led.top_color), XtRString, "black"}, ^~~~~~~ In file included from LEDP.h:29, from LED.c:31: LED.h:69:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottomColor "bottomColor" ^~~~~~~~~~~~~ LED.c:52:6: note: in expansion of macro 'XtNbottomColor' {XtNbottomColor, XtCBottomColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~~~~~ LED.h:77:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBottomColor "BottomColor" ^~~~~~~~~~~~~ LED.c:52:22: note: in expansion of macro 'XtCBottomColor' {XtNbottomColor, XtCBottomColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~~~~~ LED.c:53:43: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(led.bottom_color), XtRString, "white"}, ^~~~~~~ In file included from LEDP.h:29, from LED.c:31: LED.h:66:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNonColor "onColor" ^~~~~~~~~ LED.c:54:6: note: in expansion of macro 'XtNonColor' {XtNonColor, XtCOnColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~ LED.h:74:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOnColor "OnColor" ^~~~~~~~~ LED.c:54:18: note: in expansion of macro 'XtCOnColor' {XtNonColor, XtCOnColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~ LED.c:55:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(led.on_color), XtRString, "green"}, ^~~~~~~ In file included from LEDP.h:29, from LED.c:31: LED.h:67:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNoffColor "offColor" ^~~~~~~~~~ LED.c:56:6: note: in expansion of macro 'XtNoffColor' {XtNoffColor, XtCOffColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~~ LED.h:75:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOffColor "OffColor" ^~~~~~~~~~ LED.c:56:19: note: in expansion of macro 'XtCOffColor' {XtNoffColor, XtCOffColor, XtRPixel, sizeof(Pixel), ^~~~~~~~~~~ CC xkbwatch-utils.o LED.c:57:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(led.off_color), XtRString, "#005000"}, ^~~~~~~~~ In file included from LEDP.h:29, from LED.c:31: LED.h:64:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbevel "bevel" ^~~~~~~ LED.c:58:6: note: in expansion of macro 'XtNbevel' {XtNbevel, XtCBevel, XtRDimension, sizeof(Dimension), ^~~~~~~~ LED.h:72:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBevel "Bevel" ^~~~~~~ LED.c:58:16: note: in expansion of macro 'XtCBevel' {XtNbevel, XtCBevel, XtRDimension, sizeof(Dimension), ^~~~~~~~ LED.h:70:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNledWidth "ledWidth" ^~~~~~~~~~ LED.c:60:6: note: in expansion of macro 'XtNledWidth' {XtNledWidth, XtCLedWidth, XtRDimension, sizeof(Dimension), ^~~~~~~~~~~ LED.h:78:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLedWidth "LedWidth" ^~~~~~~~~~ LED.c:60:19: note: in expansion of macro 'XtCLedWidth' {XtNledWidth, XtCLedWidth, XtRDimension, sizeof(Dimension), ^~~~~~~~~~~ LED.h:71:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNledHeight "ledHeight" ^~~~~~~~~~~ LED.c:62:6: note: in expansion of macro 'XtNledHeight' {XtNledHeight, XtCLedHeight, XtRDimension, sizeof(Dimension), ^~~~~~~~~~~~ LED.h:79:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLedHeight "LedHeight" ^~~~~~~~~~~ LED.c:62:20: note: in expansion of macro 'XtCLedHeight' {XtNledHeight, XtCLedHeight, XtRDimension, sizeof(Dimension), ^~~~~~~~~~~~ LED.c:82:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "LED", ^~~~~ 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] 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 if (!XkbQueryExtension(dpy, &i1, &i2, &i3, &i4, &i5) > 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( ) CCLD xkbvleds CCLD xkbwatch CCLD xkbbell 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SCb3ie + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64 ++ dirname /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64 + cd xorg-x11-xkb-utils-7.7 + for app in * + pushd setxkbmap-1.3.1 ~/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.1 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64 '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.1/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.1/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/usr/share/man/man1' /usr/bin/install -p -m 644 setxkbmap.1 '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.1/man' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.1/man' make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.1' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/usr/bin' /usr/bin/install -p setxkbmap '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/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.1' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xkb-utils-7.7/setxkbmap-1.3.1' + popd ~/build/BUILD/xorg-x11-xkb-utils-7.7 + for app in * + 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 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64 '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-28.an8.loongarch64/usr/share/man/man1' /usr/bin/install -p -m 644 xkbcomp.1 '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/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-28.an8.loongarch64/usr/bin' /usr/bin/install -p xkbcomp '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 xkbcomp.pc '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/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 + for app in * + pushd xkbevd-1.1.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7/xkbevd-1.1.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64 '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-28.an8.loongarch64/usr/share/man/man1' /usr/bin/install -p -m 644 xkbevd.1 '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/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-28.an8.loongarch64/usr/bin' /usr/bin/install -p xkbevd '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/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 + for app in * + pushd xkbprint-1.0.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7/xkbprint-1.0.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64 '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-28.an8.loongarch64/usr/share/man/man1' /usr/bin/install -p -m 644 xkbprint.1 '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/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-28.an8.loongarch64/usr/bin' /usr/bin/install -p xkbprint '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/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 + for app in * + pushd xkbutils-1.0.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7/xkbutils-1.0.4 ~/build/BUILD/xorg-x11-xkb-utils-7.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64 '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-28.an8.loongarch64/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-28.an8.loongarch64/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-28.an8.loongarch64/usr/bin" /usr/bin/install -p xkbvleds xkbwatch xkbbell '/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/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/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 7.7-28.an8 --unique-debug-suffix -7.7-28.an8.loongarch64 --unique-debug-src-base xorg-x11-xkb-utils-7.7-28.an8.loongarch64 --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-28.an8.loongarch64/usr/bin/xkbcomp extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/usr/bin/xkbevd extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/usr/bin/setxkbmap extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/usr/bin/xkbbell extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/usr/bin/xkbprint extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/usr/bin/xkbwatch extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/usr/bin/xkbvleds /usr/lib/rpm/sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. 1982 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: xorg-x11-xkb-utils-7.7-28.an8.loongarch64 Provides: setxkbmap = 1.3.1 xkbcomp = 1.4.2 xorg-x11-xkb-utils = 7.7-28.an8 xorg-x11-xkb-utils(loongarch-64) = 7.7-28.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libxkbfile.so.1()(64bit) rtld(GNU_HASH) Processing files: xorg-x11-xkb-utils-devel-7.7-28.an8.loongarch64 Provides: pkgconfig(xkbcomp) = 1.4.2 xorg-x11-xkb-utils-devel = 7.7-28.an8 xorg-x11-xkb-utils-devel(loongarch-64) = 7.7-28.an8 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-28.an8.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XmMxVe + umask 022 + cd /builddir/build/BUILD + cd xorg-x11-xkb-utils-7.7 + DOCDIR=/builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/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-28.an8.loongarch64/usr/share/doc/xorg-x11-xkb-extras + cp -pr xkbutils-1.0.4/COPYING /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/usr/share/doc/xorg-x11-xkb-extras + cp -pr xkbutils-1.0.4/README /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64/usr/share/doc/xorg-x11-xkb-extras + exit 0 Provides: xkbevd = 1.1.4 xkbprint = 1.0.4 xkbutils = 1.0.4 xorg-x11-xkb-extras = 7.7-28.an8 xorg-x11-xkb-extras(loongarch-64) = 7.7-28.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libXaw.so.7()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libxkbfile.so.1()(64bit) rtld(GNU_HASH) Processing files: xorg-x11-xkb-utils-debugsource-7.7-28.an8.loongarch64 Provides: xorg-x11-xkb-utils-debugsource = 7.7-28.an8 xorg-x11-xkb-utils-debugsource(loongarch-64) = 7.7-28.an8 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-28.an8.loongarch64 Provides: debuginfo(build-id) = 03b14eea6c98b2dcc0253275019ca9b4ece49257 debuginfo(build-id) = c8833175c0c731f0e26f32bfc9d5eeb0f1ed8354 xorg-x11-xkb-utils-debuginfo = 7.7-28.an8 xorg-x11-xkb-utils-debuginfo(loongarch-64) = 7.7-28.an8 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(loongarch-64) = 7.7-28.an8 Processing files: xorg-x11-xkb-extras-debuginfo-7.7-28.an8.loongarch64 Provides: debuginfo(build-id) = 0655d636139813acd30ea4f17b40254457315f49 debuginfo(build-id) = 0ea0c6401e1f34cfbcdd3961a3d1c91d9006455d debuginfo(build-id) = 59b8bee04b230225cf59a3b612a8bbe4bf66bc06 debuginfo(build-id) = b8706ae194c3cc7f143b901e274c6080de8b5543 debuginfo(build-id) = d49316b564ef0ff4fbba0adfd03f835a2153f06c xorg-x11-xkb-extras-debuginfo = 7.7-28.an8 xorg-x11-xkb-extras-debuginfo(loongarch-64) = 7.7-28.an8 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(loongarch-64) = 7.7-28.an8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xorg-x11-xkb-utils-7.7-28.an8.loongarch64 Wrote: /builddir/build/RPMS/xorg-x11-xkb-utils-7.7-28.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/xorg-x11-xkb-utils-devel-7.7-28.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/xorg-x11-xkb-extras-7.7-28.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/xorg-x11-xkb-utils-debugsource-7.7-28.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/xorg-x11-xkb-utils-debuginfo-7.7-28.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/xorg-x11-xkb-extras-debuginfo-7.7-28.an8.loongarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.K1kjCf + 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-28.an8.loongarch64 + exit 0 Child return code was: 0