Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/chemtool.spec'], chrootPath='/var/lib/mock/f38-build-711019-93572/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/chemtool.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674000000 Wrote: /builddir/build/SRPMS/chemtool-1.6.14-22.fc38.src.rpm RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/chemtool.spec'], chrootPath='/var/lib/mock/f38-build-711019-93572/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/chemtool.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674000000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yhXZ3C + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf chemtool-1.6.14 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/chemtool-1.6.14.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd chemtool-1.6.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (chemtool-compile.patch):' Patch #0 (chemtool-compile.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .compile --fuzz=0 patching file src-cht/cht-2.5.c + echo 'Patch #1 (chemtool-desktop.patch):' Patch #1 (chemtool-desktop.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .d --fuzz=0 patching file chemtool.desktop Patch #2 (chemtool-gmd.patch): + echo 'Patch #2 (chemtool-gmd.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gmd --fuzz=0 patching file configure Hunk #1 succeeded at 8452 (offset 110 lines). Patch #3 (chemtool-gcc10.patch): + echo 'Patch #3 (chemtool-gcc10.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc10 --fuzz=0 patching file ct1.h patching file inout.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QWxbbN + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd chemtool-1.6.14 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-05-12 06:04:20.980644672 -0400 +++ ./configure 2023-05-12 06:04:21.140645100 -0400 @@ -1714,7 +1714,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/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 ++ grep -q runstatedir=DIR ./configure + ./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 --with-kdedir=/usr --with-gnomedir=/usr 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 NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for style of include used by make... GNU 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 dependency style of gcc... none checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for cp... /usr/bin/cp checking for rm... /usr/bin/rm checking for main in -libs... no checking for acos in -lm... yes checking for pkg-config... /usr/bin/pkg-config checking for GTK version and compile options ... -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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 XOpenDisplay in -lX11... 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 for strings.h... (cached) yes checking for unistd.h... (cached) yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working POSIX fnmatch... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for getcwd... yes checking for getwd... yes checking for mkdir... yes checking for strtod... yes checking for strtol... yes checking for KDE ... apparently in /usr checking for GNOME ... apparently in /usr checking whether to enable libundo... yes checking whether to use pull-down menus... yes checking whether to enable emf output... no checking whether standard GTK dialogs should be used instead of our own... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src-cht/Makefile config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting config.status: creating po/Makefile config.status: creating config.h config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/chemtool-1.6.14' Making all in m4 make[2]: Entering directory '/builddir/build/BUILD/chemtool-1.6.14/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/chemtool-1.6.14/m4' Making all in po make[2]: Entering directory '/builddir/build/BUILD/chemtool-1.6.14/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/chemtool-1.6.14/po' Making all in src-cht make[2]: Entering directory '/builddir/build/BUILD/chemtool-1.6.14/src-cht' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer cht.c -o cht make[2]: Leaving directory '/builddir/build/BUILD/chemtool-1.6.14/src-cht' make[2]: Entering directory '/builddir/build/BUILD/chemtool-1.6.14' gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I. -DGTK2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c main.c gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I. -DGTK2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c draw.c gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I. -DGTK2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c graph.c gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I. -DGTK2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c chemproc.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ct1.h:9, from graph.c:7: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ct1.h:9, from draw.c:7: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:714:1: note: declared here 714 | { | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:714:1: note: declared here 714 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ct1.h:9, from chemproc.c:7: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:714:1: note: declared here 714 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ graph.c: In function 'CopyPlane': graph.c:92:16: warning: variable 'update_rect' set but not used [-Wunused-but-set-variable] 92 | GdkRectangle update_rect; | ^~~~~~~~~~~ draw.c: In function 'Add_ring': draw.c:134:10: warning: variable 'a' set but not used [-Wunused-but-set-variable] 134 | double a; /* temp angle used for aromates */ | ^ draw.c: In function 'Add_double': draw.c:385:11: warning: variable 'dy' set but not used [-Wunused-but-set-variable] 385 | int dx, dy; | ^~ draw.c:385:7: warning: variable 'dx' set but not used [-Wunused-but-set-variable] 385 | int dx, dy; | ^~ graph.c: In function 'Drawstring': graph.c:1295:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1295 | else if (text[d] == '-') | ^~ draw.c: In function 'Add_number': draw.c:1094:17: warning: variable 'coord' set but not used [-Wunused-but-set-variable] 1094 | struct xy_co *coord; | ^~~~~ graph.c:1297:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1297 | c = g_utf8_next_char(c); | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ct.h:9, from main.c:33: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from main.c:18: /usr/include/glib-2.0/gobject/gtype.h:714:1: note: declared here 714 | { | ^ chemproc.c: In function 'tidy_mol': chemproc.c:1754:7: warning: variable 'r' set but not used [-Wunused-but-set-variable] 1754 | int r = 0; | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ main.c: In function 'button_release_event': main.c:509:16: warning: variable 'event_y' set but not used [-Wunused-but-set-variable] 509 | int event_x, event_y; | ^~~~~~~ main.c:509:7: warning: variable 'event_x' set but not used [-Wunused-but-set-variable] 509 | int event_x, event_y; | ^~~~~~~ main.c: In function 'key_press_event': main.c:997:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 997 | else | ^~~~ main.c:999:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 999 | gtk_signal_emit_stop_by_name (GTK_OBJECT(mainw), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1007:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1007 | else | ^~~~ main.c:1009:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1009 | gtk_signal_emit_stop_by_name (GTK_OBJECT(mainw), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1017:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1017 | else | ^~~~ main.c:1019:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1019 | gtk_signal_emit_stop_by_name (GTK_OBJECT(mainw), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'SaveAs': main.c:2694:16: warning: the comparison will always evaluate as 'true' for the address of 'filename' will never be NULL [-Waddress] 2694 | if (filename != NULL) | ^~ main.c:122:6: note: 'filename' declared here 122 | char filename[512]; | ^~~~~~~~ main.c: In function 'file_ok_sel': main.c:3024:15: warning: the comparison will always evaluate as 'false' for the address of 'datadir' will never be NULL [-Waddress] 3024 | if (datadir == NULL || (int)strlen (datadir) == 0) | ^~ ct.h:118:6: note: 'datadir' declared here 118 | char datadir[PATH_MAX]; | ^~~~~~~ main.c:3089:19: warning: the comparison will always evaluate as 'true' for the address of 'datamask' will never be NULL [-Waddress] 3089 | if (datamask!=NULL && (int)strlen (datamask)) { | ^~ ct.h:119:6: note: 'datamask' declared here 119 | char datamask[PATH_MAX]; | ^~~~~~~~ main.c: In function 'main': main.c:6140:15: warning: the comparison will always evaluate as 'true' for the address of 'datadir' will never be NULL [-Waddress] 6140 | if (datadir != NULL && (int)strlen (datadir) > 1) | ^~ ct.h:118:6: note: 'datadir' declared here 118 | char datadir[PATH_MAX]; | ^~~~~~~ draw.c:1098:20: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] 1098 | snprintf(name,9,"%d",++atnum); | ^~ draw.c:1098:19: note: directive argument in the range [-2147483647, 2147483647] 1098 | snprintf(name,9,"%d",++atnum); | ^~~~ In file included from /usr/include/stdio.h:906, from ct1.h:5: In function 'snprintf', inlined from 'Add_number' at draw.c:1098:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 12 bytes into a destination of size 9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I. -DGTK2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c undo.c gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I. -DGTK2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c inout.c main.c: In function 'reallysave': main.c:3266:40: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 238 [-Wformat-truncation=] 3266 | snprintf (errtext,255, "Chemtool %s (%s)", VERSION, filename); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:51, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31: In function 'snprintf', inlined from 'reallysave' at main.c:3266:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 19 and 530 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ct1.h:9, from inout.c:6: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:714:1: note: declared here 714 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I. -DGTK2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o cht.o `test -f 'src-cht/cht.c' || echo './'`src-cht/cht.c inout.c: In function 'load_preview': inout.c:406:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 406 | else | ^~~~ inout.c:409:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 409 | res = fgetc(fp); | ^~~ inout.c: In function 'export_emf': inout.c:3070:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3070 | if (fclose (fp) != 0) | ^~ inout.c:3073:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3073 | snprintf (com,255, "fig2dev -L emf %s> \"%s\"", tmpfile, filename); | ^~~~~~~~ inout.c: In function 'exfig': inout.c:4898:11: warning: variable 't' set but not used [-Wunused-but-set-variable] 4898 | gchar *c,*t; | ^ inout.c: In function 'export_asy': inout.c:6767:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 6767 | else | ^~~~ inout.c:6769:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 6769 | fprintf (fp, "controls (%d,%d) and (%d,%d)..(%d,%d)", hp_sp->x1, h-hp_sp->y1, | ^~~~~~~ inout.c: In function 'import_pdb': inout.c:738:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 738 | (void)fgets (line, (int)sizeof (line), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inout.c: In function 'check_babel': inout.c:6060:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 6060 | (void)fgets (data, 80, xfile); | ^~~~~~~~~~~~~~~~~~~~~~~ inout.c: In function 'check_fig2sxd': inout.c:6139:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 6139 | fscanf (xfile, "%s", myname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'file_ok_sel': main.c:3027:7: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 3027 | strncpy (datadir, filename, strlen (filename) - strlen (tempstr) + 1); | ^ main.c:3027:35: note: length computed here 3027 | strncpy (datadir, filename, strlen (filename) - strlen (tempstr) + 1); | ^~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -o chemtool main.o draw.o graph.o chemproc.o undo.o inout.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lX11 -lm gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -o src-cht/cht cht.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lX11 -lm make[2]: Leaving directory '/builddir/build/BUILD/chemtool-1.6.14' make[1]: Leaving directory '/builddir/build/BUILD/chemtool-1.6.14' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hqQRRk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd chemtool-1.6.14 + install -d /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/applications /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/mimelnk/application /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/mime-info /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/mime-types /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/pixmaps /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/icons/hicolor/32x32/mimetypes /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/icons/hicolor/48x48/apps + pushd examples ~/build/BUILD/chemtool-1.6.14/examples ~/build/BUILD/chemtool-1.6.14 + tr -d '\r' + mv -f 14263232.mol.unix 14263232.mol + tr -d '\r' + mv -f sample.sdf.unix sample.sdf + popd ~/build/BUILD/chemtool-1.6.14 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64 'INSTALL=/usr/bin/install -p' Making install in m4 make[1]: Entering directory '/builddir/build/BUILD/chemtool-1.6.14/m4' make[2]: Entering directory '/builddir/build/BUILD/chemtool-1.6.14/m4' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/chemtool-1.6.14/m4' make[1]: Leaving directory '/builddir/build/BUILD/chemtool-1.6.14/m4' Making install in po make[1]: Entering directory '/builddir/build/BUILD/chemtool-1.6.14/po' /bin/sh .././mkinstalldirs /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share mkdir -p -- /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/bg/LC_MESSAGES installing bg.gmo as /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/bg/LC_MESSAGES/chemtool.mo mkdir -p -- /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/cs/LC_MESSAGES installing cs.gmo as /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/cs/LC_MESSAGES/chemtool.mo mkdir -p -- /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/de/LC_MESSAGES installing de.gmo as /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/de/LC_MESSAGES/chemtool.mo mkdir -p -- /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/fr/LC_MESSAGES installing fr.gmo as /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/fr/LC_MESSAGES/chemtool.mo mkdir -p -- /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/nl/LC_MESSAGES installing nl.gmo as /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/nl/LC_MESSAGES/chemtool.mo mkdir -p -- /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/pl/LC_MESSAGES installing pl.gmo as /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/pl/LC_MESSAGES/chemtool.mo mkdir -p -- /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/pt_BR/LC_MESSAGES installing pt_BR.gmo as /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/pt_BR/LC_MESSAGES/chemtool.mo mkdir -p -- /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/pt_PT/LC_MESSAGES installing pt_PT.gmo as /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/pt_PT/LC_MESSAGES/chemtool.mo mkdir -p -- /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/ru/LC_MESSAGES installing ru.gmo as /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/locale/ru/LC_MESSAGES/chemtool.mo if test "chemtool" = "gettext-tools"; then \ /bin/sh .././mkinstalldirs /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -p -m 644 ./$file \ /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/builddir/build/BUILD/chemtool-1.6.14/po' Making install in src-cht make[1]: Entering directory '/builddir/build/BUILD/chemtool-1.6.14/src-cht' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/chemtool-1.6.14/src-cht' make[1]: Entering directory '/builddir/build/BUILD/chemtool-1.6.14' make[2]: Entering directory '/builddir/build/BUILD/chemtool-1.6.14' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/bin" /usr/bin/install -p chemtool src-cht/cht '/builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/bin' /usr/bin/make install-exec-hook make[3]: Entering directory '/builddir/build/BUILD/chemtool-1.6.14' cd /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/bin && \ ln -s chemtool chemtoolbg make[3]: Leaving directory '/builddir/build/BUILD/chemtool-1.6.14' test -z "/usr/share/man/man1" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/man/man1" /usr/bin/install -p -m 644 chemtool.1 cht.1 '/builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/chemtool-1.6.14' make[1]: Leaving directory '/builddir/build/BUILD/chemtool-1.6.14' + install -pm644 kde/mimelnk/application/x-chemtool.desktop /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/mimelnk/application + install -pm644 kde/icons/hicolor/32x32/mimetypes/chemtool.png /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/icons/hicolor/32x32/mimetypes + install -pm644 gnome/mime-types/chemtool.keys gnome/mime-types/chemtool.mime /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/mime-types + install -pm644 gnome/gnome-application-chemtool.png /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/icons/hicolor/48x48/apps/chemtool.png + desktop-file-install --dir=/builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/applications --add-category=Education --add-category=Science chemtool.desktop + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64 chemtool + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.6.14-22.fc38 --unique-debug-suffix -1.6.14-22.fc38.riscv64 --unique-debug-src-base chemtool-1.6.14-22.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/chemtool-1.6.14 extracting debug info from /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/bin/cht extracting debug info from /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/bin/chemtool original debug info size: 3212kB, size after compression: 3188kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 2348 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: chemtool-1.6.14-22.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pKyx24 + umask 022 + cd /builddir/build/BUILD + cd chemtool-1.6.14 + DOCDIR=/builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/doc/chemtool + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/doc/chemtool + cp -pr ChangeLog /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/doc/chemtool + cp -pr README /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/doc/chemtool + cp -pr TODO /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/doc/chemtool + cp -pr examples /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/doc/chemtool + cp -pr using_chemtool.html /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64/usr/share/doc/chemtool + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(chemtool.desktop) chemtool = 1.6.14-22.fc38 chemtool(riscv-64) = 1.6.14-22.fc38 mimehandler(application/x-chemtool) 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) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libharfbuzz.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) rtld(GNU_HASH) Processing files: chemtool-debugsource-1.6.14-22.fc38.riscv64 Provides: chemtool-debugsource = 1.6.14-22.fc38 chemtool-debugsource(riscv-64) = 1.6.14-22.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: chemtool-debuginfo-1.6.14-22.fc38.riscv64 Provides: chemtool-debuginfo = 1.6.14-22.fc38 chemtool-debuginfo(riscv-64) = 1.6.14-22.fc38 debuginfo(build-id) = a0e90bed8e85f4ca20bd2c9d26e15f3365d775fe debuginfo(build-id) = ac2969b7ea083e86c332b4c0d5c8c06aa68594eb Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: chemtool-debugsource(riscv-64) = 1.6.14-22.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64 Wrote: /builddir/build/RPMS/chemtool-1.6.14-22.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/chemtool-debuginfo-1.6.14-22.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/chemtool-debugsource-1.6.14-22.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.K1Cut4 + umask 022 + cd /builddir/build/BUILD + cd chemtool-1.6.14 + /usr/bin/rm -rf /builddir/build/BUILDROOT/chemtool-1.6.14-22.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.ZYzd26 + umask 022 + cd /builddir/build/BUILD + rm -rf chemtool-1.6.14 chemtool-1.6.14.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Child return code was: 0