Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/galculator.spec'], chrootPath='/var/lib/mock/f42-build-56988093-6547535/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.afcf4fkv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.afcf4fkv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'dfb9634b7ea442a5b8fb1a7d0fce131b', '-D', '/var/lib/mock/f42-build-56988093-6547535/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.afcf4fkv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/galculator.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/galculator-2.1.4-21.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/galculator.spec'], chrootPath='/var/lib/mock/f42-build-56988093-6547535/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.afcf4fkv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.afcf4fkv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '728232f1fc9e4f8685a4e3437bbf0a81', '-D', '/var/lib/mock/f42-build-56988093-6547535/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.afcf4fkv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/galculator.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Z3BYtC + umask 022 + cd /builddir/build/BUILD/galculator-2.1.4-build + test -d /builddir/build/BUILD/galculator-2.1.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/galculator-2.1.4-build + /usr/bin/rm -rf /builddir/build/BUILD/galculator-2.1.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/galculator-2.1.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/galculator-2.1.4-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.505OoN + umask 022 + cd /builddir/build/BUILD/galculator-2.1.4-build + cd /builddir/build/BUILD/galculator-2.1.4-build + rm -rf galculator-2.1.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/galculator-2.1.4.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd galculator-2.1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (galculator-2.1.4-build.patch): + echo 'Patch #1 (galculator-2.1.4-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .build --fuzz=0 patching file src/main.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9FZh0d + umask 022 + cd /builddir/build/BUILD/galculator-2.1.4-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 galculator-2.1.4 + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 2015-09-05 19:22:25.000000000 +0000 +++ ./configure 2025-02-04 12:44:26.324052875 +0000 @@ -1807,7 +1807,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-02-04 12:44:26.324052875 +0000 +++ ./configure 2025-02-04 12:44:26.361056125 +0000 @@ -14262,7 +14262,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/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 + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/galculator-2.1.4-build/galculator-2.1.4/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/galculator-2.1.4-build/galculator-2.1.4/missing --help' for more information configure: WARNING: 'missing' script is too old or missing 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 to enable maintainer-specific portions of Makefiles... no checking for x86_64-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 for style of include used by make... GNU checking dependency style of gcc... none checking whether NLS is requested... yes checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.40.1 checking for library containing strerror... none required 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 build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for cos in -lm... yes checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTK... yes checking for sinhq in -lquadmath... no checking for flex... no checking for lex... no checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for catalogs to be installed... de fr ja pt pt_BR pl ro sk es_MX ru zh_TW zh_CN sv tr lt hu es cs el en_AU gl id it kk mr uk checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating galculator.spec config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating ui/Makefile config.status: creating ui/about.ui config.status: creating doc/Makefile config.status: creating pixmaps/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands + make -j6 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/galculator-2.1.4-build/galculator-2.1.4' Making all in src make[2]: Entering directory '/builddir/build/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/lib64/pkgconfig/../../include/dbus-1.0 -I/usr/lib64/pkgconfig/../../lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o galculator-main.o `test -f 'main.c' || echo './'`main.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/lib64/pkgconfig/../../include/dbus-1.0 -I/usr/lib64/pkgconfig/../../lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o galculator-math_functions.o `test -f 'math_functions.c' || echo './'`math_functions.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/lib64/pkgconfig/../../include/dbus-1.0 -I/usr/lib64/pkgconfig/../../lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o galculator-display.o `test -f 'display.c' || echo './'`display.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/lib64/pkgconfig/../../include/dbus-1.0 -I/usr/lib64/pkgconfig/../../lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o galculator-general_functions.o `test -f 'general_functions.c' || echo './'`general_functions.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/lib64/pkgconfig/../../include/dbus-1.0 -I/usr/lib64/pkgconfig/../../lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o galculator-calc_basic.o `test -f 'calc_basic.c' || echo './'`calc_basic.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/lib64/pkgconfig/../../include/dbus-1.0 -I/usr/lib64/pkgconfig/../../lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o galculator-config_file.o `test -f 'config_file.c' || echo './'`config_file.c In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from galculator.h:24, from display.c:27: /usr/include/glib-2.0/glib/gmacros.h:1303:33: warning: Deprecated pre-processor symbol: replace with "const" 1303 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1306:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1306 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_30_FOR’ 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:74:28: note: in expansion of macro ‘G_CONST_RETURN’ 74 | void ui_formula_entry_set (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1303:33: warning: Deprecated pre-processor symbol: replace with "const" 1303 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1306:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1306 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_30_FOR’ 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:75:31: note: in expansion of macro ‘G_CONST_RETURN’ 75 | void ui_formula_entry_insert (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from galculator.h:24, from general_functions.c:29: /usr/include/glib-2.0/glib/gmacros.h:1303:33: warning: Deprecated pre-processor symbol: replace with "const" 1303 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1306:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1306 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_30_FOR’ 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:74:28: note: in expansion of macro ‘G_CONST_RETURN’ 74 | void ui_formula_entry_set (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1303:33: warning: Deprecated pre-processor symbol: replace with "const" 1303 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1306:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1306 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_30_FOR’ 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:75:31: note: in expansion of macro ‘G_CONST_RETURN’ 75 | void ui_formula_entry_insert (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ general_functions.c: In function ‘set_button_font’: general_functions.c:233:9: warning: ‘gtk_font_button_set_font_name’ is deprecated [-Wdeprecated-declarations] 233 | if (button) gtk_font_button_set_font_name (GTK_FONT_BUTTON(button), *string_var); | ^~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:109: /usr/include/gtk-3.0/gtk/gtkfontbutton.h:98:23: note: declared here 98 | gboolean gtk_font_button_set_font_name (GtkFontButton *font_button, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c: In function ‘display_set_bkg_color’: display.c:613:9: warning: ‘gtk_widget_override_background_color’ is deprecated [-Wdeprecated-declarations] 613 | gtk_widget_override_background_color(GTK_WIDGET(view), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31: /usr/include/gtk-3.0/gtk/gtkwidget.h:1148:14: note: declared here 1148 | void gtk_widget_override_background_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from calc_basic.h:40, from main.c:31: /usr/include/glib-2.0/glib/gmacros.h:1303:33: warning: Deprecated pre-processor symbol: replace with "const" 1303 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1306:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1306 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_30_FOR’ 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:74:28: note: in expansion of macro ‘G_CONST_RETURN’ 74 | void ui_formula_entry_set (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1303:33: warning: Deprecated pre-processor symbol: replace with "const" 1303 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1306:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1306 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_30_FOR’ 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:75:31: note: in expansion of macro ‘G_CONST_RETURN’ 75 | void ui_formula_entry_insert (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/lib64/pkgconfig/../../include/dbus-1.0 -I/usr/lib64/pkgconfig/../../lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o galculator-callbacks.o `test -f 'callbacks.c' || echo './'`callbacks.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/lib64/pkgconfig/../../include/dbus-1.0 -I/usr/lib64/pkgconfig/../../lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o galculator-ui.o `test -f 'ui.c' || echo './'`ui.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/lib64/pkgconfig/../../include/dbus-1.0 -I/usr/lib64/pkgconfig/../../lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o galculator-flex_parser.o `test -f 'flex_parser.c' || echo './'`flex_parser.c In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from calc_basic.h:40, from callbacks.c:26: /usr/include/glib-2.0/glib/gmacros.h:1303:33: warning: Deprecated pre-processor symbol: replace with "const" 1303 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1306:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1306 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_30_FOR’ 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:74:28: note: in expansion of macro ‘G_CONST_RETURN’ 74 | void ui_formula_entry_set (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1303:33: warning: Deprecated pre-processor symbol: replace with "const" 1303 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1306:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1306 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_30_FOR’ 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:75:31: note: in expansion of macro ‘G_CONST_RETURN’ 75 | void ui_formula_entry_insert (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ callbacks.c: In function ‘on_gfunc_button_clicked’: callbacks.c:280:23: error: too many arguments to function ‘func’; expected 0, have 1 280 | if (func != NULL) func(button); | ^~~~ ~~~~~~ callbacks.c: In function ‘on_prefs_result_font_set’: callbacks.c:694:5: warning: ‘gtk_font_button_get_font_name’ is deprecated [-Wdeprecated-declarations] 694 | font_name = gtk_font_button_get_font_name(button); | ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:109, from galculator.h:24, from callbacks.c:27: /usr/include/gtk-3.0/gtk/gtkfontbutton.h:96:23: note: declared here 96 | const gchar * gtk_font_button_get_font_name (GtkFontButton *font_button); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c: In function ‘on_prefs_stack_font_set’: callbacks.c:723:5: warning: ‘gtk_font_button_get_font_name’ is deprecated [-Wdeprecated-declarations] 723 | font_name = gtk_font_button_get_font_name(button); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkfontbutton.h:96:23: note: declared here 96 | const gchar * gtk_font_button_get_font_name (GtkFontButton *font_button); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c: In function ‘on_prefs_mod_font_set’: callbacks.c:752:5: warning: ‘gtk_font_button_get_font_name’ is deprecated [-Wdeprecated-declarations] 752 | font_name = gtk_font_button_get_font_name(button); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkfontbutton.h:96:23: note: declared here 96 | const gchar * gtk_font_button_get_font_name (GtkFontButton *font_button); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c: In function ‘on_prefs_button_font_set’: callbacks.c:818:5: warning: ‘gtk_font_button_get_font_name’ is deprecated [-Wdeprecated-declarations] 818 | font_name = gtk_font_button_get_font_name(button); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkfontbutton.h:96:23: note: declared here 96 | const gchar * gtk_font_button_get_font_name (GtkFontButton *font_button); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c: In function ‘on_user_function_button_clicked’: callbacks.c:986:5: warning: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 986 | gtk_menu_popup ((GtkMenu *)menu, NULL, NULL, (GtkMenuPositionFunc) position_menu, | ^~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34, from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, from /usr/include/gtk-3.0/gtk/gtk.h:33: /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ callbacks.c: In function ‘on_constant_button_clicked’: callbacks.c:1017:5: warning: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 1017 | gtk_menu_popup ((GtkMenu *)menu, NULL, NULL, (GtkMenuPositionFunc) position_menu, | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ callbacks.c: In function ‘on_ms_button_clicked’: callbacks.c:1057:5: warning: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 1057 | gtk_menu_popup ((GtkMenu *)menu, NULL, NULL, (GtkMenuPositionFunc) position_menu, | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ callbacks.c: In function ‘on_mr_button_clicked’: callbacks.c:1081:5: warning: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 1081 | gtk_menu_popup ((GtkMenu *)menu, NULL, NULL, (GtkMenuPositionFunc) position_menu, | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ callbacks.c: In function ‘on_mplus_button_clicked’: callbacks.c:1101:5: warning: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 1101 | gtk_menu_popup ((GtkMenu *)menu, NULL, NULL, (GtkMenuPositionFunc) position_menu, | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ callbacks.c: In function ‘on_mc_button_clicked’: callbacks.c:1132:5: warning: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 1132 | gtk_menu_popup ((GtkMenu *)menu, NULL, NULL, (GtkMenuPositionFunc) position_menu, | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ callbacks.c: In function ‘on_mx_button_clicked’: callbacks.c:1156:5: warning: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 1156 | gtk_menu_popup ((GtkMenu *)menu, NULL, NULL, (GtkMenuPositionFunc) position_menu, | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from galculator.h:24, from ui.c:25: /usr/include/glib-2.0/glib/gmacros.h:1303:33: warning: Deprecated pre-processor symbol: replace with "const" 1303 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1306:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1306 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_30_FOR’ 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:74:28: note: in expansion of macro ‘G_CONST_RETURN’ 74 | void ui_formula_entry_set (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1303:33: warning: Deprecated pre-processor symbol: replace with "const" 1303 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1306:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1306 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_30_FOR’ 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:75:31: note: in expansion of macro ‘G_CONST_RETURN’ 75 | void ui_formula_entry_insert (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ callbacks.c: In function ‘on_button_press_event’: callbacks.c:1628:5: warning: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 1628 | gtk_menu_popup ((GtkMenu *) menu, NULL, NULL, NULL, NULL, 3, event->time); | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ callbacks.c: In function ‘on_formula_entry_activate’: callbacks.c:1637:5: error: too many arguments to function ‘ui_formula_entry_state’; expected 0, have 1 1637 | ui_formula_entry_state (result.error); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ In file included from callbacks.c:33: ui.h:77:6: note: declared here 77 | void ui_formula_entry_state (); | ^~~~~~~~~~~~~~~~~~~~~~ callbacks.c: In function ‘on_formula_entry_changed’: ui.c: In function ‘set_scientific_object_data’: callbacks.c:1643:5: error: too many arguments to function ‘ui_formula_entry_state’; expected 0, have 1 1643 | ui_formula_entry_state(FALSE); | ^~~~~~~~~~~~~~~~~~~~~~ ui.h:77:6: note: declared here 77 | void ui_formula_entry_state (); | ^~~~~~~~~~~~~~~~~~~~~~ ui.c:177:38: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(GtkToggleButton *)’ {aka ‘void (*)(struct _GtkToggleButton *)’} [-Wincompatible-pointer-types] 177 | {"button_sign", "-", display_result_toggle_sign}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:177:38: note: (near initialization for ‘gfunc_map[0].func’) In file included from ui.c:27: display.h:86:6: note: ‘display_result_toggle_sign’ declared here 86 | void display_result_toggle_sign (GtkToggleButton *button); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:178:36: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(GtkToggleButton *)’ {aka ‘void (*)(struct _GtkToggleButton *)’} [-Wincompatible-pointer-types] 178 | {"button_ee", "e", display_append_e}, | ^~~~~~~~~~~~~~~~ ui.c:178:36: note: (near initialization for ‘gfunc_map[1].func’) display.h:85:6: note: ‘display_append_e’ declared here 85 | void display_append_e (GtkToggleButton *button); | ^~~~~~~~~~~~~~~~ ui.c:179:36: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(GtkToggleButton *)’ {aka ‘void (*)(struct _GtkToggleButton *)’} [-Wincompatible-pointer-types] 179 | {"button_f1", "(", gfunc_f1}, /* paropen or swapxy */ | ^~~~~~~~ ui.c:179:36: note: (near initialization for ‘gfunc_map[2].func’) In file included from ui.c:30: general_functions.h:62:6: note: ‘gfunc_f1’ declared here 62 | void gfunc_f1 (GtkToggleButton *button); | ^~~~~~~~ ui.c:180:36: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(GtkToggleButton *)’ {aka ‘void (*)(struct _GtkToggleButton *)’} [-Wincompatible-pointer-types] 180 | {"button_f2", ")", gfunc_f2}, /* parclose or rolldn */ | ^~~~~~~~ ui.c:180:36: note: (near initialization for ‘gfunc_map[3].func’) general_functions.h:63:6: note: ‘gfunc_f2’ declared here 63 | void gfunc_f2 (GtkToggleButton *button); | ^~~~~~~~ ui.c: In function ‘set_basic_object_data’: ui.c:225:38: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(GtkToggleButton *)’ {aka ‘void (*)(struct _GtkToggleButton *)’} [-Wincompatible-pointer-types] 225 | {"button_sign", "-", display_result_toggle_sign}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:225:38: note: (near initialization for ‘gfunc_map[0].func’) display.h:86:6: note: ‘display_result_toggle_sign’ declared here 86 | void display_result_toggle_sign (GtkToggleButton *button); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:226:36: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(GtkToggleButton *)’ {aka ‘void (*)(struct _GtkToggleButton *)’} [-Wincompatible-pointer-types] 226 | {"button_f1", "(", gfunc_f1}, /* paropen or swapxy */ | ^~~~~~~~ ui.c:226:36: note: (near initialization for ‘gfunc_map[1].func’) general_functions.h:62:6: note: ‘gfunc_f1’ declared here 62 | void gfunc_f1 (GtkToggleButton *button); | ^~~~~~~~ ui.c:227:36: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(GtkToggleButton *)’ {aka ‘void (*)(struct _GtkToggleButton *)’} [-Wincompatible-pointer-types] 227 | {"button_f2", ")", gfunc_f2}, /* parclose or rolldn */ | ^~~~~~~~ ui.c:227:36: note: (near initialization for ‘gfunc_map[2].func’) general_functions.h:63:6: note: ‘gfunc_f2’ declared here 63 | void gfunc_f2 (GtkToggleButton *button); | ^~~~~~~~ ui.c: In function ‘ui_pack_from_xml’: ui.c:324:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 324 | if(parent) | ^~ ui.c:327:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 327 | gtk_box_reorder_child ((GtkBox *) box, child_widget, index); | ^~~~~~~~~~~~~~~~~~~~~ ui.c: In function ‘ui_main_window_buttons_create’: ui.c:436:17: error: too many arguments to function ‘set_basic_object_data’; expected 0, have 1 436 | set_basic_object_data (button_box_xml); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ ui.c:206:13: note: declared here 206 | static void set_basic_object_data () | ^~~~~~~~~~~~~~~~~~~~~ ui.c:443:17: error: too many arguments to function ‘set_scientific_object_data’; expected 0, have 1 443 | set_scientific_object_data (button_box_xml); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ ui.c:152:13: note: declared here 152 | static void set_scientific_object_data () | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c: In function ‘set_table_child_font’: ui.c:525:9: warning: ‘gtk_widget_override_font’ is deprecated [-Wdeprecated-declarations] 525 | gtk_widget_override_font(w, font); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31: /usr/include/gtk-3.0/gtk/gtkwidget.h:1153:14: note: declared here 1153 | void gtk_widget_override_font (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~ ui.c: In function ‘position_menu’: ui.c:879:9: warning: ‘gdk_screen_width’ is deprecated [-Wdeprecated-declarations] 879 | screen_width = gdk_screen_width (); | ^~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:50: /usr/include/gtk-3.0/gdk/gdkmain.h:108:6: note: declared here 108 | gint gdk_screen_width (void) G_GNUC_CONST; | ^~~~~~~~~~~~~~~~ ui.c: At top level: /usr/include/glib-2.0/glib/gmacros.h:1303:33: warning: Deprecated pre-processor symbol: replace with "const" 1303 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1306:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1306 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_30_FOR’ 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:1145:28: note: in expansion of macro ‘G_CONST_RETURN’ 1145 | void ui_formula_entry_set (G_CONST_RETURN gchar *text) | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1303:33: warning: Deprecated pre-processor symbol: replace with "const" 1303 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1306:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1306 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_30_FOR’ 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:1154:31: note: in expansion of macro ‘G_CONST_RETURN’ 1154 | void ui_formula_entry_insert (G_CONST_RETURN gchar *text) | ^~~~~~~~~~~~~~ ui.c:1180:6: error: conflicting types for ‘ui_formula_entry_state’; have ‘void(gboolean)’ {aka ‘void(int)’} 1180 | void ui_formula_entry_state (gboolean error) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ui.c:26: ui.h:77:6: note: previous declaration of ‘ui_formula_entry_state’ with type ‘void(void)’ 77 | void ui_formula_entry_state (); | ^~~~~~~~~~~~~~~~~~~~~~ ui.c: In function ‘ui_formula_entry_state’: ui.c:1190:9: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations] 1190 | gtk_widget_override_color (formula_entry, GTK_STATE_FLAG_NORMAL, pcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:1191:5: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations] 1191 | gtk_widget_override_color (formula_entry, GTK_STATE_FLAG_ACTIVE, pcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:1192:5: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations] 1192 | gtk_widget_override_color (formula_entry, GTK_STATE_FLAG_PRELIGHT, pcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:581: galculator-callbacks.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ui.c:1193:5: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations] 1193 | gtk_widget_override_color (formula_entry, GTK_STATE_FLAG_INSENSITIVE, pcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:595: galculator-ui.o] Error 1 flex_parser.c:1554:16: warning: ‘input’ defined but not used [-Wunused-function] 1554 | static int input (void) | ^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' make[1]: *** [Makefile:517: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/galculator-2.1.4-build/galculator-2.1.4' make: *** [Makefile:404: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.9FZh0d (%build) Bad exit status from /var/tmp/rpm-tmp.9FZh0d (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 728232f1fc9e4f8685a4e3437bbf0a81 -D /var/lib/mock/f42-build-56988093-6547535/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.afcf4fkv:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/galculator.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 728232f1fc9e4f8685a4e3437bbf0a81 -D /var/lib/mock/f42-build-56988093-6547535/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.afcf4fkv:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/galculator.spec'