D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/perl-Libconf-0.42.10-21.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.SJIKFQ + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf perl-Libconf-0.42.10 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/perl-Libconf-0.42.10.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd perl-Libconf-0.42.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (perl-Libconf-0.39.9-fix-drakups.patch):' Patch #0 (perl-Libconf-0.39.9-fix-drakups.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file ./perl-Libconf/Glueconf/NUT/Ups_conf.pm Hunk #1 succeeded at 101 (offset 19 lines). + echo 'Patch #1 (perl-Libconf-fix-doc-build.patch):' Patch #1 (perl-Libconf-fix-doc-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file ./doc/Makefile + echo 'Patch #2 (perl-Libconf-0.42.10-perl510.patch):' Patch #2 (perl-Libconf-0.42.10-perl510.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .perl510 --fuzz=0 patching file bindings/c/src/conf2xml.c + echo 'Patch #3 (perl-Libconf-0.42.10-perl-Libconf_Makefile-fix-indentation.patch):' Patch #3 (perl-Libconf-0.42.10-perl-Libconf_Makefile-fix-indentation.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .makefile-fix-indentation --fuzz=0 patching file perl-Libconf/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.D9d04R + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd perl-Libconf-0.42.10 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make all 'CFLAGS=-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' 'BINDINGS=bash c' make -C perl-Libconf all make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/perl-Libconf-0.42.10/perl-Libconf' if [ "x" = "x1" ]; then find . -type f | grep '.p.$' | xargs etags; fi cd .. && if [ ! -e Libconf ]; then ln -sf perl-Libconf Libconf; fi make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/perl-Libconf-0.42.10/perl-Libconf' make -C bindings all make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/perl-Libconf-0.42.10/bindings' for i in bash c; do make -C $i all; done; make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/perl-Libconf-0.42.10/bindings/bash' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/perl-Libconf-0.42.10/bindings/bash' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/perl-Libconf-0.42.10/bindings/c' make -C src all make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/perl-Libconf-0.42.10/bindings/c/src' gcc -Wall -fPIC -c conf2xml.c `perl -MExtUtils::Embed -e ccopts` In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'conf2xml' at conf2xml.c:71:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'conf2xml': conf2xml.c:71:5: note: length computed here 71 | strncat(perl_code, perl_code1, strlen(perl_code1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'conf2xml' at conf2xml.c:72:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'conf2xml': conf2xml.c:72:5: note: length computed here 72 | strncat(perl_code, filename, strlen(filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'conf2xml' at conf2xml.c:73:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'conf2xml': conf2xml.c:73:5: note: length computed here 73 | strncat(perl_code, perl_sep, strlen(perl_sep)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'conf2xml' at conf2xml.c:74:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'conf2xml': conf2xml.c:74:5: note: length computed here 74 | strncat(perl_code, template, strlen(template)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'conf2xml' at conf2xml.c:75:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'conf2xml': conf2xml.c:75:5: note: length computed here 75 | strncat(perl_code, perl_sep, strlen(perl_sep)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'conf2xml' at conf2xml.c:76:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'conf2xml': conf2xml.c:76:5: note: length computed here 76 | strncat(perl_code, template_options, strlen(template_options)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'conf2xml' at conf2xml.c:77:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'conf2xml': conf2xml.c:77:5: note: length computed here 77 | strncat(perl_code, perl_code2, strlen(perl_code2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'xml2conf' at conf2xml.c:130:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'xml2conf': conf2xml.c:130:5: note: length computed here 130 | strncat(perl_code, perl_code1, strlen(perl_code1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'xml2conf' at conf2xml.c:131:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'xml2conf': conf2xml.c:131:5: note: length computed here 131 | strncat(perl_code, xml_string, strlen(xml_string)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'xml2conf' at conf2xml.c:132:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'xml2conf': conf2xml.c:132:5: note: length computed here 132 | strncat(perl_code, perl_sep, strlen(perl_sep)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'xml2conf' at conf2xml.c:133:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'xml2conf': conf2xml.c:133:5: note: length computed here 133 | strncat(perl_code, filename, strlen(filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'xml2conf' at conf2xml.c:134:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'xml2conf': conf2xml.c:134:5: note: length computed here 134 | strncat(perl_code, perl_sep, strlen(perl_sep)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'xml2conf' at conf2xml.c:135:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'xml2conf': conf2xml.c:135:5: note: length computed here 135 | strncat(perl_code, template, strlen(template)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'xml2conf' at conf2xml.c:136:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'xml2conf': conf2xml.c:136:5: note: length computed here 136 | strncat(perl_code, perl_sep, strlen(perl_sep)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'xml2conf' at conf2xml.c:137:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'xml2conf': conf2xml.c:137:5: note: length computed here 137 | strncat(perl_code, template_options, strlen(template_options)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from conf2xml.c:5: In function 'strncat', inlined from 'xml2conf' at conf2xml.c:138:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf2xml.c: In function 'xml2conf': conf2xml.c:138:5: note: length computed here 138 | strncat(perl_code, perl_code2, strlen(perl_code2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ perl -MExtUtils::Embed -e xsinit -- -o perlxsi.c gcc -Wall -fPIC -c perlxsi.c `perl -MExtUtils::Embed -e ccopts` gcc -Wall -fPIC -o libconf2xml.so -shared conf2xml.o perlxsi.o `perl -MExtUtils::Embed -e ccopts -e ldopts` /usr/bin/ld: cannot find -lnsl collect2: error: ld returned 1 exit status make[3]: *** [Makefile:22: libconf2xml.so] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/perl-Libconf-0.42.10/bindings/c/src' make[2]: *** [Makefile:3: all] Error 2 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/perl-Libconf-0.42.10/bindings/c' make[1]: *** [Makefile:3: all] Error 2 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/perl-Libconf-0.42.10/bindings' make: *** [Makefile:46: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.D9d04R (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.D9d04R (%build) I: [iurt_root_command] ERROR: chroot