Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/splix.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667977682.352739/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wqdhv7zx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wqdhv7zx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8056edc4e5f5486fb52706fb23341427', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667977682.352739/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wqdhv7zx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/splix.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/splix-2.0.1-0.47.20130902svn.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/splix.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667977682.352739/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wqdhv7zx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wqdhv7zx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1822066faf204ce1b534f584762229b6', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667977682.352739/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wqdhv7zx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/splix.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TdaiHE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf splix + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/splix-2.0.1.20130902svn.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd splix + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -f ml2160.ppd ml2160fr.ppd ml2160pt.ppd ml2165.ppd ml2165fr.ppd ml2165pt.ppd ml3310.ppd ml3310fr.ppd ml3310nd.ppd ml3310ndfr.ppd ml3310ndpt.ppd ml3310pt.ppd + pushd ppd ~/build/BUILD/splix/ppd ~/build/BUILD/splix + make distclean rm -f *.ppd rm -f *.drv + popd ~/build/BUILD/splix Patch #0 (splix-deviceID.patch): + echo 'Patch #0 (splix-deviceID.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .deviceID --fuzz=0 patching file ppd/samsung.drv.in patching file ppd/xerox.drv.in Patch #1 (splix-ldflags.patch): + echo 'Patch #1 (splix-ldflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ldflags --fuzz=0 patching file rules.mk Patch #2 (splix-cxx.patch): + echo 'Patch #2 (splix-cxx.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cxx --fuzz=0 patching file rules.mk + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AQiubC + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd splix + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j2 V=1 VERBOSE=1 drv GEN .defs.mk.. make[2]: warning: -j1 forced in submake: resetting jobserver mode. ./compile.sh samsung.drv.in drv ./compile.sh dell.drv.in drv ./compile.sh xerox.drv.in drv ./compile.sh lexmark.drv.in drv ./compile.sh toshiba.drv.in drv + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing' + /usr/bin/make -O -j2 V=1 VERBOSE=1 all V=1 DRV_ONLY=1 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -pie' +---------------------------------------------+ | COMPILATION PARAMETERS SUMMARY | +---------------------------------------------+ | THREADS = enabled | | THREADS Nr = 2 | | CACHESIZE = 30 | | JBIG = enabled | | BLACK OPTIM = enabled | | DRV ONLY = enabled | +---------------------------------------------+ (Do a "make clean" before updating these values) g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/rastertoqpdl.o -c src/rastertoqpdl.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/request.o -c src/request.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/printer.o -c src/printer.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/qpdl.o -c src/qpdl.cpp src/qpdl.cpp: In function '_renderBand(Request const&, Band const*, bool)': src/qpdl.cpp:250:25: warning: array subscript 32 is outside array bounds of 'unsigned char[32]' [-Warray-bounds] 250 | *(uint32_t*)(&header + size) = (uint32_t)plane-> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/qpdl.cpp:135:19: note: at offset 128 into object 'header' of size 32 135 | unsigned char header[0x20]; | ^~~~~~ src/qpdl.cpp:252:25: warning: array subscript 64 is outside array bounds of 'unsigned char[32]' [-Warray-bounds] 252 | *(uint32_t*)(&header + size + 4) = (uint32_t)state; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/qpdl.cpp:135:19: note: at offset 256 into object 'header' of size 32 135 | unsigned char header[0x20]; | ^~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/core.o -c src/core.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/document.o -c src/document.cpp src/document.cpp: In member function 'Page* Document::getNextRawPage(const Request&)': src/document.cpp:84:30: warning: 'unsigned int cupsRasterReadHeader(cups_raster_t*, cups_page_header_t*)' is deprecated: Use cupsRasterReadHeader2 instead. [-Wdeprecated-declarations] 84 | if (!cupsRasterReadHeader(_raster, &header) || !header.cupsBytesPerLine || | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from include/document.h:24, from src/document.cpp:21: /usr/include/cups/raster.h:377:25: note: declared here 377 | extern unsigned cupsRasterReadHeader(cups_raster_t *r, cups_page_header_t *h) _CUPS_DEPRECATED_MSG("Use cupsRasterReadHeader2 instead.") _CUPS_PUBLIC; | ^~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/algorithm.o -c src/algorithm.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/ppdfile.o -c src/ppdfile.cpp src/ppdfile.cpp: In member function 'bool PPDFile::open(const char*, const char*, const char*)': src/ppdfile.cpp:63:23: warning: 'ppd_file_t* ppdOpenFile(const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 63 | _ppd = ppdOpenFile(file); | ~~~~~~~~~~~^~~~~~ In file included from include/ppdfile.h:24, from src/ppdfile.cpp:21: /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."); | ^~~~~~~~~~~ src/ppdfile.cpp:70:20: warning: 'void ppdMarkDefaults(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 70 | 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."); | ^~~~~~~~~~~~~~~ src/ppdfile.cpp:72:20: warning: 'int cupsMarkOptions(ppd_file_t*, int, cups_option_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 72 | cupsMarkOptions(_ppd, nr, 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."); | ^~~~~~~~~~~~~~~ src/ppdfile.cpp:80:17: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 80 | 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."); | ^~~~~~~~ src/ppdfile.cpp:87:17: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 87 | 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."); | ^~~~~~~~ src/ppdfile.cpp: In member function 'void PPDFile::close()': src/ppdfile.cpp:99:13: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 99 | 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."); | ^~~~~~~~ src/ppdfile.cpp: In member function 'PPDValue PPDFile::get(const char*, const char*)': src/ppdfile.cpp:121:27: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 121 | attr = ppdFindAttr(_ppd, name, NULL); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ src/ppdfile.cpp:123:27: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 123 | attr = ppdFindAttr(_ppd, opt, name); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ src/ppdfile.cpp:126:37: warning: 'ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 126 | choice = ppdFindMarkedChoice(_ppd, name); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/cups/ppd.h:377:26: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ src/ppdfile.cpp: In member function 'PPDValue PPDFile::getPageSize(const char*)': src/ppdfile.cpp:140:26: warning: 'ppd_size_t* ppdPageSize(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 140 | if (!(s = ppdPageSize(_ppd, name))) | ~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/cups/ppd.h:392:26: note: declared here 392 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name) | ^~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/compress.o -c src/compress.cpp src/compress.cpp: In function 'bool _compressBandedJBIGPage(const Request&, Page*)': src/compress.cpp:255:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 255 | for (unsigned int i=0; i < page->colorsNr() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/colors.o -c src/colors.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/page.o -c src/page.cpp src/page.cpp: In member function 'bool Page::swapToDisk(int)': src/page.cpp:134:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 134 | write(fd, &_xResolution, sizeof(_xResolution)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:135:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | write(fd, &_yResolution, sizeof(_yResolution)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:136:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 136 | write(fd, &_width, sizeof(_width)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:137:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 137 | write(fd, &_height, sizeof(_height)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:138:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 138 | write(fd, &_colors, sizeof(_colors)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:139:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 139 | write(fd, &_pageNr, sizeof(_pageNr)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:140:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | write(fd, &_copiesNr, sizeof(_copiesNr)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:141:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 141 | write(fd, &_compression, sizeof(_compression)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:142:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 142 | write(fd, &_empty, sizeof(_empty)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:143:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | write(fd, &_bandsNr, sizeof(_bandsNr)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:147:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | write(fd, _bih, 20); | ~~~~~^~~~~~~~~~~~~~ src/page.cpp: In static member function 'static Page* Page::restoreIntoMemory(int)': src/page.cpp:163:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 163 | read(fd, &page->_xResolution, sizeof(page->_xResolution)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:164:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 164 | read(fd, &page->_yResolution, sizeof(page->_yResolution)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:165:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 165 | read(fd, &page->_width, sizeof(page->_width)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:166:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 166 | read(fd, &page->_height, sizeof(page->_height)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:167:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 167 | read(fd, &page->_colors, sizeof(page->_colors)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:168:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 168 | read(fd, &page->_pageNr, sizeof(page->_pageNr)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:169:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 169 | read(fd, &page->_copiesNr, sizeof(page->_copiesNr)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:170:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 170 | read(fd, &page->_compression, sizeof(page->_compression)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:171:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 171 | read(fd, &page->_empty, sizeof(page->_empty)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/page.cpp:172:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | read(fd, &nr, sizeof(nr)); | ~~~~^~~~~~~~~~~~~~~~~~~~~ src/page.cpp:177:13: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 177 | read(fd, bih, 20); | ~~~~^~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/band.o -c src/band.cpp src/band.cpp: In member function 'bool Band::swapToDisk(int)': src/band.cpp:74:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | write(fd, &_bandNr, sizeof(_bandNr)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/band.cpp:75:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | write(fd, &_colors, sizeof(_colors)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/band.cpp:76:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | write(fd, &_width, sizeof(_width)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/band.cpp:77:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | write(fd, &_height, sizeof(_height)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/band.cpp: In static member function 'static Band* Band::restoreIntoMemory(int)': src/band.cpp:90:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 90 | read(fd, &band->_bandNr, sizeof(band->_bandNr)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/band.cpp:91:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | read(fd, &colors, sizeof(colors)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/band.cpp:92:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | read(fd, &band->_width, sizeof(band->_width)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/band.cpp:93:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | read(fd, &band->_height, sizeof(band->_height)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/bandplane.o -c src/bandplane.cpp src/bandplane.cpp: In member function 'bool BandPlane::swapToDisk(int)': src/bandplane.cpp:68:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | write(fd, &_colorNr, sizeof(_colorNr)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/bandplane.cpp:69:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | write(fd, &_size, sizeof(_size)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/bandplane.cpp:70:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | write(fd, _data, _size); | ~~~~~^~~~~~~~~~~~~~~~~~ src/bandplane.cpp:71:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | write(fd, &_checksum, sizeof(_checksum)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/bandplane.cpp:72:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | write(fd, &_endian, sizeof(_endian)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/bandplane.cpp:73:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | write(fd, &_compression, sizeof(_compression)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/bandplane.cpp: In static member function 'static BandPlane* BandPlane::restoreIntoMemory(int)': src/bandplane.cpp:83:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 83 | read(fd, &plane->_colorNr, sizeof(plane->_colorNr)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/bandplane.cpp:84:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 84 | read(fd, &plane->_size, sizeof(plane->_size)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/bandplane.cpp:86:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 86 | read(fd, data, plane->_size); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/bandplane.cpp:88:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | read(fd, &plane->_checksum, sizeof(plane->_checksum)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/bandplane.cpp:89:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 89 | read(fd, &plane->_endian, sizeof(plane->_endian)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/bandplane.cpp:90:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 90 | read(fd, &plane->_compression, sizeof(plane->_compression)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/rendering.o -c src/rendering.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/semaphore.o -c src/semaphore.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/cache.o -c src/cache.cpp src/cache.cpp: In function 'void* _cacheControllerThread(void*)': src/cache.cpp:245:25: warning: '~' on an expression of type 'bool' [-Wbool-operation] 245 | whatToDo = ~whatToDo; | ^~~~~~~~ src/cache.cpp:245:25: note: did you mean to use logical not ('!')? g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/algo0x0d.o -c src/algo0x0d.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/algo0x0e.o -c src/algo0x0e.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/algo0x11.o -c src/algo0x11.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/algo0x13.o -c src/algo0x13.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -o optimized/src/algo0x15.o -c src/algo0x15.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing `cups-config --cflags` -Iinclude -Wall -I/opt/local/include -DTHREADS=2 -DCACHESIZE=30 -O2 -g -DRASTERDIR=\"`cups-config --serverbin`/filter\" -DRASTERTOQPDL=\"rastertoqpdl\" -DPSTORASTER=\"pstoraster\" -DGSTORASTER=\"gstoraster\" -DCUPSPPD=\"`cups-config --datadir`/model\" -DCUPSPROFILE=\"`cups-config --datadir`/profiles\" -o optimized/src/pstoqpdl.o -c src/pstoqpdl.cpp src/pstoqpdl.cpp: In function 'int main(int, char**)': src/pstoqpdl.cpp:183:17: warning: variable 'jobid' set but not used [-Wunused-but-set-variable] 183 | const char *jobid, *user, *title, *options, *ppdFile, *file; | ^~~~~ src/pstoqpdl.cpp:183:25: warning: variable 'user' set but not used [-Wunused-but-set-variable] 183 | const char *jobid, *user, *title, *options, *ppdFile, *file; | ^~~~ src/pstoqpdl.cpp:183:32: warning: variable 'title' set but not used [-Wunused-but-set-variable] 183 | const char *jobid, *user, *title, *options, *ppdFile, *file; | ^~~~~ src/pstoqpdl.cpp:185:19: warning: variable 'copies' set but not used [-Wunused-but-set-variable] 185 | unsigned long copies; | ^~~~~~ src/pstoqpdl.cpp:245:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 245 | fgets((char *)&buffer, sizeof(buffer), stdin); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o optimized/pstoqpdl optimized/src/pstoqpdl.o optimized/src/ppdfile.o `cups-config --ldflags` -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -pie \ `cups-config --libs` -lcupsimage -lpthread g++ -o optimized/rastertoqpdl optimized/src/rastertoqpdl.o optimized/src/request.o optimized/src/printer.o optimized/src/qpdl.o optimized/src/document.o optimized/src/core.o optimized/src/compress.o optimized/src/algorithm.o optimized/src/ppdfile.o optimized/src/page.o optimized/src/colors.o optimized/src/band.o optimized/src/bandplane.o optimized/src/cache.o optimized/src/rendering.o optimized/src/semaphore.o optimized/src/algo0x0d.o optimized/src/algo0x0e.o optimized/src/algo0x11.o optimized/src/algo0x13.o optimized/src/algo0x15.o `cups-config --ldflags` -L/opt/local/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -pie \ `cups-config --libs` -lcupsimage -lpthread -ljbig85 src/qpdl.cpp: In function '_renderBand': src/qpdl.cpp:250:54: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 250 | *(uint32_t*)(&header + size) = (uint32_t)plane-> | ^ src/qpdl.cpp:135:19: note: at offset 128 into destination object 'header' of size 32 135 | unsigned char header[0x20]; | ^ src/qpdl.cpp:252:58: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 252 | *(uint32_t*)(&header + size + 4) = (uint32_t)state; | ^ src/qpdl.cpp:135:19: note: at offset 256 into destination object 'header' of size 32 135 | unsigned char header[0x20]; | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hBjm2F + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd splix + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64 'INSTALL=/usr/bin/install -p' DRV_ONLY=1 CUPSDRV=/usr/share/cups/drv/splix INSTALL optimized/rastertoqpdl INSTALL optimized/pstoqpdl INSTALL DRV files PLEASE INSTALL MANUALLY COLOR PROFILE FILES (CHECK INSTALL) --- Everything is done! Have fun --- + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2.0.1-0.47.20130902svn.fc38 --unique-debug-suffix -2.0.1-0.47.20130902svn.fc38.x86_64 --unique-debug-src-base splix-2.0.1-0.47.20130902svn.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/splix extracting debug info from /builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64/usr/lib/cups/filter/pstoqpdl extracting debug info from /builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64/usr/lib/cups/filter/rastertoqpdl original debug info size: 428kB, size after compression: 360kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 446 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: splix-2.0.1-0.47.20130902svn.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kEHAdI + umask 022 + cd /builddir/build/BUILD + cd splix + DOCDIR=/builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64/usr/share/doc/splix + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64/usr/share/doc/splix + cp -pr AUTHORS /builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64/usr/share/doc/splix + cp -pr ChangeLog /builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64/usr/share/doc/splix + cp -pr THANKS /builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64/usr/share/doc/splix + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7QbqYv + umask 022 + cd /builddir/build/BUILD + cd splix + LICENSEDIR=/builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64/usr/share/licenses/splix + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64/usr/share/licenses/splix + cp -pr COPYING /builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64/usr/share/licenses/splix + RPM_EC=0 ++ jobs -p + exit 0 Provides: postscriptdriver(samsung;clp-310_series;) postscriptdriver(samsung;ml-1610;) postscriptdriver(samsung;ml-1640_series;) postscriptdriver(samsung;ml-1660_series;) postscriptdriver(samsung;ml-2010;) postscriptdriver(samsung;ml-2160_series;) postscriptdriver(samsung;ml-2250;) postscriptdriver(samsung;ml-2510_series;) postscriptdriver(samsung;ml-2525_series;) postscriptdriver(samsung;ml-2525w_series;) postscriptdriver(samsung;scx-4200_series;) postscriptdriver(xerox;phaser_3117;) postscriptdriver(xerox;phaser_3120;) postscriptdriver(xerox;phaser_3124;) postscriptdriver(xerox;phaser_3130;) postscriptdriver(xerox;workcentre_3119_series;) splix = 2.0.1-0.47.20130902svn.fc38 splix(x86-64) = 2.0.1-0.47.20130902svn.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcups.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libjbig85.so.2.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: splix-debugsource-2.0.1-0.47.20130902svn.fc38.x86_64 Provides: splix-debugsource = 2.0.1-0.47.20130902svn.fc38 splix-debugsource(x86-64) = 2.0.1-0.47.20130902svn.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: splix-debuginfo-2.0.1-0.47.20130902svn.fc38.x86_64 Provides: debuginfo(build-id) = a0d9ce451f7baaaa3d0ab6ac69023d16412285d8 debuginfo(build-id) = dd2ee840645f33f0971d324de416aaafdf561caa splix-debuginfo = 2.0.1-0.47.20130902svn.fc38 splix-debuginfo(x86-64) = 2.0.1-0.47.20130902svn.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: splix-debugsource(x86-64) = 2.0.1-0.47.20130902svn.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64 Wrote: /builddir/build/RPMS/splix-debugsource-2.0.1-0.47.20130902svn.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/splix-debuginfo-2.0.1-0.47.20130902svn.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/splix-2.0.1-0.47.20130902svn.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dVVPbd + umask 022 + cd /builddir/build/BUILD + cd splix + /usr/bin/rm -rf /builddir/build/BUILDROOT/splix-2.0.1-0.47.20130902svn.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.pUX8y2 + umask 022 + cd /builddir/build/BUILD + rm -rf splix splix.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0