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/xournal.spec'], chrootPath='/var/lib/mock/f37-build-656907-73121/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/xournal.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/xournal-0.4.8.2016-11.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xournal.spec'], chrootPath='/var/lib/mock/f37-build-656907-73121/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/xournal.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1ZQbfa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xournal-0.4.8.2016 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xournal-0.4.8.2016.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xournal-0.4.8.2016 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + NOCONFIGURE=1 + ./autogen.sh **Warning**: I am going to run `configure' with no arguments. If you wish to pass any to it, please specify them on the `./autogen.sh' command line. processing . Creating ./aclocal.m4 ... Running glib-gettextize... Ignore non-fatal messages. Copying file po/Makefile.in.in Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /usr/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/. Making ./aclocal.m4 writable ... Running aclocal ... aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' Running automake --gnu ... automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:4: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:11: installing './ar-lib' configure.in:8: installing './compile' src/Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/ttsubset/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Running autoconf ... configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:1320: AM_INIT_AUTOMAKE is expanded from... configure.in:4: the top level configure.in:8: warning: The macro `AC_ISC_POSIX' is obsolete. configure.in:8: You should run autoupdate. ./lib/autoconf/specific.m4:550: AC_ISC_POSIX is expanded from... configure.in:8: the top level configure.in:12: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:12: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:12: the top level configure.in:48: warning: The macro `GLIB_GNU_GETTEXT' is obsolete. configure.in:48: You should run autoupdate. aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.in:48: the top level configure.in:48: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:48: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:73: GLIB_LC_MESSAGES is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.in:48: the top level configure.in:48: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:48: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... aclocal.m4:172: GLIB_WITH_NLS is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.in:48: the top level configure.in:48: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:48: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... aclocal.m4:172: GLIB_WITH_NLS is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.in:48: the top level configure.in:48: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete. configure.in:48: You should run autoupdate. ./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from... aclocal.m4:172: GLIB_WITH_NLS is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.in:48: the top level configure.in:50: warning: AC_OUTPUT should be used without arguments. configure.in:50: You should run autoupdate. Skipping configure process. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.q0HYDK + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 xournal-0.4.8.2016 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\"' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\"' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 2022-10-24 09:07:00.199251877 -0400 +++ ./configure 2022-10-24 09:07:00.359252179 -0400 @@ -1682,7 +1682,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 + ./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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free 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 whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for library containing strerror... none required checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for PACKAGE... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for Windows environment... no checking for locale.h... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no 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... /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... ca cs de es fr ja it nl pl pt_BR zh_CN zh_TW checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/ttsubset/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands + /usr/bin/make -j4 /usr/bin/make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xournal-0.4.8.2016' Making all in src make[2]: Entering directory '/builddir/build/BUILD/xournal-0.4.8.2016/src' Making all in ttsubset make[3]: Entering directory '/builddir/build/BUILD/xournal-0.4.8.2016/src/ttsubset' gcc -DHAVE_CONFIG_H -I. -I../.. -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 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -DNO_MAPPERS -DNO_TYPE3 -DNO_TYPE42 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -c -o sft.o sft.c gcc -DHAVE_CONFIG_H -I. -I../.. -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 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -DNO_MAPPERS -DNO_TYPE3 -DNO_TYPE42 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -c -o list.o list.c gcc -DHAVE_CONFIG_H -I. -I../.. -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 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -DNO_MAPPERS -DNO_TYPE3 -DNO_TYPE42 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -c -o ttcr.o ttcr.c sft.c: In function 'GetCompoundTTOutline': ttcr.c: In function 'StreamToFile': sft.c:742:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 742 | if (listFind(glyphlist, (void *) (int) index)) { | ^ sft.c:756:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 756 | listAppend(glyphlist, (void *) (int) index); | ^ ttcr.c:420:9: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 420 | if (write(fd, ptr, length) != length) { | ^~~~~ | fwrite sft.c: In function 'GetTTGlyphOutline': sft.c:940:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 940 | listAppend(glyphlist, (void *) glyphID); | ^ ttcr.c:426:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 426 | close(fd); | ^~~~~ | pclose list.c: In function 'listNewConcat': list.c:170:18: warning: variable 'c' set but not used [-Wunused-but-set-variable] 170 | lnode *ptr, *c; | ^ sft.c: In function 'getGlyph4': sft.c:1352:15: warning: variable 'glyphIndexArray' set but not used [-Wunused-but-set-variable] 1352 | guint16 * glyphIndexArray; | ^~~~~~~~~~~~~~~ sft.c: In function 'CountTTCFonts': sft.c:1633:13: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 1633 | if (read(fd, buffer, 12) == 12) { | ^~~~ | fread ttcr.c: In function 'glyfAdd': ttcr.c:1333:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1333 | currentID = (guint32) listCurrent(glyphlist); | ^ sft.c:1637:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 1637 | close(fd); | ^~~~~ | pclose sft.c: In function 'GetTTGlyphComponents': sft.c:1847:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1847 | listAppend(glyphlist, (void *) glyphID); | ^ rm -f libttsubset.a ar cru libttsubset.a sft.o list.o ttcr.o ranlib libttsubset.a make[3]: Leaving directory '/builddir/build/BUILD/xournal-0.4.8.2016/src/ttsubset' make[3]: Entering directory '/builddir/build/BUILD/xournal-0.4.8.2016/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -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 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -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 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -c -o xo-misc.o xo-misc.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -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 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -c -o xo-file.o xo-file.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -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 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -c -o xo-paint.o xo-paint.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 xo-paint.c:22: /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 xo-file.c:25: /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:700:1: note: declared here 700 | { | ^ 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:700:1: note: declared here 700 | { | ^ 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 main.c:22: /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:700:1: note: declared here 700 | { | ^ 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 xo-misc.c:22: /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:700:1: note: declared here 700 | { | ^ 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:576:8: note: declared here 576 | 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:576:8: note: declared here 576 | 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:576:8: note: declared here 576 | 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:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ xo-paint.c: In function 'make_pen_cursor': xo-paint.c:78:13: warning: Deprecated pre-processor symbol: replace with "memmove" 78 | g_memmove(pixels + y*rowstride + x*4, col, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-paint.c: In function 'make_hiliter_cursor': xo-paint.c:100:13: warning: Deprecated pre-processor symbol: replace with "memmove" 100 | g_memmove(pixels + y*rowstride + x*4, col, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-paint.c:108:13: warning: Deprecated pre-processor symbol: replace with "memmove" 108 | g_memmove(pixels + y*rowstride + x*4, col, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-paint.c: In function 'update_cursor': xo-paint.c:116:31: warning: unused variable 'bg' [-Wunused-variable] 116 | GdkColor fg = {0, 0, 0, 0}, bg = {0, 65535, 65535, 65535}; | ^~ xo-paint.c:116:12: warning: unused variable 'fg' [-Wunused-variable] 116 | GdkColor fg = {0, 0, 0, 0}, bg = {0, 65535, 65535, 65535}; | ^~ xo-paint.c:115:23: warning: unused variable 'mask' [-Wunused-variable] 115 | GdkPixmap *source, *mask; | ^~~~ xo-paint.c:115:14: warning: unused variable 'source' [-Wunused-variable] 115 | GdkPixmap *source, *mask; | ^~~~~~ xo-paint.c: In function 'update_cursor_for_resize': xo-paint.c:155:24: warning: unused variable 'in_range_y' [-Wunused-variable] 155 | gboolean in_range_x, in_range_y; | ^~~~~~~~~~ xo-paint.c:155:12: warning: unused variable 'in_range_x' [-Wunused-variable] 155 | gboolean in_range_x, in_range_y; | ^~~~~~~~~~ xo-paint.c: In function 'subdivide_cur_path': xo-paint.c:212:13: warning: Deprecated pre-processor symbol: replace with "memmove" 212 | 2*(ui.cur_path.num_points-n-1)*sizeof(double)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-paint.c: In function 'create_new_stroke': xo-paint.c:230:13: warning: Deprecated pre-processor symbol: replace with "memmove" 230 | g_memmove(&(ui.cur_item->brush), ui.cur_brush, sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-paint.c: In function 'finalize_stroke': xo-paint.c:325:13: warning: Deprecated pre-processor symbol: replace with "memmove" 325 | 2*ui.cur_path.num_points*sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-paint.c:327:5: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 327 | ui.cur_item->widths = (gdouble *)g_memdup(ui.cur_widths, | ^~ In file included from /usr/include/glib-2.0/glib.h:84: /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-paint.c: In function 'erase_stroke_portions': xo-paint.c:384:13: warning: Deprecated pre-processor symbol: replace with "memmove" 384 | g_memmove(&newhead->brush, &item->brush, sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-paint.c:386:13: warning: Deprecated pre-processor symbol: replace with "memmove" 386 | g_memmove(newhead->path->coords, item->path->coords, 2*i*sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-paint.c:388:13: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 388 | newhead->widths = (gdouble *)g_memdup(item->widths, (i-1)*sizeof(gdouble)); | ^~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-paint.c:398:13: warning: Deprecated pre-processor symbol: replace with "memmove" 398 | g_memmove(&newtail->brush, &item->brush, sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-paint.c:401:13: warning: Deprecated pre-processor symbol: replace with "memmove" 401 | 2*(item->path->num_points-i)*sizeof(double)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-paint.c:403:13: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 403 | newtail->widths = (gdouble *)g_memdup(item->widths+i, | ^~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-paint.c: In function 'start_text': xo-paint.c:583:13: warning: Deprecated pre-processor symbol: replace with "memmove" 583 | g_memmove(&(item->brush), ui.cur_brush, sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-paint.c: In function 'refont_text_item': xo-paint.c:761:27: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 761 | undo->brush = (struct Brush *)g_memdup(&(item->brush), sizeof(struct Brush)); | ^~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-file.c: In function 'write_image': xo-file.c:120:36: warning: pointer targets in passing argument 1 of 'g_base64_encode' differ in signedness [-Wpointer-sign] 120 | base64_str = g_base64_encode(item->image_png, item->image_png_len); | ~~~~^~~~~~~~~~~ | | | gchar * {aka char *} In file included from /usr/include/glib-2.0/glib.h:37: /usr/include/glib-2.0/glib/gbase64.h:45:48: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 45 | gchar* g_base64_encode (const guchar *data, | ~~~~~~~~~~~~~~^~~~ xo-file.c: In function 'read_pixbuf': xo-file.c:136:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 136 | base64_str2 = g_memdup(base64_str, base64_strlen+1); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:84: /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-file.c:138:11: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 138 | png_buf = g_base64_decode(base64_str2, &png_buflen); | ^ xo-file.c: In function 'xoj_parser_start_element': xo-file.c:742:11: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 742 | tmpItem->widths = (gdouble *) g_memdup(ui.cur_widths, i*sizeof(gdouble)); | ^~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-file.c:532:11: warning: unused variable 'val' [-Wunused-variable] 532 | gdouble val; | ^~~ xo-file.c: In function 'xoj_parser_text': xo-file.c:969:13: warning: Deprecated pre-processor symbol: replace with "memmove" 969 | g_memmove(tmpItem->path->coords, ui.cur_path.coords, n*sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-file.c:973:13: warning: Deprecated pre-processor symbol: replace with "memmove" 973 | g_memmove(tmpItem->text, text, text_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-file.c: In function 'open_journal': main.c: In function 'init_stuff': main.c:118:13: warning: Deprecated pre-processor symbol: replace with "memmove" 118 | g_memmove(ui.default_brushes+i, &(ui.brushes[0][i]), sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-file.c:1121:13: warning: Deprecated pre-processor symbol: replace with "memmove" 1121 | g_memmove(&journal, &tmpJournal, sizeof(struct Journal)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-file.c: In function 'init_config_default': xo-file.c:1801:13: warning: Deprecated pre-processor symbol: replace with "memmove" 1801 | g_memmove(&(ui.brushes[j][i]), &(ui.brushes[0][i]), sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-file.c: In function 'load_config_from_file': xo-file.c:2395:13: warning: Deprecated pre-processor symbol: replace with "memmove" 2395 | g_memmove(&(ui.brushes[j][i]), &(ui.brushes[0][i]), sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-misc.c: In function 'new_page': xo-misc.c:94:29: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | struct Page *pg = (struct Page *) g_memdup(template, sizeof(struct Page)); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:84: /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-misc.c:102:22: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 102 | pg->bg = (struct Background *)g_memdup(ui.default_page.bg, sizeof(struct Background)); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-misc.c:104:22: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 104 | pg->bg = (struct Background *)g_memdup(template->bg, sizeof(struct Background)); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-misc.c: In function 'fix_xinput_coords': xo-misc.c:486:14: warning: variable 'device' set but not used [-Wunused-but-set-variable] 486 | GdkDevice *device; | ^~~~~~ xo-misc.c:485:27: warning: unused variable 'axis_width' [-Wunused-variable] 485 | double *axes, *px, *py, axis_width; | ^~~~~~~~~~ xo-misc.c:485:11: warning: variable 'axes' set but not used [-Wunused-but-set-variable] 485 | double *axes, *px, *py, axis_width; | ^~~~ xo-misc.c: In function 'make_canvas_item_one': xo-misc.c:632:14: warning: unused variable 'dialog' [-Wunused-variable] 632 | GtkWidget *dialog; | ^~~~~~ xo-misc.c: In function 'update_canvas_bg': xo-misc.c:732:10: warning: unused variable 'h' [-Wunused-variable] 732 | int w, h; | ^ xo-misc.c:732:7: warning: unused variable 'w' [-Wunused-variable] 732 | int w, h; | ^ xo-misc.c:729:14: warning: unused variable 'scaled_pix' [-Wunused-variable] 729 | GdkPixbuf *scaled_pix; | ^~~~~~~~~~ xo-misc.c: In function 'update_mapping_linkings': xo-misc.c:1678:13: warning: Deprecated pre-processor symbol: replace with "memmove" 1678 | g_memmove(&(ui.brushes[i][toolno]), &(ui.brushes[0][toolno]), sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-misc.c: In function 'recolor_temp_text': xo-misc.c:1716:27: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1716 | undo->brush = (struct Brush *)g_memdup(&(ui.cur_item->brush), sizeof(struct Brush)); | ^~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-misc.c: In function 'process_papercolor_activate': xo-misc.c:1830:26: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1830 | undo->bg = (struct Background *)g_memdup(pg->bg, sizeof(struct Background)); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-misc.c: In function 'process_paperstyle_activate': xo-misc.c:1867:26: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1867 | undo->bg = (struct Background *)g_memdup(pg->bg, sizeof(struct Background)); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -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 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -c -o xo-selection.o xo-selection.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -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 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -c -o xo-clipboard.o xo-clipboard.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 xo-selection.c:22: /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:700:1: note: declared here 700 | { | ^ 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:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ xo-selection.c: In function 'finalize_selectrect': xo-selection.c:109:13: warning: Deprecated pre-processor symbol: replace with "memmove" 109 | g_memmove(&(ui.selection->bbox), &(item->bbox), sizeof(struct BBox)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-selection.c: In function 'finalize_selectregion': xo-selection.c:257:13: warning: Deprecated pre-processor symbol: replace with "memmove" 257 | g_memmove(&(ui.selection->bbox), &(item->bbox), sizeof(struct BBox)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-selection.c: In function 'finalize_resizesel': xo-selection.c:558:16: warning: unused variable 'item' [-Wunused-variable] 558 | struct Item *item; | ^~~~ xo-selection.c: In function 'recolor_selection': xo-selection.c:661:13: warning: Deprecated pre-processor symbol: replace with "memmove" 661 | g_memmove(brush, &(item->brush), sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-selection.c: In function 'rethicken_selection': xo-selection.c:697:13: warning: Deprecated pre-processor symbol: replace with "memmove" 697 | g_memmove(brush, &(item->brush), sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 xo-clipboard.c:21: /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:700:1: note: declared here 700 | { | ^ 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:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ xo-clipboard.c: In function 'callback_clipboard_get': xo-clipboard.c:56:60: warning: pointer targets in passing argument 4 of 'gtk_selection_data_set' differ in signedness [-Wpointer-sign] 56 | gdk_atom_intern(XOURNAL_TARGET_ATOM, FALSE), 8, sel->xo_data, sel->xo_data_len); | ~~~^~~~~~~~~ | | | char * In file included from /usr/include/gtk-2.0/gtk/gtkclipboard.h:29, from /usr/include/gtk-2.0/gtk/gtk.h:68: /usr/include/gtk-2.0/gtk/gtkselection.h:162:61: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 162 | const guchar *data, | ~~~~~~~~~~~~~~~~~~~~~~^~~~ xo-clipboard.c: In function 'selection_to_clip': xo-clipboard.c:139:13: warning: Deprecated pre-processor symbol: replace with "memmove" 139 | g_memmove(p, &bufsz, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:140:13: warning: Deprecated pre-processor symbol: replace with "memmove" 140 | g_memmove(p, &nitems, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:141:13: warning: Deprecated pre-processor symbol: replace with "memmove" 141 | g_memmove(p, &ui.selection->bbox, sizeof(struct BBox)); p+= sizeof(struct BBox); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:144:13: warning: Deprecated pre-processor symbol: replace with "memmove" 144 | g_memmove(p, &item->type, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:146:13: warning: Deprecated pre-processor symbol: replace with "memmove" 146 | g_memmove(p, &item->brush, sizeof(struct Brush)); p+= sizeof(struct Brush); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:147:13: warning: Deprecated pre-processor symbol: replace with "memmove" 147 | g_memmove(p, &item->path->num_points, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:148:13: warning: Deprecated pre-processor symbol: replace with "memmove" 148 | g_memmove(p, item->path->coords, 2*item->path->num_points*sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:151:13: warning: Deprecated pre-processor symbol: replace with "memmove" 151 | g_memmove(p, item->widths, (item->path->num_points-1)*sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:156:13: warning: Deprecated pre-processor symbol: replace with "memmove" 156 | g_memmove(p, &item->brush, sizeof(struct Brush)); p+= sizeof(struct Brush); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:157:13: warning: Deprecated pre-processor symbol: replace with "memmove" 157 | g_memmove(p, &item->bbox.left, sizeof(double)); p+= sizeof(double); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:158:13: warning: Deprecated pre-processor symbol: replace with "memmove" 158 | g_memmove(p, &item->bbox.top, sizeof(double)); p+= sizeof(double); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:160:13: warning: Deprecated pre-processor symbol: replace with "memmove" 160 | g_memmove(p, &val, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:161:13: warning: Deprecated pre-processor symbol: replace with "memmove" 161 | g_memmove(p, item->text, val+1); p+= val+1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:163:13: warning: Deprecated pre-processor symbol: replace with "memmove" 163 | g_memmove(p, &val, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:164:13: warning: Deprecated pre-processor symbol: replace with "memmove" 164 | g_memmove(p, item->font_name, val+1); p+= val+1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:165:13: warning: Deprecated pre-processor symbol: replace with "memmove" 165 | g_memmove(p, &item->font_size, sizeof(double)); p+= sizeof(double); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:169:13: warning: Deprecated pre-processor symbol: replace with "memmove" 169 | g_memmove(p, &item->bbox, sizeof(struct BBox)); p+= sizeof(struct BBox); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:170:13: warning: Deprecated pre-processor symbol: replace with "memmove" 170 | g_memmove(p, &item->image_png_len, sizeof(gsize)); p+= sizeof(gsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:172:13: warning: Deprecated pre-processor symbol: replace with "memmove" 172 | g_memmove(p, item->image_png, item->image_png_len); p+= item->image_png_len; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c: In function 'clipboard_paste_from_xournal': xo-clipboard.c:209:13: warning: Deprecated pre-processor symbol: replace with "memmove" 209 | g_memmove(&nitems, p, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:212:13: warning: Deprecated pre-processor symbol: replace with "memmove" 212 | g_memmove(&ui.selection->bbox, p, sizeof(struct BBox)); p+= sizeof(struct BBox); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:249:13: warning: Deprecated pre-processor symbol: replace with "memmove" 249 | g_memmove(&item->type, p, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:251:13: warning: Deprecated pre-processor symbol: replace with "memmove" 251 | g_memmove(&item->brush, p, sizeof(struct Brush)); p+= sizeof(struct Brush); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:252:13: warning: Deprecated pre-processor symbol: replace with "memmove" 252 | g_memmove(&npts, p, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:261:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 261 | item->widths = g_memdup(p, (item->path->num_points-1)*sizeof(double)); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:84: /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-clipboard.c:269:13: warning: Deprecated pre-processor symbol: replace with "memmove" 269 | g_memmove(&item->brush, p, sizeof(struct Brush)); p+= sizeof(struct Brush); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:270:13: warning: Deprecated pre-processor symbol: replace with "memmove" 270 | g_memmove(&item->bbox.left, p, sizeof(double)); p+= sizeof(double); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:271:13: warning: Deprecated pre-processor symbol: replace with "memmove" 271 | g_memmove(&item->bbox.top, p, sizeof(double)); p+= sizeof(double); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:274:13: warning: Deprecated pre-processor symbol: replace with "memmove" 274 | g_memmove(&len, p, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:276:13: warning: Deprecated pre-processor symbol: replace with "memmove" 276 | g_memmove(item->text, p, len+1); p+= len+1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:277:13: warning: Deprecated pre-processor symbol: replace with "memmove" 277 | g_memmove(&len, p, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:279:13: warning: Deprecated pre-processor symbol: replace with "memmove" 279 | g_memmove(item->font_name, p, len+1); p+= len+1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:280:13: warning: Deprecated pre-processor symbol: replace with "memmove" 280 | g_memmove(&item->font_size, p, sizeof(double)); p+= sizeof(double); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:287:13: warning: Deprecated pre-processor symbol: replace with "memmove" 287 | g_memmove(&item->bbox, p, sizeof(struct BBox)); p+= sizeof(struct BBox); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:292:13: warning: Deprecated pre-processor symbol: replace with "memmove" 292 | g_memmove(&item->image_png_len, p, sizeof(gsize)); p+= sizeof(gsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:294:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 294 | item->image_png = g_memdup(p, item->image_png_len); | ^~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-clipboard.c: In function 'clipboard_paste_text': xo-clipboard.c:338:13: warning: Deprecated pre-processor symbol: replace with "memmove" 338 | g_memmove(&(item->brush), &(ui.brushes[ui.cur_mapping][TOOL_PEN]), sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -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 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -c -o xo-image.o xo-image.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -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 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -c -o xo-print.o xo-print.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -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 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -c -o xo-support.o xo-support.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 xo-print.c:22: /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:700:1: note: declared here 700 | { | ^ 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 xo-image.c:22: /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:700:1: note: declared here 700 | { | ^ 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:576:8: note: declared here 576 | 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:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ xo-image.c: In function 'pixbuf_from_buffer': xo-image.c:36:35: warning: pointer targets in passing argument 2 of 'gdk_pixbuf_loader_write' differ in signedness [-Wpointer-sign] 36 | gdk_pixbuf_loader_write(loader, buf, buflen, NULL); | ^~~ | | | const gchar * {aka const char *} In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:39, from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/include/gtk-2.0/gdk/gdk.h:33: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h:92:72: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 92 | const guchar *buf, | ~~~~~~~~~~~~~~~~~^~~ xo-print.c: In function 'dup_pdfobj': xo-print.c:104:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 104 | dup = g_memdup(obj, sizeof(struct PdfObj)); | ^~~ In file included from /usr/include/glib-2.0/glib.h:84: /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-print.c:108:5: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 108 | dup->str = g_memdup(obj->str, obj->len+1); | ^~~ /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-print.c: In function 'parse_pdf_object': xo-print.c:250:13: warning: Deprecated pre-processor symbol: replace with "memmove" 250 | g_memmove(obj->str, p, obj->len); | ^~~~~~~~~~~~~~~~~~~~~~~~~ xo-print.c:263:13: warning: Deprecated pre-processor symbol: replace with "memmove" 263 | g_memmove(obj->str, p, obj->len); | ^~~~~~~~~~~~~~~~~~~~~~~~~ xo-print.c: In function 'pdf_draw_bitmap_background': xo-print.c:732:14: warning: unused variable 'pgpdf' [-Wunused-variable] 732 | BgPdfPage *pgpdf; | ^~~~~ xo-print.c: In function 'pdf_draw_image': xo-print.c:824:28: warning: format '%d' expects argument of type 'int', but argument 4 has type 'gsize' {aka 'long unsigned int'} [-Wformat=] 824 | "%d 0 obj\n<< /Length %d /Filter /FlateDecode /Type /Xobject " | ~^ | | | int | %ld ...... 827 | image->n_obj, zpix->len, width, height); | ~~~~~~~~~ | | | gsize {aka long unsigned int} xo-print.c:853:30: warning: format '%d' expects argument of type 'int', but argument 4 has type 'gsize' {aka 'long unsigned int'} [-Wformat=] 853 | "%d 0 obj\n<< /Length %d /Filter /FlateDecode /Type /Xobject " | ~^ | | | int | %ld ...... 856 | image->n_obj_smask, zpix->len, width, height); | ~~~~~~~~~ | | | gsize {aka long unsigned int} xo-print.c: In function 'new_pdfimage': xo-print.c:1107:10: warning: unused variable 'list' [-Wunused-variable] 1107 | GList *list; | ^~~~ xo-print.c: In function 'pdf_draw_page': xo-print.c:1229:11: warning: 'pango_fc_font_lock_face' is deprecated: Use 'pango_font_get_hb_font' instead [-Wdeprecated-declarations] 1229 | ftface = pango_fc_font_lock_face(fcfont); | ^~~~~~ In file included from xo-print.c:29: /usr/include/pango-1.0/pango/pangofc-font.h:114:12: note: declared here 114 | FT_Face pango_fc_font_lock_face (PangoFcFont *font); | ^~~~~~~~~~~~~~~~~~~~~~~ xo-print.c:1279:11: warning: 'pango_fc_font_unlock_face' is deprecated: Use 'pango_font_get_hb_font' instead [-Wdeprecated-declarations] 1279 | pango_fc_font_unlock_face(fcfont); | ^~~~~~~~~~~~~~~~~~~~~~~~~ xo-image.c: In function 'create_image_from_pixbuf': xo-image.c:93:3: warning: implicit declaration of function 'make_dashed' [-Wimplicit-function-declaration] 93 | make_dashed(ui.selection->canvas_item); | ^~~~~~~~~~~ /usr/include/pango-1.0/pango/pangofc-font.h:116:12: note: declared here 116 | void pango_fc_font_unlock_face (PangoFcFont *font); | ^~~~~~~~~~~~~~~~~~~~~~~~~ xo-print.c: In function 'print_background': xo-print.c:1580:20: warning: unused variable 'cr_pixbuf' [-Wunused-variable] 1580 | cairo_surface_t *cr_pixbuf; | ^~~~~~~~~ xo-print.c:1578:14: warning: unused variable 'pgpdf' [-Wunused-variable] 1578 | BgPdfPage *pgpdf; | ^~~~~ xo-print.c:1577:14: warning: unused variable 'pix' [-Wunused-variable] 1577 | GdkPixbuf *pix; | ^~~ xo-image.c: In function 'insert_image': xo-image.c:140:3: warning: implicit declaration of function 'set_cursor_busy' [-Wimplicit-function-declaration] 140 | set_cursor_busy(TRUE); | ^~~~~~~~~~~~~~~ xo-image.c:107:10: warning: unused variable 'scale' [-Wunused-variable] 107 | double scale=1; | ^~~~~ xo-image.c:101:12: warning: unused variable 'color' [-Wunused-variable] 101 | GdkColor color; | ^~~~~ xo-image.c:100:20: warning: unused variable 'canvas_item' [-Wunused-variable] 100 | GnomeCanvasItem *canvas_item; | ^~~~~~~~~~~ xo-image.c:99:18: warning: unused variable 'buffer' [-Wunused-variable] 99 | GtkTextBuffer *buffer; | ^~~~~~ 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 xo-support.c:15: /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:700:1: note: declared here 700 | { | ^ 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:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -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 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -c -o xo-interface.o xo-interface.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -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 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -c -o xo-callbacks.o xo-callbacks.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -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 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -c -o xo-shapes.o xo-shapes.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 xo-interface.c:16: /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:700:1: note: declared here 700 | { | ^ 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 xo-callbacks.c:23: /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:700:1: note: declared here 700 | { | ^ 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:576:8: note: declared here 576 | 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:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ xo-callbacks.c: In function 'on_fileSaveAs_activate': xo-callbacks.c:218:10: warning: unused variable 'curtime' [-Wunused-variable] 218 | time_t curtime; | ^~~~~~~ xo-callbacks.c:217:8: warning: unused variable 'stime' [-Wunused-variable] 217 | char stime[30]; | ^~~~~ xo-callbacks.c: In function 'on_filePrint_activate': xo-callbacks.c:309:17: warning: unused variable 'p' [-Wunused-variable] 309 | char *in_fn, *p; | ^ xo-callbacks.c:309:9: warning: unused variable 'in_fn' [-Wunused-variable] 309 | char *in_fn, *p; | ^~~~~ xo-callbacks.c:308:7: warning: unused variable 'response' [-Wunused-variable] 308 | int response; | ^~~~~~~~ xo-callbacks.c:307:17: warning: unused variable 'toPage' [-Wunused-variable] 307 | int fromPage, toPage; | ^~~~~~ xo-callbacks.c:307:7: warning: unused variable 'fromPage' [-Wunused-variable] 307 | int fromPage, toPage; | ^~~~~~~~ xo-callbacks.c: In function 'on_filePrintPDF_activate': xo-callbacks.c:359:10: warning: unused variable 'curtime' [-Wunused-variable] 359 | time_t curtime; | ^~~~~~~ xo-callbacks.c:358:8: warning: unused variable 'stime' [-Wunused-variable] 358 | char stime[30]; | ^~~~~ xo-callbacks.c: In function 'on_editUndo_activate': xo-callbacks.c:613:13: warning: Deprecated pre-processor symbol: replace with "memmove" 613 | g_memmove(&tmp_brush, &(it->brush), sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c:614:13: warning: Deprecated pre-processor symbol: replace with "memmove" 614 | g_memmove(&(it->brush), list->data, sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c:615:13: warning: Deprecated pre-processor symbol: replace with "memmove" 615 | g_memmove(list->data, &tmp_brush, sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c:641:13: warning: Deprecated pre-processor symbol: replace with "memmove" 641 | g_memmove(&tmp_brush, undo->brush, sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c:642:13: warning: Deprecated pre-processor symbol: replace with "memmove" 642 | g_memmove(undo->brush, &(undo->item->brush), sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c:643:13: warning: Deprecated pre-processor symbol: replace with "memmove" 643 | g_memmove(&(undo->item->brush), &tmp_brush, sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c: In function 'on_editRedo_activate': xo-callbacks.c:827:13: warning: Deprecated pre-processor symbol: replace with "memmove" 827 | g_memmove(&tmp_brush, &(it->brush), sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c:828:13: warning: Deprecated pre-processor symbol: replace with "memmove" 828 | g_memmove(&(it->brush), list->data, sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c:829:13: warning: Deprecated pre-processor symbol: replace with "memmove" 829 | g_memmove(list->data, &tmp_brush, sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c:861:13: warning: Deprecated pre-processor symbol: replace with "memmove" 861 | g_memmove(&tmp_brush, redo->brush, sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c:862:13: warning: Deprecated pre-processor symbol: replace with "memmove" 862 | g_memmove(redo->brush, &(redo->item->brush), sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c:863:13: warning: Deprecated pre-processor symbol: replace with "memmove" 863 | g_memmove(&(redo->item->brush), &tmp_brush, sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 xo-shapes.c:22: /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:700:1: note: declared here 700 | { | ^ xo-callbacks.c: In function 'on_papercolorOther_activate': xo-callbacks.c:1394:8: warning: unused variable 'result' [-Wunused-variable] 1394 | gint result; | ^~~~~~ xo-callbacks.c: In function 'on_toolsDefaultPen_activate': xo-callbacks.c:2131:13: warning: Deprecated pre-processor symbol: replace with "memmove" 2131 | g_memmove(&(ui.brushes[0][TOOL_PEN]), ui.default_brushes+TOOL_PEN, sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c: In function 'on_toolsDefaultEraser_activate': xo-callbacks.c:2150:13: warning: Deprecated pre-processor symbol: replace with "memmove" 2150 | g_memmove(&(ui.brushes[0][TOOL_ERASER]), ui.default_brushes+TOOL_ERASER, sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c: In function 'on_toolsDefaultHighlighter_activate': xo-callbacks.c:2169:13: warning: Deprecated pre-processor symbol: replace with "memmove" 2169 | g_memmove(&(ui.brushes[0][TOOL_HIGHLIGHTER]), ui.default_brushes+TOOL_HIGHLIGHTER, sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c: In function 'on_toolsSetAsDefault_activate': xo-callbacks.c:2215:13: warning: Deprecated pre-processor symbol: replace with "memmove" 2215 | &(ui.brushes[ui.cur_mapping][ui.toolno[ui.cur_mapping]]), sizeof(struct Brush)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c: In function 'on_buttonToolDefault_clicked': xo-callbacks.c:2353:13: warning: Deprecated pre-processor symbol: replace with "memmove" 2353 | g_memmove(&(ui.brushes[0][ui.toolno[0]]), ui.default_brushes+ui.toolno[0], sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c: In function 'on_journalDefaultBackground_activate': xo-callbacks.c:3122:22: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 3122 | pg->bg = (struct Background *)g_memdup(ui.default_page.bg, sizeof(struct Background)); | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:84: /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-callbacks.c: In function 'on_journalSetAsDefault_activate': xo-callbacks.c:3151:32: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 3151 | ui.default_page.bg = (struct Background *)g_memdup(ui.cur_page->bg, sizeof(struct Background)); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-callbacks.c: In function 'on_button2CopyBrush_activate': xo-callbacks.c:3424:13: warning: Deprecated pre-processor symbol: replace with "memmove" 3424 | g_memmove(&(ui.brushes[1][ui.toolno[1]]), &(ui.brushes[0][ui.toolno[1]]), sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-callbacks.c: In function 'on_button3CopyBrush_activate': xo-callbacks.c:3517:13: warning: Deprecated pre-processor symbol: replace with "memmove" 3517 | g_memmove(&(ui.brushes[2][ui.toolno[2]]), &(ui.brushes[0][ui.toolno[2]]), sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ xo-shapes.c: In function 'make_circle_shape': xo-shapes.c:270:27: warning: unused variable 'erasure' [-Wunused-variable] 270 | struct UndoErasureData *erasure; | ^~~~~~~ xo-shapes.c:269:16: warning: unused variable 'item' [-Wunused-variable] 269 | struct Item *item; | ^~~~ xo-shapes.c: In function 'insert_recognized_curpath': xo-shapes.c:330:13: warning: Deprecated pre-processor symbol: replace with "memmove" 330 | g_memmove(&(item->brush), &(erasure->item->brush), sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-shapes.c:334:13: warning: Deprecated pre-processor symbol: replace with "memmove" 334 | g_memmove(item->path->coords, ui.cur_path.coords, 2*ui.cur_path.num_points*sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-shapes.c:324:7: warning: unused variable 'i' [-Wunused-variable] 324 | int i; | ^ xo-shapes.c: In function 'try_arrow': xo-shapes.c:401:33: warning: unused variable 'tmp' [-Wunused-variable] 401 | double alpha[3], dist, pt[2], tmp, delta; | ^~~ xo-shapes.c: In function 'recognize_patterns': xo-shapes.c:582:13: warning: Deprecated pre-processor symbol: replace with "memmove" 582 | recognizer_queue_length * sizeof(struct RecoSegment)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-print.c: In function 'embed_pdffont': xo-print.c:1084:5: warning: 'nobj_descr' may be used uninitialized [-Wmaybe-uninitialized] 1084 | g_string_append_printf(pdfbuf, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1085 | "/FontDescriptor %d 0 R /FirstChar 0 /LastChar %d /Widths [", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1086 | nobj_descr, lastchar); | ~~~~~~~~~~~~~~~~~~~~~ xo-print.c:943:22: note: 'nobj_descr' was declared here 943 | int nobj_fontprog, nobj_descr, lastchar; | ^~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -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 -lz -lm -o xournal main.o xo-misc.o xo-file.o xo-paint.o xo-selection.o xo-clipboard.o xo-image.o xo-print.o xo-support.o xo-interface.o xo-callbacks.o xo-shapes.o ttsubset/libttsubset.a -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lgdk_pixbuf-2.0 -lgio-2.0 -lpoppler-glib -lcairo -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lX11 -lz -lm make[3]: Leaving directory '/builddir/build/BUILD/xournal-0.4.8.2016/src' make[2]: Leaving directory '/builddir/build/BUILD/xournal-0.4.8.2016/src' Making all in po make[2]: Entering directory '/builddir/build/BUILD/xournal-0.4.8.2016/po' file=./`echo ca | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file ca.po file=./`echo cs | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file cs.po file=./`echo es | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file es.po file=./`echo nl | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file nl.po nl.po:2: warning: header field 'Language' still has the initial default value ca.po:8: warning: header field 'Language' missing in header cs.po:5: warning: header field 'Language' missing in header es.po:7: warning: header field 'Language' missing in header make[2]: Leaving directory '/builddir/build/BUILD/xournal-0.4.8.2016/po' make[2]: Entering directory '/builddir/build/BUILD/xournal-0.4.8.2016' make[2]: Leaving directory '/builddir/build/BUILD/xournal-0.4.8.2016' make[1]: Leaving directory '/builddir/build/BUILD/xournal-0.4.8.2016' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6BOivf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 xournal-0.4.8.2016 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/xournal-0.4.8.2016/src' Making install in ttsubset make[2]: Entering directory '/builddir/build/BUILD/xournal-0.4.8.2016/src/ttsubset' make[3]: Entering directory '/builddir/build/BUILD/xournal-0.4.8.2016/src/ttsubset' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/xournal-0.4.8.2016/src/ttsubset' make[2]: Leaving directory '/builddir/build/BUILD/xournal-0.4.8.2016/src/ttsubset' make[2]: Entering directory '/builddir/build/BUILD/xournal-0.4.8.2016/src' make[3]: Entering directory '/builddir/build/BUILD/xournal-0.4.8.2016/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/bin' /usr/bin/install -p xournal '/builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/xournal-0.4.8.2016/src' make[2]: Leaving directory '/builddir/build/BUILD/xournal-0.4.8.2016/src' make[1]: Leaving directory '/builddir/build/BUILD/xournal-0.4.8.2016/src' Making install in po make[1]: Entering directory '/builddir/build/BUILD/xournal-0.4.8.2016/po' mkdir -p /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share; \ catalogs='ca.gmo cs.gmo de.gmo es.gmo fr.gmo ja.gmo it.gmo nl.gmo pl.gmo pt_BR.gmo zh_CN.gmo zh_TW.gmo'; \ for cat in $catalogs; do \ cat=`basename $cat`; \ case "$cat" in \ *.gmo) destdir=/usr/share/locale;; \ *) destdir=/usr/lib64/locale;; \ esac; \ lang=`echo $cat | sed 's/\.gmo$//'`; \ dir=/builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64$destdir/$lang/LC_MESSAGES; \ mkdir -p $dir; \ if test -r $cat; then \ /usr/bin/install -p -m 644 $cat $dir/xournal.mo; \ echo "installing $cat as $dir/xournal.mo"; \ else \ /usr/bin/install -p -m 644 ./$cat $dir/xournal.mo; \ echo "installing ./$cat as" \ "$dir/xournal.mo"; \ fi; \ if test -r $cat.m; then \ /usr/bin/install -p -m 644 $cat.m $dir/xournal.mo.m; \ echo "installing $cat.m as $dir/xournal.mo.m"; \ else \ if test -r ./$cat.m ; then \ /usr/bin/install -p -m 644 ./$cat.m \ $dir/xournal.mo.m; \ echo "installing ./$cat as" \ "$dir/xournal.mo.m"; \ else \ true; \ fi; \ fi; \ done installing ca.gmo as /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/locale/ca/LC_MESSAGES/xournal.mo installing cs.gmo as /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/locale/cs/LC_MESSAGES/xournal.mo installing de.gmo as /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/locale/de/LC_MESSAGES/xournal.mo installing es.gmo as /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/locale/es/LC_MESSAGES/xournal.mo installing fr.gmo as /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/locale/fr/LC_MESSAGES/xournal.mo installing ja.gmo as /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/locale/ja/LC_MESSAGES/xournal.mo installing it.gmo as /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/locale/it/LC_MESSAGES/xournal.mo installing nl.gmo as /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/locale/nl/LC_MESSAGES/xournal.mo installing pl.gmo as /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/locale/pl/LC_MESSAGES/xournal.mo installing pt_BR.gmo as /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/locale/pt_BR/LC_MESSAGES/xournal.mo installing zh_CN.gmo as /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/locale/zh_CN/LC_MESSAGES/xournal.mo installing zh_TW.gmo as /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/locale/zh_TW/LC_MESSAGES/xournal.mo if test "xournal" = "glib"; then \ mkdir -p /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/glib-2.0/gettext/po; \ /usr/bin/install -p -m 644 ./Makefile.in.in \ /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/glib-2.0/gettext/po/Makefile.in.in; \ else \ : ; \ fi make[1]: Leaving directory '/builddir/build/BUILD/xournal-0.4.8.2016/po' make[1]: Entering directory '/builddir/build/BUILD/xournal-0.4.8.2016' make[2]: Entering directory '/builddir/build/BUILD/xournal-0.4.8.2016' make[2]: Nothing to be done for 'install-exec-am'. if test -d ./pixmaps; then \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/xournal/pixmaps; \ for pixmap in ./pixmaps/*; do \ if test -f $pixmap; then \ /usr/bin/install -p -m 644 $pixmap /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/xournal/pixmaps; \ fi \ done \ fi; \ if test -d ./html-doc; then \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/xournal/html-doc; \ for docfile in ./html-doc/*; do \ if test -f $docfile; then \ /usr/bin/install -p -m 644 $docfile /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/xournal/html-doc; \ fi \ done; \ if test ! -e /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/xournal/html-doc/pixmaps; then \ ln -s ../pixmaps /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/xournal/html-doc/pixmaps; \ fi \ fi; \ echo "*** Desktop files, icons, MIME types not installed. Run 'make desktop-install'"; \ echo "*** (or 'make home-desktop-install' for installation in a home directory)." mkdir -p -- /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/xournal/pixmaps mkdir -p -- /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/xournal/html-doc *** Desktop files, icons, MIME types not installed. Run 'make desktop-install' *** (or 'make home-desktop-install' for installation in a home directory). make[2]: Leaving directory '/builddir/build/BUILD/xournal-0.4.8.2016' make[1]: Leaving directory '/builddir/build/BUILD/xournal-0.4.8.2016' + for s in 16 32 48 64 128 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/16x16/apps/ + convert -scale 16x16 pixmaps/xournal.png /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/16x16/apps/xournal.png + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/16x16/mimetypes + pushd /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/16x16/mimetypes ~/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/16x16/mimetypes ~/build/BUILD/xournal-0.4.8.2016 + ln -s ../apps/xournal.png application-x-xoj.png + ln -s application-x-xoj.png gnome-mime-application-x-xoj.png + popd ~/build/BUILD/xournal-0.4.8.2016 + for s in 16 32 48 64 128 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/32x32/apps/ + convert -scale 32x32 pixmaps/xournal.png /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/32x32/apps/xournal.png + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/32x32/mimetypes + pushd /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/32x32/mimetypes ~/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/32x32/mimetypes ~/build/BUILD/xournal-0.4.8.2016 + ln -s ../apps/xournal.png application-x-xoj.png + ln -s application-x-xoj.png gnome-mime-application-x-xoj.png + popd ~/build/BUILD/xournal-0.4.8.2016 + for s in 16 32 48 64 128 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/48x48/apps/ + convert -scale 48x48 pixmaps/xournal.png /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/48x48/apps/xournal.png + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/48x48/mimetypes + pushd /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/48x48/mimetypes ~/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/48x48/mimetypes ~/build/BUILD/xournal-0.4.8.2016 + ln -s ../apps/xournal.png application-x-xoj.png + ln -s application-x-xoj.png gnome-mime-application-x-xoj.png + popd ~/build/BUILD/xournal-0.4.8.2016 + for s in 16 32 48 64 128 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/64x64/apps/ + convert -scale 64x64 pixmaps/xournal.png /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/64x64/apps/xournal.png + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/64x64/mimetypes + pushd /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/64x64/mimetypes ~/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/64x64/mimetypes ~/build/BUILD/xournal-0.4.8.2016 + ln -s ../apps/xournal.png application-x-xoj.png + ln -s application-x-xoj.png gnome-mime-application-x-xoj.png + popd ~/build/BUILD/xournal-0.4.8.2016 + for s in 16 32 48 64 128 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/128x128/apps/ + convert -scale 128x128 pixmaps/xournal.png /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/128x128/apps/xournal.png + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/128x128/mimetypes + pushd /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/128x128/mimetypes ~/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/icons/hicolor/128x128/mimetypes ~/build/BUILD/xournal-0.4.8.2016 + ln -s ../apps/xournal.png application-x-xoj.png + ln -s application-x-xoj.png gnome-mime-application-x-xoj.png + popd ~/build/BUILD/xournal-0.4.8.2016 + /usr/bin/install -p -m 0644 -D pixmaps/xournal.png /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/pixmaps/xournal.png + desktop-file-install --dir /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/applications xournal.desktop + /usr/bin/install -p -m 0644 -D xournal.xml /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/mime/packages/xournal.xml + /usr/bin/install -p -m 0644 -D x-xoj.desktop /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/mimelnk/application/x-xoj.desktop + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64 xournal + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.4.8.2016-11.fc37 --unique-debug-suffix -0.4.8.2016-11.fc37.riscv64 --unique-debug-src-base xournal-0.4.8.2016-11.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xournal-0.4.8.2016 extracting debug info from /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/bin/xournal original debug info size: 3740kB, size after compression: 3564kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1786 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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: xournal-0.4.8.2016-11.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BQX4EE + umask 022 + cd /builddir/build/BUILD + cd xournal-0.4.8.2016 + DOCDIR=/builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/doc/xournal + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/doc/xournal + cp -pr AUTHORS /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/doc/xournal + cp -pr ChangeLog /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/doc/xournal + cp -pr COPYING /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64/usr/share/doc/xournal + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(xournal.desktop) mimehandler(application/pdf) mimehandler(application/x-xoj) xournal = 0.4.8.2016-11.fc37 xournal(riscv-64) = 0.4.8.2016-11.fc37 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) libart_lgpl_2.so.2()(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) libglib-2.0.so.0()(64bit) libgnomecanvas-2.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.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) libpoppler-glib.so.8()(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0)(64bit) rtld(GNU_HASH) Processing files: xournal-debugsource-0.4.8.2016-11.fc37.riscv64 Provides: xournal-debugsource = 0.4.8.2016-11.fc37 xournal-debugsource(riscv-64) = 0.4.8.2016-11.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xournal-debuginfo-0.4.8.2016-11.fc37.riscv64 Provides: debuginfo(build-id) = d176cc84806dd113e9a4cf6f2faa874bc2ca9477 xournal-debuginfo = 0.4.8.2016-11.fc37 xournal-debuginfo(riscv-64) = 0.4.8.2016-11.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xournal-debugsource(riscv-64) = 0.4.8.2016-11.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64 Wrote: /builddir/build/RPMS/xournal-0.4.8.2016-11.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/xournal-debuginfo-0.4.8.2016-11.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/xournal-debugsource-0.4.8.2016-11.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MjNir1 + umask 022 + cd /builddir/build/BUILD + cd xournal-0.4.8.2016 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xournal-0.4.8.2016-11.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.hjb2B7 + umask 022 + cd /builddir/build/BUILD + rm -rf xournal-0.4.8.2016 xournal-0.4.8.2016.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0