D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/qpxtool-0.7.2-8.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.5QdLZu + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf qpxtool-0.7.2 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/qpxtool-0.7.2.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd qpxtool-0.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/qpxtool-0.7.0-libpng15.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/qpxtool-0.7.2-cflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/qpxtool-0.7.2-strip.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/01-do_not_use_lib64_dir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/07-fix-wr-mode-declarations.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.hS1ynb + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd qpxtool-0.7.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + ./configure --prefix=/usr --libdir=/usr/lib64 --qmake=qmake-qt4 Checking OS... Linux Checking machine arch... aarch64 Checking for make... yes Checking if we have GNU Make... yes Checking C compiler... gcc 11 Checking C++ compiler... gcc 11 Checking off_t size with _FILE_OFFSET_BITS = 64... 8 Checking for fopen64()... yes Checking for fseek64()... no Checking for fseeko()... yes Checking for libpng... 1.6.37 libpng compiler flags: -I/usr/include/libpng16 libpng linker flags: -L/usr/lib64 -lpng16 Checking png.h presense... yes Checking png.h usability... yes Checking for Qt4... /usr/lib64 (4.8.7), qmake command: qmake-qt4 ** Creating Makefiles... * Makefile * lib/Makefile.lib * plugins/Makefile.plugin * gui/Makefile ** install prefix: /usr ** debug version: no ** PNG support: yes ** build gui: yes ** use internal WT: yes Installation paths: bin : /usr/bin sbin : /usr/sbin libs : /usr/lib64 plugins : /usr/lib64/qpxtool includes : /usr/include/qpxtool man : /usr/share/man ** Configuration finished! run `gmake` now + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make -C lib /usr/bin/make -C man /usr/bin/make -C qpxtransport DIR=qpxtransport make[1]: Nothing to be done for 'all'. make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxtransport' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include -I../include -c -o common_functions.o common_functions.cpp common_functions.cpp: In function 'uint32_t to32u(int32_t)': common_functions.cpp:127:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 127 | uint32_t to32u(int32_t c) { return *(uint32_t*)c; } | ^~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxtransport' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxtransport' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include -I../include -c -o qpx_transport.o qpx_transport.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxtransport' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxtransport' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include -I../include -c -o threads.o threads.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxtransport' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxtransport' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include -I../include -c -o sense.o sense.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxtransport' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxtransport' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include -I../include -c -o qpx_mmc_css.o qpx_mmc_css.cpp qpx_mmc_css.cpp:598:2: warning: #warning clean title keys [-Wcpp] 598 | #warning clean title keys | ^~~~~~~ qpx_mmc_css.cpp:1611:2: warning: #warning "Reset the drive before trying to continue" [-Wcpp] 1611 | #warning "Reset the drive before trying to continue" | ^~~~~~~ qpx_mmc_css.cpp: In function 'int get_rpc_state(drive_info*)': qpx_mmc_css.cpp:338:23: warning: variable 't' set but not used [-Wunused-but-set-variable] 338 | unsigned char t;//,vl,ul; | ^ qpx_mmc_css.cpp:339:23: warning: variable 'sh' set but not used [-Wunused-but-set-variable] 339 | unsigned char sh; | ^~ qpx_mmc_css.cpp: In function 'int css_title(drive_info*, int)': qpx_mmc_css.cpp:1770:42: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 1770 | if( ! drive->media.dvdcss.protection == 0x01 ) | ^~ qpx_mmc_css.cpp:1770:9: note: add parentheses around left hand side expression to silence this warning 1770 | if( ! drive->media.dvdcss.protection == 0x01 ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxtransport' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxtransport' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include -I../include -c -o qpx_mmc.o qpx_mmc.cpp qpx_mmc.cpp:1807:2: warning: #warning DVD+RW total sectors reading [-Wcpp] 1807 | #warning DVD+RW total sectors reading | ^~~~~~~ qpx_mmc.cpp: In function 'int get_performance(drive_info*, bool, uint8_t)': qpx_mmc.cpp:2363:18: warning: variable 'r' set but not used [-Wunused-but-set-variable] 2363 | uint32_t r,w,lba; | ^ qpx_mmc.cpp:2363:20: warning: variable 'w' set but not used [-Wunused-but-set-variable] 2363 | uint32_t r,w,lba; | ^ qpx_mmc.cpp:2363:22: warning: variable 'lba' set but not used [-Wunused-but-set-variable] 2363 | uint32_t r,w,lba; | ^~~ qpx_mmc.cpp: In function 'int set_cd_speed(drive_info*)': qpx_mmc.cpp:2694:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2694 | if (!drive->silent) sperror ("SET_CD_SPEED",drive->err); return (drive->err); | ^~ qpx_mmc.cpp:2694:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2694 | if (!drive->silent) sperror ("SET_CD_SPEED",drive->err); return (drive->err); | ^~~~~~ qpx_mmc.cpp: In function 'int plextor_px755_get_auth_code(drive_info*, unsigned char*)': qpx_mmc.cpp:3122:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3122 | for (int i=0; i<16; i++) printf("0x%02X ",dev->rd_buf[i]&0xFF); printf("\n"); | ^~~ qpx_mmc.cpp:3122:81: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3122 | for (int i=0; i<16; i++) printf("0x%02X ",dev->rd_buf[i]&0xFF); printf("\n"); | ^~~~~~ In file included from /usr/include/string.h:519, from qpx_mmc.cpp:16: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'int read_writer_info(drive_info*)' at qpx_mmc.cpp:2954:9, inlined from 'int read_writer_info(drive_info*)' at qpx_mmc.cpp:2933:5: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 63 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxtransport' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxtransport' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include -I../include -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -shared -Wl,-soname,libqpxtransport.so.0 common_functions.o qpx_transport.o qpx_mmc.o qpx_mmc_css.o threads.o sense.o -o libqpxtransport.so.0.7.0 -lpthread mkdir -p ../lib ln -fs ../qpxtransport/libqpxtransport.so.0.7.0 ../lib/libqpxtransport.so make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxtransport' /usr/bin/make -C qpxplextor DIR=qpxplextor /usr/bin/make -C qpxpioneer DIR=qpxpioneer /usr/bin/make -C qpxyamaha DIR=qpxyamaha make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxpioneer' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include -I../include -c -o pioneer_spdctl.o pioneer_spdctl.cpp pioneer_spdctl.cpp: In function 'int pioneer_set_peakpower(drive_info*, bool, bool)': pioneer_spdctl.cpp:65:1: warning: no return statement in function returning non-void [-Wreturn-type] 65 | } | ^ pioneer_spdctl.cpp: In function 'int pioneer_set_pureread(drive_info*, char)': pioneer_spdctl.cpp:69:1: warning: no return statement in function returning non-void [-Wreturn-type] 69 | } | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxpioneer' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxpioneer' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include -I../include -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -shared -Wl,-soname,libqpxpioneer.so.0 pioneer_spdctl.o -o libqpxpioneer.so.0.7.0 -lqpxtransport -L../lib mkdir -p ../lib ln -fs ../qpxpioneer/libqpxpioneer.so.0.7.0 ../lib/libqpxpioneer.so make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxpioneer' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxyamaha' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include -I../include -c -o yamaha_features.o yamaha_features.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxyamaha' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxyamaha' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include -I../include -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -shared -Wl,-soname,libqpxyamaha.so.0 yamaha_features.o -o libqpxyamaha.so.0.7.0 -lqpxtransport -L../lib mkdir -p ../lib ln -fs ../qpxyamaha/libqpxyamaha.so.0.7.0 ../lib/libqpxyamaha.so make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxyamaha' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxplextor' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include -I../include -c -o plextor_features.o plextor_features.cpp plextor_features.cpp: In function 'int plextor_get_strategy(drive_info*)': plextor_features.cpp:863:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 863 | for (i=0; i<8; i++) printf("%02X ", drive->rd_buf[i]); printf("\n"); | ^~~ plextor_features.cpp:863:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 863 | for (i=0; i<8; i++) printf("%02X ", drive->rd_buf[i]); printf("\n"); | ^~~~~~ plextor_features.cpp:871:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 871 | for (i=0; i<8; i++) printf("%02X ", drive->rd_buf[offs+i]); printf("\n"); | ^~~ plextor_features.cpp:871:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 871 | for (i=0; i<8; i++) printf("%02X ", drive->rd_buf[offs+i]); printf("\n"); | ^~~~~~ plextor_features.cpp:833:17: warning: variable 'acnt' set but not used [-Wunused-but-set-variable] 833 | int cnt,acnt; | ^~~~ plextor_features.cpp: In function 'int plextor_add_strategy(drive_info*)': plextor_features.cpp:921:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 921 | for (i=0; i<8; i++) printf("%02X ", drive->rd_buf[i]); printf("\n"); | ^~~ plextor_features.cpp:921:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 921 | for (i=0; i<8; i++) printf("%02X ", drive->rd_buf[i]); printf("\n"); | ^~~~~~ plextor_features.cpp:958:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 958 | for (i=0; i<8; i++) printf("%02X ", drive->rd_buf[i]); printf("\n"); | ^~~ plextor_features.cpp:958:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 958 | for (i=0; i<8; i++) printf("%02X ", drive->rd_buf[i]); printf("\n"); | ^~~~~~ plextor_features.cpp: In function 'int plextor_create_strategy(drive_info*, int)': plextor_features.cpp:1032:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1032 | if (!drive->silent) printf(" AS CRE: "); for (i=0; i<0x12; i++) printf("%02X ", drive->rd_buf[i] & 0x0FF); printf("\n"); | ^~ plextor_features.cpp:1032:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1032 | if (!drive->silent) printf(" AS CRE: "); for (i=0; i<0x12; i++) printf("%02X ", drive->rd_buf[i] & 0x0FF); printf("\n"); | ^~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxplextor' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxplextor' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include -I../include -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -shared -Wl,-soname,libqpxplextor.so.0 plextor_features.o -o libqpxplextor.so.0.7.0 -lqpxtransport -L../lib mkdir -p ../lib ln -fs ../qpxplextor/libqpxplextor.so.0.7.0 ../lib/libqpxplextor.so make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxplextor' /usr/bin/make -C qpxscan DIR=qpxscan make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxscan' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include -I../include -c -o qpx_writer.o qpx_writer.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxscan' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/lib/qpxscan' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I./include -I../include -c -o qpx_scan.o qpx_scan.cpp In file included from ./include/qpx_scan.h:17, from qpx_scan.cpp:42: ./include/qpx_scan_plugin_api.h: In member function 'dvd_errc& dvd_errc::EMAX(dvd_errc&)': ./include/qpx_scan_plugin_api.h:151:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 151 | if (uncrmedia.capacity) { | ~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from ../../lib/include/threads.h:1, from ./sectmap.h:14, from reader_disc.cpp:24: ../../lib/include/../qpxtransport/include/threads.h:33:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 33 | #define thread_exit(r) pthread_exit((void*)(r)) | ^~~~~~~~~~ reader_disc.cpp:572:5: note: in expansion of macro 'thread_exit' 572 | thread_exit(parm->result); | ^~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/readdvd' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/readdvd' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I../../lib/include -c -o imgwriter.o imgwriter.cpp imgwriter.cpp: In member function 'int imgwriter::write(int, int, int, void*)': imgwriter.cpp:64:55: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'off_t' {aka 'long int'} [-Wformat=] 64 | printf("\nseek() failed! Offs: %lld (%08LX)\n", offs, offs); | ~~~^ ~~~~ | | | | long long int off_t {aka long int} | %ld imgwriter.cpp:64:62: warning: format '%LX' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 64 | printf("\nseek() failed! Offs: %lld (%08LX)\n", offs, offs); | ~~~~^ ~~~~ | | | | | off_t {aka long int} | long long unsigned int | %08lX make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/readdvd' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/cdvdcontrol' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I../../lib/include -c -o cdvdcontrol.o cdvdcontrol.cpp cdvdcontrol.cpp:125:2: warning: #warning "PlexEraser DETECTION. Just assume PX755/760 and Premium-II" [-Wcpp] 125 | #warning "PlexEraser DETECTION. Just assume PX755/760 and Premium-II" | ^~~~~~~ cdvdcontrol.cpp: In function 'int main(int, char**)': cdvdcontrol.cpp:362:17: warning: variable 'amqr' set but not used [-Wunused-but-set-variable] 362 | int amqr = 0; | ^~~~ cdvdcontrol.cpp:363:17: warning: variable 'forcespeed' set but not used [-Wunused-but-set-variable] 363 | int forcespeed = 0; | ^~~~~~~~~~ cdvdcontrol.cpp:366:14: warning: variable 'piosilent' set but not used [-Wunused-but-set-variable] 366 | char piosilent = PIO_SILENT_QUIET; | ^~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/cdvdcontrol' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/cdvdcontrol' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I../../lib/include -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags cdvdcontrol.o -o cdvdcontrol -L../../lib/lib -lqpxtransport -lqpxplextor -lqpxyamaha -lqpxpioneer make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/cdvdcontrol' /usr/bin/make -C pioneer DIR=pioneer make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/readdvd' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I../../lib/include -c -o dvd_udf.o dvd_udf.cpp dvd_udf.cpp:58:2: warning: #warning "Assuming that (unsigned long) can hold (void *)" [-Wcpp] 58 | #warning "Assuming that (unsigned long) can hold (void *)" | ^~~~~~~ dvd_udf.cpp: In function 'int UDFLogVolume(uint8_t*, char*)': dvd_udf.cpp:592:20: warning: variable 'MT_L' set but not used [-Wunused-but-set-variable] 592 | uint32_t lbsize, MT_L, N_PM; | ^~~~ dvd_udf.cpp:592:26: warning: variable 'N_PM' set but not used [-Wunused-but-set-variable] 592 | uint32_t lbsize, MT_L, N_PM; | ^~~~ dvd_udf.cpp: In function 'int UDFGetDescriptor(udf_t*, int, uint8_t*, int)': dvd_udf.cpp:1124:12: warning: variable 'lastsector' set but not used [-Wunused-but-set-variable] 1124 | uint32_t lastsector; | ^~~~~~~~~~ dvd_udf.cpp:1125:10: warning: variable 'terminate' set but not used [-Wunused-but-set-variable] 1125 | int i, terminate; | ^~~~~~~~~ dvd_udf.cpp: In function 'uint32_t UDFFindFile(udf_t*, char*, uint32_t*)': dvd_udf.cpp:1085:21: warning: 'ICB.AD::Length' may be used uninitialized in this function [-Wmaybe-uninitialized] 1085 | if( !UDFMapICB( udf, ICB, &filetype, &partition, &File ) ) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dvd_udf.cpp:1085:21: warning: 'ICB.AD::Location' may be used uninitialized in this function [-Wmaybe-uninitialized] make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/readdvd' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/readdvd' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I../../lib/include -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags deadreader.o kbhit.o sectmap.o reader.o reader_disc.o imgwriter.o dvd_udf.o -o readdvd -L../../lib/lib -lqpxtransport -lpthread make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/readdvd' /usr/bin/make -C pxfw DIR=pxfw make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/plugins/plextor' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I../../lib/include -c -o qscan_cmd.o qscan_cmd.cpp In file included from ../../lib/include/qpx_scan_plugin_api.h:1, from ./qscan_plugin.h:19, from qscan_cmd.cpp:25: ../../lib/include/../qpxscan/include/qpx_scan_plugin_api.h: In member function 'dvd_errc& dvd_errc::EMAX(dvd_errc&)': ../../lib/include/../qpxscan/include/qpx_scan_plugin_api.h:151:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 151 | if (uncrsilent) sperror ("pioneer_send_scan_cx",dev->err); return dev->err; | ^~ qscan_cmd.cpp:66:77: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 66 | if(!dev->silent) sperror ("pioneer_send_scan_cx",dev->err); return dev->err; | ^~~~~~ qscan_cmd.cpp: In member function 'int scan_pioneer::cmd_dvd_errc_read(unsigned char)': qscan_cmd.cpp:119:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 119 | if(!dev->silent) sperror ("pioneer_send_scan_pi",dev->err); return dev->err; | ^~ qscan_cmd.cpp:119:77: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 119 | if(!dev->silent) sperror ("pioneer_send_scan_pi",dev->err); return dev->err; | ^~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/plugins/pioneer' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/plugins/pioneer' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -shared -Wl,-soname,libqscan_pioneer.so qscan_plugin.o qscan_cmd.o -o libqscan_pioneer.so -L../../lib/lib -lqpxtransport -lqpxscan mkdir -p ../lib ln -fs ../pioneer/libqscan_pioneer.so ../lib/libqscan_pioneer.so make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/plugins/pioneer' /usr/bin/make -C liteon DIR=liteon make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/plugins/nec' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I../../lib/include -c -o qscan_cmd.o qscan_cmd.cpp In file included from ../../lib/include/qpx_scan_plugin_api.h:1, from ./qscan_plugin.h:19, from qscan_cmd.cpp:23: ../../lib/include/../qpxscan/include/qpx_scan_plugin_api.h: In member function 'dvd_errc& dvd_errc::EMAX(dvd_errc&)': ../../lib/include/../qpxscan/include/qpx_scan_plugin_api.h:151:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 151 | if (uncrsilent) sperror ("nec_init_errc_scan",dev->err); return 1; | ^~ qscan_cmd.cpp:32:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 32 | if(!dev->silent) sperror ("nec_init_errc_scan",dev->err); return 1; | ^~~~~~ qscan_cmd.cpp:39:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 39 | if(!dev->silent) sperror ("nec_set_scan_interval",dev->err); return 1; | ^~ qscan_cmd.cpp:39:78: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 39 | if(!dev->silent) sperror ("nec_set_scan_interval",dev->err); return 1; | ^~~~~~ qscan_cmd.cpp: In member function 'int scan_nec::cmd_dvd_errc_init()': qscan_cmd.cpp:49:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 49 | if(!dev->silent) sperror ("nec_init_errc_scan",dev->err); return 1; | ^~ qscan_cmd.cpp:49:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 49 | if(!dev->silent) sperror ("nec_init_errc_scan",dev->err); return 1; | ^~~~~~ qscan_cmd.cpp:56:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 56 | if(!dev->silent) sperror ("nec_set_scan_interval",dev->err); return 1; | ^~ qscan_cmd.cpp:56:78: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 56 | if(!dev->silent) sperror ("nec_set_scan_interval",dev->err); return 1; | ^~~~~~ qscan_cmd.cpp: In member function 'int scan_nec::cmd_bd_errc_init()': qscan_cmd.cpp:66:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 66 | if(!dev->silent) sperror ("nec_init_errc_scan",dev->err); return 1; | ^~ qscan_cmd.cpp:66:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 66 | if(!dev->silent) sperror ("nec_init_errc_scan",dev->err); return 1; | ^~~~~~ qscan_cmd.cpp:73:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 73 | if(!dev->silent) sperror ("nec_set_scan_interval",dev->err); return 1; | ^~ qscan_cmd.cpp:73:78: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 73 | if(!dev->silent) sperror ("nec_set_scan_interval",dev->err); return 1; | ^~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/plugins/nec' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/plugins/nec' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -shared -Wl,-soname,libqscan_nec.so qscan_plugin.o qscan_cmd.o -o libqscan_nec.so -L../../lib/lib -lqpxtransport -lqpxscan mkdir -p ../lib ln -fs ../nec/libqscan_nec.so ../lib/libqscan_nec.so make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/plugins/nec' /usr/bin/make -C asus DIR=asus make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/plugins/liteon' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I../../lib/include -c -o qscan_plugin.o qscan_plugin.cpp In file included from ../../lib/include/qpx_scan_plugin_api.h:1, from ./qscan_plugin.h:16, from qscan_plugin.cpp:14: ../../lib/include/../qpxscan/include/qpx_scan_plugin_api.h: In member function 'dvd_errc& dvd_errc::EMAX(dvd_errc&)': ../../lib/include/../qpxscan/include/qpx_scan_plugin_api.h:151:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 151 | if (uncrcmd[8] = (lba >> 16) & 0xFF + 0x03; | ~~~~~^~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/plugins/benq' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/plugins/benq_dvdrom' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -shared -Wl,-soname,libqscan_benq_dvdrom.so qscan_plugin.o qscan_cmd.o -o libqscan_benq_dvdrom.so -L../../lib/lib -lqpxtransport -lqpxscan mkdir -p ../lib ln -fs ../benq_dvdrom/libqscan_benq_dvdrom.so ../lib/libqscan_benq_dvdrom.so make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/plugins/benq_dvdrom' /usr/bin/make -C tsst DIR=tsst make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/plugins/benq' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -shared -Wl,-soname,libqscan_benq.so qscan_plugin.o qscan_cmd.o -o libqscan_benq.so -L../../lib/lib -lqpxtransport -lqpxscan mkdir -p ../lib ln -fs ../benq/libqscan_benq.so ../lib/libqscan_benq.so make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/plugins/benq' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/qscan' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I../../lib/include -c -o qscan.o qscan.cpp In file included from ../../lib/include/qpx_scan_plugin_api.h:1, from ../../lib/include/../qpxscan/include/qpx_scan.h:17, from ../../lib/include/qpx_scan.h:1, from qscan.cpp:23: ../../lib/include/../qpxscan/include/qpx_scan_plugin_api.h: In member function 'dvd_errc& dvd_errc::EMAX(dvd_errc&)': ../../lib/include/../qpxscan/include/qpx_scan_plugin_api.h:151:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 151 | if (uncrcapabilities); | ^~~~ qscan.cpp:404:67: note: format string is defined here 404 | printf(IDEV "Device Generic capabilities : 0x%016LX\n",dev->capabilities); | ~~~~~^ | | | long long unsigned int | %016lX qscan.cpp:36:18: warning: format '%LX' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 36 | #define IDEV "ID: " | ^ qscan.cpp:405:24: note: in expansion of macro 'IDEV' 405 | printf(IDEV "Device Read capabilities : 0x%016LX\n",dev->rd_capabilities); | ^~~~ qscan.cpp:405:67: note: format string is defined here 405 | printf(IDEV "Device Read capabilities : 0x%016LX\n",dev->rd_capabilities); | ~~~~~^ | | | long long unsigned int | %016lX qscan.cpp:36:18: warning: format '%LX' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 36 | #define IDEV "ID: " | ^ qscan.cpp:406:24: note: in expansion of macro 'IDEV' 406 | printf(IDEV "Device Write capabilities : 0x%016LX\n",dev->wr_capabilities); | ^~~~ qscan.cpp:406:67: note: format string is defined here 406 | printf(IDEV "Device Write capabilities : 0x%016LX\n",dev->wr_capabilities); | ~~~~~^ | | | long long unsigned int | %016lX make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/qscan' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/qscan' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I../../lib/include -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags qscan.o -o qscan -L../../lib/lib -lqpxtransport -lqpxscan -lqpxplextor make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/qscan' /usr/bin/make -C qscand DIR=qscand make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/plugins/tsst' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I../../lib/include -c -o qscan_cmd.o qscan_cmd.cpp In file included from ../../lib/include/qpx_scan_plugin_api.h:1, from ./qscan_plugin.h:16, from qscan_cmd.cpp:19: ../../lib/include/../qpxscan/include/qpx_scan_plugin_api.h: In member function 'dvd_errc& dvd_errc::EMAX(dvd_errc&)': ../../lib/include/../qpxscan/include/qpx_scan_plugin_api.h:151:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 151 | if (uncrconnfd, IDENTV, IDENTV_LEN); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ child.cpp:200:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 200 | write(arg->connfd, PROMPT, PROMPT_LEN); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ child.cpp:213:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 213 | write(arg->connfd, "\n", 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ child.cpp:224:30: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 224 | write(arg->connfd, helpstr, helpstr_sz); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ child.cpp:249:30: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 249 | write(arg->connfd, lineo, strlen(lineo)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ child.cpp:260:38: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 260 | write(arg->connfd, lineo, strlen(lineo)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ child.cpp:274:46: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 274 | write(arg->connfd, lineo, strlen(lineo)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ child.cpp:287:46: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 287 | write(arg->connfd, lineo, strlen(lineo)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ child.cpp:301:38: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 301 | write(arg->connfd, lineo, strlen(lineo)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ child.cpp:313:30: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 313 | write(arg->connfd, lineo, strlen(lineo)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ child.cpp:393:38: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 393 | write(arg->connfd, lineo, strlen(lineo)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from child.cpp:16: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void child_proc(child_arg_t*)' at child.cpp:281:13: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ child.cpp: In function 'void child_proc(child_arg_t*)': child.cpp:279:45: note: length computed here 279 | len = strlen(linet); | ~~~~~~^~~~~~~ In file included from /usr/include/string.h:519, from child.cpp:16: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void child_proc(child_arg_t*)' at child.cpp:268:13: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ child.cpp: In function 'void child_proc(child_arg_t*)': child.cpp:266:45: note: length computed here 266 | len = strlen(linet); | ~~~~~~^~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/qscand' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/qscand' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -I. -I../../lib/include -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags qscand.o child.o -o qscand -L../../lib/lib -lqpxtransport -lpthread make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/console/qscand' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/abstractpreview.o src/abstractpreview.cpp src/abstractpreview.cpp:1103:2: warning: #warning disabled due to enable multiple selection of same page (i.e. to return to viewed page) [-Wcpp] 1103 | #warning disabled due to enable multiple selection of same page (i.e. to return to viewed page) | ^~~~~~~ src/abstractpreview.cpp: In member function 'virtual void AbstractPreview::paintEvent(QPaintEvent*)': src/abstractpreview.cpp:841:22: warning: variable 'bkg' set but not used [-Wunused-but-set-variable] 841 | const QColor bkg = viewport()->backgroundRole(); | ^~~ src/abstractpreview.cpp: In member function 'virtual void AbstractPreview::additionalPaintEvent(QPainter*, int, const QRect&)': src/abstractpreview.cpp:963:80: warning: unused parameter 'rect' [-Wunused-parameter] 963 | void AbstractPreview::additionalPaintEvent(QPainter *p, int page, const QRect &rect) | ~~~~~~~~~~~~~^~~~ src/abstractpreview.cpp: In member function 'QRect AbstractPreview::pageRect(QPoint)': src/abstractpreview.cpp:990:9: warning: unused variable 'sel' [-Wunused-variable] 990 | int sel = -1; | ^~~ src/abstractpreview.cpp: In member function 'QPageInfo AbstractPreview::pageInfo(int)': src/abstractpreview.cpp:1021:19: warning: implicitly-declared 'constexpr QPageInfo::QPageInfo(const QPageInfo&)' is deprecated [-Wdeprecated-copy] 1021 | return d->enterPageInfo; | ^~~~~~~~~~~~~ In file included from src/abstractpreview.cpp:24: include/abstractpreview.h:43:16: note: because 'QPageInfo' has user-provided 'QPageInfo& QPageInfo::operator=(const QPageInfo&)' 43 | QPageInfo &operator=(const QPageInfo &data) { | ^~~~~~~~ src/abstractpreview.cpp:1029:20: warning: implicitly-declared 'constexpr QPageInfo::QPageInfo(const QPageInfo&)' is deprecated [-Wdeprecated-copy] 1029 | return info; | ^~~~ In file included from src/abstractpreview.cpp:24: include/abstractpreview.h:43:16: note: because 'QPageInfo' has user-provided 'QPageInfo& QPageInfo::operator=(const QPageInfo&)' 43 | QPageInfo &operator=(const QPageInfo &data) { | ^~~~~~~~ src/abstractpreview.cpp:1032:12: warning: implicitly-declared 'constexpr QPageInfo::QPageInfo(const QPageInfo&)' is deprecated [-Wdeprecated-copy] 1032 | return info; | ^~~~ In file included from src/abstractpreview.cpp:24: include/abstractpreview.h:43:16: note: because 'QPageInfo' has user-provided 'QPageInfo& QPageInfo::operator=(const QPageInfo&)' 43 | QPageInfo &operator=(const QPageInfo &data) { | ^~~~~~~~ src/abstractpreview.cpp: In member function 'QPageInfo AbstractPreview::pageInfo(const QPoint&)': src/abstractpreview.cpp:1051:15: warning: implicitly-declared 'constexpr QPageInfo::QPageInfo(const QPageInfo&)' is deprecated [-Wdeprecated-copy] 1051 | return d->enterPageInfo; | ^~~~~~~~~~~~~ In file included from src/abstractpreview.cpp:24: include/abstractpreview.h:43:16: note: because 'QPageInfo' has user-provided 'QPageInfo& QPageInfo::operator=(const QPageInfo&)' 43 | QPageInfo &operator=(const QPageInfo &data) { | ^~~~~~~~ src/abstractpreview.cpp: In member function 'virtual void AbstractPreview::addedPages(int, int)': src/abstractpreview.cpp:1257:38: warning: unused parameter 'count' [-Wunused-parameter] 1257 | void AbstractPreview::addedPages(int count, int begin) | ~~~~^~~~~ src/abstractpreview.cpp:1257:49: warning: unused parameter 'begin' [-Wunused-parameter] 1257 | void AbstractPreview::addedPages(int count, int begin) | ~~~~^~~~~ src/abstractpreview.cpp: In member function 'QPixmap* AbstractPreview::grabPage(int, const QRectF&)': src/abstractpreview.cpp:1583:60: warning: unused parameter 'rect' [-Wunused-parameter] 1583 | QPixmap *AbstractPreview::grabPage(int page, const QRectF &rect) | ~~~~~~~~~~~~~~^~~~ src/abstractpreview.cpp: In member function 'QPixmap* AbstractPreview::grabPage(int, qreal, qreal, qreal, qreal)': src/abstractpreview.cpp:1589:52: warning: unused parameter 'left' [-Wunused-parameter] 1589 | QPixmap *AbstractPreview::grabPage(int page, qreal left, qreal top, | ~~~~~~^~~~ src/abstractpreview.cpp:1589:64: warning: unused parameter 'top' [-Wunused-parameter] 1589 | QPixmap *AbstractPreview::grabPage(int page, qreal left, qreal top, | ~~~~~~^~~ src/abstractpreview.cpp:1590:42: warning: unused parameter 'width' [-Wunused-parameter] 1590 | qreal width, qreal height) | ~~~~~~^~~~~ src/abstractpreview.cpp:1590:55: warning: unused parameter 'height' [-Wunused-parameter] 1590 | qreal width, qreal height) | ~~~~~~^~~~~~ src/abstractpreview.cpp: In member function 'QPageInfo AbstractPreview::enterPageInfo()': src/abstractpreview.cpp:1603:56: warning: implicitly-declared 'constexpr QPageInfo::QPageInfo(const QPageInfo&)' is deprecated [-Wdeprecated-copy] 1603 | QPageInfo AbstractPreview::enterPageInfo() { return d->enterPageInfo; } | ^~~~~~~~~~~~~ In file included from src/abstractpreview.cpp:24: include/abstractpreview.h:43:16: note: because 'QPageInfo' has user-provided 'QPageInfo& QPageInfo::operator=(const QPageInfo&)' 43 | QPageInfo &operator=(const QPageInfo &data) { | ^~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/db_connection.o src/db_connection.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/colorlabel.o src/colorlabel.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/db_report_selection.o src/db_report_selection.cpp src/db_report_selection.cpp: In member function 'virtual int ListModel::columnCount(const QModelIndex&) const': src/db_report_selection.cpp:40:47: warning: unused parameter 'p' [-Wunused-parameter] 40 | int ListModel::columnCount(const QModelIndex& p) const | ~~~~~~~~~~~~~~~~~~~^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/devsettings.o src/devsettings.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/errc_detailed.o src/errc_detailed.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/graphtab.o src/graphtab.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/devsettings_widgets.o src/devsettings_widgets.cpp src/devsettings_widgets.cpp: In constructor 'devctlSilent::devctlSilent(device*, QWidget*)': src/devsettings_widgets.cpp:452:14: warning: variable 'cd' set but not used [-Wunused-but-set-variable] 452 | bool cd=0; | ^~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/hostedit_dialog.o src/hostedit_dialog.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/image_label.o src/image_label.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/device.o src/device.cpp src/device.cpp:358:2: warning: #warning !!! mwidget->clearMedia() call [-Wcpp] 358 | #warning !!! mwidget->clearMedia() call | ^~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/images_list.o src/images_list.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/main.o src/main.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/mainwidget.o src/mainwidget.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/mcapwidget.o src/mcapwidget.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/mwatcher.o src/mwatcher.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/mainwindow.o src/mainwindow.cpp src/mainwindow.cpp:1071:2: warning: #warning !!! hardcoded report name structure [-Wcpp] 1071 | #warning !!! hardcoded report name structure | ^~~~~~~ src/mainwindow.cpp:1480:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1480 | r+= "\"Read"; | ^ src/mainwindow.cpp:1480:93: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1480 | r+= "\"Read"; | ^ src/mainwindow.cpp:1511:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1511 | r+= "\"Write"; | ^ src/mainwindow.cpp:1511:94: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1511 | r+= "\"Write"; | ^ src/mainwindow.cpp:1574:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1574 | r+= "\"Error\n"; | ^ src/mainwindow.cpp:1574:98: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1574 | r+= "\"Error\n"; | ^ src/mainwindow.cpp:1583:84: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1583 | r+= "\t"; | ^ src/mainwindow.cpp:1583:112: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1583 | r+= "\t"; | ^ src/mainwindow.cpp:1592:85: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1592 | r+= "\t"; | ^ src/mainwindow.cpp:1592:113: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1592 | r+= "\t"; | ^ src/mainwindow.cpp:1602:92: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1602 | r+= "\t"; | ^ src/mainwindow.cpp:1602:120: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1602 | r+= "\t"; | ^ src/mainwindow.cpp:1629:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1629 | r+= ""; | ^ src/mainwindow.cpp:1629:71: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1629 | r+= ""; | ^ src/mainwindow.cpp:1646:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1646 | r+= ""; | ^ src/mainwindow.cpp:1646:71: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1646 | r+= ""; | ^ src/mainwindow.cpp:1658:2: warning: #warning TA analysis data [-Wcpp] 1658 | #warning TA analysis data | ^~~~~~~ src/mainwindow.cpp:1666:104: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1666 | r+= ""; | ^ src/mainwindow.cpp:1666:134: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1666 | r+= ""; | ^ src/mainwindow.cpp:1668:104: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1668 | r+= ""; | ^ src/mainwindow.cpp:1668:134: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1668 | r+= ""; | ^ src/mainwindow.cpp:1677:13: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1677 | r+= "\tGenerated by QPxTool v"VERSION" (c) Gennady \"ShultZ\" Kozlov\n"; | ^ src/mainwindow.cpp:1759:2: warning: #warning !!! set media label before saving to database [-Wcpp] 1759 | #warning !!! set media label before saving to database | ^~~~~~~ src/mainwindow.cpp:1865:2: warning: #warning empty fields in report saving query!!! [-Wcpp] 1865 | #warning empty fields in report saving query!!! | ^~~~~~~ src/mainwindow.cpp: In constructor 'QPxToolMW::QPxToolMW(int, char**, QWidget*, Qt::WindowFlags)': src/mainwindow.cpp:106:23: warning: comparison is always false due to limited range of data type [-Wtype-limits] 106 | if (c == -1) | ~~^~~~~ src/mainwindow.cpp: In member function 'void QPxToolMW::selectTab()': src/mainwindow.cpp:429:16: error: ordered comparison of pointer with integer zero ('QAction*' and 'int') 429 | if (act<0) return; | ~~~^~ make[2]: *** [Makefile.qmake:677: obj/mainwindow.o] Error 1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/pref_common.o src/pref_common.cpp In file included from /usr/include/QtCore/QString:1, from include/qpxsettings.h:16, from src/pref_common.cpp:13: /usr/include/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const': /usr/include/QtCore/qstring.h:1254:33: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1254 | { return QString::compare_helper(constData(), length(), s, cs); } | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)': /usr/include/QtCore/qstring.h:1260:33: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); } | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)' 634 | QLatin1String s2, | ~~~~~~~~~~~~~~^~ /usr/include/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const': /usr/include/QtCore/qstring.h:1278:23: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy] 1278 | { return QBool(indexOf(s, 0, cs) != -1); } | ~~~~~~~^~~~~~~~~~ /usr/include/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)' 658 | inline QLatin1String &operator=(const QLatin1String &other) | ^~~~~~~~ /usr/include/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const' 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; | ~~~~~~~~~~~~~~^~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/pref_devices.o src/pref_devices.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -O2 -fPIC -DOFFT_64BIT -DHAVE_FOPEN64 -DHAVE_FSEEKO -DUSE_LIBPNG -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I../lib/include -I. -Iinclude -Imoc -o obj/pref_colors.o src/pref_colors.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/qpxtool-0.7.2/gui' make[1]: *** [Makefile:6: all] Error 2 make: *** [Makefile:42: gui] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.hS1ynb (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.hS1ynb (%build) I: [iurt_root_command] ERROR: chroot