D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/perl-Audio-CD-0.50.0-26.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dy8FWl + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Audio-CD-0.05 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Audio-CD-0.05.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd Audio-CD-0.05 + rm -rf /home/pterjan/rpmbuild/BUILD/Audio-CD-0.05-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/Audio-CD-0.05-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.k8JV68 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Audio-CD-0.05 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Audio::CD Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j8 V=1 VERBOSE=1 Running Mkbootstrap for CD () chmod 644 "CD.bs" "/usr/bin/perl5.38.2" -MExtUtils::Command::MM -e 'cp_nonempty' -- CD.bs blib/arch/auto/Audio/CD/CD.bs 644 cp CD.pm blib/lib/Audio/CD.pm /usr/bin/cc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib64/perl5/CORE" -g cddb_lookup.c cddb_lookup.c: In function 'inexact_selection': cddb_lookup.c:53:16: error: implicit declaration of function 'strtol' [-Wimplicit-function-declaration] 53 | return strtol(inbuffer, NULL, 10); | ^~~~~~ cddb_lookup.c: In function 'cddb_lookup': cddb_lookup.c:100:40: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 100 | proxy = (struct cddb_server *)malloc(sizeof(struct cddb_server)); | ^~~~~~ cddb_lookup.c:24:1: note: include '' or provide a declaration of 'malloc' 23 | #include "stdio.h" +++ |+#include 24 | cddb_lookup.c:100:40: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 100 | proxy = (struct cddb_server *)malloc(sizeof(struct cddb_server)); | ^~~~~~ cddb_lookup.c:100:40: note: include '' or provide a declaration of 'malloc' cddb_lookup.c:103:13: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 103 | free(proxy); | ^~~~ cddb_lookup.c:103:13: note: include '' or provide a declaration of 'free' cddb_lookup.c:103:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] cddb_lookup.c:103:13: note: include '' or provide a declaration of 'free' cddb_lookup.c:108:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 108 | free(proxy); | ^~~~ cddb_lookup.c:108:13: note: include '' or provide a declaration of 'free' cddb_lookup.c:113:10: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 113 | strncpy(hello.hello_program, PACKAGE, 256); | ^~~~~~~ cddb_lookup.c:24:1: note: include '' or provide a declaration of 'strncpy' 23 | #include "stdio.h" +++ |+#include 24 | cddb_lookup.c:113:10: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 113 | strncpy(hello.hello_program, PACKAGE, 256); | ^~~~~~~ cddb_lookup.c:113:10: note: include '' or provide a declaration of 'strncpy' cddb_lookup.c:141:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 141 | if(conf.conf_proxy) free(proxy); | ^~~~ cddb_lookup.c:141:33: note: include '' or provide a declaration of 'free' cddb_lookup.c:153:36: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 153 | if(conf.conf_proxy) free(proxy); | ^~~~ cddb_lookup.c:153:36: note: include '' or provide a declaration of 'free' cddb_lookup.c:162:36: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 162 | if(conf.conf_proxy) free(proxy); | ^~~~ cddb_lookup.c:162:36: note: include '' or provide a declaration of 'free' cddb_lookup.c:166:13: error: implicit declaration of function 'shutdown' [-Wimplicit-function-declaration] 166 | shutdown(sock, 2); | ^~~~~~~~ cddb_lookup.c:167:13: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 167 | close(sock); | ^~~~~ | pclose cddb_lookup.c:171:36: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 171 | if(conf.conf_proxy) free(proxy); | ^~~~ cddb_lookup.c:171:36: note: include '' or provide a declaration of 'free' cddb_lookup.c:181:36: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 181 | if(conf.conf_proxy) free(proxy); | ^~~~ cddb_lookup.c:181:36: note: include '' or provide a declaration of 'free' cddb_lookup.c:190:30: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 190 | if(conf.conf_proxy) free(proxy); | ^~~~ cddb_lookup.c:190:30: note: include '' or provide a declaration of 'free' cddb_lookup.c:196:16: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 196 | if(strlen(query.query_list[0].list_artist) > 0) | ^~~~~~ cddb_lookup.c:196:16: note: include '' or provide a declaration of 'strlen' cddb_lookup.c:196:16: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] cddb_lookup.c:196:16: note: include '' or provide a declaration of 'strlen' cddb_lookup.c:227:18: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 227 | if(strlen(query.query_list[index].list_artist) < 1) | ^~~~~~ cddb_lookup.c:227:18: note: include '' or provide a declaration of 'strlen' cddb_lookup.c: In function 'inexact_selection': cddb_lookup.c:52:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | fgets(inbuffer, sizeof(inbuffer), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:342: cddb_lookup.o] Error 1 make: *** Waiting for unfinished jobs.... "/usr/bin/perl5.38.2" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/Audio-CD-0.05/typemap' CD.xs > CD.xsc mv CD.xsc CD.c error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.k8JV68 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.k8JV68 (%build) I: [iurt_root_command] ERROR: chroot