D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/nss_postgresql-0.6.1-15.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tJPM7y + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf nss_postgresql-0.6.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/nss_postgresql-0.6.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd nss_postgresql-0.6.1 + rm -rf /home/pterjan/rpmbuild/BUILD/nss_postgresql-0.6.1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/nss_postgresql-0.6.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/nss_postgresql_include_path.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/nss_postgresql_lock.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/nss_postgresql_glibc.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NyFauC + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd nss_postgresql-0.6.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC' gcc -O2 -Wall -lcrypt crypt.c -o crypt crypt.c: In function 'main': crypt.c:17:15: error: implicit declaration of function 'crypt' [-Wimplicit-function-declaration] 17 | c_pwd=crypt(argv[1],argv[2]); | ^~~~~ crypt.c:17:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 17 | c_pwd=crypt(argv[1],argv[2]); | ^ make: *** [Makefile:17: crypt] Error 1 make: *** Waiting for unfinished jobs.... gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -c -o log.o log.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -c -o group.o group.c group.c: In function '_nss_pgsql_setgrent': group.c:339:9: error: implicit declaration of function 'pthread_mutex_lock' [-Wimplicit-function-declaration] 339 | if (pthread_mutex_lock(&lock)) | ^~~~~~~~~~~~~~~~~~ group.c:345:5: error: implicit declaration of function 'pthread_mutex_unlock' [-Wimplicit-function-declaration] 345 | pthread_mutex_unlock(&lock); | ^~~~~~~~~~~~~~~~~~~~ group.c: In function 'internal_setgrent': group.c:99:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 99 | fgets(bindex,whatsleft,conf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ group.c:106:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 106 | fgets(bindex,whatsleft,conf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [: group.o] Error 1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -c -o shadow.o shadow.c shadow.c: In function 'internal_setspent': shadow.c:98:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 98 | fgets(bindex,whatsleft,conf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ shadow.c:105:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | fgets(bindex,whatsleft,conf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -c -o passwd.o passwd.c passwd.c: In function 'internal_setpwent': passwd.c:106:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 106 | fgets(bindex,whatsleft,conf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ passwd.c:113:10: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | fgets(bindex,whatsleft,conf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.NyFauC (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.NyFauC (%build) I: [iurt_root_command] ERROR: chroot