D: [iurt_root_command] chroot warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/lcgdm-1.13.0-12.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uQRuJj + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf lcgdm-1.13.0 + /usr/bin/mkdir -p lcgdm-1.13.0 + cd lcgdm-1.13.0 + rm -rf /home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /home/pterjan/rpmbuild/BUILD + rm -rf lcgdm-1.13.0/lfc-mysql + /usr/bin/mkdir -p lcgdm-1.13.0/lfc-mysql + cd lcgdm-1.13.0/lfc-mysql + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/lcgdm-1.13.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + rm -rf /home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /home/pterjan/rpmbuild/BUILD + rm -rf lcgdm-1.13.0/dpm-mysql + /usr/bin/mkdir -p lcgdm-1.13.0/dpm-mysql + cd lcgdm-1.13.0/dpm-mysql + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/lcgdm-1.13.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + rm -rf /home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/dpm-mysql-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/dpm-mysql-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /home/pterjan/rpmbuild/BUILD + cd lcgdm-1.13.0 + rm -rf /home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/lcgdm-unitfiles.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /home/pterjan/rpmbuild/BUILD + cd lcgdm-1.13.0 + rm -rf /home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd lfc-mysql/lcgdm-1.13.0 + echo 'Patch #1 (fix-build-with-python3.patch):' Patch #1 (fix-build-with-python3.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ns/Imakefile.lfc + cd - /home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0 + for d in lfc-mysql dpm-mysql + pushd lfc-mysql/lcgdm-1.13.0 ~/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0 ~/rpmbuild/BUILD/lcgdm-1.13.0 + echo 'Patch #0 (lcgdm-python-exception.patch):' Patch #0 (lcgdm-python-exception.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ns/Cns-python_typemaps.i + echo 'Patch #2 (fix-build-with-python3-2.patch):' Patch #2 (fix-build-with-python3-2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file dpm/Imakefile + chmod 644 security/globus_gsi_gss_constants.h security/globus_i_gsi_credential.h security/gssapi_openssl.h + chmod 644 doc/lfc/INSTALL-client doc/lfc/INSTALL-server-mysql doc/lfc/INSTALL-server-oracle doc/lfc/INSTALL-server-postgres + sed 's:^CC +=:& -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 -fno-strict-aliasing -fno-tree-sink:' -i config/linux.cf + sed 's/i386/'\''i386'\''/' -i config/linux.cf + popd ~/rpmbuild/BUILD/lcgdm-1.13.0 + for d in lfc-mysql dpm-mysql + pushd dpm-mysql/lcgdm-1.13.0 ~/rpmbuild/BUILD/lcgdm-1.13.0/dpm-mysql/lcgdm-1.13.0 ~/rpmbuild/BUILD/lcgdm-1.13.0 + echo 'Patch #0 (lcgdm-python-exception.patch):' Patch #0 (lcgdm-python-exception.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ns/Cns-python_typemaps.i + echo 'Patch #2 (fix-build-with-python3-2.patch):' Patch #2 (fix-build-with-python3-2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file dpm/Imakefile + chmod 644 security/globus_gsi_gss_constants.h security/globus_i_gsi_credential.h security/gssapi_openssl.h + chmod 644 doc/lfc/INSTALL-client doc/lfc/INSTALL-server-mysql doc/lfc/INSTALL-server-oracle doc/lfc/INSTALL-server-postgres + sed 's:^CC +=:& -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 -fno-strict-aliasing -fno-tree-sink:' -i config/linux.cf + sed 's/i386/'\''i386'\''/' -i config/linux.cf + popd ~/rpmbuild/BUILD/lcgdm-1.13.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UkRXJL + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd lcgdm-1.13.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ soapcpp2 -v ++ grep C++ ++ sed 's/.* //' + gsoapversion=2.8.104 + pushd lfc-mysql/lcgdm-1.13.0 ~/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0 ~/rpmbuild/BUILD/lcgdm-1.13.0 + ./configure lfc --without-argus --with-python=/usr/bin/python3 --with-mysql --libdir=lib64 --with-gsoap-version=2.8.104 --with-id-map-file=/etc/lcgdm-mapfile --with-ns-config-file=/etc/NSCONFIG '--with-etc-dir=$(prefix)/../etc' --with-emi make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0' h: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/h' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/h' lib: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/lib' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/lib' shlib: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/shlib' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/shlib' common: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/common' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/common' ns: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/ns' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/ns' security: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/security' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/security' dli: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/dli' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/dli' test: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/test' ns: make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/test/ns' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/test/ns' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/test' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0' + make -f Makefile.ini Makefiles make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0' h: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/h' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/h' lib: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/lib' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/lib' shlib: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/shlib' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/shlib' common: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/common' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/common' ns: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/ns' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/ns' security: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/security' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/security' dli: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/dli' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/dli' test: make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/test' ns: make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/test/ns' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/test/ns' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/test' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0' ++ pkg-config --cflags gsoap + make -j8 'SOAPFLG=-DWITH_IPV6 -DWITH_DOM ' h: make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/h' make[1]: warning: -j8 forced in submake: resetting jobserver mode. sed -e "s/__BASEVERSION__/\"1.13.0\"/" -e "s/__PATCHLEVEL__/1/" -e "s/__TIMESTAMP__/\"`date +%s`\"/" patchlevel.in > patchlevel.h make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/h' lib: make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/lib' make[1]: warning: -j8 forced in submake: resetting jobserver mode. cd ../ns ; make libns.a cd ../common ; make libcommon.a cd ../security ; make libsecurity.a make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/ns' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/common' g++ -g -fPIC -I../h -lstdc++ -ldl -c -o UtilsPthread.o UtilsPthread.cc make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/security' cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -DLIBDIR='"/usr/lib64"' -c -o Csec_api_loader.o Csec_api_loader.c g++ -g -fPIC -I../h -lstdc++ -ldl -c -o LcgdmDbPool.o LcgdmDbPool.cc cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -c -o Csec_protocol_policy.o Csec_protocol_policy.c g++ -g -fPIC -I../h -lstdc++ -ldl -c -o LcgdmDbPool_C.o LcgdmDbPool_C.cc cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -c -o Csec_api.o Csec_api.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o getconfent.o getconfent.c In file included from UtilsPthread.cc:25: UtilsPthread.hh: In destructor 'UptSemaphore::~UptSemaphore()': UtilsPthread.hh:343:25: warning: 'throw' will always call 'terminate' [-Wterminate] 343 | {throw "sem_destroy() failed";} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ UtilsPthread.hh:343:25: note: in C++11 destructors default to 'noexcept' cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o getfilep.o getfilep.c In file included from LcgdmDbPool.hh:17, from LcgdmDbPool.cc:1: UtilsPthread.hh: In destructor 'UptSemaphore::~UptSemaphore()': UtilsPthread.hh:343:25: warning: 'throw' will always call 'terminate' [-Wterminate] 343 | {throw "sem_destroy() failed";} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ UtilsPthread.hh:343:25: note: in C++11 destructors default to 'noexcept' In file included from LcgdmDbPool.hh:17, from LcgdmDbPool_C.cc:6: UtilsPthread.hh: In destructor 'UptSemaphore::~UptSemaphore()': UtilsPthread.hh:343:25: warning: 'throw' will always call 'terminate' [-Wterminate] 343 | {throw "sem_destroy() failed";} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ UtilsPthread.hh:343:25: note: in C++11 destructors default to 'noexcept' cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o getifnam.o getifnam.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o getuser.o getuser.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o isTrustedHost.o isTrustedHost.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -c -o Csec_errmsg.o Csec_errmsg.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o log.o log.c log.c: In function 'logit': log.c:181:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 181 | (void) write(fd,line,strlen(line)) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -c -o Csec_apiinit.o Csec_apiinit.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o marshall.o marshall.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o remote.o remote.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -c -o Csec_common.o Csec_common.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o serror.o serror.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o setnetio.o setnetio.c Csec_common.c: In function 'Csec_trace': Csec_common.c:93:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | write(fd, prtbuf, strlen(prtbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o socket.o socket.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o solveln.o solveln.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o trace.o trace.c solveln.c: In function 'seelink': solveln.c:75:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | chdir(stordir); | ^~~~~~~~~~~~~~ cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o wsacct.o wsacct.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -g -O -c Cthread.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -g -O -c Csched.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cglobals.o Cglobals.c wsacct.c:18:1: error: return type defaults to 'int' [-Wimplicit-int] 18 | wsacct(package, acctstruct, len) | ^~~~~~ wsacct.c: In function 'wsacct': wsacct.c:36:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | write (fd_acct, buf, sizeof(struct accthdr) + len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [: wsacct.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ar -rv libsecurity.a Csec_api_loader.o Csec_protocol_policy.o Csec_api.o Csec_errmsg.o Csec_apiinit.o Csec_common.o ar: creating libsecurity.a a - Csec_api_loader.o a - Csec_protocol_policy.o a - Csec_api.o a - Csec_errmsg.o a - Csec_apiinit.o a - Csec_common.o Csched.c: In function 'Csched_Getschedparam': Csched.c:104:11: error: implicit declaration of function '_Cthread_self'; did you mean 'pthread_self'? [-Wimplicit-function-declaration] 104 | _Cthread_self(),cid,(unsigned long) policy,(unsigned long) Cparam,file, line); | ^~~~~~~~~~~~~ | pthread_self Csched.c:109:32: error: implicit declaration of function '_Cthread_init'; did you mean 'pthread_exit'? [-Wimplicit-function-declaration] 109 | if ( _Cthread_once_status && _Cthread_init() ) return(-1); | ^~~~~~~~~~~~~ | pthread_exit Csched.c:124:3: error: implicit declaration of function '_Cthread_release_mtx' [-Wimplicit-function-declaration] 124 | _Cthread_release_mtx(file,line,&(Cthread.mtx)); | ^~~~~~~~~~~~~~~~~~~~ ranlib libsecurity.a make[2]: *** [Makefile:146: Csched.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/security' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/common' make[1]: *** [Makefile:197: ../common/libcommon.a] Error 2 make[1]: *** Waiting for unfinished jobs.... cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_aborttrans.o Cns_aborttrans.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_access.o Cns_access.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_addreplica.o Cns_addreplica.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_apiinit.o Cns_apiinit.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_auth.o Cns_auth.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_chclass.o Cns_chclass.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_chdir.o Cns_chdir.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_chmod.o Cns_chmod.c Cns_auth.c: In function 'lfc_client_setVOMS_data': Cns_auth.c:109:9: error: implicit declaration of function 'Cglobals_get_dynamic' [-Wimplicit-function-declaration] 109 | if (Cglobals_get_dynamic(&voname_key, &thip->voname, | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [: Cns_auth.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/ns' make[1]: *** [Makefile:203: ../ns/libns.a] Error 2 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/lib' shlib: make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/shlib' make[1]: warning: -j8 forced in submake: resetting jobserver mode. cd ../common ; make libcommon.a cd ../security ; make libsecurity.a cd ../ns ; make libns.a make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/common' cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o wsacct.o wsacct.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -g -O -c Csched.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cgrp.o Cgrp.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -g -O -c Cmutex.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cdomainname.o Cdomainname.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cnetdb.o Cnetdb.c make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/security' make[2]: 'libsecurity.a' is up to date. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/security' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/ns' cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -g -O -c Cpool.c wsacct.c:18:1: error: return type defaults to 'int' [-Wimplicit-int] 18 | wsacct(package, acctstruct, len) | ^~~~~~ wsacct.c: In function 'wsacct': wsacct.c:36:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | write (fd_acct, buf, sizeof(struct accthdr) + len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Csched.c: In function 'Csched_Getschedparam': Csched.c:104:11: error: implicit declaration of function '_Cthread_self'; did you mean 'pthread_self'? [-Wimplicit-function-declaration] 104 | _Cthread_self(),cid,(unsigned long) policy,(unsigned long) Cparam,file, line); | ^~~~~~~~~~~~~ | pthread_self make[2]: *** [: wsacct.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Csched.c:109:32: error: implicit declaration of function '_Cthread_init'; did you mean 'pthread_exit'? [-Wimplicit-function-declaration] 109 | if ( _Cthread_once_status && _Cthread_init() ) return(-1); | ^~~~~~~~~~~~~ | pthread_exit Csched.c:124:3: error: implicit declaration of function '_Cthread_release_mtx' [-Wimplicit-function-declaration] 124 | _Cthread_release_mtx(file,line,&(Cthread.mtx)); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:146: Csched.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/common' make[1]: *** [Makefile:197: ../common/libcommon.a] Error 2 make[1]: *** Waiting for unfinished jobs.... cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_auth.o Cns_auth.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_chown.o Cns_chown.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_closedir.o Cns_closedir.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_creat.o Cns_creat.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delcomment.o Cns_delcomment.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delete.o Cns_delete.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_deleteclass.o Cns_deleteclass.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delfilesbyguid.o Cns_delfilesbyguid.c Cns_auth.c: In function 'lfc_client_setVOMS_data': Cns_auth.c:109:9: error: implicit declaration of function 'Cglobals_get_dynamic' [-Wimplicit-function-declaration] 109 | if (Cglobals_get_dynamic(&voname_key, &thip->voname, | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [: Cns_auth.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/ns' make[1]: *** [Makefile:203: ../ns/libns.a] Error 2 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/shlib' common: make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/common' make[1]: warning: -j8 forced in submake: resetting jobserver mode. cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o wsacct.o wsacct.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -g -O -c Csched.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cpwd.o Cpwd.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o socket_timeout.o socket_timeout.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o u64subr.o u64subr.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cinitdaemon.o Cinitdaemon.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cgetopt.o Cgetopt.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DCTHREAD_DEBUG -DCPOOL_DEBUG -DPATH_CONFIG=\"/etc/shift.conf\" -DLOCALHOSTSFILE=\"/etc/shift.localhosts\" -DMAPPING_FILE=\"MappingFile\" -DRTHOSTSFILE=\"/etc/shift.remhosts\" -DADMIN_HOSTS=\"AdminHosts\" -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNFSROOT=\"/shift\" -c -o Cregexp.o Cregexp.c wsacct.c:18:1: error: return type defaults to 'int' [-Wimplicit-int] 18 | wsacct(package, acctstruct, len) | ^~~~~~ wsacct.c: In function 'wsacct': wsacct.c:36:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | write (fd_acct, buf, sizeof(struct accthdr) + len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Csched.c: In function 'Csched_Getschedparam': Csched.c:104:11: error: implicit declaration of function '_Cthread_self'; did you mean 'pthread_self'? [-Wimplicit-function-declaration] 104 | _Cthread_self(),cid,(unsigned long) policy,(unsigned long) Cparam,file, line); | ^~~~~~~~~~~~~ | pthread_self Csched.c:109:32: error: implicit declaration of function '_Cthread_init'; did you mean 'pthread_exit'? [-Wimplicit-function-declaration] 109 | if ( _Cthread_once_status && _Cthread_init() ) return(-1); | ^~~~~~~~~~~~~ | pthread_exit make[1]: *** [: wsacct.o] Error 1 make[1]: *** Waiting for unfinished jobs.... Csched.c:124:3: error: implicit declaration of function '_Cthread_release_mtx' [-Wimplicit-function-declaration] 124 | _Cthread_release_mtx(file,line,&(Cthread.mtx)); | ^~~~~~~~~~~~~~~~~~~~ Cinitdaemon.c: In function 'Cinitdaemon': Cinitdaemon.c:52:9: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | freopen( "/dev/null", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cinitdaemon.c:53:9: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 53 | freopen( "/dev/null", "w", stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cinitdaemon.c:54:9: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | freopen( "/dev/null", "w", stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:146: Csched.o] Error 1 Cregexp.c: In function 'Cregexp_dump': Cregexp.c:2072:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 2072 | printf("%2d%s", s-r->program, _Cregexp_prop(s)); /* Where, what. */ | ~~^ ~~~~~~~~~~~~ | | | | int long int | %2ld Cregexp.c:2082:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 2082 | printf("(%d)", (s-r->program)+(next-s)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/common' ns: make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/ns' make[1]: warning: -j8 forced in submake: resetting jobserver mode. cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_auth.o Cns_auth.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delfilesbyname.o Cns_delfilesbyname.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delfilesbypattern.o Cns_delfilesbypattern.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delreplica.o Cns_delreplica.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delreplicas.o Cns_delreplicas.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_delreplicasbysfn.o Cns_delreplicasbysfn.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_du.o Cns_du.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DBIN=\"/usr/bin\" -DCNS_HOST=\""UNUSED"\" -DCNSHOSTPFX=\"lfc\" -DLCGDM_MAPFILE=\"/etc/lcgdm-mapfile\" -DLOGFILE=\"/usr/var/log/lfc/log\" -DNSCONFIG=\"/etc/NSCONFIG\" -DSACCT -DACCTFILE=\"/usr/var/log/sacct/sacct\" -DNSTYPE_LFC -DUSE_MYSQL -DCSEC -DVIRTUAL_ID -DUSE_VOMS -I/usr/include/mysql -c -o Cns_endsess.o Cns_endsess.c Cns_auth.c: In function 'lfc_client_setVOMS_data': Cns_auth.c:109:9: error: implicit declaration of function 'Cglobals_get_dynamic' [-Wimplicit-function-declaration] 109 | if (Cglobals_get_dynamic(&voname_key, &thip->voname, | ^~~~~~~~~~~~~~~~~~~~ make[1]: *** [: Cns_auth.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/ns' security: make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/security' make[1]: warning: -j8 forced in submake: resetting jobserver mode. cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -o Csec_plugin_ID.o -c Csec_plugin_ID.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -DGSI -I/usr/include/globus -I/usr/lib64/globus/include -I/usr/include/voms -DUSE_VOMS -o Csec_plugin_GSI.o -c Csec_plugin_GSS.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -g -DCSEC_DEFAULT_MECHS="\"GSI ID\"" -I../h -DGSI -I/usr/include/globus -I/usr/lib64/globus/include -I/usr/include/voms -DUSE_VOMS -o Csec_plugin_GSI_mapper.o -c Csec_plugin_GSS_mapper.c cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -shared -o libCsec_plugin_ID.so Csec_plugin_ID.o -lc -lpthread cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -shared -o libCsec_plugin_GSI.so Csec_plugin_GSI.o Csec_plugin_GSI_mapper.o -L/usr/lib64 -lglobus_gssapi_gsi -lglobus_gss_assist -lglobus_gsi_credential -lglobus_gsi_callback -lglobus_gsi_cert_utils -lglobus_common -L/usr/lib64 -L/usr/lib -lvomsapi -lssl -lcrypto -lc -lpthread /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/security' dli: make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/dli' make[1]: warning: -j8 forced in submake: resetting jobserver mode. /usr/bin/wsdl2h -z1 -c -t typemap.dat DataLocationInterface.wsdl cc -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 -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -I/usr/include -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DLOGFILE=\"/usr/var/log/lfc-dli/log\" -DWITH_IPV6 -DWITH_DOM -c -o dlilogit.o dlilogit.c sed -e 's#DPMCONFIGFILE=.*#DPMCONFIGFILE=#' -e 's#PREFIX=.*#PREFIX=/usr#' lfc-dli.scripts > rc.lfc-dli cp lfc-dli.sysconfig lfc-dli.conf.templ Saving DataLocationInterface.h ** The gSOAP WSDL/WADL/XSD processor for C and C++, wsdl2h release 2.8.104 ** Copyright (C) 2000-2020 Robert van Engelen, Genivia Inc. ** All Rights Reserved. This product is provided "as is", without any warranty. ** The wsdl2h tool and its generated software are released under the GPL. ** ---------------------------------------------------------------------------- ** A commercial use license is available from Genivia Inc., contact@genivia.com ** ---------------------------------------------------------------------------- Reading type definitions from type map "typemap.dat" dlilogit.c:14:1: error: return type defaults to 'int' [-Wimplicit-int] 14 | dlilogit(char *func, char *msg, ...) | ^~~~~~~~ make[1]: *** [: dlilogit.o] Error 1 make[1]: *** Waiting for unfinished jobs.... Reading 'DataLocationInterface.wsdl'... Done reading 'DataLocationInterface.wsdl' Warning: ignoring type inheritance by default for C, use option -F to generate struct declarations with simulated inheritance using transient pointer members pointing to derived types to serialize derived types as elements annotated by xsi:type attributes in XML. To finalize code generation, execute: > soapcpp2 DataLocationInterface.h make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/lcgdm-1.13.0/lfc-mysql/lcgdm-1.13.0/dli' make: *** [Makefile:108: all] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.UkRXJL (%build) RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.UkRXJL (%build) I: [iurt_root_command] ERROR: chroot