Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xorg-x11-resutils.spec'], chrootPath='/var/lib/mock/f33-build-302035-56887/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xorg-x11-resutils.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/xorg-x11-resutils-7.7-6.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xorg-x11-resutils.spec'], chrootPath='/var/lib/mock/f33-build-302035-56887/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xorg-x11-resutils.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5zb3Fz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xorg-x11-resutils-7.7 + /usr/bin/mkdir -p xorg-x11-resutils-7.7 + cd xorg-x11-resutils-7.7 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/appres-1.0.5.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/editres-1.0.7.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/bzip2 -dc /builddir/build/SOURCES/listres-1.0.4.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/bzip2 -dc /builddir/build/SOURCES/viewres-1.0.5.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (editres-1.0.6-format-security.patch):' Patch #0 (editres-1.0.6-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .fmt --fuzz=0 patching file editres-1.0.7/geometry.c patching file editres-1.0.7/svpopup.c patching file editres-1.0.7/utils.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jialwA + umask 022 + cd /builddir/build/BUILD + cd xorg-x11-resutils-7.7 + for app in * + pushd appres-1.0.5 ~/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5 ~/build/BUILD/xorg-x11-resutils-7.7 + autoreconf -vif autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: Leaving directory `.' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld' + 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.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-xprint configure: WARNING: unrecognized options: --disable-xprint 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 whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking 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 riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-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 APPRES... 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 configure: WARNING: unrecognized options: --disable-xprint + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5' Making all in man make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5/man' GEN appres.1 make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5' CC appres.o appres.c: In function 'main': appres.c:36:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 36 | #define NONAME "-AppResTest-" | ^~~~~~~~~~~~~~ appres.c:126:19: note: in expansion of macro 'NONAME' 126 | char *iname = NONAME, *cname = NONAME; | ^~~~~~ appres.c:36:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 36 | #define NONAME "-AppResTest-" | ^~~~~~~~~~~~~~ appres.c:126:36: note: in expansion of macro 'NONAME' 126 | char *iname = NONAME, *cname = NONAME; | ^~~~~~ CCLD appres make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5' ~/build/BUILD/xorg-x11-resutils-7.7 + popd + for app in * + pushd editres-1.0.7 ~/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7 ~/build/BUILD/xorg-x11-resutils-7.7 + autoreconf -vif autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: Leaving directory `.' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld' + 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.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-xprint configure: WARNING: unrecognized options: --disable-xprint 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 whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking 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 riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-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 EDITRES... yes checking for APPDEFS... 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 configure: WARNING: unrecognized options: --disable-xprint + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7' Making all in man make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7/man' GEN editres.1 make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7' CC editres.o CC comm.o CC actions.o CC geometry.o geometry.c: In function 'DisplayChild': geometry.c:115:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 115 | snprintf(msg, sizeof(msg), res_labels[12], node->name, node->class); | ^~~~~~~~ editres.c:48:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 48 | char *global_effective_toolkit = "xt"; | ^~~~ editres.c:73:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | {"debug", "Debug", XtRBoolean, sizeof(Boolean), | ^~~~~~~ editres.c:73:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | {"debug", "Debug", XtRBoolean, sizeof(Boolean), | ^~~~~~~ editres.c:75:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | {"numFlashes", "NumFlashes", XtRInt, sizeof(int), | ^~~~~~~~~~~~ editres.c:75:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | {"numFlashes", "NumFlashes", XtRInt, sizeof(int), | ^~~~~~~~~~~~ editres.c:77:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | {"flashTime", "FlashTime", XtRInt, sizeof(int), | ^~~~~~~~~~~ editres.c:77:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | {"flashTime", "FlashTime", XtRInt, sizeof(int), | ^~~~~~~~~~~ editres.c:79:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | {"flashColor", XtCForeground, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~ editres.c:81:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | {"saveResourceFile", "SaveResourcesFile", XtRString, sizeof(String), | ^~~~~~~~~~~~~~~~~~ editres.c:81:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | {"saveResourceFile", "SaveResourcesFile", XtRString, sizeof(String), | ^~~~~~~~~~~~~~~~~~~ actions.c:46:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 46 | { "widget", (int) SelectWidget }, | ^~~~~~~~ actions.c:47:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 47 | { "all", (int) SelectAll }, | ^~~~~ actions.c:48:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 48 | { "nothing", (int) SelectNone }, | ^~~~~~~~~ actions.c:49:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | { "invert", (int) SelectInvert }, | ^~~~~~~~ actions.c:50:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | { "children", (int) SelectChildren }, | ^~~~~~~~~~ actions.c:51:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | { "descendants", (int) SelectDescendants }, | ^~~~~~~~~~~~~ actions.c:52:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | { "parent", (int) SelectParent }, | ^~~~~~~~ actions.c:53:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | { "ancestors", (int) SelectAncestors } | ^~~~~~~~~~~ actions.c:57:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | { "name", (int) NameLabel }, | ^~~~~~ actions.c:58:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | { "class", (int) ClassLabel }, | ^~~~~~~ actions.c:59:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | { "id", (int) IDLabel }, | ^~~~ actions.c:60:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | { "window", (int) WindowLabel }, | ^~~~~~~~ actions.c:61:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | { "toggle", (int) ToggleLabel } | ^~~~~~~~ actions.c: In function 'SelectAction': actions.c:118:28: warning: passing argument 1 of 'CheckAndFindEntry' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | if (!CheckAndFindEntry("Select", params, *num_params, | ^~~~~~~~ actions.c:75:43: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 75 | static Boolean CheckAndFindEntry ( String action_name, | ~~~~~~~^~~~~~~~~~~ actions.c: In function 'RelabelAction': actions.c:159:28: warning: passing argument 1 of 'CheckAndFindEntry' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 159 | if (!CheckAndFindEntry("Relabel", params, *num_params, | ^~~~~~~~~ actions.c:75:43: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 75 | static Boolean CheckAndFindEntry ( String action_name, | ~~~~~~~^~~~~~~~~~~ actions.c: In function 'PopdownFileDialogAction': actions.c:191:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 191 | snprintf(buf, sizeof(buf), res_labels[2], "PopdownFileDialog"); | ^~~~~~~~ actions.c:204:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 204 | snprintf(buf, sizeof(buf), res_labels[1], "PopdownFileDialog"); | ^~~~~~~~ actions.c: At top level: actions.c:244:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 244 | {"EnableGetVal", EnableGetVal}, | ^~~~~~~~~~~~~~ actions.c:245:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 245 | {"Select", SelectAction}, | ^~~~~~~~ actions.c:246:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 246 | {"SVActiveEntry", ModifySVEntry}, | ^~~~~~~~~~~~~~~ actions.c:247:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 247 | {"Relabel", RelabelAction}, | ^~~~~~~~~ actions.c:248:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 248 | {"PopdownFileDialog", PopdownFileDialogAction}, | ^~~~~~~~~~~~~~~~~~~ actions.c:249:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | {"quit", ActionQuit} | ^~~~~~ actions.c: In function 'CheckAndFindEntry': actions.c:285:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 285 | snprintf(buf, sizeof(buf), res_labels[2], action_name); | ^~~~~~~~ actions.c:297:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 297 | snprintf(buf, sizeof(buf), res_labels[3], action_name); | ^~~~~~~~ comm.c:55:15: warning: redundant redeclaration of 'CM_entries' [-Wredundant-decls] 55 | extern Widget CM_entries[NUM_CM_ENTRIES], TM_entries[NUM_TM_ENTRIES]; | ^~~~~~~~~~ In file included from comm.c:46: editresP.h:339:15: note: previous declaration of 'CM_entries' was here 339 | extern Widget CM_entries[NUM_CM_ENTRIES]; | ^~~~~~~~~~ comm.c:55:43: warning: redundant redeclaration of 'TM_entries' [-Wredundant-decls] 55 | extern Widget CM_entries[NUM_CM_ENTRIES], TM_entries[NUM_TM_ENTRIES]; | ^~~~~~~~~~ In file included from comm.c:46: editresP.h:343:15: note: previous declaration of 'TM_entries' was here 343 | extern Widget TM_entries[NUM_TM_ENTRIES]; | ^~~~~~~~~~ comm.c: In function 'ClientTimedOut': comm.c:93:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 93 | snprintf(msg, sizeof(msg), res_labels[4], "the Editres Protocol."); | ^~~~~~~~ comm.c: In function 'TellUserAboutMessage': comm.c:261:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 261 | str = " asking for widget tree"; | ^ comm.c:264:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 264 | str = " asking it to perform SetValues()"; | ^ comm.c:268:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 268 | str = " asking it to perform GetGeometry()"; | ^ comm.c:271:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 271 | str = " asking it to get a widget's resource list"; | ^ comm.c:274:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 274 | str = " asking it to find the child Widget."; | ^ comm.c:277:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 277 | str = ""; | ^ comm.c:281:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 281 | snprintf(msg, sizeof(msg), res_labels[8], str); | ^~~~~~~~ comm.c: In function 'GetClientValue': comm.c:439:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 439 | snprintf(msg, sizeof(msg), res_labels[11], (int) error_code); | ^~~~~~~~ comm.c:451:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 451 | snprintf(msg, sizeof(msg), res_labels[12], top->name, top->class); | ^~~~~~~~ comm.c: In function 'BuildEvent': comm.c:586:31: warning: passing argument 1 of 'RebuildMenusAndLabel' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 586 | RebuildMenusAndLabel("iv"); | ^~~~ In file included from comm.c:46: editresP.h:408:43: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 408 | extern void RebuildMenusAndLabel ( String toolkit ); | ~~~~~~~^~~~~~~ comm.c:589:36: warning: passing argument 1 of 'RebuildMenusAndLabel' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 589 | RebuildMenusAndLabel("xt"); | ^~~~ In file included from comm.c:46: editresP.h:408:43: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 408 | extern void RebuildMenusAndLabel ( String toolkit ); | ~~~~~~~^~~~~~~ CC handler.o CC setvalues.o handler.c: In function 'PortholeCallback': handler.c:207:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 207 | XtSetArg (args[n], XtNsliderX, report->slider_x); n++; | ^~~~~~~~ CC svpopup.o handler.c:208:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 208 | XtSetArg (args[n], XtNsliderY, report->slider_y); n++; | ^~~~~~~~ handler.c:210:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 210 | XtSetArg (args[n], XtNsliderWidth, report->slider_width); n++; | ^~~~~~~~ handler.c:211:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 211 | XtSetArg (args[n], XtNsliderHeight, report->slider_height); n++; | ^~~~~~~~ handler.c:212:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 212 | XtSetArg (args[n], XtNcanvasWidth, report->canvas_width); n++; | ^~~~~~~~ handler.c:213:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 213 | XtSetArg (args[n], XtNcanvasHeight, report->canvas_height); n++; | ^~~~~~~~ handler.c: In function 'DumpTreeToFile': handler.c:288:35: warning: passing argument 2 of '_PopupFileDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 288 | _PopupFileDialog(XtParent(w), "Enter the filename:", "", | ^~~~~~~~~~~~~~~~~~~~~ In file included from handler.c:40: editresP.h:426:49: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 426 | extern void _PopupFileDialog ( Widget w, String str, String default_value, XtCallbackProc func, XtPointer data ); | ~~~~~~~^~~ handler.c:288:58: warning: passing argument 3 of '_PopupFileDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 288 | _PopupFileDialog(XtParent(w), "Enter the filename:", "", | ^~ In file included from handler.c:40: editresP.h:426:61: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 426 | extern void _PopupFileDialog ( Widget w, String str, String default_value, XtCallbackProc func, XtPointer data ); | ~~~~~~~^~~~~~~~~~~~~ handler.c: In function 'AnyChosen': handler.c:323:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 323 | XtSetArg(args[0], XtNstate, TRUE); | ^~~~~~~~ handler.c:331:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 331 | XtSetArg(args[0], XtNstate, TRUE); | ^~~~~~~~ handler.c:349:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 349 | XtSetArg(args[0], XtNstate, TRUE); | ^~~~~~~~ handler.c:357:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 357 | XtSetArg(args[0], XtNstate, TRUE); | ^~~~~~~~ handler.c: In function 'GetResourceName': handler.c:385:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 385 | result = "unknown"; | ^ handler.c: At top level: handler.c:502:16: warning: redundant redeclaration of 'do_get_values' [-Wredundant-decls] 502 | extern Boolean do_get_values; | ^~~~~~~~~~~~~ In file included from handler.c:40: editresP.h:334:16: note: previous declaration of 'do_get_values' was here 334 | extern Boolean do_get_values; | ^~~~~~~~~~~~~ handler.c: In function 'SaveResource': handler.c:605:32: warning: passing argument 2 of '_PopupFileDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 605 | _PopupFileDialog(XtParent(w), "Enter file to dump resources into:", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from handler.c:40: editresP.h:426:49: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 426 | extern void _PopupFileDialog ( Widget w, String str, String default_value, XtCallbackProc func, XtPointer data ); | ~~~~~~~^~~ handler.c: In function 'SetFile': handler.c:651:35: warning: passing argument 2 of '_PopupFileDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 651 | _PopupFileDialog(XtParent(w), "Enter file to dump resources into:", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from handler.c:40: editresP.h:426:49: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 426 | extern void _PopupFileDialog ( Widget w, String str, String default_value, XtCallbackProc func, XtPointer data ); | ~~~~~~~^~~ handler.c: In function 'ApplyResource': handler.c:678:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 678 | info.class = "IGNORE_ME"; /* Not currently used. */ | ^ handler.c: In function 'ObtainResource': handler.c:744:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 744 | info.class = "IGNORE_ME"; /* Not currently used. */ | ^ handler.c: In function 'ActivateResourceWidgets': handler.c:854:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 854 | info.class = "IGNORE_ME"; /* Not currently used. */ | ^ handler.c: In function 'SetOnlyMatchingWidgets': handler.c:900:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 900 | XtSetArg(args[0], XtNstate, state); | ^~~~~~~~ svpopup.c: In function 'CreateSetValuesPopup': svpopup.c:213:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 213 | XtSetArg(args[num_args], XtNfromVert, label); num_args++; | ^~~~~~~~ svpopup.c:218:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 218 | XtSetArg(args[num_args], XtNfromVert, label); num_args++; | ^~~~~~~~ svpopup.c:219:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 219 | XtSetArg(args[num_args], XtNfromHoriz, res_label); num_args++; | ^~~~~~~~ svpopup.c:225:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 225 | XtSetArg(args[num_args], XtNfromVert, scr_data->res_text); num_args++; | ^~~~~~~~ svpopup.c:230:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 230 | XtSetArg(args[num_args], XtNfromHoriz, res_label); num_args++; | ^~~~~~~~ svpopup.c:231:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 231 | XtSetArg(args[num_args], XtNfromVert, scr_data->res_text); num_args++; | ^~~~~~~~ svpopup.c:237:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 237 | XtSetArg(args[num_args], XtNfromVert, scr_data->val_text); num_args++; | ^~~~~~~~ svpopup.c:242:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 242 | XtSetArg(args[num_args], XtNfromVert, scr_data->val_text); num_args++; | ^~~~~~~~ svpopup.c:243:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 243 | XtSetArg(args[num_args], XtNfromHoriz, do_it); num_args++; | ^~~~~~~~ CC utils.o CC widgets.o CC wtree.o utils.c: In function '_DumpTreeToFile': utils.c:274:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 274 | snprintf(buf, sizeof(buf), res_labels[24], (char *)filename); | ^~~~~~~~ utils.c: In function '_PopupFileDialog': utils.c:339:6: warning: passing argument 2 of 'SetMessage' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 339 | "Error while trying to save Context\nAborting file dialog popup."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:59:28: note: expected 'char *' but argument is of type 'const char *' 59 | SetMessage(Widget w, char *str) | ~~~~~~^~~ utils.c: In function '_PopdownFileDialog': utils.c:448:6: warning: passing argument 2 of 'SetMessage' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 448 | "Error while trying to find Context\nAborting..."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:59:28: note: expected 'char *' but argument is of type 'const char *' 59 | SetMessage(Widget w, char *str) | ~~~~~~^~~ widgets.c:94:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | res_entry(0, "label0", "Label0"), | ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:94:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | res_entry(0, "label0", "Label0"), | ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:95:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | res_entry(1, "label1", "Label1"), | ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:95:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | res_entry(1, "label1", "Label1"), | ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:96:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | res_entry(2, "label2", "Label2"), | ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:96:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | res_entry(2, "label2", "Label2"), | ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:97:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | res_entry(3, "label3", "Label3"), | ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:97:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | res_entry(3, "label3", "Label3"), | ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:98:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | res_entry(4, "label4", "Label4"), | ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:98:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | res_entry(4, "label4", "Label4"), | ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:99:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | res_entry(5, "label5", "Label5"), | ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:99:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | res_entry(5, "label5", "Label5"), | ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:100:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | res_entry(6, "label6", "Label6"), | ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:100:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | res_entry(6, "label6", "Label6"), | ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:101:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | res_entry(7, "label7", "Label7"), | ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:101:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | res_entry(7, "label7", "Label7"), | ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:102:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | res_entry(8, "label8", "Label8"), | ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:102:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | res_entry(8, "label8", "Label8"), | ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:103:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | res_entry(9, "label9", "Label9"), | ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:103:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | res_entry(9, "label9", "Label9"), | ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:104:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | res_entry(11, "label11", "Label11"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:104:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | res_entry(11, "label11", "Label11"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:105:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | res_entry(12, "label12", "Label12"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:105:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | res_entry(12, "label12", "Label12"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:106:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | res_entry(13, "label13", "Label13"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:106:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | res_entry(13, "label13", "Label13"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:107:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | res_entry(14, "label14", "Label14"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:107:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | res_entry(14, "label14", "Label14"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:108:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | res_entry(15, "label15", "Label15"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:108:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | res_entry(15, "label15", "Label15"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:109:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | res_entry(16, "label16", "Label16"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:109:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | res_entry(16, "label16", "Label16"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | res_entry(17, "label17", "Label17"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:110:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | res_entry(17, "label17", "Label17"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:111:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | res_entry(18, "label18", "Label18"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:111:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | res_entry(18, "label18", "Label18"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:112:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | res_entry(19, "label19", "Label19"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:112:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | res_entry(19, "label19", "Label19"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:113:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | res_entry(20, "label20", "Label20"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:113:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | res_entry(20, "label20", "Label20"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:114:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | res_entry(21, "label21", "Label21"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:114:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | res_entry(21, "label21", "Label21"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:115:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 115 | res_entry(22, "label22", "Label22"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ utils.c: In function 'HandleGetResources': widgets.c:115:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 115 | res_entry(22, "label22", "Label22"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ utils.c:535:25: warning: passing argument 2 of 'AddString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 535 | AddString(&errors, "\n"); | ^~~~ widgets.c:116:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | res_entry(23, "label23", "Label23"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:116:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | res_entry(23, "label23", "Label23"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:117:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 117 | res_entry(24, "label24", "Label24"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:117:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 117 | res_entry(24, "label24", "Label24"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:118:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | res_entry(25, "label25", "Label25"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:118:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | res_entry(25, "label25", "Label25"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:119:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | res_entry(26, "label26", "Label26"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:119:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | res_entry(26, "label26", "Label26"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ utils.c:135:30: note: expected 'char *' but argument is of type 'const char *' 135 | AddString(char ** str, char *add) | ~~~~~~^~~ widgets.c:120:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | res_entry(27, "label27", "Label27"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:120:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | res_entry(27, "label27", "Label27"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:121:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | res_entry(28, "label28", "Label28"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:121:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | res_entry(28, "label28", "Label28"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:122:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | res_entry(29, "label29", "Label29"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:122:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | res_entry(29, "label29", "Label29"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:123:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | res_entry(30, "label30", "Label30"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:123:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | res_entry(30, "label30", "Label30"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:124:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | res_entry(31, "label31", "Label31"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:124:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | res_entry(31, "label31", "Label31"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:125:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 125 | res_entry(32, "label32", "Label32"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:125:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 125 | res_entry(32, "label32", "Label32"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:126:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | res_entry(33, "label33", "Label33"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:126:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | res_entry(33, "label33", "Label33"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:127:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | res_entry(34, "label34", "Label34"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:127:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | res_entry(34, "label34", "Label34"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:128:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | res_entry(35, "label35", "Label35"), | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:128:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | res_entry(35, "label35", "Label35"), | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c:129:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | res_entry(36, "label36", "Label36") | ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~ widgets.c:129:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | res_entry(36, "label36", "Label36") | ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' 90 | {name, class, XtRString, sizeof(String), \ | ^~~~~ widgets.c: In function 'CreateTopArea': widgets.c:205:28: warning: passing argument 2 of 'CreateCommandMenu' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 205 | CreateCommandMenu(box, "xt"); | ^~~~ widgets.c:59:55: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 59 | static void CreateCommandMenu ( Widget parent, String toolkit ); | ~~~~~~~^~~~~~~ widgets.c:206:32: warning: passing argument 2 of 'CreateTreeCommandMenu' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 206 | CreateTreeCommandMenu(box, "xt"); | ^~~~ widgets.c:60:59: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 60 | static void CreateTreeCommandMenu ( Widget parent, String toolkit ); | ~~~~~~~^~~~~~~ utils.c: In function 'ProtocolFailure': utils.c:862:62: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 862 | case PROTOCOL_VERSION_ONE_POINT_ZERO: old_version_string = "1.0"; break; | ^ widgets.c: In function 'CreateCommandMenu': widgets.c:268:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 268 | XtSetArg(args[0], XtNmenuName, toolkit); | ^~~~~~~~ utils.c:863:33: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 863 | default: old_version_string = "1.0"; | ^ utils.c:867:14: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 867 | CURRENT_PROTOCOL_VERSION_STRING, old_version_string); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ widgets.c: In function 'CreateTreeCommandMenu': widgets.c:341:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 341 | { "showClientWidget", FIND, (XtPointer) NULL }, | ^~~~~~~~~~~~~~~~~~ widgets.c:342:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 342 | { "selectAll", SELECT, (XtPointer) SelectAll }, | ^~~~~~~~~~~ widgets.c:343:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 343 | { "unselectAll", SELECT, (XtPointer) SelectNone }, | ^~~~~~~~~~~~~ widgets.c:344:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 344 | { "invertAll", SELECT, (XtPointer) SelectInvert }, | ^~~~~~~~~~~ widgets.c:345:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 345 | { "line", LINE, (XtPointer) NULL }, | ^~~~~~ widgets.c:346:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 346 | { "selectChildren", SELECT, (XtPointer) SelectChildren }, | ^~~~~~~~~~~~~~~~ widgets.c:347:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 347 | { "selectParent", SELECT, (XtPointer) SelectParent }, | ^~~~~~~~~~~~~~ widgets.c:348:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 348 | { "selectDescendants", SELECT, (XtPointer) SelectDescendants }, | ^~~~~~~~~~~~~~~~~~~ widgets.c:349:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 349 | { "selectAncestors", SELECT, (XtPointer) SelectAncestors }, | ^~~~~~~~~~~~~~~~~ widgets.c:350:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 350 | { "line", LINE, (XtPointer) NULL }, | ^~~~~~ widgets.c:351:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 351 | { "showWidgetNames", LABEL, (XtPointer) NameLabel }, | ^~~~~~~~~~~~~~~~~ widgets.c:352:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 352 | { "showClassNames", LABEL, (XtPointer) ClassLabel }, | ^~~~~~~~~~~~~~~~ widgets.c:353:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 353 | { "showWidgetIDs", LABEL, (XtPointer) IDLabel}, | ^~~~~~~~~~~~~~~ widgets.c:354:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 354 | { "showWidgetWindows", LABEL, (XtPointer) WindowLabel }, | ^~~~~~~~~~~~~~~~~~~ widgets.c:355:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 355 | { "line", LINE, (XtPointer) NULL }, | ^~~~~~ widgets.c:356:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 356 | { "flashActiveWidgets", FLASH, (XtPointer) NULL } | ^~~~~~~~~~~~~~~~~~~~ widgets.c:365:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | XtSetArg(args[0], XtNmenuName, toolkit); | ^~~~~~~~ widgets.c: In function 'CreateResourceBoxWidgets': widgets.c:469:18: warning: declaration of 'box' shadows a global declaration [-Wshadow] 469 | Widget pane, box, button, viewport, pane_child; | ^~~ widgets.c:84:15: note: shadowed declaration is here 84 | static Widget box = NULL; | ^~~ widgets.c: In function 'CreateResourceNameForm': widgets.c:566:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 566 | XtSetArg(args[num_args], XtNfromHoriz, name); num_args++; | ^~~~~~~~ widgets.c:567:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 567 | XtSetArg(args[num_args], XtNradioData, "."); num_args++; | ^~~~~~~~ widgets.c:574:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 574 | XtSetArg(args[num_args], XtNfromHoriz, class); num_args++; | ^~~~~~~~ widgets.c:575:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 575 | XtSetArg(args[num_args], XtNfromVert, dot); num_args++; | ^~~~~~~~ widgets.c:576:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 576 | XtSetArg(args[num_args], XtNradioGroup, dot); num_args++; | ^~~~~~~~ widgets.c:577:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 577 | XtSetArg(args[num_args], XtNradioData, "*"); num_args++; | ^~~~~~~~ widgets.c:621:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 621 | XtSetArg(args[num_args], XtNfromHoriz, dot); num_args++; | ^~~~~~~~ widgets.c:623:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 623 | XtSetArg(args[num_args], XtNradioData, names[i]); num_args++; | ^~~~~~~~ widgets.c:630:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 630 | XtSetArg(args[num_args], XtNfromHoriz, star); num_args++; | ^~~~~~~~ widgets.c:631:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 631 | XtSetArg(args[num_args], XtNfromVert, name); num_args++; | ^~~~~~~~ widgets.c:633:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 633 | XtSetArg(args[num_args], XtNradioGroup, name); num_args++; | ^~~~~~~~ widgets.c:634:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 634 | XtSetArg(args[num_args], XtNradioData, classes[i]); num_args++; | ^~~~~~~~ widgets.c:641:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 641 | XtSetArg(args[num_args], XtNfromHoriz, star); num_args++; | ^~~~~~~~ widgets.c:642:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 642 | XtSetArg(args[num_args], XtNfromVert, class); num_args++; | ^~~~~~~~ widgets.c:643:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 643 | XtSetArg(args[num_args], XtNradioData, "?"); num_args++; | ^~~~~~~~ widgets.c:644:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 644 | XtSetArg(args[num_args], XtNradioGroup, name); num_args++; | ^~~~~~~~ widgets.c:651:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 651 | XtSetArg(args[num_args], XtNfromHoriz, any); num_args++; | ^~~~~~~~ widgets.c:652:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 652 | XtSetArg(args[num_args], XtNfromVert, single); num_args++; | ^~~~~~~~ widgets.c:653:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 653 | XtSetArg(args[num_args], XtNradioGroup, name); num_args++; | ^~~~~~~~ widgets.c:654:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 654 | XtSetArg(args[num_args], XtNradioData, ANY_RADIO_DATA); num_args++; | ^~~~~~~~ widgets.c: In function 'SetToggleGroupLeaders': widgets.c:685:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 685 | {XtNstate, (XtArgVal) TRUE} | ^~~~~~~~ widgets.c: In function 'MakeBoxLookNice': widgets.c:726:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 726 | XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[0])); num_args++; | ^~~~~~~~ widgets.c:731:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 731 | XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[1])); num_args++; | ^~~~~~~~ widgets.c:736:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 736 | XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[2])); num_args++; | ^~~~~~~~ widgets.c:746:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 746 | XtSetArg(args[num_args], XtNhorizDistance, h_dist[0]); num_args++; | ^~~~~~~~ widgets.c:765:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 765 | XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[0])); num_args++; | ^~~~~~~~ widgets.c:770:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 770 | XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[1])); num_args++; | ^~~~~~~~ widgets.c:778:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 778 | XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[1])); num_args++; | ^~~~~~~~ widgets.c:790:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 790 | XtSetArg(args[num_args], XtNhorizDistance, | ^~~~~~~~ widgets.c:800:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 800 | XtSetArg(args[num_args], XtNhorizDistance, h_dist[0]); num_args++; | ^~~~~~~~ widgets.c: At top level: widgets.c:817:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 817 | static char* noneList[] = {"None"}; | ^~~~~~ widgets.c: In function 'CreateLists': widgets.c:835:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 835 | XtSetArg(args[num_args], XtNlist, noneList); num_args++; | ^~~~~~~~ widgets.c:836:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 836 | XtSetArg(args[num_args], XtNnumberStrings, 1); num_args++; | ^~~~~~~~ widgets.c:839:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 839 | else { XtSetArg(args[num_args], XtNlist, names); num_args++; } | ^~~~~~~~ widgets.c:854:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 854 | XtSetArg(args[num_args], XtNlist, cons_names); num_args++; | ^~~~~~~~ widgets.c: In function 'CreateValueWidget': widgets.c:888:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 888 | XtSetArg(args[num_args], XtNleft, XawChainLeft); num_args++; | ^~~~~~~~ widgets.c:889:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 889 | XtSetArg(args[num_args], XtNright, XawChainLeft); num_args++; | ^~~~~~~~ widgets.c:891:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 891 | XtSetArg(args[num_args], XtNbottom, XawChainBottom); num_args++; | ^~~~~~~~ widgets.c:896:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 896 | XtSetArg(args[num_args], XtNfromHoriz, label); num_args++; | ^~~~~~~~ widgets.c:897:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 897 | XtSetArg(args[num_args], XtNleft, XawChainLeft); num_args++; | ^~~~~~~~ widgets.c:898:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 898 | XtSetArg(args[num_args], XtNright, XawChainRight); num_args++; | ^~~~~~~~ widgets.c:900:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 900 | XtSetArg(args[num_args], XtNbottom, XawChainBottom); num_args++; | ^~~~~~~~ wtree.c: In function 'BuildVisualTree': wtree.c:87:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 87 | snprintf(msg, sizeof(msg), res_labels[11], top->name, top->class); | ^~~~~~~~ wtree.c: In function 'AddTreeNode': wtree.c:111:22: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 111 | top->name, top->parent->name, "not been created yet"); | ^~~ wtree.c:114:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | XtSetArg(args[num_args], XtNtreeParent, top->parent->widget); | ^~~~~~~~ wtree.c:123:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 123 | snprintf(msg, sizeof(msg), res_labels[29], top->name); | ^~~~~~~~ wtree.c: In function '_TreeSelectNode': wtree.c:368:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 368 | XtSetArg(args[0], XtNstate, &state); | ^~~~~~~~ wtree.c:379:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 379 | XtSetArg(args[0], XtNstate, state); | ^~~~~~~~ wtree.c: In function '_TreeActivateNode': wtree.c:464:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 464 | XtSetArg(args[0], XtNstate, TRUE); | ^~~~~~~~ CCLD editres make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7' + popd ~/build/BUILD/xorg-x11-resutils-7.7 + for app in * + pushd listres-1.0.4 ~/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4 ~/build/BUILD/xorg-x11-resutils-7.7 + autoreconf -vif autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: Leaving directory `.' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld' + 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.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-xprint configure: WARNING: unrecognized options: --disable-xprint 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 whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking 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 riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-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 LISTRES... 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 configure: WARNING: unrecognized options: --disable-xprint + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4' Making all in man make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4/man' GEN listres.1 make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4' CC listres.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from listres.c:32: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ listres.c:48:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 48 | { "-top", "*topObject", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~ listres.c:48:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 48 | { "-top", "*topObject", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~~~ listres.c:49:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | { "-format", "*resourceFormat", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~ listres.c:49:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | { "-format", "*resourceFormat", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~~~~~~~~ listres.c:50:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | { "-tree", "*showTree", XrmoptionNoArg, (caddr_t) "on" }, | ^~~~~~~ listres.c:50:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | { "-tree", "*showTree", XrmoptionNoArg, (caddr_t) "on" }, | ^~~~~~~~~~~ listres.c:51:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | { "-nosuper", "*showSuper", XrmoptionNoArg, (caddr_t) "off" }, | ^~~~~~~~~~ listres.c:51:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | { "-nosuper", "*showSuper", XrmoptionNoArg, (caddr_t) "off" }, | ^~~~~~~~~~~~ listres.c:52:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | { "-variable", "*showVariable", XrmoptionNoArg, (caddr_t) "on" }, | ^~~~~~~~~~~ listres.c:52:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | { "-variable", "*showVariable", XrmoptionNoArg, (caddr_t) "on" }, | ^~~~~~~~~~~~~~~ listres.c:69:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | { "showTree", "ShowTree", XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~ listres.c:69:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | { "showTree", "ShowTree", XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~ listres.c:71:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | { "showSuper", "ShowSuper", XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ listres.c:71:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | { "showSuper", "ShowSuper", XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ listres.c:73:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | { "showVariable", "ShowVariable", XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~ listres.c:73:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | { "showVariable", "ShowVariable", XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~ listres.c:75:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | { "topObject", "TopObject", XtRString, sizeof(char *), | ^~~~~~~~~~~ listres.c:75:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | { "topObject", "TopObject", XtRString, sizeof(char *), | ^~~~~~~~~~~ listres.c:77:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | { "resourceFormat", "ResourceFormat", XtRString, sizeof(char *), | ^~~~~~~~~~~~~~~~ listres.c:77:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | { "resourceFormat", "ResourceFormat", XtRString, sizeof(char *), | ^~~~~~~~~~~~~~~~ listres.c: In function 'print_resources': listres.c:177:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 177 | res->resource_name, res->resource_class, res->resource_type); | ^~~ listres.c:181:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 181 | printf (format, "----", "----", "----", "----"); | ^~~~~~ listres.c:189:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 189 | res->resource_name, res->resource_class, res->resource_type); | ^~~ listres.c: In function 'list_resources': listres.c:210:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 210 | "Instance", "Class", "Type"); | ^~~~~~~~~~ listres.c:213:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 213 | "--------", "-----", "----"); | ^~~~~~~~~~ CCLD listres make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4' + popd ~/build/BUILD/xorg-x11-resutils-7.7 + for app in * + pushd viewres-1.0.5 ~/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5 ~/build/BUILD/xorg-x11-resutils-7.7 + autoreconf -vif autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: Leaving directory `.' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld' + 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.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-xprint configure: WARNING: unrecognized options: --disable-xprint 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 whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking 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 riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-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 VIEWRES... 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 configure: WARNING: unrecognized options: --disable-xprint + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5' Making all in man make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5/man' GEN viewres.1 make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5' CC viewres.o viewres.c:107:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | { "-top", "*topObject", XrmoptionSepArg, (XPointer) NULL }, | ^~~~~~ viewres.c:107:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | { "-top", "*topObject", XrmoptionSepArg, (XPointer) NULL }, | ^~~~~~~~~~~~ viewres.c:108:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | { "-variable", "*showVariable", XrmoptionNoArg, (XPointer) "on" }, | ^~~~~~~~~~~ viewres.c:108:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | { "-variable", "*showVariable", XrmoptionNoArg, (XPointer) "on" }, | ^~~~~~~~~~~~~~~ viewres.c:109:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | { "-vertical", "*Tree.Gravity", XrmoptionNoArg, (XPointer) "north" } | ^~~~~~~~~~~ viewres.c:109:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | { "-vertical", "*Tree.Gravity", XrmoptionNoArg, (XPointer) "north" } | ^~~~~~~~~~~~~~~ viewres.c:123:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | { "topObject", "TopObject", XtRString, sizeof(char *), | ^~~~~~~~~~~ viewres.c:123:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | { "topObject", "TopObject", XtRString, sizeof(char *), | ^~~~~~~~~~~ viewres.c:125:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 125 | { "showVariable", "ShowVariable", XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~ viewres.c:125:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 125 | { "showVariable", "ShowVariable", XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~ viewres.c:165:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | { "Quit", ActionQuit }, | ^~~~~~ viewres.c:166:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 166 | { "SetLabelType", ActionSetLableType }, | ^~~~~~~~~~~~~~ viewres.c:167:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 167 | { "SetOrientation", ActionSetOrientation }, | ^~~~~~~~~~~~~~~~ viewres.c:168:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 168 | { "Select", ActionSelect }, | ^~~~~~~~ viewres.c:169:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 169 | { "Resources", ActionResources }, | ^~~~~~~~~~~ viewres.c:226:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 226 | static Arg false_args[1] = {{ XtNstate, (XtArgVal) FALSE }}; | ^~~~~~~~ viewres.c:227:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 227 | static Arg true_args[1] = {{ XtNstate, (XtArgVal) TRUE }}; | ^~~~~~~~ viewres.c: In function 'create_resource_lw': viewres.c:473:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 473 | XtSetArg (args[n], XtNnumberStrings, 3 * d->nnew); n++; | ^~~~~~~~ viewres.c:474:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 474 | XtSetArg (args[n], XtNlist, d->resource_labels); n++; | ^~~~~~~~ viewres.c:475:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 475 | XtSetArg (args[n], XtNdefaultColumns, 3); n++; | ^~~~~~~~ viewres.c:476:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 476 | XtSetArg (args[n], XtNforceColumns, TRUE); n++; | ^~~~~~~~ viewres.c: In function 'select_callback': viewres.c:620:18: warning: declaration of 'node' shadows a previous local [-Wshadow] 620 | XmuWidgetNode *node = selected_list.elements[i]; | ^~~~ viewres.c:593:20: note: shadowed declaration is here 593 | XmuWidgetNode *node; | ^~~~ viewres.c:658:18: warning: declaration of 'node' shadows a previous local [-Wshadow] 658 | XmuWidgetNode *node = selected_list.elements[i]; | ^~~~ viewres.c:593:20: note: shadowed declaration is here 593 | XmuWidgetNode *node; | ^~~~ viewres.c: In function 'porthole_callback': viewres.c:753:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 753 | XtSetArg (args[0], XtNsliderX, rep->slider_x); | ^~~~~~~~ viewres.c:754:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 754 | XtSetArg (args[1], XtNsliderY, rep->slider_y); | ^~~~~~~~ viewres.c:756:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 756 | XtSetArg (args[2], XtNsliderWidth, rep->slider_width); | ^~~~~~~~ viewres.c:757:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 757 | XtSetArg (args[3], XtNsliderHeight, rep->slider_height); | ^~~~~~~~ viewres.c:758:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 758 | XtSetArg (args[4], XtNcanvasWidth, rep->canvas_width); | ^~~~~~~~ viewres.c:759:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 759 | XtSetArg (args[5], XtNcanvasHeight, rep->canvas_height); | ^~~~~~~~ viewres.c: In function 'build_tree': viewres.c:780:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 780 | XtSetArg (args[n], XtNtreeParent, super); n++; | ^~~~~~~~ viewres.c: In function 'set_orientation_menu': viewres.c:856:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 856 | XtSetArg (args[0], XtNgravity, grav); | ^~~~~~~~ viewres.c: In function 'main': viewres.c:935:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 935 | XtSetArg (args[0], XtNmenuName, "viewMenu"); | ^~~~~~~~ viewres.c:968:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 968 | XtSetArg (args[0], XtNmenuName, "selectMenu"); | ^~~~~~~~ viewres.c:1006:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1006 | XtSetArg (args[0], XtNreportCallback, callback_rec); | ^~~~~~~~ viewres.c:1023:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1023 | XtSetArg (args[0], XtNgravity, &grav); | ^~~~~~~~ viewres.c:1049:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1049 | XtSetArg (args[0], XtNcanvasWidth, canvasWidth); | ^~~~~~~~ viewres.c:1050:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1050 | XtSetArg (args[1], XtNcanvasHeight, canvasHeight); | ^~~~~~~~ viewres.c:1051:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1051 | XtSetArg (args[2], XtNsliderWidth, sliderWidth); | ^~~~~~~~ viewres.c:1052:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1052 | XtSetArg (args[3], XtNsliderHeight, sliderHeight); | ^~~~~~~~ viewres.c: In function 'ActionSetOrientation': viewres.c:1123:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1123 | XtSetArg (arg, XtNgravity, &oldgrav); | ^~~~~~~~ CCLD viewres make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5' ~/build/BUILD/xorg-x11-resutils-7.7 + popd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XRTi1z + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64 + cd xorg-x11-resutils-7.7 + for app in * + pushd appres-1.0.5 ~/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5 ~/build/BUILD/xorg-x11-resutils-7.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64 'INSTALL=/usr/bin/install -p' Making install in man make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 appres.1 '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5/man' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5/man' make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin' /usr/bin/install -p appres '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/appres-1.0.5' + popd ~/build/BUILD/xorg-x11-resutils-7.7 + for app in * + pushd editres-1.0.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64 'INSTALL=/usr/bin/install -p' ~/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7 ~/build/BUILD/xorg-x11-resutils-7.7 Making install in man make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 editres.1 '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7/man' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7/man' make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin' /usr/bin/install -p editres '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/share/X11/app-defaults' /usr/bin/install -p -m 644 app-defaults/Editres-color app-defaults/Editres '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/share/X11/app-defaults' make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/editres-1.0.7' + popd ~/build/BUILD/xorg-x11-resutils-7.7 ~/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4 ~/build/BUILD/xorg-x11-resutils-7.7 + for app in * + pushd listres-1.0.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64 'INSTALL=/usr/bin/install -p' Making install in man make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 listres.1 '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4/man' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4/man' make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin' /usr/bin/install -p listres '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/listres-1.0.4' ~/build/BUILD/xorg-x11-resutils-7.7 ~/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5 ~/build/BUILD/xorg-x11-resutils-7.7 + popd + for app in * + pushd viewres-1.0.5 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64 'INSTALL=/usr/bin/install -p' Making install in man make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5/man' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 viewres.1 '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5/man' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5/man' make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5' make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin' /usr/bin/install -p viewres '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/share/X11/app-defaults' /usr/bin/install -p -m 644 app-defaults/Viewres app-defaults/Viewres-color '/builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/share/X11/app-defaults' make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5' make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-resutils-7.7/viewres-1.0.5' + popd ~/build/BUILD/xorg-x11-resutils-7.7 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 7.7-6.fc33 --unique-debug-suffix -7.7-6.fc33.riscv64 --unique-debug-src-base xorg-x11-resutils-7.7-6.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xorg-x11-resutils-7.7 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin/appres explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin/viewres explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin/editres explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin/listres extracting debug info from /builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin/appres extracting debug info from /builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin/editres extracting debug info from /builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin/viewres extracting debug info from /builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64/usr/bin/listres original debug info size: 1000kB, size after compression: 928kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 442 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: xorg-x11-resutils-7.7-6.fc33.riscv64 Provides: appres = 1.0.5 editres = 1.0.7 listres = 1.0.4 viewres = 1.0.5 xorg-x11-resutils = 7.7-6.fc33 xorg-x11-resutils(riscv-64) = 7.7-6.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libXaw.so.7()(64bit) libXmu.so.6()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: xorg-x11-resutils-debugsource-7.7-6.fc33.riscv64 Provides: xorg-x11-resutils-debugsource = 7.7-6.fc33 xorg-x11-resutils-debugsource(riscv-64) = 7.7-6.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xorg-x11-resutils-debuginfo-7.7-6.fc33.riscv64 Provides: debuginfo(build-id) = 04cc16718d36193d4a5c9033453408098170038e debuginfo(build-id) = a392f4b4cac1a398aca251b2495dfcb886b17783 debuginfo(build-id) = bed79f9801d92ed11fb6fc905e0f187510859ad7 debuginfo(build-id) = d74fd76197e074022d4dad691f413396493c0192 xorg-x11-resutils-debuginfo = 7.7-6.fc33 xorg-x11-resutils-debuginfo(riscv-64) = 7.7-6.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xorg-x11-resutils-debugsource(riscv-64) = 7.7-6.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64 Wrote: /builddir/build/RPMS/xorg-x11-resutils-7.7-6.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/xorg-x11-resutils-debugsource-7.7-6.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/xorg-x11-resutils-debuginfo-7.7-6.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xSJBSA + umask 022 + cd /builddir/build/BUILD + cd xorg-x11-resutils-7.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xorg-x11-resutils-7.7-6.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0