D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/lm1100-1.0.2a-24.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YnarqA Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eBS8OV + umask 022 + cd /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build + rm -rf lm1100.1.0.2a + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/lm1100.1.0.2a.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lm1100.1.0.2a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (lm1100-1.0.2a-gcc32.patch):' Patch #0 (lm1100-1.0.2a-gcc32.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file PaintLine300c.h patching file PaintLineBW.h + echo 'Patch #1 (lm1100.1.0.2a-fix-compile-gcc-3.4.patch):' Patch #1 (lm1100.1.0.2a-fix-compile-gcc-3.4.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file LexmarkProtocol300c.cc patching file LexmarkProtocolBW.cc + echo 'Patch #2 (lexmark2ppm.pl.patch):' Patch #2 (lexmark2ppm.pl.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file lexmark2ppm.pl + echo 'Patch #3 (lm1100.1.0.2a-LDFLAGS.diff):' Patch #3 (lm1100.1.0.2a-LDFLAGS.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rUlN42 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lm1100.1.0.2a + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + perl -p -i -e 's/friend Lexmark/friend class Lexmark/' CMYAlg.h CMYData.h CMYLookup.h Coord.h DataImage.h ErrorDiffusionAlg.h Head.h Image.h Jet.h LexmarkProtocol.h LexmarkProtocol300c.h LexmarkProtocolBW.h LinkedList.h Map.h MapAlgorithm.h PBMRaw.h PPMRaw.h PPMRawAlg.h PaintLine.h PaintLine300c.h PaintLineBW.h PrinterProtocol.h RGB.h Reader.h Rect.h SpongeWriter.h ThreadSafeCircleBuffer.h Writer.h errors.h main.h math.h + perl -p -i -e 's/\b[^\s:]+:://' CMYAlg.h CMYData.h CMYLookup.h Coord.h DataImage.h ErrorDiffusionAlg.h Head.h Image.h Jet.h LexmarkProtocol.h LexmarkProtocol300c.h LexmarkProtocolBW.h LinkedList.h Map.h MapAlgorithm.h PBMRaw.h PPMRaw.h PPMRawAlg.h PaintLine.h PaintLine300c.h PaintLineBW.h PrinterProtocol.h RGB.h Reader.h Rect.h SpongeWriter.h ThreadSafeCircleBuffer.h Writer.h errors.h main.h math.h + /usr/bin/make -O -j16 V=1 VERBOSE=1 'CC=g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c Coord.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c math.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c Rect.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c Reader.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c PPMRaw.cc PPMRaw.cc: In member function 'virtual void PPMRaw::getRGB(RGB*, int, int)': PPMRaw.cc:48:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | die("Illegal RGB position, not cached (%d,%d)",x,y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PPMRaw.cc: In static member function 'static void PPMRaw::readHeader(int*, int*, int*, Reader*, bool)': PPMRaw.cc:77:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | die("Bad magic number in image file, got %s", line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PPMRaw.cc:101:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | die("Not understood line in image file, %s", line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PPMRaw.cc:105:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | die("Got eof looking for width and height or maxval"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PPMRaw.cc: In function 'void test(char*)': PPMRaw.cc:118:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | die("Couldn't open %s for reading",filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c Map.cc Map.cc: In member function 'void* Map::getCell(int, int)': Map.cc:71:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | die("y is out of range,(%d)\n",y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c PPMRawAlg.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c LinkedList.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c errors.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c PBMRaw.cc PBMRaw.cc: In member function 'virtual void PBMRaw::getRGB(RGB*, int, int)': PBMRaw.cc:48:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | die("Illegal RGB position, not cached (%d,%d)",x,y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PBMRaw.cc: In member function 'void PBMRaw::readHeader(bool)': PBMRaw.cc:72:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | die("Bad magic number in image file, got %s", line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PBMRaw.cc:91:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | die("Not understood line in image file, %s", line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PBMRaw.cc:95:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | die("Got eof looking for width and height"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PBMRaw.cc: In function 'void test(char*)': PBMRaw.cc:115:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 115 | die("Couldn't open %s for reading",filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c PaintLineBW.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c main.cc main.cc: In function 'int main(int, char**)': main.cc:44:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 44 | die("Usage: %s [-bw] [-b value] \n -bw black and white cartridge printing\n -b brightness value 0-255 defaults to 255. Less brightness = more ink\n",argv[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cc:68:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | die("Couldn't open %s for reading\n",argv[file_index]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c Head.cc Head.cc: In member function 'void Head::adjustPositions(int*, int*, int*)': Head.cc:75:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | die("Image off the page"); | ^~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c Jet.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c LexmarkProtocol300c.cc LexmarkProtocol300c.cc: In member function 'virtual Rect LexmarkProtocol300c::getPageSize(int)': LexmarkProtocol300c.cc:63:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | die("Bad page type %d",pageType); | ^~~~~~~~~~~~~~~~~~ LexmarkProtocol300c.cc: In member function 'virtual void LexmarkProtocol300c::startPaint(int, int, int)': LexmarkProtocol300c.cc:87:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | die("Page never started, call start_page"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LexmarkProtocol300c.cc: In member function 'void LexmarkProtocol300c::advancePage(int, bool)': LexmarkProtocol300c.cc:111:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | die("Negative movement asked for in advance_page"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c LexmarkProtocolBW.cc LexmarkProtocolBW.cc: In member function 'virtual Rect LexmarkProtocolBW::getPageSize(int)': LexmarkProtocolBW.cc:62:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | die("Bad page type %d",pageType); | ^~~~~~~~~~~~~~~~~~ LexmarkProtocolBW.cc: In member function 'virtual void LexmarkProtocolBW::startPaint(int, int, int)': LexmarkProtocolBW.cc:82:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | die("Page never started, call start_page"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LexmarkProtocolBW.cc: In member function 'void LexmarkProtocolBW::advancePage(int, bool)': LexmarkProtocolBW.cc:106:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | die("Negative movement asked for in advance_page"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c PaintLine300c.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ErrorDiffusionAlg.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c CMYAlg.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c DataImage.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c SpongeWriter.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c CMYLookup.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ThreadSafeCircleBuffer.cc ThreadSafeCircleBuffer.cc: In member function 'void ThreadSafeCircleBuffer::get(int)': ThreadSafeCircleBuffer.cc:194:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 194 | write(fd, &buffer[pos], drainLength); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o lm1100 Reader.o PBMRaw.o errors.o Coord.o Head.o Jet.o LexmarkProtocol300c.o LexmarkProtocolBW.o PaintLine300c.o PaintLineBW.o main.o math.o Rect.o PPMRaw.o Map.o PPMRawAlg.o LinkedList.o ErrorDiffusionAlg.o CMYAlg.o CMYLookup.o DataImage.o SpongeWriter.o ThreadSafeCircleBuffer.o -lpthread + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.osMucW + umask 022 + cd /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build + mkdir /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lm1100.1.0.2a + '[' 1 -eq 1 ']' + install -d /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT/usr/bin + install -m 0755 lm1100 /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT/usr/bin + install -m 0755 lexmark2ppm.pl /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT/usr/bin + install -m 0755 byteutil.pl /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT/usr/bin + install -d /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT/usr/lib64/rhs/rhs-printfilters + '[' -e ps-to-lm1100.fpi ']' + mv ps-to-printer.fpi ps-to-lm1100.fpi + install -m 0755 ps-to-lm1100.fpi /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT/usr/lib64/rhs/rhs-printfilters + ln -s /usr/bin/lm1100 /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT/usr/lib64/rhs/rhs-printfilters + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.0.2a-24.mga10 --unique-debug-suffix -1.0.2a-24.mga10.x86_64 --unique-debug-src-base lm1100-1.0.2a-24.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/lm1100.1.0.2a find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/lm1100-1.0.2a-24.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/bin/byteutil.pl is executable but has no shebang, removing executable bit mangling shebang in /usr/lib64/rhs/rhs-printfilters/ps-to-lm1100.fpi from /bin/sh to #!/usr/bin/sh + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/SPECPARTS/rpm-debuginfo.specpart Processing files: lm1100-1.0.2a-24.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ku26lu + umask 022 + cd /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build + cd lm1100.1.0.2a + DOCDIR=/home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT/usr/share/doc/lm1100 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT/usr/share/doc/lm1100 + cp -pr /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/lm1100.1.0.2a/LICENSE /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT/usr/share/doc/lm1100 + cp -pr /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/lm1100.1.0.2a/README /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT/usr/share/doc/lm1100 + cp -pr /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/lm1100.1.0.2a/RELEASE.txt /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT/usr/share/doc/lm1100 + cp -pr /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/lm1100.1.0.2a/cmy.txt /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT/usr/share/doc/lm1100 + RPM_EC=0 ++ jobs -p + exit 0 Provides: lm1100 = 1.0.2a-24.mga10 lm1100(x86-64) = 1.0.2a-24.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/byteutil.pl libc.so.6()(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.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) perl-base >= 2:5.40.1 Processing files: lm1100-debugsource-1.0.2a-24.mga10.x86_64 Provides: lm1100-debugsource = 1.0.2a-24.mga10 lm1100-debugsource(x86-64) = 1.0.2a-24.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lm1100-debuginfo-1.0.2a-24.mga10.x86_64 Provides: debuginfo(build-id) = 0232a43c9005ba50d1cdd0097cb0831baf6cc658 lm1100-debuginfo = 1.0.2a-24.mga10 lm1100-debuginfo(x86-64) = 1.0.2a-24.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lm1100-debugsource(x86-64) = 1.0.2a-24.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lm1100-1.0.2a-24.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lm1100-debuginfo-1.0.2a-24.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lm1100-debugsource-1.0.2a-24.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oAwIVu + umask 022 + cd /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build + test -d /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build + rm -rf /home/pterjan/rpmbuild/BUILD/lm1100-1.0.2a-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!