D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/perl-Net-LDAPapi-3.0.7-8.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.M8SBDW + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Net-LDAPapi-3.0.7 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Net-LDAPapi-3.0.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Net-LDAPapi-3.0.7 + rm -rf /home/pterjan/rpmbuild/BUILD/Net-LDAPapi-3.0.7-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/Net-LDAPapi-3.0.7-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.Oiuad8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Net-LDAPapi-3.0.7 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor -sdk 1 -lib_path /usr/lib64 -include_path /usr/include -sasl_include_path /usr/include Net::LDAPapi Perl5 Module - by Quanah Gibson-Mount OpenLDAP support by Symas Corporation -- http://www.symas.com Updated by Quanah Gibson-Mount to match modern products and vendors. Updated by Dmitri Priimak to use the v3 OpenLDAP API. Originally by Clayton Donley Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::LDAPapi Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/perl constant.gen >constant.h Running Mkbootstrap for LDAPapi () chmod 644 "LDAPapi.bs" "/usr/bin/perl5.38.2" -MExtUtils::Command::MM -e 'cp_nonempty' -- LDAPapi.bs blib/arch/auto/Net/LDAPapi/LDAPapi.bs 644 cp LDAPapi.pm blib/lib/Net/LDAPapi.pm AutoSplitting blib/lib/Net/LDAPapi.pm (blib/lib/auto/Net/LDAPapi) "/usr/bin/perl5.38.2" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/Net-LDAPapi-3.0.7/typemap' LDAPapi.xs > LDAPapi.xsc mv LDAPapi.xsc LDAPapi.c /usr/bin/cc -c -I/usr/include -I/usr/include -I/usr/include -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=\"3.0.7\" -DXS_VERSION=\"3.0.7\" -fPIC "-I/usr/lib64/perl5/CORE" -DOPENLDAP LDAPapi.c LDAPapi.c: In function 'XS_Net__LDAPapi_ldap_bind_s': LDAPapi.c:624:18: error: implicit declaration of function 'ldap_bind_s' [-Wimplicit-function-declaration] 624 | RETVAL = ldap_bind_s(ldp, dn, passwd, authmethod); | ^~~~~~~~~~~ LDAPapi.xs: In function 'XS_Net__LDAPapi_ldap_search_s': LDAPapi.xs:487:17: error: implicit declaration of function 'ldap_search_s'; did you mean 'ldap_search_ext'? [-Wimplicit-function-declaration] 487 | RETVAL = ldap_search_s(ldp, base, scope, filter, attrs, attrsonly, &res); | ^~~~~~~~~~~~~ | ldap_search_ext LDAPapi.c: In function 'XS_Net__LDAPapi_ldap_perror': LDAPapi.c:2402:9: error: implicit declaration of function 'ldap_perror'; did you mean 'ldap_destroy'? [-Wimplicit-function-declaration] 2402 | ldap_perror(ld, s); | ^~~~~~~~~~~ | ldap_destroy LDAPapi.xs: In function 'XS_Net__LDAPapi_ldap_explode_dn': LDAPapi.xs:1349:11: error: implicit declaration of function 'ldap_value_free'; did you mean 'ldap_value_free_len'? [-Wimplicit-function-declaration] 1349 | ldap_value_free(LDAPGETVAL); | ^~~~~~~~~~~~~~~ | ldap_value_free_len LDAPapi.xs: In function 'XS_Net__LDAPapi_ldap_sort_entries': LDAPapi.xs:1674:17: error: implicit declaration of function 'ldap_sort_entries'; did you mean 'ldap_count_entries'? [-Wimplicit-function-declaration] 1674 | RETVAL = ldap_sort_entries(ld,&chain,attr,StrCaseCmp); | ^~~~~~~~~~~~~~~~~ | ldap_count_entries make: *** [Makefile:343: LDAPapi.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Oiuad8 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Oiuad8 (%build) I: [iurt_root_command] ERROR: chroot