D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/evince-48.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tok3Lz sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GZGztU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/evince-48.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/evince-48.0-build + rm -rf evince-48.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/evince-48.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd evince-48.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CJQVjA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/evince-48.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd evince-48.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . build -Dtiff=enabled -Ddjvu=enabled -Dcomics=enabled -Dnautilus=false -Dps=enabled -Ddvi=enabled -Dgtk_doc=true -Dintrospection=true -Dmultimedia=enabled The Meson build system Version: 1.7.2 Source dir: /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0 Build dir: /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build Build type: native build Project name: evince Project version: 48.0 C compiler for the host machine: gcc (gcc 15.1.0 "gcc (Mageia 15.1.0-0.RC.20250418.1.mga10) 15.1.0 20250418 (prerelease)") C linker for the host machine: gcc ld.bfd 2.44 Host machine cpu family: x86_64 Host machine cpu: x86_64 Checking if "Support for nl_langinfo" compiles: YES Compiler for C supports arguments -Wno-deprecated-declarations: YES Found pkg-config: YES (/usr/bin/pkg-config) 2.3.0 Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.12 Run-time dependency gio-2.0 found: YES 2.84.1 Run-time dependency glib-2.0 found: YES 2.84.1 Run-time dependency gmodule-2.0 found: YES 2.84.1 Run-time dependency gmodule-no-export-2.0 found: YES 2.84.1 Run-time dependency gtk+-3.0 found: YES 3.24.49 Run-time dependency gthread-2.0 found: YES 2.84.1 Run-time dependency libhandy-1 found: YES 1.8.3 Run-time dependency libxml-2.0 found: YES 2.13.8 Library m found: YES Build-time dependency gi-docgen found: YES 2025.3 Run-time dependency cairo found: YES 1.18.4 Checking for function "cairo_surface_set_device_scale" with dependency cairo: YES Library z found: YES Checking for function "inflate" with dependency -lz: YES Checking for function "crc32" with dependency -lz: YES Run-time dependency dbus-1 found: YES 1.14.10 Run-time dependency libsecret-1 found: YES 0.21.7 Run-time dependency gtk+-unix-print-3.0 found: YES 3.24.49 Run-time dependency gio-unix-2.0 found: YES 2.84.1 Run-time dependency gobject-introspection-1.0 found: YES 1.84.0 Run-time dependency gnome-desktop-3.0 found: YES 44.1 Run-time dependency gstreamer-base-1.0 found: YES 1.26.0 Run-time dependency gstreamer-1.0 found: YES 1.26.0 Run-time dependency gstreamer-video-1.0 found: YES 1.26.0 Run-time dependency gspell-1 found: YES 1.14.0 Run-time dependency gsettings-desktop-schemas found: YES 48.0 Run-time dependency synctex found: YES 2.0.0 Run-time dependency libspectre found: YES 0.2.12 Run-time dependency libarchive found: YES 3.7.9 Run-time dependency ddjvuapi found: YES 3.5.28 Library kpathsea found: YES Checking for function "kpse_init_prog" with dependency -lkpathsea: YES Checking for type "size_t" : YES Checking for size of "short" : 2 Checking for size of "int" : 4 Checking for size of "long" : 8 Checking for size of "long long" : 8 Checking for size of "void *" : 8 Run-time dependency poppler-glib found: YES 25.04.0 Run-time dependency cairo-pdf found: YES 1.18.4 Run-time dependency cairo-ps found: YES 1.18.4 Run-time dependency libtiff-4 found: YES 4.7.0 Run-time dependency libgxps found: YES 0.3.2 Configuring ev-version.h using configuration Dependency glib-2.0 found: YES 2.84.1 (cached) Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums) Dependency glib-2.0 found: YES 2.84.1 (cached) Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums) Dependency gobject-introspection-1.0 found: YES 1.84.0 (cached) Dependency gobject-introspection-1.0 found: YES 1.84.0 (cached) Program /usr/bin/g-ir-scanner found: YES (/usr/bin/g-ir-scanner) Build-time dependency girepository-2.0 found: YES 2.84.1 Program /usr/bin/gi-compile-repository found: YES (/usr/bin/gi-compile-repository) Configuring comicsdocument.evince-backend.desktop.in using configuration Program msgfmt found: YES (/usr/bin/msgfmt) Configuring evince-comicsdocument.metainfo.xml.in using configuration Configuring djvudocument.evince-backend.desktop.in using configuration Configuring evince-djvudocument.metainfo.xml.in using configuration Configuring dvidocument.evince-backend.desktop.in using configuration Configuring evince-dvidocument.metainfo.xml.in using configuration Configuring pdfdocument.evince-backend.desktop.in using configuration Configuring evince-pdfdocument.metainfo.xml.in using configuration Configuring psdocument.evince-backend.desktop.in using configuration Configuring evince-psdocument.metainfo.xml.in using configuration Configuring tiffdocument.evince-backend.desktop.in using configuration Configuring evince-tiffdocument.metainfo.xml.in using configuration Configuring xpsdocument.evince-backend.desktop.in using configuration Configuring evince-xpsdocument.metainfo.xml.in using configuration Dependency glib-2.0 found: YES 2.84.1 (cached) Program /usr/bin/glib-genmarshal found: YES (/usr/bin/glib-genmarshal) Dependency glib-2.0 found: YES 2.84.1 (cached) Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums) Dependency glib-2.0 found: YES 2.84.1 (cached) Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums) Dependency gio-2.0 found: YES 2.84.1 (cached) Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources) Dependency gio-2.0 found: YES 2.84.1 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Dependency gio-2.0 found: YES 2.84.1 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Program msginit found: YES (/usr/bin/msginit) Program msgmerge found: YES (/usr/bin/msgmerge) Program xgettext found: YES (/usr/bin/xgettext) Program gi-docgen found: YES (/usr/bin/gi-docgen) Configuring libevdocument.toml using configuration Configuring libevview.toml using configuration Program itstool found: YES (/usr/bin/itstool) Program msgmerge found: YES (/usr/bin/msgmerge) Program msgfmt found: YES (/usr/bin/msgfmt) Configuring evince.thumbnailer using configuration Dependency gio-2.0 found: YES 2.84.1 (cached) Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources) Configuring org.gnome.Evince.desktop.in using configuration Configuring org.gnome.Evince-previewer.desktop.in using configuration Configuring org.gnome.evince.Daemon.service using configuration Configuring org.gnome.Evince.service using configuration Program appstreamcli found: NO Configuring config.h using configuration Dependency gio-2.0 found: YES 2.84.1 (cached) Program /usr/bin/glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas) Program gtk4-update-icon-cache found: YES (/usr/bin/gtk4-update-icon-cache) Program update-desktop-database found: YES (/usr/bin/update-desktop-database) Program check-news.sh found: YES (/home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/check-news.sh) Build targets in project: 266 evince 48.0 General Platform...................: gnome Debug mode.................: NO Frontends Viewer.....................: YES Previewer..................: YES Thumbnailer................: YES Nautilus extension.........: NO Backends Comics.....................: YES DJVU.......................: YES DVI........................: YES PDF........................: YES PostScript.................: YES TIFF.......................: YES XPS........................: YES Features Gtk-doc reference..........: YES User documentation.........: YES GObject introspection......: YES DBus communication.........: YES Systemd units installation.: /usr/lib/systemd/user Keyring integration........: YES GTK+ Unix print ...........: YES Thumbnail cache ...........: YES Multimedia ................: YES Spell checker .............: YES SyncTex ...................: external User defined options auto_features : enabled bindir : /usr/bin buildtype : plain comics : enabled datadir : /usr/share djvu : enabled dvi : enabled gtk_doc : true includedir : /usr/include infodir : /usr/share/info introspection : true libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man multimedia : enabled nautilus : false prefix : /usr ps : enabled sbindir : /usr/sbin sharedstatedir : /var/lib sysconfdir : /etc tiff : enabled wrap_mode : nodownload Found ninja-1.12.1 at /usr/bin/ninja + /usr/bin/meson compile -C build -j 48 --verbose ninja: Entering directory `/home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build' [1/378] /usr/bin/glib-genmarshal --quiet --prefix ev_view_marshal --prototypes --internal --output libview/ev-view-marshal.h --header ../libview/ev-view-marshal.list --pragma-once [2/378] /usr/bin/meson --internal exe --capture libview/ev-view-type-builtins.h -- /usr/bin/glib-mkenums --template /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-view-type-builtins.h.template /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-document-model.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-job-scheduler.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-jobs.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-print-operation.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-stock-icons.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-view-presentation.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-view.h [3/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/afmparse.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/afmparse.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/afmparse.c.o -c ../backend/dvi/mdvi-lib/afmparse.c [4/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/color.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/color.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/color.c.o -c ../backend/dvi/mdvi-lib/color.c [5/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/common.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/common.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/common.c.o -c ../backend/dvi/mdvi-lib/common.c [6/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/files.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/files.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/files.c.o -c ../backend/dvi/mdvi-lib/files.c [7/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/fontsrch.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/fontsrch.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/fontsrch.c.o -c ../backend/dvi/mdvi-lib/fontsrch.c [8/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/hash.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/hash.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/hash.c.o -c ../backend/dvi/mdvi-lib/hash.c [9/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/list.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/list.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/list.c.o -c ../backend/dvi/mdvi-lib/list.c [10/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/tt.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/tt.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/tt.c.o -c ../backend/dvi/mdvi-lib/tt.c [11/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/dviread.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/dviread.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/dviread.c.o -c ../backend/dvi/mdvi-lib/dviread.c FAILED: backend/dvi/mdvi-lib/libmdvi.a.p/dviread.c.o gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/dviread.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/dviread.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/dviread.c.o -c ../backend/dvi/mdvi-lib/dviread.c In file included from /usr/include/kpathsea/debug.h:26, from ../backend/dvi/mdvi-lib/private.h:35, from ../backend/dvi/mdvi-lib/dviread.c:30: /usr/include/kpathsea/c-std.h:48:14: error: conflicting types for ‘getenv’; have ‘char *(void)’ 48 | extern char *getenv (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/dviread.c:21: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ In file included from /usr/include/kpathsea/c-std.h:76: /usr/include/kpathsea/c-memstr.h:57:14: error: conflicting types for ‘strtok’; have ‘char *(void)’ 57 | extern char *strtok (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/dviread.c:23: /usr/include/string.h:356:14: note: previous declaration of ‘strtok’ with type ‘char *(char * restrict, const char * restrict)’ 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ^~~~~~ /usr/include/kpathsea/c-memstr.h:59:14: error: conflicting types for ‘strstr’; have ‘char *(void)’ 59 | extern char *strstr (); | ^~~~~~ /usr/include/string.h:350:14: note: previous declaration of ‘strstr’ with type ‘char *(const char *, const char *)’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ ../backend/dvi/mdvi-lib/dviread.c: In function ‘mdvi_init_context’: ../backend/dvi/mdvi-lib/dviread.c:767:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 767 | fread(dvi->fileid, 1, n, p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [12/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/font.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/font.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/font.c.o -c ../backend/dvi/mdvi-lib/font.c FAILED: backend/dvi/mdvi-lib/libmdvi.a.p/font.c.o gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/font.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/font.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/font.c.o -c ../backend/dvi/mdvi-lib/font.c In file included from /usr/include/kpathsea/debug.h:26, from ../backend/dvi/mdvi-lib/private.h:35, from ../backend/dvi/mdvi-lib/font.c:23: /usr/include/kpathsea/c-std.h:48:14: error: conflicting types for ‘getenv’; have ‘char *(void)’ 48 | extern char *getenv (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/font.c:20: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ In file included from /usr/include/kpathsea/c-std.h:76: /usr/include/kpathsea/c-memstr.h:57:14: error: conflicting types for ‘strtok’; have ‘char *(void)’ 57 | extern char *strtok (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/common.h:28, from ../backend/dvi/mdvi-lib/mdvi.h:27, from ../backend/dvi/mdvi-lib/font.c:22: /usr/include/string.h:356:14: note: previous declaration of ‘strtok’ with type ‘char *(char * restrict, const char * restrict)’ 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ^~~~~~ /usr/include/kpathsea/c-memstr.h:59:14: error: conflicting types for ‘strstr’; have ‘char *(void)’ 59 | extern char *strstr (); | ^~~~~~ /usr/include/string.h:350:14: note: previous declaration of ‘strstr’ with type ‘char *(const char *, const char *)’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ [13/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/fontmap.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/fontmap.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/fontmap.c.o -c ../backend/dvi/mdvi-lib/fontmap.c FAILED: backend/dvi/mdvi-lib/libmdvi.a.p/fontmap.c.o gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/fontmap.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/fontmap.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/fontmap.c.o -c ../backend/dvi/mdvi-lib/fontmap.c In file included from /usr/include/kpathsea/debug.h:26, from ../backend/dvi/mdvi-lib/private.h:35, from ../backend/dvi/mdvi-lib/fontmap.c:28: /usr/include/kpathsea/c-std.h:48:14: error: conflicting types for ‘getenv’; have ‘char *(void)’ 48 | extern char *getenv (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/fontmap.c:22: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ In file included from /usr/include/kpathsea/c-std.h:76: /usr/include/kpathsea/c-memstr.h:57:14: error: conflicting types for ‘strtok’; have ‘char *(void)’ 57 | extern char *strtok (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/fontmap.c:21: /usr/include/string.h:356:14: note: previous declaration of ‘strtok’ with type ‘char *(char * restrict, const char * restrict)’ 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ^~~~~~ /usr/include/kpathsea/c-memstr.h:59:14: error: conflicting types for ‘strstr’; have ‘char *(void)’ 59 | extern char *strstr (); | ^~~~~~ /usr/include/string.h:350:14: note: previous declaration of ‘strstr’ with type ‘char *(const char *, const char *)’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ ../backend/dvi/mdvi-lib/fontmap.c: In function ‘ps_init_default_paths’: ../backend/dvi/mdvi-lib/fontmap.c:887:18: error: too many arguments to function ‘getenv’; expected 0, have 1 887 | kppath = getenv("GS_LIB"); | ^~~~~~ ~~~~~~~~ /usr/include/kpathsea/c-std.h:48:14: note: declared here 48 | extern char *getenv (); | ^~~~~~ ../backend/dvi/mdvi-lib/fontmap.c:888:18: error: too many arguments to function ‘getenv’; expected 0, have 1 888 | kfpath = getenv("GS_FONTPATH"); | ^~~~~~ ~~~~~~~~~~~~~ /usr/include/kpathsea/c-std.h:48:14: note: declared here 48 | extern char *getenv (); | ^~~~~~ [14/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/gf.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/gf.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/gf.c.o -c ../backend/dvi/mdvi-lib/gf.c FAILED: backend/dvi/mdvi-lib/libmdvi.a.p/gf.c.o gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/gf.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/gf.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/gf.c.o -c ../backend/dvi/mdvi-lib/gf.c In file included from /usr/include/kpathsea/c-std.h:76, from /usr/include/kpathsea/debug.h:26, from ../backend/dvi/mdvi-lib/private.h:35, from ../backend/dvi/mdvi-lib/gf.c:26: /usr/include/kpathsea/c-memstr.h:57:14: error: conflicting types for ‘strtok’; have ‘char *(void)’ 57 | extern char *strtok (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/gf.c:23: /usr/include/string.h:356:14: note: previous declaration of ‘strtok’ with type ‘char *(char * restrict, const char * restrict)’ 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ^~~~~~ /usr/include/kpathsea/c-memstr.h:59:14: error: conflicting types for ‘strstr’; have ‘char *(void)’ 59 | extern char *strstr (); | ^~~~~~ /usr/include/string.h:350:14: note: previous declaration of ‘strstr’ with type ‘char *(const char *, const char *)’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ [15/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/pagesel.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/pagesel.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/pagesel.c.o -c ../backend/dvi/mdvi-lib/pagesel.c FAILED: backend/dvi/mdvi-lib/libmdvi.a.p/pagesel.c.o gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/pagesel.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/pagesel.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/pagesel.c.o -c ../backend/dvi/mdvi-lib/pagesel.c In file included from /usr/include/kpathsea/debug.h:26, from ../backend/dvi/mdvi-lib/private.h:35, from ../backend/dvi/mdvi-lib/pagesel.c:27: /usr/include/kpathsea/c-std.h:48:14: error: conflicting types for ‘getenv’; have ‘char *(void)’ 48 | extern char *getenv (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/pagesel.c:21: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ In file included from /usr/include/kpathsea/c-std.h:76: /usr/include/kpathsea/c-memstr.h:57:14: error: conflicting types for ‘strtok’; have ‘char *(void)’ 57 | extern char *strtok (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/pagesel.c:23: /usr/include/string.h:356:14: note: previous declaration of ‘strtok’ with type ‘char *(char * restrict, const char * restrict)’ 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ^~~~~~ /usr/include/kpathsea/c-memstr.h:59:14: error: conflicting types for ‘strstr’; have ‘char *(void)’ 59 | extern char *strstr (); | ^~~~~~ /usr/include/string.h:350:14: note: previous declaration of ‘strstr’ with type ‘char *(const char *, const char *)’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ [16/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/paper.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/paper.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/paper.c.o -c ../backend/dvi/mdvi-lib/paper.c FAILED: backend/dvi/mdvi-lib/libmdvi.a.p/paper.c.o gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/paper.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/paper.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/paper.c.o -c ../backend/dvi/mdvi-lib/paper.c In file included from /usr/include/kpathsea/c-std.h:76, from /usr/include/kpathsea/debug.h:26, from ../backend/dvi/mdvi-lib/private.h:35, from ../backend/dvi/mdvi-lib/paper.c:24: /usr/include/kpathsea/c-memstr.h:57:14: error: conflicting types for ‘strtok’; have ‘char *(void)’ 57 | extern char *strtok (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/paper.c:20: /usr/include/string.h:356:14: note: previous declaration of ‘strtok’ with type ‘char *(char * restrict, const char * restrict)’ 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ^~~~~~ /usr/include/kpathsea/c-memstr.h:59:14: error: conflicting types for ‘strstr’; have ‘char *(void)’ 59 | extern char *strstr (); | ^~~~~~ /usr/include/string.h:350:14: note: previous declaration of ‘strstr’ with type ‘char *(const char *, const char *)’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ [17/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/pk.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/pk.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/pk.c.o -c ../backend/dvi/mdvi-lib/pk.c FAILED: backend/dvi/mdvi-lib/libmdvi.a.p/pk.c.o gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/pk.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/pk.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/pk.c.o -c ../backend/dvi/mdvi-lib/pk.c In file included from /usr/include/kpathsea/debug.h:26, from ../backend/dvi/mdvi-lib/private.h:35, from ../backend/dvi/mdvi-lib/pk.c:39: /usr/include/kpathsea/c-std.h:48:14: error: conflicting types for ‘getenv’; have ‘char *(void)’ 48 | extern char *getenv (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/pk.c:33: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ In file included from /usr/include/kpathsea/c-std.h:76: /usr/include/kpathsea/c-memstr.h:57:14: error: conflicting types for ‘strtok’; have ‘char *(void)’ 57 | extern char *strtok (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/pk.c:35: /usr/include/string.h:356:14: note: previous declaration of ‘strtok’ with type ‘char *(char * restrict, const char * restrict)’ 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ^~~~~~ /usr/include/kpathsea/c-memstr.h:59:14: error: conflicting types for ‘strstr’; have ‘char *(void)’ 59 | extern char *strstr (); | ^~~~~~ /usr/include/string.h:350:14: note: previous declaration of ‘strstr’ with type ‘char *(const char *, const char *)’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ [18/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/setup.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/setup.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/setup.c.o -c ../backend/dvi/mdvi-lib/setup.c FAILED: backend/dvi/mdvi-lib/libmdvi.a.p/setup.c.o gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/setup.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/setup.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/setup.c.o -c ../backend/dvi/mdvi-lib/setup.c In file included from /usr/include/kpathsea/debug.h:26, from ../backend/dvi/mdvi-lib/private.h:35, from ../backend/dvi/mdvi-lib/setup.c:26: /usr/include/kpathsea/c-std.h:48:14: error: conflicting types for ‘getenv’; have ‘char *(void)’ 48 | extern char *getenv (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/setup.c:20: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ In file included from /usr/include/kpathsea/c-std.h:76: /usr/include/kpathsea/c-memstr.h:57:14: error: conflicting types for ‘strtok’; have ‘char *(void)’ 57 | extern char *strtok (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/setup.c:21: /usr/include/string.h:356:14: note: previous declaration of ‘strtok’ with type ‘char *(char * restrict, const char * restrict)’ 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ^~~~~~ /usr/include/kpathsea/c-memstr.h:59:14: error: conflicting types for ‘strstr’; have ‘char *(void)’ 59 | extern char *strstr (); | ^~~~~~ /usr/include/string.h:350:14: note: previous declaration of ‘strstr’ with type ‘char *(const char *, const char *)’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ [19/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/special.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/special.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/special.c.o -c ../backend/dvi/mdvi-lib/special.c FAILED: backend/dvi/mdvi-lib/libmdvi.a.p/special.c.o gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/special.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/special.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/special.c.o -c ../backend/dvi/mdvi-lib/special.c In file included from /usr/include/kpathsea/c-std.h:76, from /usr/include/kpathsea/debug.h:26, from ../backend/dvi/mdvi-lib/private.h:35, from ../backend/dvi/mdvi-lib/special.c:24: /usr/include/kpathsea/c-memstr.h:57:14: error: conflicting types for ‘strtok’; have ‘char *(void)’ 57 | extern char *strtok (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/special.c:21: /usr/include/string.h:356:14: note: previous declaration of ‘strtok’ with type ‘char *(char * restrict, const char * restrict)’ 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ^~~~~~ /usr/include/kpathsea/c-memstr.h:59:14: error: conflicting types for ‘strstr’; have ‘char *(void)’ 59 | extern char *strstr (); | ^~~~~~ /usr/include/string.h:350:14: note: previous declaration of ‘strstr’ with type ‘char *(const char *, const char *)’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ [20/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/sp-epsf.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/sp-epsf.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/sp-epsf.c.o -c ../backend/dvi/mdvi-lib/sp-epsf.c FAILED: backend/dvi/mdvi-lib/libmdvi.a.p/sp-epsf.c.o gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/sp-epsf.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/sp-epsf.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/sp-epsf.c.o -c ../backend/dvi/mdvi-lib/sp-epsf.c In file included from /usr/include/kpathsea/debug.h:26, from ../backend/dvi/mdvi-lib/private.h:35, from ../backend/dvi/mdvi-lib/sp-epsf.c:28: /usr/include/kpathsea/c-std.h:48:14: error: conflicting types for ‘getenv’; have ‘char *(void)’ 48 | extern char *getenv (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/sp-epsf.c:22: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ In file included from /usr/include/kpathsea/c-std.h:76: /usr/include/kpathsea/c-memstr.h:57:14: error: conflicting types for ‘strtok’; have ‘char *(void)’ 57 | extern char *strtok (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/sp-epsf.c:23: /usr/include/string.h:356:14: note: previous declaration of ‘strtok’ with type ‘char *(char * restrict, const char * restrict)’ 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ^~~~~~ /usr/include/kpathsea/c-memstr.h:59:14: error: conflicting types for ‘strstr’; have ‘char *(void)’ 59 | extern char *strstr (); | ^~~~~~ /usr/include/string.h:350:14: note: previous declaration of ‘strstr’ with type ‘char *(const char *, const char *)’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ [21/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/tfm.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/tfm.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/tfm.c.o -c ../backend/dvi/mdvi-lib/tfm.c FAILED: backend/dvi/mdvi-lib/libmdvi.a.p/tfm.c.o gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/tfm.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/tfm.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/tfm.c.o -c ../backend/dvi/mdvi-lib/tfm.c In file included from /usr/include/kpathsea/debug.h:26, from ../backend/dvi/mdvi-lib/private.h:35, from ../backend/dvi/mdvi-lib/tfm.c:27: /usr/include/kpathsea/c-std.h:48:14: error: conflicting types for ‘getenv’; have ‘char *(void)’ 48 | extern char *getenv (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/tfm.c:20: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ In file included from /usr/include/kpathsea/c-std.h:76: /usr/include/kpathsea/c-memstr.h:57:14: error: conflicting types for ‘strtok’; have ‘char *(void)’ 57 | extern char *strtok (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/tfm.c:22: /usr/include/string.h:356:14: note: previous declaration of ‘strtok’ with type ‘char *(char * restrict, const char * restrict)’ 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ^~~~~~ /usr/include/kpathsea/c-memstr.h:59:14: error: conflicting types for ‘strstr’; have ‘char *(void)’ 59 | extern char *strstr (); | ^~~~~~ /usr/include/string.h:350:14: note: previous declaration of ‘strstr’ with type ‘char *(const char *, const char *)’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ [22/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/tfmfile.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/tfmfile.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/tfmfile.c.o -c ../backend/dvi/mdvi-lib/tfmfile.c FAILED: backend/dvi/mdvi-lib/libmdvi.a.p/tfmfile.c.o gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/tfmfile.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/tfmfile.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/tfmfile.c.o -c ../backend/dvi/mdvi-lib/tfmfile.c In file included from /usr/include/kpathsea/debug.h:26, from ../backend/dvi/mdvi-lib/private.h:35, from ../backend/dvi/mdvi-lib/tfmfile.c:29: /usr/include/kpathsea/c-std.h:48:14: error: conflicting types for ‘getenv’; have ‘char *(void)’ 48 | extern char *getenv (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/tfmfile.c:22: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ In file included from /usr/include/kpathsea/c-std.h:76: /usr/include/kpathsea/c-memstr.h:57:14: error: conflicting types for ‘strtok’; have ‘char *(void)’ 57 | extern char *strtok (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/tfmfile.c:24: /usr/include/string.h:356:14: note: previous declaration of ‘strtok’ with type ‘char *(char * restrict, const char * restrict)’ 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ^~~~~~ /usr/include/kpathsea/c-memstr.h:59:14: error: conflicting types for ‘strstr’; have ‘char *(void)’ 59 | extern char *strstr (); | ^~~~~~ /usr/include/string.h:350:14: note: previous declaration of ‘strstr’ with type ‘char *(const char *, const char *)’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ ../backend/dvi/mdvi-lib/tfmfile.c: In function ‘ofm_load_file’: ../backend/dvi/mdvi-lib/tfmfile.c:516:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 516 | fread(info->coding, 39, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../backend/dvi/mdvi-lib/tfmfile.c:525:25: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 525 | fread(info->family, i, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../backend/dvi/mdvi-lib/tfmfile.c: In function ‘ofm1_load_file’: ../backend/dvi/mdvi-lib/tfmfile.c:339:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 339 | fread(info->coding, 39, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../backend/dvi/mdvi-lib/tfmfile.c:348:25: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 348 | fread(info->family, i, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [23/378] /usr/bin/msgfmt ../help/bg/bg.po -o help/bg/evince-bg.gmo [24/378] /usr/bin/msgfmt ../help/ca/ca.po -o help/ca/evince-ca.gmo [25/378] /usr/bin/msgfmt ../help/cs/cs.po -o help/cs/evince-cs.gmo [26/378] /usr/bin/msgfmt ../help/da/da.po -o help/da/evince-da.gmo [27/378] /usr/bin/msgfmt ../help/de/de.po -o help/de/evince-de.gmo [28/378] /usr/bin/msgfmt ../help/el/el.po -o help/el/evince-el.gmo [29/378] /usr/bin/msgfmt ../help/en_GB/en_GB.po -o help/en_GB/evince-en_GB.gmo [30/378] /usr/bin/msgfmt ../help/es/es.po -o help/es/evince-es.gmo [31/378] /usr/bin/msgfmt ../help/eu/eu.po -o help/eu/evince-eu.gmo [32/378] /usr/bin/msgfmt ../help/fa/fa.po -o help/fa/evince-fa.gmo [33/378] /usr/bin/msgfmt ../help/fi/fi.po -o help/fi/evince-fi.gmo [34/378] /usr/bin/msgfmt ../help/fr/fr.po -o help/fr/evince-fr.gmo [35/378] /usr/bin/glib-compile-resources ../previewer/previewer.gresource.xml --sourcedir /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/data --sourcedir ../previewer --c-name ev_previewer --internal --generate --target previewer/ev-previewer-resources.h [36/378] /usr/bin/meson --internal exe --capture libdocument/ev-document-type-builtins.h -- /usr/bin/glib-mkenums --template /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-type-builtins.h.template /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-annotation.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-async-renderer.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-attachment.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-backends-manager.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-annotations.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-attachments.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-factory.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-find.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-fonts.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-forms.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-images.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-info.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-layers.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-links.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-media.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-misc.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-print.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-security.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-text.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document-transition.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-document.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-file-exporter.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-file-helpers.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-form-field.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-image.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-init.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-layer.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-link-action.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-link-dest.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-link.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-macros.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-mapping-list.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-media.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-page.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-portal.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-render-context.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-selection.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libdocument/ev-transition-effect.h [37/378] /usr/bin/msgfmt ../help/it/it.po -o help/it/evince-it.gmo [38/378] /usr/bin/glib-genmarshal --quiet --prefix ev_view_marshal --prototypes --internal --output libview/ev-view-marshal.c --body ../libview/ev-view-marshal.list --include-header ev-view-marshal.h [39/378] /usr/bin/msgfmt ../help/gl/gl.po -o help/gl/evince-gl.gmo [40/378] /usr/bin/msgfmt ../help/id/id.po -o help/id/evince-id.gmo [41/378] /usr/bin/msgfmt ../help/ja/ja.po -o help/ja/evince-ja.gmo [42/378] /usr/bin/msgfmt ../help/ko/ko.po -o help/ko/evince-ko.gmo [43/378] gcc -Icut-n-paste/libdazzle/libdazzle.a.p -Icut-n-paste/libdazzle -I../cut-n-paste/libdazzle -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -pthread -MD -MQ cut-n-paste/libdazzle/libdazzle.a.p/dzl-file-manager.c.o -MF cut-n-paste/libdazzle/libdazzle.a.p/dzl-file-manager.c.o.d -o cut-n-paste/libdazzle/libdazzle.a.p/dzl-file-manager.c.o -c ../cut-n-paste/libdazzle/dzl-file-manager.c [44/378] /usr/bin/msgfmt ../help/hu/hu.po -o help/hu/evince-hu.gmo [45/378] /usr/bin/gdbus-codegen --c-generate-autocleanup objects --interface-prefix org.gnome.evince --c-namespace Ev --c-generate-object-manager --body --output shell/ev-daemon-gdbus-generated.c ../shell/ev-daemon-gdbus.xml [46/378] /usr/bin/gdbus-codegen --c-generate-autocleanup objects --interface-prefix org.gnome.evince --c-namespace Ev --c-generate-object-manager --header --output shell/ev-daemon-gdbus-generated.h ../shell/ev-daemon-gdbus.xml [47/378] /usr/bin/gdbus-codegen --c-generate-autocleanup objects --interface-prefix org.gnome.Evince --c-namespace Ev --c-generate-object-manager --header --output shell/ev-gdbus-generated.h ../shell/ev-gdbus.xml [48/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/vf.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/vf.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/vf.c.o -c ../backend/dvi/mdvi-lib/vf.c FAILED: backend/dvi/mdvi-lib/libmdvi.a.p/vf.c.o gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/vf.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/vf.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/vf.c.o -c ../backend/dvi/mdvi-lib/vf.c In file included from /usr/include/kpathsea/c-std.h:76, from /usr/include/kpathsea/debug.h:26, from ../backend/dvi/mdvi-lib/private.h:35, from ../backend/dvi/mdvi-lib/vf.c:24: /usr/include/kpathsea/c-memstr.h:57:14: error: conflicting types for ‘strtok’; have ‘char *(void)’ 57 | extern char *strtok (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/vf.c:21: /usr/include/string.h:356:14: note: previous declaration of ‘strtok’ with type ‘char *(char * restrict, const char * restrict)’ 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ^~~~~~ /usr/include/kpathsea/c-memstr.h:59:14: error: conflicting types for ‘strstr’; have ‘char *(void)’ 59 | extern char *strstr (); | ^~~~~~ /usr/include/string.h:350:14: note: previous declaration of ‘strstr’ with type ‘char *(const char *, const char *)’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ ../backend/dvi/mdvi-lib/vf.c: In function ‘vf_load_font’: ../backend/dvi/mdvi-lib/vf.c:121:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 121 | fread(name, 1, n, p); | ^~~~~~~~~~~~~~~~~~~~ [49/378] /usr/bin/meson --internal exe --capture libview/ev-view-type-builtins.c -- /usr/bin/glib-mkenums --template /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-view-type-builtins.c.template /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-document-model.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-job-scheduler.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-jobs.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-print-operation.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-stock-icons.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-view-presentation.h /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build/../libview/ev-view.h [50/378] /usr/bin/gdbus-codegen --c-generate-autocleanup objects --interface-prefix org.gnome.Evince --c-namespace Ev --c-generate-object-manager --body --output shell/ev-gdbus-generated.c ../shell/ev-gdbus.xml [51/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/util.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/util.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/util.c.o -c ../backend/dvi/mdvi-lib/util.c FAILED: backend/dvi/mdvi-lib/libmdvi.a.p/util.c.o gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/util.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/util.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/util.c.o -c ../backend/dvi/mdvi-lib/util.c In file included from /usr/include/kpathsea/debug.h:26, from ../backend/dvi/mdvi-lib/private.h:35, from ../backend/dvi/mdvi-lib/util.c:30: /usr/include/kpathsea/c-std.h:48:14: error: conflicting types for ‘getenv’; have ‘char *(void)’ 48 | extern char *getenv (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/util.c:21: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ In file included from /usr/include/kpathsea/c-std.h:76: /usr/include/kpathsea/c-memstr.h:57:14: error: conflicting types for ‘strtok’; have ‘char *(void)’ 57 | extern char *strtok (); | ^~~~~~ In file included from ../backend/dvi/mdvi-lib/util.c:23: /usr/include/string.h:356:14: note: previous declaration of ‘strtok’ with type ‘char *(char * restrict, const char * restrict)’ 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ^~~~~~ /usr/include/kpathsea/c-memstr.h:59:14: error: conflicting types for ‘strstr’; have ‘char *(void)’ 59 | extern char *strstr (); | ^~~~~~ /usr/include/string.h:350:14: note: previous declaration of ‘strstr’ with type ‘char *(const char *, const char *)’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ [52/378] gcc -Ibackend/dvi/mdvi-lib/libmdvi.a.p -Ibackend/dvi/mdvi-lib -I../backend/dvi/mdvi-lib -I. -I.. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -MD -MQ backend/dvi/mdvi-lib/libmdvi.a.p/bitmap.c.o -MF backend/dvi/mdvi-lib/libmdvi.a.p/bitmap.c.o.d -o backend/dvi/mdvi-lib/libmdvi.a.p/bitmap.c.o -c ../backend/dvi/mdvi-lib/bitmap.c [53/378] /usr/bin/glib-compile-resources ../previewer/previewer.gresource.xml --sourcedir /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/data --sourcedir ../previewer --c-name ev_previewer --internal --generate --target previewer/ev-previewer-resources.c --dependency-file previewer/ev-previewer-resources.c.d [54/378] /usr/bin/glib-compile-resources ../shell/evince.gresource.xml --sourcedir /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/data --sourcedir ../shell --c-name ev --internal --generate --target shell/ev-resources.h [55/378] /usr/bin/glib-compile-resources ../shell/evince.gresource.xml --sourcedir /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/data --sourcedir ../shell --c-name ev --internal --generate --target shell/ev-resources.c --dependency-file shell/ev-resources.c.d [56/378] gcc -Icut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.a.p -Icut-n-paste/gimpcellrenderertoggle -I../cut-n-paste/gimpcellrenderertoggle -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -pthread -MD -MQ cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.a.p/gimpcellrenderertoggle.c.o -MF cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.a.p/gimpcellrenderertoggle.c.o.d -o cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.a.p/gimpcellrenderertoggle.c.o -c ../cut-n-paste/gimpcellrenderertoggle/gimpcellrenderertoggle.c [57/378] gcc -Icut-n-paste/libgd/libgd.a.p -Icut-n-paste/libgd -I../cut-n-paste/libgd -I. -I.. -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/pixman-1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -pthread -MD -MQ cut-n-paste/libgd/libgd.a.p/gd-icon-utils.c.o -MF cut-n-paste/libgd/libgd.a.p/gd-icon-utils.c.o.d -o cut-n-paste/libgd/libgd.a.p/gd-icon-utils.c.o -c ../cut-n-paste/libgd/gd-icon-utils.c [58/378] gcc -Icut-n-paste/libgd/libgd.a.p -Icut-n-paste/libgd -I../cut-n-paste/libgd -I. -I.. -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/pixman-1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -Wno-deprecated-declarations -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -pthread -MD -MQ cut-n-paste/libgd/libgd.a.p/gd-two-lines-renderer.c.o -MF cut-n-paste/libgd/libgd.a.p/gd-two-lines-renderer.c.o.d -o cut-n-paste/libgd/libgd.a.p/gd-two-lines-renderer.c.o -c ../cut-n-paste/libgd/gd-two-lines-renderer.c ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /home/pterjan/rpmbuild/BUILD/evince-48.0-build/evince-48.0/build -j 48 -v error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CJQVjA (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CJQVjA (%build) I: [iurt_root_command] ERROR: chroot