Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/cups-filters.spec'], chrootPath='/var/lib/mock/dist-ocs23-rebuild-test-0-build-267525-25333/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/cups-filters.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/cups-filters-1.28.16-7.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/cups-filters.spec'], chrootPath='/var/lib/mock/dist-ocs23-rebuild-test-0-build-267525-25333/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/cups-filters.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.D79daj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cups-filters-1.28.16 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cups-filters-1.28.16.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd cups-filters-1.28.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'cups-filters-1.28.16 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/browsed-updatenetif.patch + /usr/bin/git apply --index --reject - Checking patch configure.ac... Checking patch utils/cups-browsed.c... Checking patch utils/cups-browsed.conf.5... Checking patch utils/cups-browsed.conf.in... Applied patch configure.ac cleanly. Applied patch utils/cups-browsed.c cleanly. Applied patch utils/cups-browsed.conf.5 cleanly. Applied patch utils/cups-browsed.conf.in cleanly. + /usr/bin/git commit -q -m browsed-updatenetif.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2023-24805.patch + /usr/bin/git apply --index --reject - :328: trailing whitespace. :469: trailing whitespace. :470: trailing whitespace. :474: trailing whitespace. :477: trailing whitespace. Checking patch backend/beh.c... Checking patch backend/beh.c.orig... Checking patch backend/beh.c.rej... Applied patch backend/beh.c cleanly. Applied patch backend/beh.c.orig cleanly. Applied patch backend/beh.c.rej cleanly. warning: squelched 7 whitespace errors warning: 12 lines add whitespace errors. + /usr/bin/git commit -q -m fix-CVE-2023-24805.patch --author 'rpm-build ' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CbFpYt + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cups-filters-1.28.16 + ./autogen.sh Copying file m4/codeset.m4 Copying file m4/extern-inline.m4 Copying file m4/fcntl-o.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intmax.m4 Copying file m4/inttypes-pri.m4 Copying file m4/inttypes_h.m4 Copying file m4/lcmessage.m4 Copying file m4/lock.m4 Copying file m4/longlong.m4 Copying file m4/printf-posix.m4 Copying file m4/size_max.m4 Copying file m4/stdint_h.m4 Copying file m4/threadlib.m4 Copying file m4/uintmax_t.m4 Copying file m4/visibility.m4 Copying file m4/wchar_t.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.m4 Creating directory po Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-potcdate.sin libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:53: installing './compile' configure.ac:21: installing './missing' Makefile.am: installing './depcomp' configure.ac:64: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:64: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:64: the top level + '[' '-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 2024-09-04 05:47:49.462616603 +0800 +++ ./configure 2024-09-04 05:47:49.503616578 +0800 @@ -2243,7 +2243,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. */ @@ -2305,7 +2305,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-09-04 05:47:49.503616578 +0800 +++ ./configure 2024-09-04 05:47:49.531616560 +0800 @@ -10355,7 +10355,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -25965,7 +25965,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 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/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --disable-silent-rules --with-pdftops=pdftops --enable-dbus --with-rcdir=no --disable-mutool --enable-driverless --enable-pclm --with-apple-raster-filter=rastertopdf --with-remote-cups-local-queue-naming=RemoteName --disable-braille --disable-frequent-netif-update --disable-exif --disable-ghostscript --disable-poppler 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 make supports nested variables... (cached) yes checking for x86_64-opencloudos-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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking whether g++ supports C++11 features by default... yes checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether ln -s -r -f works... yes checking whether make sets $(MAKE)... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-opencloudos-linux-gnu file names to x86_64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert x86_64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-opencloudos-linux-gnu-file... no checking for file... file checking for x86_64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for x86_64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 10361: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for x86_64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.20... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for x86_64-opencloudos-linux-gnu-cups-config... no checking for cups-config... /usr/bin/cups-config checking for library containing dlopen... none required checking for strlcat... yes checking for strlcpy... yes checking for sigaction... yes checking for waitpid... yes checking for wait3... yes checking for strtoll... yes checking for open_memstream... yes checking for getline... yes checking for strcasestr... yes checking for library containing pow... none required checking for stdlib.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for zlib.h... yes checking for endian.h... yes checking for dirent.h... yes checking for sys/ioctl.h... yes checking for jpeglib.h... yes checking for library containing jpeg_destroy_decompress... -ljpeg checking for libpng... yes checking for tiff.h... yes checking for library containing TIFFReadScanline... -ltiff checking for avahi-client... yes checking for ldap.h... no checking for glib-2.0 >= 2.30.2... yes checking for avahi-glib... yes checking for gio-2.0... yes checking for gio-unix-2.0... yes checking for lcms2... yes checking for freetype2... yes checking for fontconfig >= 2.0.0... yes checking for zlib... yes checking for libqpdf >= 8.3.0... yes checking for dbus-1... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for long long... yes checking for pdftops... /usr/bin/pdftops checking whether pdftops supports -origpagesizes... yes checking whether pdftops supports -r... yes checking for liblouis... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libcupsfilters.pc config.status: creating libfontembed.pc config.status: creating Makefile config.status: creating utils/cups-browsed config.status: creating utils/cups-browsed.conf config.status: creating filter/foomatic-rip/foomatic-rip.1 config.status: creating filter/braille/drivers/index/indexv4.sh config.status: creating filter/braille/drivers/index/indexv3.sh config.status: creating filter/braille/drivers/index/index.sh config.status: creating filter/braille/drivers/index/textbrftoindexv3 config.status: creating filter/braille/drivers/index/imageubrltoindexv3 config.status: creating filter/braille/drivers/index/imageubrltoindexv4 config.status: creating filter/braille/drivers/generic/brftoembosser config.status: creating filter/braille/filters/cups-braille.sh config.status: creating filter/braille/filters/imagetobrf config.status: creating filter/braille/filters/texttobrf config.status: creating filter/braille/filters/brftopagedbrf config.status: creating filter/braille/filters/vectortopdf config.status: creating filter/braille/filters/vectortobrf config.status: creating filter/braille/filters/musicxmltobrf config.status: creating filter/braille/filters/liblouis1.defs.gen config.status: creating mime/cupsfilters.convs config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: executing executable-scripts commands configure: ============================================================================== Environment settings: 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_GNU_SOURCE LDFLAGS: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 Build configuration: cups-config: system font directory: /etc/fonts/conf.d foomatic: yes init directory: cups dom socket: /var/run/cups/cups.sock poppler: no ghostscript: no gs-path: mutool: no mutool-path: ippfind-path: system imagefilters: yes jpeg: yes exif: no pdftocairo-path: system pdftops: pdftops pdftops-path: system png: yes php: no php-config: system shell: /bin/bash test-font: /usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf tiff: yes avahi: yes dbus: yes browsing: dnssd cups werror: no braille: no braille tables: /usr/share/liblouis/tables driverless: yes apple-raster: rastertopdf pclm: yes local queue naming for remote CUPS queues: RemoteName keep generated queues during shutdown: no update network interfaces after each found entry: no all ipp printer auto-setup: yes only driverless auto-setup: no only local auto-setup: no ============================================================================== + /usr/bin/make -O -j32 V=1 VERBOSE=1 gdbus-codegen \ --interface-prefix org.cups.cupsd \ --c-namespace Cups \ --generate-c-code cups-notifier \ utils/org.cups.cupsd.Notifier.xml gdbus-codegen \ --interface-prefix org.cups.cupsd \ --c-namespace Cups \ --generate-c-code cups-notifier \ utils/org.cups.cupsd.Notifier.xml /usr/bin/make all-recursive make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' sed \ -e "s|\@CUPS_SERVERBIN\@|/usr/lib/cups|" \ utils/driverless-fax.in >utils/driverless-fax make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o backend/beh-beh.o `test -f 'backend/beh.c' || echo './'`backend/beh.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/imagetopdf-common.o `test -f 'filter/common.c' || echo './'`filter/common.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/common.c: In function 'SetCommonOptions': filter/common.c:67:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 67 | ppd = ppdOpenFile(getenv("PPD")); | ^~~ In file included from filter/common.h:19, from filter/common.c:28: /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ filter/common.c:69:3: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 69 | ppdMarkDefaults(ppd); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:384:25: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/common.c:70:3: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 70 | cupsMarkOptions(ppd, num_options, options); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:362:25: note: declared here 362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/common.c:72:3: warning: 'ppdPageSize' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 72 | if ((pagesize = ppdPageSize(ppd, NULL)) != NULL) | ^~ /usr/include/cups/ppd.h:392:26: note: declared here 392 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name) | ^~~~~~~~~~~ filter/common.c:303:3: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 303 | if (ppdIsMarked(ppd, "Duplex", "DuplexNoTumble") || | ^~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:304:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 304 | ppdIsMarked(ppd, "Duplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:305:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 305 | ppdIsMarked(ppd, "JCLDuplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:306:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 306 | ppdIsMarked(ppd, "JCLDuplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:307:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 307 | ppdIsMarked(ppd, "EFDuplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:308:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 308 | ppdIsMarked(ppd, "EFDuplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:309:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 309 | ppdIsMarked(ppd, "KD03Duplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:310:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 310 | ppdIsMarked(ppd, "KD03Duplex", "DuplexTumble")) | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o backend/implicitclass-implicitclass.o `test -f 'backend/implicitclass.c' || echo './'`backend/implicitclass.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/imagetoraster-common.o `test -f 'filter/common.c' || echo './'`filter/common.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/common.c: In function 'SetCommonOptions': filter/common.c:67:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 67 | ppd = ppdOpenFile(getenv("PPD")); | ^~~ In file included from filter/common.h:19, from filter/common.c:28: /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ filter/common.c:69:3: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 69 | ppdMarkDefaults(ppd); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:384:25: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/common.c:70:3: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 70 | cupsMarkOptions(ppd, num_options, options); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:362:25: note: declared here 362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/common.c:72:3: warning: 'ppdPageSize' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 72 | if ((pagesize = ppdPageSize(ppd, NULL)) != NULL) | ^~ /usr/include/cups/ppd.h:392:26: note: declared here 392 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name) | ^~~~~~~~~~~ filter/common.c:303:3: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 303 | if (ppdIsMarked(ppd, "Duplex", "DuplexNoTumble") || | ^~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:304:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 304 | ppdIsMarked(ppd, "Duplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:305:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 305 | ppdIsMarked(ppd, "JCLDuplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:306:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 306 | ppdIsMarked(ppd, "JCLDuplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:307:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 307 | ppdIsMarked(ppd, "EFDuplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:308:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 308 | ppdIsMarked(ppd, "EFDuplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:309:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 309 | ppdIsMarked(ppd, "KD03Duplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:310:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 310 | ppdIsMarked(ppd, "KD03Duplex", "DuplexTumble")) | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-check.lo `test -f 'cupsfilters/check.c' || echo './'`cupsfilters/check.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/check.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-check.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-colormanager.lo `test -f 'cupsfilters/colormanager.c' || echo './'`cupsfilters/colormanager.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/colormanager.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-colormanager.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' cupsfilters/colormanager.c: In function '_get_ppd_icc_fallback': cupsfilters/colormanager.c:299:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 299 | attr = ppdFindAttr(ppd, profile_key, NULL); | ^~~~ In file included from cupsfilters/colormanager.h:41, from cupsfilters/colormanager.c:29: /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/colormanager.c:302:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 302 | attr = ppdFindAttr(ppd, profile_key, NULL); | ^~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/colormanager.c:319:3: warning: 'ppdFindNextAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 319 | for (;attr != NULL; attr = ppdFindNextAttr(ppd, profile_key, NULL)) { | ^~~ /usr/include/cups/ppd.h:401:26: note: declared here 401 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~~~~~ cupsfilters/colormanager.c:324:20: warning: the comparison will always evaluate as 'false' for the address of 'spec' will never be NULL [-Waddress] 324 | if (attr->spec == NULL || attr->value == NULL) | ^~ /usr/include/cups/ppd.h:143:17: note: 'spec' declared here 143 | char spec[PPD_MAX_NAME]; /* Specifier string, if any */ | ^~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o backend/parallel-ieee1284.o `test -f 'backend/ieee1284.c' || echo './'`backend/ieee1284.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-image-pix.lo `test -f 'cupsfilters/image-pix.c' || echo './'`cupsfilters/image-pix.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/image-pix.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-image-pix.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-dither.lo `test -f 'cupsfilters/dither.c' || echo './'`cupsfilters/dither.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/dither.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-dither.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-image-zoom.lo `test -f 'cupsfilters/image-zoom.c' || echo './'`cupsfilters/image-zoom.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/image-zoom.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-image-zoom.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o backend/parallel-parallel.o `test -f 'backend/parallel.c' || echo './'`backend/parallel.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-image-photocd.lo `test -f 'cupsfilters/image-photocd.c' || echo './'`cupsfilters/image-photocd.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/image-photocd.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-image-photocd.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-colord.lo `test -f 'cupsfilters/colord.c' || echo './'`cupsfilters/colord.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/colord.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-colord.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' cupsfilters/colord.c: In function 'colord_get_qualifier_for_ppd': cupsfilters/colord.c:60:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 60 | if ((attr = ppdFindAttr (ppd, "cupsICCQualifier1", NULL)) != NULL && | ^~ In file included from cupsfilters/colord.h:38, from cupsfilters/colord.c:39: /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/colord.c:64:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 64 | q1_attr = ppdFindAttr (ppd, q_keyword, NULL); | ^~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/colord.c:66:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 66 | else if ((q1_attr = ppdFindAttr (ppd, "DefaultColorModel", NULL)) == NULL) | ^~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/colord.c:67:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 67 | q1_attr = ppdFindAttr (ppd, "DefaultColorSpace", NULL); | ^~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/colord.c:75:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 75 | if ((attr = ppdFindAttr(ppd, "cupsICCQualifier2", NULL)) != NULL && | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/colord.c:79:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 79 | q2_attr = ppdFindAttr(ppd, q_keyword, NULL); | ^~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/colord.c:82:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 82 | q2_attr = ppdFindAttr(ppd, "DefaultMediaType", NULL); | ^~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/colord.c:90:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 90 | if ((attr = ppdFindAttr(ppd, "cupsICCQualifier3", NULL)) != NULL && | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/colord.c:94:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 94 | q3_attr = ppdFindAttr(ppd, q_keyword, NULL); | ^~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/colord.c:97:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 97 | q3_attr = ppdFindAttr(ppd, "DefaultResolution", NULL); | ^~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-image-png.lo `test -f 'cupsfilters/image-png.c' || echo './'`cupsfilters/image-png.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/image-png.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-image-png.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-attr.lo `test -f 'cupsfilters/attr.c' || echo './'`cupsfilters/attr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/attr.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-attr.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' cupsfilters/attr.c: In function 'cupsFindAttr': cupsfilters/attr.c:67:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 67 | if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL) | ^~ In file included from cupsfilters/driver.h:28, from cupsfilters/attr.c:23: /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/attr.c:72:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 72 | if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/attr.c:77:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 77 | if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/attr.c:82:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 82 | if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/attr.c:87:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 87 | if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/attr.c:92:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 92 | if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ cupsfilters/attr.c:97:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 97 | if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-image-sgi.lo `test -f 'cupsfilters/image-sgi.c' || echo './'`cupsfilters/image-sgi.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/image-sgi.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-image-sgi.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o backend/serial-serial.o `test -f 'backend/serial.c' || echo './'`backend/serial.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-image-sun.lo `test -f 'cupsfilters/image-sun.c' || echo './'`cupsfilters/image-sun.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/image-sun.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-image-sun.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-image-bmp.lo `test -f 'cupsfilters/image-bmp.c' || echo './'`cupsfilters/image-bmp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/image-bmp.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-image-bmp.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-ipp.lo `test -f 'cupsfilters/ipp.c' || echo './'`cupsfilters/ipp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/ipp.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-ipp.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-image-jpeg.lo `test -f 'cupsfilters/image-jpeg.c' || echo './'`cupsfilters/image-jpeg.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/image-jpeg.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-image-jpeg.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-image-gif.lo `test -f 'cupsfilters/image-gif.c' || echo './'`cupsfilters/image-gif.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/image-gif.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-image-gif.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-srgb.lo `test -f 'cupsfilters/srgb.c' || echo './'`cupsfilters/srgb.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/srgb.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-srgb.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-lut.lo `test -f 'cupsfilters/lut.c' || echo './'`cupsfilters/lut.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/lut.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-lut.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-pdftoippprinter.lo `test -f 'cupsfilters/pdftoippprinter.c' || echo './'`cupsfilters/pdftoippprinter.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/pdftoippprinter.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-pdftoippprinter.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-image.lo `test -f 'cupsfilters/image.c' || echo './'`cupsfilters/image.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/image.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-image.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' cupsfilters/image.c:50:25: warning: 'trim_spaces' declared 'static' but never defined [-Wunused-function] 50 | static void trim_spaces(char *buf); | ^~~~~~~~~~~ cupsfilters/image.c:51:26: warning: 'find_bytes' declared 'static' but never defined [-Wunused-function] 51 | static unsigned char *find_bytes(FILE *fp, long int *size); | ^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-image-pnm.lo `test -f 'cupsfilters/image-pnm.c' || echo './'`cupsfilters/image-pnm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/image-pnm.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-image-pnm.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/commandtoescpx-commandtoescpx.o `test -f 'filter/commandtoescpx.c' || echo './'`filter/commandtoescpx.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/commandtoescpx.c: In function 'main': filter/commandtoescpx.c:65:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 65 | if ((ppd = ppdOpenFile(getenv("PPD"))) == NULL) | ^~ In file included from filter/commandtoescpx.c:23: /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ filter/commandtoescpx.c:233:3: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 233 | ppdClose(ppd); | ^~~~~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-pack.lo `test -f 'cupsfilters/pack.c' || echo './'`cupsfilters/pack.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/pack.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-pack.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' g++ -DHAVE_CONFIG_H -I. -std=c++0x -I/usr/include/p11-kit-1 -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_GNU_SOURCE -c -o filter/pdftopdf/pdftopdf-pptypes.o `test -f 'filter/pdftopdf/pptypes.cc' || echo './'`filter/pdftopdf/pptypes.cc make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-image-sgilib.lo `test -f 'cupsfilters/image-sgilib.c' || echo './'`cupsfilters/image-sgilib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/image-sgilib.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-image-sgilib.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/commandtopclx-commandtopclx.o `test -f 'filter/commandtopclx.c' || echo './'`filter/commandtopclx.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/commandtopclx.c: In function 'main': filter/commandtopclx.c:65:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 65 | if ((ppd = ppdOpenFile(getenv("PPD"))) == NULL) | ^~ In file included from filter/commandtopclx.c:23: /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ filter/commandtopclx.c:160:3: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 160 | ppdClose(ppd); | ^~~~~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' g++ -DHAVE_CONFIG_H -I. -std=c++0x -I/usr/include/p11-kit-1 -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_GNU_SOURCE -c -o filter/pdftopdf/pdftopdf-nup.o `test -f 'filter/pdftopdf/nup.cc' || echo './'`filter/pdftopdf/nup.cc make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-rgb.lo `test -f 'cupsfilters/rgb.c' || echo './'`cupsfilters/rgb.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/rgb.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-rgb.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' cupsfilters/rgb.c: In function 'cupsRGBLoad': cupsfilters/rgb.c:370:5: warning: 'ppdFindNextAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 370 | if ((attr = ppdFindNextAttr(ppd, "cupsRGBSample", spec)) == NULL) | ^~ In file included from cupsfilters/driver.h:28, from cupsfilters/rgb.c:25: /usr/include/cups/ppd.h:401:26: note: declared here 401 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/sys5ippprinter-common.o `test -f 'filter/common.c' || echo './'`filter/common.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/common.c: In function 'SetCommonOptions': filter/common.c:67:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 67 | ppd = ppdOpenFile(getenv("PPD")); | ^~~ In file included from filter/common.h:19, from filter/common.c:28: /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ filter/common.c:69:3: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 69 | ppdMarkDefaults(ppd); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:384:25: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/common.c:70:3: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 70 | cupsMarkOptions(ppd, num_options, options); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:362:25: note: declared here 362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/common.c:72:3: warning: 'ppdPageSize' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 72 | if ((pagesize = ppdPageSize(ppd, NULL)) != NULL) | ^~ /usr/include/cups/ppd.h:392:26: note: declared here 392 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name) | ^~~~~~~~~~~ filter/common.c:303:3: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 303 | if (ppdIsMarked(ppd, "Duplex", "DuplexNoTumble") || | ^~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:304:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 304 | ppdIsMarked(ppd, "Duplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:305:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 305 | ppdIsMarked(ppd, "JCLDuplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:306:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 306 | ppdIsMarked(ppd, "JCLDuplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:307:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 307 | ppdIsMarked(ppd, "EFDuplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:308:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 308 | ppdIsMarked(ppd, "EFDuplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:309:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 309 | ppdIsMarked(ppd, "KD03Duplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:310:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 310 | ppdIsMarked(ppd, "KD03Duplex", "DuplexTumble")) | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-image-colorspace.lo `test -f 'cupsfilters/image-colorspace.c' || echo './'`cupsfilters/image-colorspace.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/image-colorspace.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-image-colorspace.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/p11-kit-1 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/pdftops-common.o `test -f 'filter/common.c' || echo './'`filter/common.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/common.c: In function 'SetCommonOptions': filter/common.c:67:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 67 | ppd = ppdOpenFile(getenv("PPD")); | ^~~ In file included from filter/common.h:19, from filter/common.c:28: /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ filter/common.c:69:3: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 69 | ppdMarkDefaults(ppd); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:384:25: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/common.c:70:3: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 70 | cupsMarkOptions(ppd, num_options, options); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:362:25: note: declared here 362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/common.c:72:3: warning: 'ppdPageSize' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 72 | if ((pagesize = ppdPageSize(ppd, NULL)) != NULL) | ^~ /usr/include/cups/ppd.h:392:26: note: declared here 392 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name) | ^~~~~~~~~~~ filter/common.c:303:3: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 303 | if (ppdIsMarked(ppd, "Duplex", "DuplexNoTumble") || | ^~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:304:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 304 | ppdIsMarked(ppd, "Duplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:305:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 305 | ppdIsMarked(ppd, "JCLDuplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:306:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 306 | ppdIsMarked(ppd, "JCLDuplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:307:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 307 | ppdIsMarked(ppd, "EFDuplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:308:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 308 | ppdIsMarked(ppd, "EFDuplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:309:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 309 | ppdIsMarked(ppd, "KD03Duplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:310:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 310 | ppdIsMarked(ppd, "KD03Duplex", "DuplexTumble")) | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/rastertopclx-pcl-common.o `test -f 'filter/pcl-common.c' || echo './'`filter/pcl-common.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -D_REENTRANT -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-4 -pthread -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/blkid -I/usr/include/sysprof-4 -pthread -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cups_browsed-cups-notifier.o `test -f 'cups-notifier.c' || echo './'`cups-notifier.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o fontembed/aglfn13.lo fontembed/aglfn13.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c fontembed/aglfn13.c -fPIC -DPIC -o fontembed/.libs/aglfn13.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./fontembed/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/texttopdf-pdfutils.o `test -f 'filter/pdfutils.c' || echo './'`filter/pdfutils.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./fontembed/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/texttopdf-common.o `test -f 'filter/common.c' || echo './'`filter/common.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/common.c: In function 'SetCommonOptions': filter/common.c:67:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 67 | ppd = ppdOpenFile(getenv("PPD")); | ^~~ In file included from filter/common.h:19, from filter/common.c:28: /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ filter/common.c:69:3: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 69 | ppdMarkDefaults(ppd); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:384:25: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/common.c:70:3: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 70 | cupsMarkOptions(ppd, num_options, options); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:362:25: note: declared here 362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/common.c:72:3: warning: 'ppdPageSize' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 72 | if ((pagesize = ppdPageSize(ppd, NULL)) != NULL) | ^~ /usr/include/cups/ppd.h:392:26: note: declared here 392 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name) | ^~~~~~~~~~~ filter/common.c:303:3: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 303 | if (ppdIsMarked(ppd, "Duplex", "DuplexNoTumble") || | ^~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:304:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 304 | ppdIsMarked(ppd, "Duplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:305:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 305 | ppdIsMarked(ppd, "JCLDuplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:306:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 306 | ppdIsMarked(ppd, "JCLDuplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:307:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 307 | ppdIsMarked(ppd, "EFDuplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:308:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 308 | ppdIsMarked(ppd, "EFDuplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:309:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 309 | ppdIsMarked(ppd, "KD03Duplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/common.c:310:7: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 310 | ppdIsMarked(ppd, "KD03Duplex", "DuplexTumble")) | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/sys5ippprinter-sys5ippprinter.o `test -f 'filter/sys5ippprinter.c' || echo './'`filter/sys5ippprinter.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o fontembed/dynstring.lo fontembed/dynstring.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c fontembed/dynstring.c -fPIC -DPIC -o fontembed/.libs/dynstring.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' g++ -DHAVE_CONFIG_H -I. -std=c++0x -I/usr/include/p11-kit-1 -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_GNU_SOURCE -c -o filter/pdftopdf/pdftopdf-intervalset.o `test -f 'filter/pdftopdf/intervalset.cc' || echo './'`filter/pdftopdf/intervalset.cc make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o fontembed/fontfile.lo fontembed/fontfile.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c fontembed/fontfile.c -fPIC -DPIC -o fontembed/.libs/fontfile.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-cmyk.lo `test -f 'cupsfilters/cmyk.c' || echo './'`cupsfilters/cmyk.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/cmyk.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-cmyk.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' cupsfilters/cmyk.c: In function 'cupsCMYKLoad': cupsfilters/cmyk.c:1130:12: warning: 'ppdFindNextAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1130 | attr = ppdFindNextAttr(ppd, "cupsBlackXY", spec)) | ^~~~ In file included from cupsfilters/driver.h:28, from cupsfilters/cmyk.c:34: /usr/include/cups/ppd.h:401:26: note: declared here 401 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~~~~~ cupsfilters/cmyk.c:1177:12: warning: 'ppdFindNextAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1177 | attr = ppdFindNextAttr(ppd, "cupsAllXY", spec)) | ^~~~ /usr/include/cups/ppd.h:401:26: note: declared here 401 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~~~~~ cupsfilters/cmyk.c:1233:12: warning: 'ppdFindNextAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1233 | attr = ppdFindNextAttr(ppd, "cupsCyanXY", spec)) | ^~~~ /usr/include/cups/ppd.h:401:26: note: declared here 401 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~~~~~ cupsfilters/cmyk.c:1253:12: warning: 'ppdFindNextAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1253 | attr = ppdFindNextAttr(ppd, "cupsAllXY", spec)) | ^~~~ /usr/include/cups/ppd.h:401:26: note: declared here 401 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~~~~~ cupsfilters/cmyk.c:1278:12: warning: 'ppdFindNextAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1278 | attr = ppdFindNextAttr(ppd, "cupsMagentaXY", spec)) | ^~~~ /usr/include/cups/ppd.h:401:26: note: declared here 401 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~~~~~ cupsfilters/cmyk.c:1318:12: warning: 'ppdFindNextAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1318 | attr = ppdFindNextAttr(ppd, "cupsAllXY", spec)) | ^~~~ /usr/include/cups/ppd.h:401:26: note: declared here 401 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~~~~~ cupsfilters/cmyk.c:1363:12: warning: 'ppdFindNextAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1363 | attr = ppdFindNextAttr(ppd, "cupsYellowXY", spec)) | ^~~~ /usr/include/cups/ppd.h:401:26: note: declared here 401 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~~~~~ cupsfilters/cmyk.c:1403:12: warning: 'ppdFindNextAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1403 | attr = ppdFindNextAttr(ppd, "cupsAllXY", spec)) | ^~~~ /usr/include/cups/ppd.h:401:26: note: declared here 401 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~~~~~ cupsfilters/cmyk.c:1452:12: warning: 'ppdFindNextAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1452 | attr = ppdFindNextAttr(ppd, "cupsLightBlackXY", spec)) | ^~~~ /usr/include/cups/ppd.h:401:26: note: declared here 401 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~~~~~ cupsfilters/cmyk.c:1518:12: warning: 'ppdFindNextAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1518 | attr = ppdFindNextAttr(ppd, "cupsLightCyanXY", spec)) | ^~~~ /usr/include/cups/ppd.h:401:26: note: declared here 401 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~~~~~ cupsfilters/cmyk.c:1557:12: warning: 'ppdFindNextAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1557 | attr = ppdFindNextAttr(ppd, "cupsLightMagentaXY", spec)) | ^~~~ /usr/include/cups/ppd.h:401:26: note: declared here 401 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o fontembed/embed.lo fontembed/embed.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c fontembed/embed.c -fPIC -DPIC -o fontembed/.libs/embed.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/imagetopdf-imagetopdf.o `test -f 'filter/imagetopdf.c' || echo './'`filter/imagetopdf.c filter/imagetopdf.c: In function 'emitJCLOptions': filter/imagetopdf.c:157:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 157 | if ((attr = ppdFindAttr(ppd,"pdftopdfJCLBegin",NULL)) != NULL) { | ^~ In file included from filter/common.h:19, from filter/imagetopdf.c:22: /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/imagetopdf.c:171:3: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 171 | if (ppdFindOption(ppd,"Copies") != NULL) { | ^~ /usr/include/cups/ppd.h:380:26: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ filter/imagetopdf.c:172:5: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 172 | ppdMarkOption(ppd,"Copies",buf); | ^~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/imagetopdf.c:174:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 174 | if ((attr = ppdFindAttr(ppd,"pdftopdfJCLCopies",buf)) != NULL) { | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/imagetopdf.c:186:5: warning: 'ppdCollect' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 186 | n = ppdCollect(ppd,(ppd_section_t)section,&choices); | ^ /usr/include/cups/ppd.h:365:25: note: declared here 365 | extern int ppdCollect(ppd_file_t *ppd, ppd_section_t section, | ^~~~~~~~~~ filter/imagetopdf.c:190:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 190 | if ((attr = ppdFindAttr(ppd,buf,choices[i]->choice)) != NULL) { | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/imagetopdf.c: In function 'main': filter/imagetopdf.c:791:7: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 791 | && (choice = ppdFindMarkedChoice(ppd,"Copies")) != NULL) { | ^~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/imagetopdf.c:799:7: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 799 | if (ppdFindOption(ppd,"Duplex") != NULL) { | ^~ /usr/include/cups/ppd.h:380:26: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ filter/imagetopdf.c:800:9: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 800 | ppdMarkOption(ppd,"Duplex","True"); | ^~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/imagetopdf.c:801:9: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 801 | ppdMarkOption(ppd,"Duplex","On"); | ^~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/imagetopdf.c:808:7: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 808 | if (ppdFindOption(ppd,"Duplex") != NULL) { | ^~ /usr/include/cups/ppd.h:380:26: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ filter/imagetopdf.c:809:9: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 809 | ppdMarkOption(ppd,"Duplex","True"); | ^~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/imagetopdf.c:810:9: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 810 | ppdMarkOption(ppd,"Duplex","On"); | ^~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/imagetopdf.c:824:5: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 824 | if ((choice = ppdFindMarkedChoice(ppd,"OutputOrder")) != 0) { | ^~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/imagetopdf.c:826:5: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 826 | } else if ((choice = ppdFindMarkedChoice(ppd,"OutputBin")) != 0 && | ^ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/imagetopdf.c:827:9: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 827 | (attr = ppdFindAttr(ppd,"PageStackOrder",choice->choice)) != 0 && | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/imagetopdf.c:830:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 830 | } else if ((attr = ppdFindAttr(ppd,"DefaultOutputOrder",0)) != 0 && | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/imagetopdf.c:840:10: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 840 | ((attr = ppdFindAttr(ppd,"cupsEvenDuplex",0)) != 0 && | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/imagetopdf.c:866:5: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 866 | if ((choice = ppdFindMarkedChoice(ppd,"Collate")) != NULL | ^~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/imagetopdf.c:1187:5: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1187 | ppdClose(ppd); | ^~~~~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' ^~~~~~~~ filter/imagetopdf.c:1386:3: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1386 | if ((choice = ppdFindMarkedChoice(ppd, "PageSize")) != NULL && | ^~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/imagetopdf.c:1434:5: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1434 | ppdMarkOption(ppd, "PageSize", s); | ^~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/imagetopdf.c:1451:5: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1451 | ppdMarkOption(ppd,"Collate","False"); | ^~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/imagetopdf.c:1460:5: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1460 | if ((choice = ppdFindMarkedChoice(ppd,"Collate")) != NULL && | ^~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/imagetopdf.c:1464:7: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1464 | if ((opt = ppdFindOption(ppd,"Collate")) != NULL && | ^~ /usr/include/cups/ppd.h:380:26: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ filter/imagetopdf.c:1468:9: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1468 | ppdMarkOption(ppd,"Collate","False"); | ^~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/imagetopdf.c:1474:5: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1474 | if (ppdFindOption(ppd,"OutputOrder") != NULL) { | ^~ /usr/include/cups/ppd.h:380:26: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ filter/imagetopdf.c:1490:9: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1490 | ppdMarkOption(ppd,"Collate","False"); | ^~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/imagetopdf.c:1512:7: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1512 | ppdMarkOption(ppd,"Copies","1"); | ^~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/imagetopdf.c:1513:7: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1513 | ppdMarkOption(ppd,"JCLCopies","1"); | ^~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/imagetopdf.c:1530:5: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1530 | ppdMarkOption(ppd,"Collate","False"); | ^~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/imagetopdf.c:1542:3: warning: 'ppdEmit' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1542 | ppdEmit(ppd, stdout, PPD_ORDER_EXIT); | ^~~~~~~ /usr/include/cups/ppd.h:368:25: note: declared here 368 | extern int ppdEmit(ppd_file_t *ppd, FILE *fp, | ^~~~~~~ filter/imagetopdf.c:1561:5: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1561 | if (ppdFindOption(ppd,"Copies") != NULL && deviceCopies > 1) | ^~ /usr/include/cups/ppd.h:380:26: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ filter/imagetopdf.c:1564:7: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1564 | ppdMarkOption(ppd,"Copies",buf); | ^~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/imagetopdf.c:1567:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1567 | if ((attr = ppdFindAttr(ppd,"JCLToPDFInterpreter",NULL)) != NULL) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/imagetopdf.c:1596:5: warning: 'ppdEmitJCL' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1596 | ppdEmitJCL(ppd, stdout, atoi(argv[1]), argv[2], argv[3]); | ^~~~~~~~~~ /usr/include/cups/ppd.h:372:25: note: declared here 372 | extern int ppdEmitJCL(ppd_file_t *ppd, FILE *fp, int job_id, | ^~~~~~~~~~ filter/imagetopdf.c:1847:7: warning: 'ppdEmitJCLEnd' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1847 | ppdEmitJCLEnd(ppd, stdout); | ^~~~~~~~~~~~~ /usr/include/cups/ppd.h:420:25: note: declared here 420 | extern int ppdEmitJCLEnd(ppd_file_t *ppd, FILE *fp) | ^~~~~~~~~~~~~ filter/imagetopdf.c:1852:3: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1852 | ppdClose(ppd); | ^~~~~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o fontembed/frequent.lo fontembed/frequent.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c fontembed/frequent.c -fPIC -DPIC -o fontembed/.libs/frequent.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./fontembed/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/texttopdf-textcommon.o `test -f 'filter/textcommon.c' || echo './'`filter/textcommon.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/textcommon.c: In function 'TextMain': filter/textcommon.c:1194:5: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1194 | ppdClose(ppd); | ^~~~~~~~ In file included from filter/common.h:19, from filter/textcommon.h:17, from filter/textcommon.c:23: /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-raster.lo `test -f 'cupsfilters/raster.c' || echo './'`cupsfilters/raster.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/raster.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-raster.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' cupsfilters/raster.c: In function 'cupsRasterParseIPPOptions': cupsfilters/raster.c:121:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 121 | if (ptr && ptr[0] != '\0' && (ppd = ppdOpenFile(ptr)) != NULL) | ^~ In file included from cupsfilters/raster.c:17: /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ cupsfilters/raster.c:125:7: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 125 | cupsMarkOptions(ppd, num_options, options); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:362:25: note: declared here 362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ cupsfilters/raster.c:126:7: warning: 'cupsRasterInterpretPPD' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 126 | cupsRasterInterpretPPD(h, ppd, num_options, options, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:409:25: note: declared here 409 | extern int cupsRasterInterpretPPD(cups_page_header2_t *h, | ^~~~~~~~~~~~~~~~~~~~~~ cupsfilters/raster.c:129:7: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 129 | if (ppdFindOption(ppd, options[i].name) == NULL) | ^~ /usr/include/cups/ppd.h:380:26: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-image-tiff.lo `test -f 'cupsfilters/image-tiff.c' || echo './'`cupsfilters/image-tiff.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/image-tiff.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-image-tiff.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' g++ -DHAVE_CONFIG_H -I. -std=c++0x -I/usr/include/p11-kit-1 -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_GNU_SOURCE -c -o filter/pdftopdf/pdftopdf-qpdf_pdftopdf.o `test -f 'filter/pdftopdf/qpdf_pdftopdf.cc' || echo './'`filter/pdftopdf/qpdf_pdftopdf.cc make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' In file included from /usr/include/qpdf/Buffer.hh:23, from /usr/include/qpdf/QPDFObjectHandle.hh:36, from filter/pdftopdf/qpdf_pdftopdf.h:4, from filter/pdftopdf/qpdf_pdftopdf.cc:1: /usr/include/qpdf/PointerHolder.hh:31:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp] 31 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" | ^~~~~~~ In file included from filter/pdftopdf/qpdf_pdftopdf.cc:4: /usr/include/qpdf/QUtil.hh:423:53: error: 'std::string_view' has not been declared 423 | std::string read_file_into_string(FILE* f, std::string_view filename = ""); | ^~~~~~~~~~~ /usr/include/qpdf/QUtil.hh:423:78: error: invalid conversion from 'const char*' to 'int' [-fpermissive] 423 | std::string read_file_into_string(FILE* f, std::string_view filename = ""); | ^ | | | const char* make[2]: *** [Makefile:4322: filter/pdftopdf/pdftopdf-qpdf_pdftopdf.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/texttotext-texttotext.o `test -f 'filter/texttotext.c' || echo './'`filter/texttotext.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/texttotext.c: In function 'main': filter/texttotext.c:260:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 260 | ppd = ppdOpenFile(getenv("PPD")); | ^~~ In file included from filter/texttotext.c:22: /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ filter/texttotext.c:263:5: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 263 | ppdMarkDefaults(ppd); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:384:25: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/texttotext.c:264:5: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 264 | cupsMarkOptions(ppd, num_options, options); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:362:25: note: declared here 362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/texttotext.c:276:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 276 | (ppd_attr = ppdFindAttr(ppd, "DefaultPageSize", NULL)) != NULL || | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/texttotext.c:277:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 277 | (ppd_attr = ppdFindAttr(ppd, "DefaultPageRegion", NULL)) != NULL) { | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/texttotext.c:283:9: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 283 | (ppd_attr = ppdFindAttr(ppd, buffer, NULL)) != NULL) { | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/texttotext.c:292:9: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 292 | (ppd_attr = ppdFindAttr(ppd, buffer, NULL)) != NULL) { | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/texttotext.c:334:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 334 | (ppd_attr = ppdFindAttr(ppd, "Defaultpage-left", NULL)) != NULL) { | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/texttotext.c:347:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 347 | (ppd_attr = ppdFindAttr(ppd, "Defaultpage-right", NULL)) != NULL) { | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/texttotext.c:360:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 360 | (ppd_attr = ppdFindAttr(ppd, "Defaultpage-top", NULL)) != NULL) { | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/texttotext.c:373:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 373 | (ppd_attr = ppdFindAttr(ppd, "Defaultpage-bottom", NULL)) != NULL) { | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/texttotext.c:395:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 395 | (ppd_attr = ppdFindAttr(ppd, "DefaultPrinterEncoding", NULL)) != NULL) { | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/texttotext.c:409:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 409 | (ppd_attr = ppdFindAttr(ppd, "DefaultOverlongLines", NULL)) != NULL) { | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/texttotext.c:428:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 428 | (ppd_attr = ppdFindAttr(ppd, "DefaultTabWidth", NULL)) != NULL) { | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/texttotext.c:443:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 443 | (ppd_attr = ppdFindAttr(ppd, "DefaultPagination", NULL)) != NULL) { | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/texttotext.c:458:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 458 | (ppd_attr = ppdFindAttr(ppd, "DefaultSendFF", NULL)) != NULL) { | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/texttotext.c:474:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 474 | (ppd_attr = ppdFindAttr(ppd, "DefaultNewlineCharacters", NULL)) != NULL) { | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/p11-kit-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./fontembed/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/bannertopdf-banner.o `test -f 'filter/banner.c' || echo './'`filter/banner.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o fontembed/sfnt_subset.lo fontembed/sfnt_subset.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c fontembed/sfnt_subset.c -fPIC -DPIC -o fontembed/.libs/sfnt_subset.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./fontembed/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/texttopdf-texttopdf.o `test -f 'filter/texttopdf.c' || echo './'`filter/texttopdf.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o fontembed/embed_pdf.lo fontembed/embed_pdf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c fontembed/embed_pdf.c -fPIC -DPIC -o fontembed/.libs/embed_pdf.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -DCONFIG_PATH='"/etc/foomatic"' -D_PPD_DEPRECATED="" -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/foomatic-rip/foomatic_rip-process.o `test -f 'filter/foomatic-rip/process.c' || echo './'`filter/foomatic-rip/process.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -DCONFIG_PATH='"/etc/foomatic"' -D_PPD_DEPRECATED="" -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/foomatic-rip/foomatic_rip-pdf.o `test -f 'filter/foomatic-rip/pdf.c' || echo './'`filter/foomatic-rip/pdf.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' g++ -DHAVE_CONFIG_H -I. -std=c++0x -I/usr/include/p11-kit-1 -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_GNU_SOURCE -c -o filter/pdftopdf/pdftopdf-pdftopdf_jcl.o `test -f 'filter/pdftopdf/pdftopdf_jcl.cc' || echo './'`filter/pdftopdf/pdftopdf_jcl.cc make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/pdftopdf/pdftopdf_jcl.cc: In function 'void emitJCLOptions(FILE*, ppd_file_t*, int)': filter/pdftopdf/pdftopdf_jcl.cc:21:26: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 21 | if ((attr = ppdFindAttr(ppd,"pdftopdfJCLBegin",NULL)) != NULL) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from filter/pdftopdf/pdftopdf_jcl.cc:3: /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/pdftopdf/pdftopdf_jcl.cc:35:20: warning: 'ppd_option_t* ppdFindOption(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 35 | if (ppdFindOption(ppd,"Copies") != NULL) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/cups/ppd.h:380:26: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ filter/pdftopdf/pdftopdf_jcl.cc:36:18: warning: 'int ppdMarkOption(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 36 | ppdMarkOption(ppd,"Copies",buf); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/pdftopdf/pdftopdf_jcl.cc:38:28: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 38 | if ((attr = ppdFindAttr(ppd,"pdftopdfJCLCopies",buf)) != NULL) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/pdftopdf/pdftopdf_jcl.cc:48:23: warning: 'int ppdCollect(ppd_file_t*, ppd_section_t, ppd_choice_t***)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 48 | int n = ppdCollect(ppd,(ppd_section_t)section,&choices); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:365:25: note: declared here 365 | extern int ppdCollect(ppd_file_t *ppd, ppd_section_t section, | ^~~~~~~~~~ filter/pdftopdf/pdftopdf_jcl.cc:52:30: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 52 | if ((attr = ppdFindAttr(ppd,buf,choices[i]->choice)) != NULL) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/pdftopdf/pdftopdf_jcl.cc: In function 'void emitPreamble(ppd_file_t*, const ProcessingParameters&)': filter/pdftopdf/pdftopdf_jcl.cc:124:10: warning: 'int ppdEmit(ppd_file_t*, FILE*, ppd_section_t)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 124 | ppdEmit(ppd,stdout,PPD_ORDER_EXIT); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:368:25: note: declared here 368 | extern int ppdEmit(ppd_file_t *ppd, FILE *fp, | ^~~~~~~ filter/pdftopdf/pdftopdf_jcl.cc:139:22: warning: 'ppd_option_t* ppdFindOption(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 139 | if (ppdFindOption(ppd,"Copies") != NULL && | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/cups/ppd.h:380:26: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ filter/pdftopdf/pdftopdf_jcl.cc:142:20: warning: 'int ppdMarkOption(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 142 | ppdMarkOption(ppd,"Copies",buf); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/pdftopdf/pdftopdf_jcl.cc:145:26: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 145 | if ((attr=ppdFindAttr(ppd,"JCLToPDFInterpreter",NULL)) != NULL) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/pdftopdf/pdftopdf_jcl.cc:164:15: warning: 'int ppdEmitJCL(ppd_file_t*, FILE*, int, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 164 | ppdEmitJCL(ppd,stdout,param.jobId,param.user,param.title); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:372:25: note: declared here 372 | extern int ppdEmitJCL(ppd_file_t *ppd, FILE *fp, int job_id, | ^~~~~~~~~~ filter/pdftopdf/pdftopdf_jcl.cc: In function 'void emitPostamble(ppd_file_t*, const ProcessingParameters&)': filter/pdftopdf/pdftopdf_jcl.cc:175:18: warning: 'int ppdEmitJCLEnd(ppd_file_t*, FILE*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 175 | ppdEmitJCLEnd(ppd,stdout); | ~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/cups/ppd.h:420:25: note: declared here 420 | extern int ppdEmitJCLEnd(ppd_file_t *ppd, FILE *fp) | ^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/rastertops-rastertops.o `test -f 'filter/rastertops.c' || echo './'`filter/rastertops.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/rastertops.c: In function 'main': filter/rastertops.c:398:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 398 | ppd = ppdOpenFile(getenv("PPD")); | ^~~ In file included from ./cupsfilters/colormanager.h:41, from filter/rastertops.c:37: /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ filter/rastertops.c:402:5: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 402 | ppdMarkDefaults(ppd); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:384:25: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/rastertops.c:403:5: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 403 | cupsMarkOptions(ppd, num_options, options); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:362:25: note: declared here 362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/rastertops.c:411:5: warning: 'ppdLastError' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 411 | status = ppdLastError(&linenum); | ^~~~~~ /usr/include/cups/ppd.h:403:25: note: declared here 403 | extern ppd_status_t ppdLastError(int *line) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~ filter/rastertops.c:412:5: warning: 'ppdErrorString' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 412 | fprintf(stderr, "DEBUG: %s on line %d.\n", ppdErrorString(status), linenum); | ^~~~~~~ /usr/include/cups/ppd.h:398:26: note: declared here 398 | extern const char *ppdErrorString(ppd_status_t status) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o fontembed/embed_sfnt.lo fontembed/embed_sfnt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c fontembed/embed_sfnt.c -fPIC -DPIC -o fontembed/.libs/embed_sfnt.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' g++ -DHAVE_CONFIG_H -I. -std=c++0x -I/usr/include/p11-kit-1 -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_GNU_SOURCE -c -o filter/pdftopdf/pdftopdf-qpdf_cm.o `test -f 'filter/pdftopdf/qpdf_cm.cc' || echo './'`filter/pdftopdf/qpdf_cm.cc make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' In file included from /usr/include/qpdf/Buffer.hh:23, from /usr/include/qpdf/QPDF.hh:35, from filter/pdftopdf/qpdf_cm.h:4, from filter/pdftopdf/qpdf_cm.cc:1: /usr/include/qpdf/PointerHolder.hh:31:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp] 31 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" | ^~~~~~~ /usr/include/qpdf/QPDF.hh:1340:36: error: 'std::string_view' has not been declared 1340 | void linearizationWarning(std::string_view); | ^~~~~~~~~~~ make[2]: *** [Makefile:4336: filter/pdftopdf/pdftopdf-qpdf_cm.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -DCONFIG_PATH='"/etc/foomatic"' -D_PPD_DEPRECATED="" -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/foomatic-rip/foomatic_rip-spooler.o `test -f 'filter/foomatic-rip/spooler.c' || echo './'`filter/foomatic-rip/spooler.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -DCONFIG_PATH='"/etc/foomatic"' -D_PPD_DEPRECATED="" -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/foomatic-rip/foomatic_rip-renderer.o `test -f 'filter/foomatic-rip/renderer.c' || echo './'`filter/foomatic-rip/renderer.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/rastertoescpx-rastertoescpx.o `test -f 'filter/rastertoescpx.c' || echo './'`filter/rastertoescpx.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/rastertoescpx.c: In function 'StartPage': filter/rastertoescpx.c:374:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 374 | if ((attr = ppdFindAttr(ppd, "cupsESCPFP", NULL)) != NULL && attr->value) | ^~ In file included from ./cupsfilters/driver.h:28, from filter/rastertoescpx.c:30: /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:395:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 395 | if ((attr = ppdFindAttr(ppd, "cupsESCPSN0", spec)) != NULL && attr->value) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:405:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 405 | if ((attr = ppdFindAttr(ppd, "cupsESCPSN1", spec)) != NULL && attr->value) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:415:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 415 | if ((attr = ppdFindAttr(ppd, "cupsESCPSN2", spec)) != NULL && attr->value) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:425:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 425 | if ((attr = ppdFindAttr(ppd, "cupsESCPSN6", spec)) != NULL && attr->value) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:435:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 435 | if ((attr = ppdFindAttr(ppd, "cupsESCPMT", spec)) != NULL && attr->value) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:445:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 445 | if ((attr = ppdFindAttr(ppd, "cupsESCPPH", spec)) != NULL && attr->value) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:460:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 460 | if ((attr = ppdFindAttr(ppd, "cupsESCPPC", spec)) != NULL && attr->value) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:470:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 470 | if ((attr = ppdFindAttr(ppd, "cupsESCPPP", spec)) != NULL && attr->value) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:486:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 486 | if ((attr = ppdFindAttr(ppd, "cupsESCPEX", spec)) != NULL && attr->value) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:497:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 497 | if ((attr = ppdFindAttr(ppd, "cupsESCPMS", spec)) != NULL && attr->value) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:611:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 611 | if ((attr = ppdFindAttr(ppd, "cupsESCPAC", spec)) != NULL && attr->value) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:620:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 620 | if ((attr = ppdFindAttr(ppd, "cupsESCPSN80", header->MediaType)) != NULL && attr->value) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:630:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 630 | if ((attr = ppdFindAttr(ppd, "cupsESCPSN81", header->MediaType)) != NULL && attr->value) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:641:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 641 | if ((attr = ppdFindAttr(ppd, "cupsESCPCO", spec)) != NULL && attr->value) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:868:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 868 | if ((attr = ppdFindAttr(ppd, "cupsESCPBlack", resolution)) != NULL && | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c:886:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 886 | if ((attr = ppdFindAttr(ppd, "cupsESCPOffsets", resolution)) != NULL && | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertoescpx.c: In function 'main': filter/rastertoescpx.c:1786:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1786 | ppd = ppdOpenFile(getenv("PPD")); | ^~~ /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ filter/rastertoescpx.c:1795:5: warning: 'ppdLastError' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1795 | status = ppdLastError(&linenum); | ^~~~~~ /usr/include/cups/ppd.h:403:25: note: declared here 403 | extern ppd_status_t ppdLastError(int *line) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~ filter/rastertoescpx.c:1797:5: warning: 'ppdErrorString' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1797 | fprintf(stderr, "DEBUG: %s on line %d.\n", ppdErrorString(status), linenum); | ^~~~~~~ /usr/include/cups/ppd.h:398:26: note: declared here 398 | extern const char *ppdErrorString(ppd_status_t status) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~ filter/rastertoescpx.c:1802:3: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1802 | ppdMarkDefaults(ppd); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:384:25: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/rastertoescpx.c:1803:3: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1803 | cupsMarkOptions(ppd, num_options, options); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:362:25: note: declared here 362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/p11-kit-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./fontembed/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/bannertopdf-bannertopdf.o `test -f 'filter/bannertopdf.c' || echo './'`filter/bannertopdf.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/bannertopdf.c: In function 'get_pagesize': filter/bannertopdf.c:89:5: warning: 'ppdPageSize' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 89 | if (!ppd || !(pagesize = ppdPageSize(ppd, NULL))) | ^~ In file included from filter/bannertopdf.c:32: /usr/include/cups/ppd.h:392:26: note: declared here 392 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name) | ^~~~~~~~~~~ filter/bannertopdf.c: In function 'duplex_marked': filter/bannertopdf.c:157:8: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 157 | (ppdIsMarked(ppd, "Duplex", "DuplexNoTumble") || | ^ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/bannertopdf.c:158:9: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 158 | ppdIsMarked(ppd, "Duplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/bannertopdf.c:159:9: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 159 | ppdIsMarked(ppd, "JCLDuplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/bannertopdf.c:160:9: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 160 | ppdIsMarked(ppd, "JCLDuplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/bannertopdf.c:161:9: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 161 | ppdIsMarked(ppd, "EFDuplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/bannertopdf.c:162:9: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 162 | ppdIsMarked(ppd, "EFDuplex", "DuplexTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/bannertopdf.c:163:9: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 163 | ppdIsMarked(ppd, "KD03Duplex", "DuplexNoTumble") || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/bannertopdf.c:164:9: warning: 'ppdIsMarked' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 164 | ppdIsMarked(ppd, "KD03Duplex", "DuplexTumble"))) || | ^~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/bannertopdf.c: In function 'get_known_opts': filter/bannertopdf.c:347:21: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 347 | (attr = ppdFindAttr(ppd, "FileVersion", NULL)) ? | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/bannertopdf.c: In function 'generate_banner_pdf': filter/bannertopdf.c:450:19: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 450 | (attr = ppdFindAttr(ppd, "FileVersion", NULL)) ? attr->value : ""); | ^ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/bannertopdf.c: In function 'main': filter/bannertopdf.c:547:5: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 547 | ppd = ppdOpenFile(getenv("PPD")); | ^~~ /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ filter/bannertopdf.c:553:7: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 553 | ppdMarkDefaults(ppd); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:384:25: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/bannertopdf.c:554:7: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 554 | cupsMarkOptions(ppd, noptions, options); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:362:25: note: declared here 362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' g++ -DHAVE_CONFIG_H -I. -std=c++0x -I/usr/include/p11-kit-1 -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_GNU_SOURCE -c -o filter/pdftopdf/pdftopdf-qpdf_xobject.o `test -f 'filter/pdftopdf/qpdf_xobject.cc' || echo './'`filter/pdftopdf/qpdf_xobject.cc make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' In file included from /usr/include/qpdf/Buffer.hh:23, from /usr/include/qpdf/QPDFObjectHandle.hh:36, from filter/pdftopdf/qpdf_xobject.h:4, from filter/pdftopdf/qpdf_xobject.cc:1: /usr/include/qpdf/PointerHolder.hh:31:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp] 31 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" | ^~~~~~~ In file included from filter/pdftopdf/qpdf_xobject.cc:3: /usr/include/qpdf/QPDF.hh:1340:36: error: 'std::string_view' has not been declared 1340 | void linearizationWarning(std::string_view); | ^~~~~~~~~~~ make[2]: *** [Makefile:4308: filter/pdftopdf/pdftopdf-qpdf_xobject.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/p11-kit-1 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/pdftops-pdftops.o `test -f 'filter/pdftops.c' || echo './'`filter/pdftops.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/pdftops.c: In function 'main': filter/pdftops.c:442:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 442 | ppd = ppdOpenFile(getenv("PPD")); | ^~~ In file included from filter/pdftops.c:29: /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ filter/pdftops.c:445:5: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 445 | ppdMarkDefaults(ppd); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:384:25: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/pdftops.c:446:5: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 446 | cupsMarkOptions(ppd, num_options, options); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:362:25: note: declared here 362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/pdftops.c:808:5: warning: 'cupsRasterInterpretPPD' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 808 | cupsRasterInterpretPPD(&header, ppd, num_options, options, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:409:25: note: declared here 409 | extern int cupsRasterInterpretPPD(cups_page_header2_t *h, | ^~~~~~~~~~~~~~~~~~~~~~ filter/pdftops.c:816:5: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 816 | else if ((choice = ppdFindMarkedChoice(ppd, "Resolution")) != NULL) | ^~~~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/pdftops.c:818:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 818 | else if ((attr = ppdFindAttr(ppd,"DefaultResolution",NULL)) != NULL) | ^~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/rastertopclx-rastertopclx.o `test -f 'filter/rastertopclx.c' || echo './'`filter/rastertopclx.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/rastertopclx.c: In function 'StartPage': filter/rastertopclx.c:454:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 454 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsInitialNulls", NULL)) != NULL)) | ^~ In file included from ./cupsfilters/colormanager.h:41, from filter/rastertopclx.c:29: /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:468:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 468 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "StartJob")) != NULL)) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:473:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 473 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", spec)) != NULL)) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:477:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 477 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", spec)) != NULL)) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:483:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 483 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", spec)) != NULL)) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:486:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 486 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "Duplex")) != NULL)) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:492:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 492 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "Tumble")) != NULL)) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:498:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 498 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "MediaClass")) != NULL)) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:502:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 502 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "MediaColor")) != NULL)) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:506:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 506 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "MediaType")) != NULL)) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:510:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 510 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "OutputType")) != NULL)) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:514:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 514 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "cupsBooklet")) != NULL && | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:515:17: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 515 | (choice = ppdFindMarkedChoice(ppd, "cupsBooklet")) != NULL)) | ^ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/rastertopclx.c:519:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 519 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "Jog")) != NULL)) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:525:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 525 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "cupsPunch")) != NULL && | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:526:17: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 526 | (choice = ppdFindMarkedChoice(ppd, "cupsPunch")) != NULL)) | ^ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/rastertopclx.c:530:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 530 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "cupsStaple")) != NULL && | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:531:17: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 531 | (choice = ppdFindMarkedChoice(ppd, "cupsStaple")) != NULL)) | ^ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/rastertopclx.c:535:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 535 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "cupsRET")) != NULL && | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:536:17: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 536 | (choice = ppdFindMarkedChoice(ppd, "cupsRET")) != NULL)) | ^ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/rastertopclx.c:540:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 540 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "cupsTonerSave")) != NULL && | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:541:17: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 541 | (choice = ppdFindMarkedChoice(ppd, "cupsTonerSave")) != NULL)) | ^ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/rastertopclx.c:555:7: warning: 'ppdEmit' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 555 | ppdEmit(ppd, stdout, PPD_ORDER_JCL); | ^~~~~~~ /usr/include/cups/ppd.h:368:25: note: declared here 368 | extern int ppdEmit(ppd_file_t *ppd, FILE *fp, | ^~~~~~~ filter/rastertopclx.c:621:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 621 | if (!ppd || ppdFindAttr(ppd, "cupsPJL", "Duplex") == NULL) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:635:7: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 635 | if ((!ppd || ppdFindAttr(ppd, "cupsPJL", "Jog") == NULL) && header->Jog) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:772:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 772 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPCLOrigin", "X")) != NULL)) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:777:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 777 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPCLOrigin", "Y")) != NULL)) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c: In function 'Shutdown': filter/rastertopclx.c:914:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 914 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPCL", "EndJob")) != NULL)) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c:936:5: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 936 | if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "EndJob")) != NULL)) | ^~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopclx.c: In function 'main': filter/rastertopclx.c:1834:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1834 | ppd = ppdOpenFile(getenv("PPD")); | ^~~ /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ filter/rastertopclx.c:1838:5: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1838 | ppdMarkDefaults(ppd); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:384:25: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/rastertopclx.c:1839:5: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1839 | cupsMarkOptions(ppd, num_options, options); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:362:25: note: declared here 362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/rastertopclx.c:1848:5: warning: 'ppdLastError' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1848 | status = ppdLastError(&linenum); | ^~~~~~ /usr/include/cups/ppd.h:403:25: note: declared here 403 | extern ppd_status_t ppdLastError(int *line) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~ filter/rastertopclx.c:1850:5: warning: 'ppdErrorString' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1850 | fprintf(stderr, "DEBUG: %s on line %d.\n", ppdErrorString(status), linenum); | ^~~~~~~ /usr/include/cups/ppd.h:398:26: note: declared here 398 | extern const char *ppdErrorString(ppd_status_t status) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' g++ -DHAVE_CONFIG_H -I. -std=c++0x -I/usr/include/p11-kit-1 -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_GNU_SOURCE -c -o filter/pdftopdf/pdftopdf-pdftopdf_processor.o `test -f 'filter/pdftopdf/pdftopdf_processor.cc' || echo './'`filter/pdftopdf/pdftopdf_processor.cc make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' In file included from /usr/include/qpdf/Buffer.hh:23, from /usr/include/qpdf/QPDF.hh:35, from filter/pdftopdf/qpdf_pdftopdf_processor.h:5, from filter/pdftopdf/pdftopdf_processor.cc:2: /usr/include/qpdf/PointerHolder.hh:31:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp] 31 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" | ^~~~~~~ /usr/include/qpdf/QPDF.hh:1340:36: error: 'std::string_view' has not been declared 1340 | void linearizationWarning(std::string_view); | ^~~~~~~~~~~ make[2]: *** [Makefile:4224: filter/pdftopdf/pdftopdf-pdftopdf_processor.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o fontembed/sfnt.lo fontembed/sfnt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c fontembed/sfnt.c -fPIC -DPIC -o fontembed/.libs/sfnt.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' g++ -DHAVE_CONFIG_H -I. -std=c++0x -I/usr/include/p11-kit-1 -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_GNU_SOURCE -c -o filter/pdftopdf/pdftopdf-qpdf_pdftopdf_processor.o `test -f 'filter/pdftopdf/qpdf_pdftopdf_processor.cc' || echo './'`filter/pdftopdf/qpdf_pdftopdf_processor.cc make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' In file included from /usr/include/qpdf/Buffer.hh:23, from /usr/include/qpdf/QPDF.hh:35, from filter/pdftopdf/qpdf_pdftopdf_processor.h:5, from filter/pdftopdf/qpdf_pdftopdf_processor.cc:1: /usr/include/qpdf/PointerHolder.hh:31:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp] 31 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" | ^~~~~~~ /usr/include/qpdf/QPDF.hh:1340:36: error: 'std::string_view' has not been declared 1340 | void linearizationWarning(std::string_view); | ^~~~~~~~~~~ In file included from filter/pdftopdf/qpdf_pdftopdf_processor.cc:6: /usr/include/qpdf/QPDFWriter.hh:476:27: error: 'std::string_view' has not been declared 476 | void writeString(std::string_view str); | ^~~~~~~~~~~ /usr/include/qpdf/QPDFWriter.hh:478:30: error: 'std::string_view' has not been declared 478 | void writeStringQDF(std::string_view str); | ^~~~~~~~~~~ /usr/include/qpdf/QPDFWriter.hh:479:32: error: 'std::string_view' has not been declared 479 | void writeStringNoQDF(std::string_view str); | ^~~~~~~~~~~ In file included from filter/pdftopdf/qpdf_pdftopdf_processor.cc:7: /usr/include/qpdf/QUtil.hh:423:53: error: 'std::string_view' has not been declared 423 | std::string read_file_into_string(FILE* f, std::string_view filename = ""); | ^~~~~~~~~~~ /usr/include/qpdf/QUtil.hh:423:78: error: invalid conversion from 'const char*' to 'int' [-fpermissive] 423 | std::string read_file_into_string(FILE* f, std::string_view filename = ""); | ^ | | | const char* filter/pdftopdf/qpdf_pdftopdf_processor.cc: In member function 'QPDFObjectHandle QPDF_PDFTOPDF_PageHandle::get()': filter/pdftopdf/qpdf_pdftopdf_processor.cc:86:28: warning: 'void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)' is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations] 86 | page.replaceOrRemoveKey("/Rotate",makeRotate(rotation)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qpdf/QPDF.hh:41: /usr/include/qpdf/QPDFObjectHandle.hh:966:5: note: declared here 966 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&); | ^~~~~~~~~~~~~~~~~~ filter/pdftopdf/qpdf_pdftopdf_processor.cc:89:28: warning: 'void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)' is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations] 89 | page.replaceOrRemoveKey("/Rotate",makeRotate(rot)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qpdf/QPDFObjectHandle.hh:966:5: note: declared here 966 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&); | ^~~~~~~~~~~~~~~~~~ filter/pdftopdf/qpdf_pdftopdf_processor.cc: In member function 'virtual Rotation QPDF_PDFTOPDF_PageHandle::crop(const PageRect&, Rotation, Rotation, Position, Position, bool, bool)': filter/pdftopdf/qpdf_pdftopdf_processor.cc:184:28: warning: 'void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)' is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations] 184 | page.replaceOrRemoveKey("/Rotate",makeRotate(ROT_90)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qpdf/QPDFObjectHandle.hh:966:5: note: declared here 966 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&); | ^~~~~~~~~~~~~~~~~~ filter/pdftopdf/qpdf_pdftopdf_processor.cc:186:28: warning: 'void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)' is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations] 186 | page.replaceOrRemoveKey("/Rotate",makeRotate(ROT_0)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qpdf/QPDFObjectHandle.hh:966:5: note: declared here 966 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&); | ^~~~~~~~~~~~~~~~~~ filter/pdftopdf/qpdf_pdftopdf_processor.cc:245:26: warning: 'void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)' is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations] 245 | page.replaceOrRemoveKey("/Rotate",makeRotate(save_rotate)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qpdf/QPDFObjectHandle.hh:966:5: note: declared here 966 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&); | ^~~~~~~~~~~~~~~~~~ filter/pdftopdf/qpdf_pdftopdf_processor.cc: In member function 'virtual bool QPDF_PDFTOPDF_PageHandle::is_landscape(Rotation)': filter/pdftopdf/qpdf_pdftopdf_processor.cc:254:28: warning: 'void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)' is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations] 254 | page.replaceOrRemoveKey("/Rotate",makeRotate(ROT_90)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qpdf/QPDFObjectHandle.hh:966:5: note: declared here 966 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&); | ^~~~~~~~~~~~~~~~~~ filter/pdftopdf/qpdf_pdftopdf_processor.cc:256:28: warning: 'void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)' is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations] 256 | page.replaceOrRemoveKey("/Rotate",makeRotate(ROT_0)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qpdf/QPDFObjectHandle.hh:966:5: note: declared here 966 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&); | ^~~~~~~~~~~~~~~~~~ filter/pdftopdf/qpdf_pdftopdf_processor.cc:261:26: warning: 'void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)' is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations] 261 | page.replaceOrRemoveKey("/Rotate",makeRotate(save_rotate)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qpdf/QPDFObjectHandle.hh:966:5: note: declared here 966 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&); | ^~~~~~~~~~~~~~~~~~ filter/pdftopdf/qpdf_pdftopdf_processor.cc: In member function 'virtual void QPDF_PDFTOPDF_Processor::autoRotateAll(bool, Rotation)': filter/pdftopdf/qpdf_pdftopdf_processor.cc:665:30: warning: 'void QPDFObjectHandle::replaceOrRemoveKey(const std::string&, const QPDFObjectHandle&)' is deprecated: use replaceKey -- it does the same thing [-Wdeprecated-declarations] 665 | page.replaceOrRemoveKey("/Rotate",makeRotate(src_rot+rotation)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qpdf/QPDFObjectHandle.hh:966:5: note: declared here 966 | replaceOrRemoveKey(std::string const& key, QPDFObjectHandle const&); | ^~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:4238: filter/pdftopdf/pdftopdf-qpdf_pdftopdf_processor.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -DCONFIG_PATH='"/etc/foomatic"' -D_PPD_DEPRECATED="" -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/foomatic-rip/foomatic_rip-postscript.o `test -f 'filter/foomatic-rip/postscript.c' || echo './'`filter/foomatic-rip/postscript.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -DCONFIG_PATH='"/etc/foomatic"' -D_PPD_DEPRECATED="" -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/foomatic-rip/foomatic_rip-foomaticrip.o `test -f 'filter/foomatic-rip/foomaticrip.c' || echo './'`filter/foomatic-rip/foomaticrip.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/foomatic-rip/foomaticrip.c: In function 'main': filter/foomatic-rip/foomaticrip.c:1003:33: warning: the comparison will always evaluate as 'true' for the address of 'printer' will never be NULL [-Waddress] 1003 | if (spooler == SPOOLER_CUPS && job->printer && strlen(job->printer) > 0) { | ^~ In file included from filter/foomatic-rip/foomaticrip.c:24: filter/foomatic-rip/foomaticrip.h:84:10: note: 'printer' declared here 84 | char printer[256]; | ^~~~~~~ filter/foomatic-rip/foomaticrip.c:1004:7: warning: 'cupsGetPPD' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1004 | str = cupsGetPPD(job->printer); | ^~~ In file included from ./cupsfilters/colormanager.h:41, from filter/foomatic-rip/foomaticrip.c:46: /usr/include/cups/ppd.h:358:26: note: declared here 358 | extern const char *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~ filter/foomatic-rip/foomaticrip.c: In function 'config_set_option': filter/foomatic-rip/foomaticrip.c:196:9: warning: 'strlcpy' writing 32 bytes into a region of size 10 overflows the destination [-Wstringop-overflow=] 196 | strlcpy(modern_shell, value, 32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filter/foomatic-rip/foomaticrip.c:178:6: note: destination object 'modern_shell' of size 10 178 | char modern_shell[] = SHELL; | ^~~~~~~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from filter/foomatic-rip/foomaticrip.h:34: /usr/include/bits/string_fortified.h:150:1: note: in a call to function 'strlcpy' declared with attribute 'access (write_only, 1, 3)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' g++ -DHAVE_CONFIG_H -I. -std=c++0x -I/usr/include/p11-kit-1 -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_GNU_SOURCE -c -o filter/pdftopdf/pdftopdf-qpdf_tools.o `test -f 'filter/pdftopdf/qpdf_tools.cc' || echo './'`filter/pdftopdf/qpdf_tools.cc make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' In file included from /usr/include/qpdf/Buffer.hh:23, from /usr/include/qpdf/QPDFObjectHandle.hh:36, from filter/pdftopdf/qpdf_tools.h:4, from filter/pdftopdf/qpdf_tools.cc:1: /usr/include/qpdf/PointerHolder.hh:31:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp] 31 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" | ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' g++ -DHAVE_CONFIG_H -I. -std=c++0x -I/usr/include/p11-kit-1 -D_PPD_DEPRECATED="" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_GNU_SOURCE -c -o filter/pdftopdf/pdftopdf-pdftopdf.o `test -f 'filter/pdftopdf/pdftopdf.cc' || echo './'`filter/pdftopdf/pdftopdf.cc make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/pdftopdf/pdftopdf.cc: In function 'void setFinalPPD(ppd_file_t*, const ProcessingParameters&)': filter/pdftopdf/pdftopdf.cc:46:50: warning: 'ppd_option_t* ppdFindOption(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 46 | if ((param.booklet==BOOKLET_ON)&&(ppdFindOption(ppd,"Duplex"))) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from filter/pdftopdf/pdftopdf.cc:10: /usr/include/cups/ppd.h:380:26: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:48:18: warning: 'int ppdMarkOption(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 48 | ppdMarkOption(ppd,"Duplex","DuplexTumble"); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:53:40: warning: 'ppd_option_t* ppdFindOption(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 53 | if ((param.setDuplex)&&(ppdFindOption(ppd,"Duplex")!=NULL)) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/cups/ppd.h:380:26: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:54:18: warning: 'int ppdMarkOption(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 54 | ppdMarkOption(ppd,"Duplex","True"); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:55:18: warning: 'int ppdMarkOption(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 55 | ppdMarkOption(ppd,"Duplex","On"); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:60:34: warning: 'ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 60 | if ((choice=ppdFindMarkedChoice(ppd,"MirrorPrint")) != NULL) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc: In function 'bool ppdGetInt(ppd_file_t*, const char*, int*)': filter/pdftopdf/pdftopdf.cc:69:43: warning: 'ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 69 | ppd_choice_t *choice=ppdFindMarkedChoice(ppd,name); // !ppd is ok. | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc: In function 'bool ppdGetDuplex(ppd_file_t*)': filter/pdftopdf/pdftopdf.cc:145:22: warning: 'int ppdIsMarked(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 145 | if (ppdIsMarked(ppd, *option, *choice)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:382:25: note: declared here 382 | extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc: In function 'bool ppdDefaultOrder(ppd_file_t*)': filter/pdftopdf/pdftopdf.cc:159:34: warning: 'ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 159 | if ((choice=ppdFindMarkedChoice(ppd,"OutputOrder")) != NULL) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:161:42: warning: 'ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 161 | } else if (((choice=ppdFindMarkedChoice(ppd,"OutputBin")) != NULL)&& | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:162:32: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 162 | ((attr=ppdFindAttr(ppd,"PageStackOrder",choice->choice)) != NULL)) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:164:31: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 164 | } else if ((attr=ppdFindAttr(ppd,"DefaultOutputOrder",0)) != NULL) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc: In function 'void getParameters(ppd_file_t*, int, cups_option_t*, ProcessingParameters&)': filter/pdftopdf/pdftopdf.cc:396:28: warning: 'ppd_size_t* ppdPageSize(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 396 | if ((pagesize=ppdPageSize(ppd,0)) != NULL) { // "already rotated" | ~~~~~~~~~~~^~~~~~~ /usr/include/cups/ppd.h:392:26: note: declared here 392 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name) | ^~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:554:34: warning: 'ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 554 | if ((choice=ppdFindMarkedChoice(ppd,"MirrorPrint")) != NULL) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:626:24: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 626 | if ((attr=ppdFindAttr(ppd,"cupsEvenDuplex",0)) != NULL) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:706:36: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 706 | if ((ppd_attr = ppdFindAttr(ppd, "cupsFilter2", NULL)) != NULL) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:719:47: warning: 'ppd_attr_t* ppdFindNextAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 719 | } while ((ppd_attr = ppdFindNextAttr(ppd, "cupsFilter2", NULL)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:401:26: note: declared here 401 | extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc: In function 'bool printerWillCollate(ppd_file_t*)': filter/pdftopdf/pdftopdf.cc:801:35: warning: 'ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 801 | if (((choice=ppdFindMarkedChoice(ppd,"Collate")) != NULL)&& | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:805:36: warning: 'ppd_option_t* ppdFindOption(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 805 | ppd_option_t *opt=ppdFindOption(ppd,"Collate"); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:380:26: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc: In function 'void calculate(ppd_file_t*, ProcessingParameters&)': filter/pdftopdf/pdftopdf.cc:860:18: warning: 'int ppdMarkOption(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 860 | ppdMarkOption(ppd,"Copies","1"); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:861:18: warning: 'int ppdMarkOption(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 861 | ppdMarkOption(ppd,"JCLCopies","1"); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:867:18: warning: 'int ppdMarkOption(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 867 | ppdMarkOption(ppd,"Collate","False"); // disable any hardware-collate (in JCL) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:385:25: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc: In function 'int main(int, char**)': filter/pdftopdf/pdftopdf.cc:1110:20: warning: 'ppd_file_t* ppdOpenFile(const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1110 | ppd=ppdOpenFile(getenv("PPD")); // getenv (and thus ppd) may be null. This will not cause problems. | ~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:1111:20: warning: 'void ppdMarkDefaults(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1111 | ppdMarkDefaults(ppd); | ~~~~~~~~~~~~~~~^~~~~ /usr/include/cups/ppd.h:384:25: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:1113:20: warning: 'int cupsMarkOptions(ppd_file_t*, int, cups_option_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1113 | cupsMarkOptions(ppd,num_options,options); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:362:25: note: declared here 362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/pdftopdf/pdftopdf.cc:1163:17: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1163 | ppdClose(ppd); | ~~~~~~~~^~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ filter/pdftopdf/pdftopdf.cc:1167:17: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1167 | ppdClose(ppd); | ~~~~~~~~^~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ filter/pdftopdf/pdftopdf.cc:1171:17: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1171 | ppdClose(ppd); | ~~~~~~~~^~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ filter/pdftopdf/pdftopdf.cc:1179:17: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1179 | ppdClose(ppd); | ~~~~~~~~^~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ filter/pdftopdf/pdftopdf.cc:1183:17: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1183 | ppdClose(ppd); | ~~~~~~~~^~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ filter/pdftopdf/pdftopdf.cc:1308:15: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1308 | ppdClose(ppd); | ~~~~~~~~^~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ filter/pdftopdf/pdftopdf.cc:1319:13: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1319 | ppdClose(ppd); | ~~~~~~~~^~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -DCONFIG_PATH='"/etc/foomatic"' -D_PPD_DEPRECATED="" -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/foomatic-rip/foomatic_rip-options.o `test -f 'filter/foomatic-rip/options.c' || echo './'`filter/foomatic-rip/options.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o filter/imagetoraster-imagetoraster.o `test -f 'filter/imagetoraster.c' || echo './'`filter/imagetoraster.c make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' filter/imagetoraster.c: In function 'main': filter/imagetoraster.c:377:3: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 377 | if ((choice = ppdFindMarkedChoice(ppd, "MirrorPrint")) != NULL) | ^~ In file included from filter/common.h:19, from filter/imagetoraster.c:33: /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/imagetoraster.c:393:3: warning: 'cupsRasterInterpretPPD' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 393 | if (cupsRasterInterpretPPD(&header, ppd, num_options, options, raster_cb)) | ^~ /usr/include/cups/ppd.h:409:25: note: declared here 409 | extern int cupsRasterInterpretPPD(cups_page_header2_t *h, | ^~~~~~~~~~~~~~~~~~~~~~ filter/imagetoraster.c:404:3: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 404 | if ((choice = ppdFindMarkedChoice(ppd, "MediaType")) != NULL) | ^~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/imagetoraster.c:409:3: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 409 | if ((choice = ppdFindMarkedChoice(ppd, "Resolution")) != NULL) | ^~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/imagetoraster.c:883:5: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 883 | ppdClose(ppd); | ^~~~~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ filter/imagetoraster.c:1072:3: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1072 | if ((choice = ppdFindMarkedChoice(ppd, "PageSize")) != NULL && | ^~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ filter/imagetoraster.c:1339:3: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1339 | slowcollate = Collate && ppdFindOption(ppd, "Collate") == NULL; | ^~~~~~~~~~~ /usr/include/cups/ppd.h:380:26: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ filter/imagetoraster.c:1621:3: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1621 | ppdClose(ppd); | ^~~~~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c -o cupsfilters/libcupsfilters_la-ppdgenerator.lo `test -f 'cupsfilters/ppdgenerator.c' || echo './'`cupsfilters/ppdgenerator.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED= -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DHAVE_DBUS -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -std=gnu11 -D_GNU_SOURCE -c cupsfilters/ppdgenerator.c -fPIC -DPIC -o cupsfilters/.libs/libcupsfilters_la-ppdgenerator.o make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' g++ -DHAVE_CONFIG_H -I. -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_GNU_SOURCE -c -o filter/pdf.o filter/pdf.cxx make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' In file included from /usr/include/qpdf/Buffer.hh:23, from /usr/include/qpdf/QPDF.hh:35, from filter/pdf.cxx:24: /usr/include/qpdf/PointerHolder.hh:31:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp] 31 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" | ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' g++ -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/libpng16 -I/usr/include/p11-kit-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./fontembed/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_GNU_SOURCE -c -o filter/bannertopdf-pdf.o `test -f 'filter/pdf.cxx' || echo './'`filter/pdf.cxx make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' In file included from /usr/include/qpdf/Buffer.hh:23, from /usr/include/qpdf/QPDF.hh:35, from filter/pdf.cxx:24: /usr/include/qpdf/PointerHolder.hh:31:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp] 31 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" | ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cups-filters-1.28.16' g++ -DHAVE_CONFIG_H -I. -D_PPD_DEPRECATED="" -I/usr/include/p11-kit-1 -I./cupsfilters/ -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -D_GNU_SOURCE -c -o filter/rastertopdf-rastertopdf.o `test -f 'filter/rastertopdf.cpp' || echo './'`filter/rastertopdf.cpp make[2]: Leaving directory '/builddir/build/BUILD/cups-filters-1.28.16' In file included from /usr/include/qpdf/Buffer.hh:23, from /usr/include/qpdf/QPDF.hh:35, from filter/rastertopdf.cpp:42: /usr/include/qpdf/PointerHolder.hh:31:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp] 31 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" | ^~~~~~~ filter/rastertopdf.cpp: In function 'int main(int, char**)': filter/rastertopdf.cpp:1361:22: warning: 'ppd_file_t* ppdOpenFile(const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1361 | ppd = ppdOpenFile(getenv("PPD")); | ~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./cupsfilters/colormanager.h:41, from filter/rastertopdf.cpp:36: /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ filter/rastertopdf.cpp:1365:22: warning: 'void ppdMarkDefaults(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1365 | ppdMarkDefaults(ppd); | ~~~~~~~~~~~~~~~^~~~~ /usr/include/cups/ppd.h:384:25: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/rastertopdf.cpp:1366:22: warning: 'int cupsMarkOptions(ppd_file_t*, int, cups_option_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1366 | cupsMarkOptions(ppd, num_options, options); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:362:25: note: declared here 362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ filter/rastertopdf.cpp:1375:28: warning: 'ppd_status_t ppdLastError(int*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1375 | status = ppdLastError(&linenum); | ~~~~~~~~~~~~^~~~~~~~~~ /usr/include/cups/ppd.h:403:25: note: declared here 403 | extern ppd_status_t ppdLastError(int *line) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~ filter/rastertopdf.cpp:1377:64: warning: 'const char* ppdErrorString(ppd_status_t)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1377 | fprintf(stderr, "DEBUG: %s on line %d.\n", ppdErrorString(status), linenum); | ~~~~~~~~~~~~~~^~~~~~~~ /usr/include/cups/ppd.h:398:26: note: declared here 398 | extern const char *ppdErrorString(ppd_status_t status) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~ filter/rastertopdf.cpp:1408:30: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1408 | if ((attr = ppdFindAttr(ppd, attr_name, NULL)) != NULL) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopdf.cpp:1418:30: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1418 | if ((attr = ppdFindAttr(ppd, attr_name, NULL)) != NULL) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopdf.cpp:1430:30: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1430 | if ((attr = ppdFindAttr(ppd, attr_name, NULL)) != NULL) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopdf.cpp:1438:30: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1438 | if ((attr = ppdFindAttr(ppd, attr_name, NULL)) != NULL) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopdf.cpp:1446:30: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1446 | if ((attr = ppdFindAttr(ppd, attr_name, NULL)) != NULL) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ filter/rastertopdf.cpp:1466:30: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1466 | if ((attr = ppdFindAttr(ppd, attr_name, NULL)) != NULL) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from filter/rastertopdf.cpp:27: In function 'fprintf', inlined from 'main' at filter/rastertopdf.cpp:1519:16: /usr/include/bits/stdio2.h:79:24: warning: 'profile_name' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ filter/rastertopdf.cpp: In function 'main': filter/rastertopdf.cpp:1316:25: note: 'profile_name' was declared here 1316 | const char* profile_name; /* IPP Profile Name */ | ^~~~~~~~~~~~ RPM build errors: make[1]: *** [Makefile:4856: all-recursive] Error 1 make: *** [Makefile:2089: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.CbFpYt (%build) Bad exit status from /var/tmp/rpm-tmp.CbFpYt (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/cups-filters.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/cups-filters.spec