D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/auto-multiple-choice-1.4.0-6.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.KGPOmX + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf auto-multiple-choice-1.4.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/auto-multiple-choice_1.4.0_precomp.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd auto-multiple-choice-1.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/auto-multiple-choice-1.2.1-desktop-file.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -i 's|/usr/lib/AMC|/usr/lib64/AMC|' vars-subs.pl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.0zRD0V + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd auto-multiple-choice-1.4.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make SYSTEM_TYPE=rpm MODSDIR=/usr/lib64/AMC MODELSDIR=/usr/share/auto-multiple-choice/models TEXDIR=/usr/share/texmf/tex/latex/AMC BINDIR=/usr/bin ICONSDIR=/usr/share/auto-multiple-choice/icons PIXDIR=/usr/share/pixmaps PERLDIR=/usr/share/perl5/vendor_perl MAN1DIR=/usr/share/man/man1 DOCDIR=/usr/share/doc/auto-multiple-choice DESKTOPDIR= 'DESKTOP_CAT=Education;' USER_GROUP= 'GCC_NETPBM=-I /usr/include/netpbm -lnetpbm' 'GCC_OPENCV_LIBS=-lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_imgcodecs' GCC=gcc GCC_PP=g++ 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall' 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fpermissive' 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' TEXINPUTS=/usr/share/dblatex/latex/graphics/: make auto-multiple-choice auto-multiple-choice.desktop AMC-gui-apropos.glade AMC-gui.pl AMC-latex-link.pl AMC-perl/AMC/Basic.pm doc/doc-xhtml-site.fr.xsl doc/doc-xhtml-site.ja.xsl doc/doc-xhtml-site.en.xsl doc/amcdocstyle.sty doc/doc-xhtml.xsl doc/auto-multiple-choice.en.xml doc/auto-multiple-choice.fr.xml doc/auto-multiple-choice.ja.xml doc/sty/automultiplechoice.dtx make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/auto-multiple-choice-1.4.0' /usr/bin/perl -p vars-subs.pl auto-multiple-choice.in > auto-multiple-choice /usr/bin/perl -p vars-subs.pl auto-multiple-choice.desktop.in > auto-multiple-choice.desktop /usr/bin/perl -p vars-subs.pl AMC-gui-apropos.glade.in > AMC-gui-apropos.glade /usr/bin/perl -p vars-subs.pl AMC-gui.pl.in > AMC-gui.pl /usr/bin/perl -p vars-subs.pl AMC-latex-link.pl.in > AMC-latex-link.pl /usr/bin/perl -p vars-subs.pl AMC-perl/AMC/Basic.pm.in > AMC-perl/AMC/Basic.pm /usr/bin/perl -p vars-subs.pl doc/doc-xhtml-site.fr.xsl.in > doc/doc-xhtml-site.fr.xsl /usr/bin/perl -p vars-subs.pl doc/doc-xhtml-site.ja.xsl.in > doc/doc-xhtml-site.ja.xsl /usr/bin/perl -p vars-subs.pl doc/doc-xhtml-site.en.xsl.in > doc/doc-xhtml-site.en.xsl /usr/bin/perl -p vars-subs.pl doc/amcdocstyle.sty.in > doc/amcdocstyle.sty /usr/bin/perl -p vars-subs.pl doc/doc-xhtml.xsl.in > doc/doc-xhtml.xsl /usr/bin/perl -p vars-subs.pl doc/auto-multiple-choice.en.in.xml > doc/auto-multiple-choice.en.xml /usr/bin/perl -p vars-subs.pl doc/auto-multiple-choice.fr.in.xml > doc/auto-multiple-choice.fr.xml /usr/bin/perl -p vars-subs.pl doc/auto-multiple-choice.ja.in.xml > doc/auto-multiple-choice.ja.xml /usr/bin/perl -p vars-subs.pl doc/sty/automultiplechoice.dtx.in > doc/sty/automultiplechoice.dtx make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/auto-multiple-choice-1.4.0' make AMC-detect AMC-buildpdf AMC-pdfformfields make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/auto-multiple-choice-1.4.0' g++ -o AMC-detect AMC-detect.cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fpermissive -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lstdc++ -lm -I/usr/include/opencv4 -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_imgcodecs AMC-detect.cc: In function 'void calage(cv::Mat, cv::Mat, double, double, double, double, double, int, double*, double*, cv::Mat&, int)': AMC-detect.cc:555:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 555 | for(int i = 0; i < contours.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ AMC-detect.cc: In function 'double omit_optim(double*, double*, double*, double*, int, linear_transform*)': AMC-detect.cc:455:14: warning: 'q_best' may be used uninitialized in this function [-Wmaybe-uninitialized] 455 | return sqrt(q_best); | ~~~~^~~~~~~~ AMC-detect.cc: In function 'void mesure_case(cv::Mat, cv::Mat, int, int, int, int, int, double, int, double, double, double, double, linear_transform*, point*, cv::Mat&, char*, int)': AMC-detect.cc:922:32: warning: 'ov_y1' may be used uninitialized in this function [-Wmaybe-uninitialized] 922 | ok = (o_y>=ov_y0 && o_y<=ov_y1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ AMC-detect.cc:922:32: warning: 'ov_y0' may be used uninitialized in this function [-Wmaybe-uninitialized] AMC-detect.cc:920:36: warning: 'ov_x1' may be used uninitialized in this function [-Wmaybe-uninitialized] 920 | ok = (SUM_SQUARE(o_x - ov_x1, o_y - ov_center) <= ov_r2); | ^ AMC-detect.cc:918:36: warning: 'ov_x0' may be used uninitialized in this function [-Wmaybe-uninitialized] 918 | ok = (SUM_SQUARE(o_x - ov_x0, o_y - ov_center) <= ov_r2); | ^ AMC-detect.cc:918:49: warning: 'ov_center' may be used uninitialized in this function [-Wmaybe-uninitialized] 918 | ok = (SUM_SQUARE(o_x - ov_x0, o_y - ov_center) <= ov_r2); | ^ AMC-detect.cc:916:11: warning: 'ov_dir' may be used uninitialized in this function [-Wmaybe-uninitialized] 916 | if(ov_dir == DIR_X) { | ^~ AMC-detect.cc:986:17: warning: 'z_ymax' may be used uninitialized in this function [-Wmaybe-uninitialized] 986 | printf(": Z=(%d,%d)+(%d,%d)\n", | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 987 | z_xmin, z_ymin, z_xmax - z_xmin, z_ymax - z_ymin); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/opencv4/opencv2/core.hpp:58, from /usr/include/opencv4/opencv2/core/core.hpp:48, from AMC-detect.cc:40: /usr/include/opencv4/opencv2/core/types.hpp:1828:50: warning: 'z_ymin' may be used uninitialized in this function [-Wmaybe-uninitialized] 1828 | : x(_x), y(_y), width(_width), height(_height) {} | ^ AMC-detect.cc:782:23: note: 'z_ymin' was declared here 782 | int z_xmin, z_xmax, z_ymin, z_ymax; | ^~~~~~ AMC-detect.cc:986:17: warning: 'z_xmax' may be used uninitialized in this function [-Wmaybe-uninitialized] 986 | printf(": Z=(%d,%d)+(%d,%d)\n", | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 987 | z_xmin, z_ymin, z_xmax - z_xmin, z_ymax - z_ymin); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/opencv4/opencv2/core.hpp:58, from /usr/include/opencv4/opencv2/core/core.hpp:48, from AMC-detect.cc:40: /usr/include/opencv4/opencv2/core/types.hpp:1828:50: warning: 'z_xmin' may be used uninitialized in this function [-Wmaybe-uninitialized] 1828 | : x(_x), y(_y), width(_width), height(_height) {} | ^ AMC-detect.cc:782:7: note: 'z_xmin' was declared here 782 | int z_xmin, z_xmax, z_ymin, z_ymax; | ^~~~~~ AMC-detect.cc: In function 'int main(int, char**)': AMC-detect.cc:1215:9: warning: 'upside_down' may be used uninitialized in this function [-Wmaybe-uninitialized] 1215 | if(upside_down) { | ^~ g++ -o AMC-buildpdf AMC-buildpdf.cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fpermissive -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lstdc++ -lm -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -pthread -I/usr/include/poppler/glib -I/usr/include/poppler -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lpoppler-glib -lgobject-2.0 -lglib-2.0 -lcairo -I/usr/include/opencv4 -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_imgcodecs In file included from AMC-buildpdf.cc:23: buildpdf.cc: In constructor 'BuildPdf::BuildPdf(double, double, double)': buildpdf.cc:390:10: warning: 'BuildPdf::margin' will be initialized after [-Wreorder] 390 | double margin; | ^~~~~~ buildpdf.cc:363:20: warning: 'PopplerDocument* BuildPdf::document' [-Wreorder] 363 | PopplerDocument *document; | ^~~~~~~~ buildpdf.cc:152:3: warning: when initialized here [-Wreorder] 152 | BuildPdf(double w, double h, double d): | ^~~~~~~~ buildpdf.cc:408:25: warning: 'BuildPdf::font_description' will be initialized after [-Wreorder] 408 | PangoFontDescription *font_description; | ^~~~~~~~~~~~~~~~ buildpdf.cc:391:10: warning: 'double BuildPdf::line_width' [-Wreorder] 391 | double line_width; | ^~~~~~~~~~ buildpdf.cc:152:3: warning: when initialized here [-Wreorder] 152 | BuildPdf(double w, double h, double d): | ^~~~~~~~ buildpdf.cc:394:7: warning: 'BuildPdf::debug' will be initialized after [-Wreorder] 394 | int debug; | ^~~~~ buildpdf.cc:384:10: warning: 'double BuildPdf::scan_expansion' [-Wreorder] 384 | double scan_expansion; | ^~~~~~~~~~~~~~ buildpdf.cc:152:3: warning: when initialized here [-Wreorder] 152 | BuildPdf(double w, double h, double d): | ^~~~~~~~ buildpdf.cc:396:7: warning: 'BuildPdf::embedded_image_format' will be initialized after [-Wreorder] 396 | int embedded_image_format; | ^~~~~~~~~~~~~~~~~~~~~ buildpdf.cc:378:22: warning: 'std::vector BuildPdf::image_buffer' [-Wreorder] 378 | std::vector image_buffer; | ^~~~~~~~~~~~ buildpdf.cc:152:3: warning: when initialized here [-Wreorder] 152 | BuildPdf(double w, double h, double d): | ^~~~~~~~ buildpdf.cc:400:7: warning: 'BuildPdf::scan_max_width' will be initialized after [-Wreorder] 400 | int scan_max_width; | ^~~~~~~~~~~~~~ buildpdf.cc:399:7: warning: 'int BuildPdf::scan_max_height' [-Wreorder] 399 | int scan_max_height; | ^~~~~~~~~~~~~~~ buildpdf.cc:152:3: warning: when initialized here [-Wreorder] 152 | BuildPdf(double w, double h, double d): | ^~~~~~~~ buildpdf.cc:399:7: warning: 'BuildPdf::scan_max_height' will be initialized after [-Wreorder] 399 | int scan_max_height; | ^~~~~~~~~~~~~~~ buildpdf.cc:397:7: warning: 'int BuildPdf::png_compression_level' [-Wreorder] 397 | int png_compression_level; | ^~~~~~~~~~~~~~~~~~~~~ buildpdf.cc:152:3: warning: when initialized here [-Wreorder] 152 | BuildPdf(double w, double h, double d): | ^~~~~~~~ buildpdf.cc: In member function 'void BuildPdf::set_matrix(cairo_matrix_t*)': buildpdf.cc:1094:12: warning: unused variable 'tx' [-Wunused-variable] 1094 | double tx, ty; | ^~ buildpdf.cc:1094:16: warning: unused variable 'ty' [-Wunused-variable] 1094 | double tx, ty; | ^~ buildpdf.cc: In function 'int main(int, char**)': buildpdf.cc:162:46: warning: 'dppt' may be used uninitialized in this function [-Wmaybe-uninitialized] 162 | png_compression_level(9), jpeg_quality(75) { | ^ AMC-buildpdf.cc:50:10: note: 'dppt' was declared here 50 | double dppt; | ^~~~ In file included from AMC-buildpdf.cc:23: buildpdf.cc:162:46: warning: 'height_in_pixels' may be used uninitialized in this function [-Wmaybe-uninitialized] 162 | png_compression_level(9), jpeg_quality(75) { | ^ AMC-buildpdf.cc:49:27: note: 'height_in_pixels' was declared here 49 | double width_in_pixels, height_in_pixels; | ^~~~~~~~~~~~~~~~ In file included from AMC-buildpdf.cc:23: buildpdf.cc:162:46: warning: 'width_in_pixels' may be used uninitialized in this function [-Wmaybe-uninitialized] 162 | png_compression_level(9), jpeg_quality(75) { | ^ AMC-buildpdf.cc:49:10: note: 'width_in_pixels' was declared here 49 | double width_in_pixels, height_in_pixels; | ^~~~~~~~~~~~~~~ g++ -o AMC-pdfformfields pdfformfields.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fpermissive -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lstdc++ -lm -I/usr/include/poppler/glib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/poppler -pthread -I/usr/include/libmount -I/usr/include/blkid -lpoppler-glib -lcairo -lgio-2.0 -lgobject-2.0 -lglib-2.0 pdfformfields.c: In function 'void strip(char*, char*, char*)': pdfformfields.c:47:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 47 | while(i < strlen(str)) { | ~~^~~~~~~~~~~~~ pdfformfields.c:50:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 50 | while (i+j < strlen(str) && j < strlen(token) && str[i+j] == token[j]) j++; | ~~~~^~~~~~~~~~~~~ pdfformfields.c:50:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 50 | while (i+j < strlen(str) && j < strlen(token) && str[i+j] == token[j]) j++; | ~~^~~~~~~~~~~~~~~ pdfformfields.c:51:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 51 | if (j == strlen(token)) { | ~~^~~~~~~~~~~~~~~~ pdfformfields.c: In function 'int main(int, char**)': pdfformfields.c:125:24: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] 125 | for (int i=0; i= 2:5.32.0 Processing files: auto-multiple-choice-debugsource-1.4.0-6.mga8.x86_64 Provides: auto-multiple-choice-debugsource = 1.4.0-6.mga8 auto-multiple-choice-debugsource(x86-64) = 1.4.0-6.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: auto-multiple-choice-debuginfo-1.4.0-6.mga8.x86_64 Provides: auto-multiple-choice-debuginfo = 1.4.0-6.mga8 auto-multiple-choice-debuginfo(x86-64) = 1.4.0-6.mga8 debuginfo(build-id) = 5f2ad52c13f26518970a377f631c0da1b2877a06 debuginfo(build-id) = 7051586b1107cf77ca34f363ea418514de657db9 debuginfo(build-id) = f6cf9fa2e6525bba4c238f8d50c85d79669c15e1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: auto-multiple-choice-debugsource(x86-64) = 1.4.0-6.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/auto-multiple-choice-1.4.0-6.mga8.x86_64 Wrote: /home/iurt/rpmbuild/RPMS/x86_64/auto-multiple-choice-debugsource-1.4.0-6.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/auto-multiple-choice-debuginfo-1.4.0-6.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/auto-multiple-choice-1.4.0-6.mga8.x86_64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.HyrzrX + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd auto-multiple-choice-1.4.0 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/auto-multiple-choice-1.4.0-6.mga8.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.0pbU0U + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf auto-multiple-choice-1.4.0 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!