D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/latex2rtf-2.3.18-2.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cMlOJd + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf latex2rtf-2.3.18 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/latex2rtf-2.3.18.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd latex2rtf-2.3.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/latex2rtf-2.3.18-Makefile.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find . -type f -exec chmod 644 '{}' ';' + chmod 755 test/bracecheck + chmod 755 scripts/latex2png + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.P7gfXD + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd latex2rtf-2.3.18 + '[' 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 + /usr/bin/make -O -j8 V=1 VERBOSE=1 cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c direct.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c stack.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c ignore.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c commands.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c encodings.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c fonts.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DCFGDIR=\"/etc/latex2rtf/\" -DUNIX -c cfg.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c lengths.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c counters.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c letterformat.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c utils.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DCFGDIR=\"/etc/latex2rtf/\" -DUNIX -c main.c main.c: In function 'debug_malloc': main.c:1025:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1025 | fscanf(stdin, "%c", &c); | ^~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c chars.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c parser.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c funct1.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c tables.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c convert.c convert.c: In function 'ConvertString': convert.c:57:34: warning: comparison between pointer and zero character constant [-Wpointer-compare] 57 | if (string == NULL || string == '\0') | ^~ convert.c:57:27: note: did you mean to dereference the pointer? 57 | if (string == NULL || string == '\0') | ^ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c mygetopt.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c styles.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c definitions.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c preamble.c preamble.c: In function 'CmdMakeTitle': preamble.c:963:34: warning: '%2d' directive output may be truncated writing between 2 and 10 bytes into a region of size 7 [-Wformat-truncation=] 963 | snprintf(title_begin, 10, "%s%2d", "\\fs", (30 * CurrentFontSize()) / 20); | ^~~ preamble.c:963:31: note: directive argument in the range [-107374182, 107374182] 963 | snprintf(title_begin, 10, "%s%2d", "\\fs", (30 * CurrentFontSize()) / 20); | ^~~~~~~ In file included from /usr/include/stdio.h:894, from main.h:45, from preamble.c:30: In function 'snprintf', inlined from 'CmdMakeTitle' at preamble.c:963:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 6 and 14 bytes into a destination of size 10 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ preamble.c: In function 'CmdMakeTitle': preamble.c:964:35: warning: '%2d' directive output may be truncated writing between 2 and 10 bytes into a region of size 7 [-Wformat-truncation=] 964 | snprintf(author_begin, 10, "%s%2d", "\\fs", (24 * CurrentFontSize()) / 20); | ^~~ preamble.c:964:32: note: directive argument in the range [-107374182, 107374182] 964 | snprintf(author_begin, 10, "%s%2d", "\\fs", (24 * CurrentFontSize()) / 20); | ^~~~~~~ In function 'snprintf', inlined from 'CmdMakeTitle' at preamble.c:964:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 6 and 14 bytes into a destination of size 10 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ preamble.c: In function 'CmdMakeTitle': preamble.c:965:33: warning: '%2d' directive output may be truncated writing between 2 and 10 bytes into a region of size 7 [-Wformat-truncation=] 965 | snprintf(date_begin, 10, "%s%2d", "\\fs", (24 * CurrentFontSize()) / 20); | ^~~ preamble.c:965:30: note: directive argument in the range [-107374182, 107374182] 965 | snprintf(date_begin, 10, "%s%2d", "\\fs", (24 * CurrentFontSize()) / 20); | ^~~~~~~ In function 'snprintf', inlined from 'CmdMakeTitle' at preamble.c:965:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 6 and 14 bytes into a destination of size 10 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c fields.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c labels.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c vertical.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c biblio.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c auxfile.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c preparse.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c equations.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c acronyms.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c xrefs.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -DUNIX -c graphics.c graphics.c: In function 'getPngChunk': graphics.c:953:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 953 | fread(&DataLength, 4, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ graphics.c:957:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 957 | fread(Type, 1, 4, fp); | ^~~~~~~~~~~~~~~~~~~~~ graphics.c:964:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 964 | fread(data, DataLength, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ graphics.c:965:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 965 | fread(&crc, 4, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DUNIX -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags fonts.o direct.o encodings.o commands.o stack.o funct1.o tables.o chars.o ignore.o cfg.o main.o utils.o parser.o lengths.o counters.o preamble.o letterformat.o equations.o convert.o xrefs.o definitions.o graphics.o mygetopt.o styles.o preparse.o vertical.o fields.o labels.o biblio.o auxfile.o acronyms.o -lm -o latex2rtf + /usr/bin/make -O -j8 V=1 VERBOSE=1 doc cd doc && /usr/bin/make -k make[1]: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iy5sEB + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64 + cd latex2rtf-2.3.18 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64 'INSTALL=/usr/bin/install -p' install-info cc -DUNIX fonts.o direct.o encodings.o commands.o stack.o funct1.o tables.o chars.o ignore.o cfg.o main.o utils.o parser.o lengths.o counters.o preamble.o letterformat.o equations.o convert.o xrefs.o definitions.o graphics.o mygetopt.o styles.o preparse.o vertical.o fields.o labels.o biblio.o auxfile.o acronyms.o -lm -o latex2rtf cd doc && /usr/bin/make make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/latex2rtf-2.3.18/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/latex2rtf-2.3.18/doc' mkdir -p /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64/usr/bin mkdir -p /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64/usr/share/man/man1 mkdir -p /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64/etc/latex2rtf/ mkdir -p /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64/usr/share/doc/latex2rtf cp -p scripts/latex2png /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64/usr/bin cp -p doc/latex2rtf.1 /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64/usr/share/man/man1 cp -p doc/latex2png.1 /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64/usr/share/man/man1 cp -p cfg/fonts.cfg cfg/direct.cfg cfg/ignore.cfg cfg/style.cfg cfg/afrikaans.cfg cfg/bahasa.cfg cfg/basque.cfg cfg/brazil.cfg cfg/breton.cfg cfg/catalan.cfg cfg/croatian.cfg cfg/czech.cfg cfg/danish.cfg cfg/dutch.cfg cfg/english.cfg cfg/esperanto.cfg cfg/estonian.cfg cfg/finnish.cfg cfg/french.cfg cfg/galician.cfg cfg/german.cfg cfg/icelandic.cfg cfg/irish.cfg cfg/italian.cfg cfg/latin.cfg cfg/lsorbian.cfg cfg/magyar.cfg cfg/norsk.cfg cfg/nynorsk.cfg cfg/polish.cfg cfg/portuges.cfg cfg/romanian.cfg cfg/samin.cfg cfg/scottish.cfg cfg/serbian.cfg cfg/slovak.cfg cfg/slovene.cfg cfg/spanish.cfg cfg/swedish.cfg cfg/turkish.cfg cfg/usorbian.cfg cfg/welsh.cfg cfg/russian.cfg cfg/ukrainian.cfg cfg/frenchb.cfg cfg/greek.cfg cfg/british.cfg /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64/etc/latex2rtf/ cp -p doc/latex2rtf.html /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64/usr/share/doc/latex2rtf cp -p doc/latex2rtf.pdf /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64/usr/share/doc/latex2rtf cp -p doc/latex2rtf.txt /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64/usr/share/doc/latex2rtf cp -p latex2rtf /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64/usr/bin ****************************************************************** *** latex2rtf successfully installed as "latex2rtf" *** in directory "/usr/bin" *** *** "make install-info" will install TeXInfo files *** *** latex2rtf was compiled to search for its configuration files in *** "/etc/latex2rtf/" *** *** If the configuration files are moved then either *** 1) set the environment variable RTFPATH to this new location, or *** 2) use the command line option -P /path/to/cfg, or *** 3) edit the Makefile and recompile ****************************************************************** mkdir -p /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64/usr/share/info cp -p doc/latex2rtf.info /home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64/usr/share/info /sbin/install-info --info-dir=/home/pterjan/rpmbuild/BUILDROOT/latex2rtf-2.3.18-2.mga9.x86_64/usr/share/info doc/latex2rtf.info make: /sbin/install-info: No such file or directory make: *** [Makefile:246: install-info] Error 127 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.iy5sEB (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.iy5sEB (%install) I: [iurt_root_command] ERROR: chroot