Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lcgdm.spec'], chrootPath='/var/lib/mock/f29-build-30402-16543/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lcgdm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: /usr/bin/python3: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/lcgdm-1.10.0-10.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lcgdm.spec'], chrootPath='/var/lib/mock/f29-build-30402-16543/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lcgdm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.H2qkJI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lcgdm-1.10.0 + /usr/bin/mkdir -p lcgdm-1.10.0 + cd lcgdm-1.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf lcgdm-1.10.0/lfc-mysql + /usr/bin/mkdir -p lcgdm-1.10.0/lfc-mysql + cd lcgdm-1.10.0/lfc-mysql + /usr/bin/gzip -dc /builddir/build/SOURCES/lcgdm-1.10.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf lcgdm-1.10.0/dpm-mysql + /usr/bin/mkdir -p lcgdm-1.10.0/dpm-mysql + cd lcgdm-1.10.0/dpm-mysql + /usr/bin/gzip -dc /builddir/build/SOURCES/lcgdm-1.10.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd lcgdm-1.10.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/lcgdm-unitfiles.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd lcgdm-1.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for d in lfc-mysql dpm-mysql ~/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0 ~/build/BUILD/lcgdm-1.10.0 Patch #0 (lcgdm-python-exception.patch): + pushd lfc-mysql/lcgdm-1.10.0 + echo 'Patch #0 (lcgdm-python-exception.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ns/Cns-python_typemaps.i + 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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-tree-sink:' -i config/linux.cf + sed 's/i386/'\''i386'\''/' -i config/linux.cf + popd ~/build/BUILD/lcgdm-1.10.0 ~/build/BUILD/lcgdm-1.10.0/dpm-mysql/lcgdm-1.10.0 ~/build/BUILD/lcgdm-1.10.0 Patch #0 (lcgdm-python-exception.patch): + for d in lfc-mysql dpm-mysql + pushd dpm-mysql/lcgdm-1.10.0 + echo 'Patch #0 (lcgdm-python-exception.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ns/Cns-python_typemaps.i + 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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-tree-sink:' -i config/linux.cf + sed 's/i386/'\''i386'\''/' -i config/linux.cf + popd ~/build/BUILD/lcgdm-1.10.0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.E54O74 + exit 0 + umask 022 + cd /builddir/build/BUILD + cd lcgdm-1.10.0 BUILDSTDERR: ++ soapcpp2 -v BUILDSTDERR: ++ grep C++ BUILDSTDERR: ++ sed 's/.* //' + gsoapversion=2.8.60 + pushd lfc-mysql/lcgdm-1.10.0 ~/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0 ~/build/BUILD/lcgdm-1.10.0 + ./configure lfc --without-argus --with-mysql --libdir=lib64 --with-gsoap-version=2.8.60 --with-id-map-file=/etc/lcgdm-mapfile --with-ns-config-file=/etc/NSCONFIG '--with-etc-dir=$(prefix)/../etc' --with-emi make[1]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0' h: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/h' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/h' lib: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/lib' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/lib' shlib: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/shlib' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/shlib' common: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/common' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/common' ns: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/ns' BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/ns' security: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/security' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/security' dli: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/dli' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/dli' test: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/test' ns: make[3]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/test/ns' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/test/ns' make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/test' make[1]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0' + make -f Makefile.ini Makefiles make[1]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0' h: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/h' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/h' lib: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/lib' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/lib' shlib: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/shlib' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/shlib' common: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/common' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/common' ns: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/ns' BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/ns' security: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/security' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/security' dli: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/dli' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/dli' test: make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/test' ns: make[3]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/test/ns' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/test/ns' make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/test' make[1]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0' BUILDSTDERR: ++ pkg-config --cflags gsoap + make -j4 'SOAPFLG=-DWITH_IPV6 -DWITH_NO_IPV6_V6ONLY -DWITH_DOM ' h: BUILDSTDERR: make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/h' sed -e "s/__BASEVERSION__/\"1.10.0\"/" -e "s/__PATCHLEVEL__/1/" -e "s/__TIMESTAMP__/\"`date +%s`\"/" patchlevel.in > patchlevel.h make[1]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/h' lib: BUILDSTDERR: make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/lib' cd ../ns ; make libns.a cd ../common ; make libcommon.a cd ../security ; make libsecurity.a make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/common' g++ -g -fPIC -I../h -lstdc++ -ldl -c -o UtilsPthread.o UtilsPthread.cc g++ -g -fPIC -I../h -lstdc++ -ldl -c -o LcgdmDbPool.o LcgdmDbPool.cc make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/ns' make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/security' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Csec_api_loader.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Csec_api_loader.c,v $ $Revision: 6384 $ $Date: 2012-06-06 14:39:34 +0000 (Wed, 06 Jun 2012) $ CERN IT/ADC/CA Benjamin Couturier"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from UtilsPthread.cc:25: BUILDSTDERR: UtilsPthread.hh: In destructor 'UptSemaphore::~UptSemaphore()': BUILDSTDERR: UtilsPthread.hh:343:31: warning: throw will always call terminate() [-Wterminate] BUILDSTDERR: {throw "sem_destroy() failed";} BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: UtilsPthread.hh:343:31: note: in C++11 destructors default to noexcept BUILDSTDERR: In file included from LcgdmDbPool.hh:17, BUILDSTDERR: from LcgdmDbPool.cc:1: BUILDSTDERR: UtilsPthread.hh: In destructor 'UptSemaphore::~UptSemaphore()': BUILDSTDERR: UtilsPthread.hh:343:31: warning: throw will always call terminate() [-Wterminate] BUILDSTDERR: {throw "sem_destroy() failed";} BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: UtilsPthread.hh:343:31: note: in C++11 destructors default to noexcept BUILDSTDERR: Cns_aborttrans.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_aborttrans.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 g++ -g -fPIC -I../h -lstdc++ -ldl -c -o LcgdmDbPool_C.o LcgdmDbPool_C.cc BUILDSTDERR: Cns_access.c: In function 'lfc_access': BUILDSTDERR: Cns_access.c:30:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_access.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_access.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: In file included from LcgdmDbPool.hh:17, BUILDSTDERR: from LcgdmDbPool_C.cc:6: BUILDSTDERR: UtilsPthread.hh: In destructor 'UptSemaphore::~UptSemaphore()': BUILDSTDERR: UtilsPthread.hh:343:31: warning: throw will always call terminate() [-Wterminate] BUILDSTDERR: {throw "sem_destroy() failed";} BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: UtilsPthread.hh:343:31: note: in C++11 destructors default to noexcept BUILDSTDERR: Cns_addreplica.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_addreplica.c,v $ $Revision: 1.4 $ $Date: 2006/12/01 09:19:37 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cns_apiinit.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_apiinit.c,v $ $Revision: 1.1.1.1 $ $Date: 2004/08/18 14:55:23 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_auth.c: In function 'lfc_client_setVOMS_data': BUILDSTDERR: Cns_auth.c:109:9: warning: implicit declaration of function 'Cglobals_get_dynamic' [-Wimplicit-function-declaration] BUILDSTDERR: if (Cglobals_get_dynamic(&voname_key, &thip->voname, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: Cns_auth.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_auth.c,v $ $Revision: 1.3 $ $Date: 2006/08/28 07:47:57 $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: getconfent.c:7:13: warning: 'cvsId' defined but not used [-Wunused-variable] BUILDSTDERR: static char cvsId[] = "@(#)$RCSfile: getconfent.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:19 $ CERN IT-PDP/DM Olof Barring"; BUILDSTDERR: ^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: getfilep.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: getfilep.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:19 $ CERN/IT/PDP/DM Frederic Hemmer"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cns_chclass.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_chclass.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Csec_protocol_policy.c: In function 'Csec_initialize_protocols_from_list': BUILDSTDERR: Csec_protocol_policy.c:1049:7: warning: unused variable 'rc' [-Wunused-variable] BUILDSTDERR: int rc, i; BUILDSTDERR: ^~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: At top level: BUILDSTDERR: Csec_protocol_policy.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Csec_protocol_policy.c,v $ $Revision: 9881 $ $Date: 2013-12-16 07:59:20 +0000 (Mon, 16 Dec 2013) $ IT/ADC/CA Benjamin Couturier"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: getifnam.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: getifnam.c,v $ $Revision: 1.5 $ $Date: 2008/02/15 07:40:39 $ CERN/IT/PDP/DM Frederic Hemmer"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Csec_api.c: In function 'Csec_server_reinitContext': BUILDSTDERR: Csec_api.c:182:9: warning: unused variable 'func' [-Wunused-variable] BUILDSTDERR: char *func="Csec_server_reinitContext"; BUILDSTDERR: ^~~~ BUILDSTDERR: Csec_api.c: In function 'Csec_client_get_service_type': BUILDSTDERR: Csec_api.c:684:9: warning: unused variable 'func' [-Wunused-variable] BUILDSTDERR: char *func = "Csec_client_get_service_type"; BUILDSTDERR: ^~~~ BUILDSTDERR: Csec_api.c: In function 'Csec_server_getClientId': BUILDSTDERR: Csec_api.c:1019:9: warning: unused variable 'func' [-Wunused-variable] BUILDSTDERR: char *func = "Csec_server_getClientId"; BUILDSTDERR: ^~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: At top level: BUILDSTDERR: Csec_api.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Csec_api.c,v $ $Revision: 6384 $ $Date: 2012-06-06 14:39:34 +0000 (Wed, 06 Jun 2012) $ CERN IT/ADC/CA Benjamin Couturier"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_chdir.c: In function 'lfc_chdir': BUILDSTDERR: Cns_chdir.c:30:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_chdir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_chdir.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: getuser.c: In function 'get_user': BUILDSTDERR: getuser.c:77:9: warning: variable 'counter' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int counter ; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: getuser.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: getuser.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:19 $ CERN IT/ADC/CA Jean-Damien Durand"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cns_chmod.c: In function 'lfc_chmod': BUILDSTDERR: Cns_chmod.c:30:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_chmod.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_chmod.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: isTrustedHost.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: isTrustedHost.c,v $ $Revision: 1.8 $ $Date: 2008/01/31 11:41:39 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cns_chown.c: In function 'lfc_chown': BUILDSTDERR: Cns_chown.c:30:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: Cns_chown.c: In function 'lfc_lchown': BUILDSTDERR: Cns_chown.c:98:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_chown.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_chown.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: log.c: In function 'logit': BUILDSTDERR: log.c:181:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void) write(fd,line,strlen(line)) ; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: log.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: log.c,v $ $Revision: 1.4 $ $Date: 2008/01/29 15:04:42 $ CERN IT/ADC/CA Jean-Damien Durand"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Csec_protocol_policy.c: In function 'Csec_client_negociate_protocol': BUILDSTDERR: Csec_protocol_policy.c:1030:8: warning: 'failure_reason' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (failure_reason == ESEC_PROTNOTSUPP) { BUILDSTDERR: ^ BUILDSTDERR: marshall.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: marshall.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:19 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cns_closedir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_closedir.c,v $ $Revision: 1.4 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cns_creat.c: In function 'lfc_creatc': BUILDSTDERR: Cns_creat.c:30:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_creat.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_creat.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: serror.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: serror.c,v $ $Revision: 1.6 $ $Date: 2008/01/29 15:04:42 $ CERN IT-PDP/DM Olof Barring"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: remote.c:7:13: warning: 'cvsId' defined but not used [-Wunused-variable] BUILDSTDERR: static char cvsId[] = "@(#)$RCSfile: remote.c,v $ $Revision: 1.8 $ $Date: 2008/10/29 10:08:53 $ CERN/IT/PDP/DM Olof Barring"; BUILDSTDERR: ^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cns_delcomment.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_delcomment.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_delete.c: In function 'lfc_delete': BUILDSTDERR: Cns_delete.c:30:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_delete.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_delete.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Csec_errmsg.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Csec_errmsg.c,v $ $Revision: 1.4 $ $Date: 2008/09/29 08:02:48 $ CERN IT/ADC/CA Benjamin Couturier"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: setnetio.c:7:13: warning: 'cvsId' defined but not used [-Wunused-variable] BUILDSTDERR: static char cvsId[] = "@(#)$RCSfile: setnetio.c,v $ $Revision: 1.2 $ $Date: 2008/01/10 08:27:59 $ CERN/IT/PDP/DM Olof Barring"; BUILDSTDERR: ^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cns_deleteclass.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_deleteclass.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cns_delfilesbyguid.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_delfilesbyguid.c,v $ $Revision: 3814 $ $Date: 2010-09-21 13:54:34 +0000 (Tue, 21 Sep 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Csec_apiinit.c: In function 'Csec_apiinit': BUILDSTDERR: Csec_apiinit.c:26:9: warning: unused variable 'envar' [-Wunused-variable] BUILDSTDERR: char *envar; BUILDSTDERR: ^~~~~ BUILDSTDERR: At top level: BUILDSTDERR: Csec_apiinit.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Csec_apiinit.c,v $ $Revision: 1.2 $ $Date: 2008/01/10 08:28:00 $ CERN IT-ADC-CA Benjamin Couturier"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Csec_common.c: In function 'Csec_trace': BUILDSTDERR: Csec_common.c:93:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, prtbuf, strlen(prtbuf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: Csec_common.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Csec_common.c,v $ $Revision: 1.10 $ $Date: 2008/09/29 08:02:48 $ CERN IT/ADC/CA Benjamin Couturier"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: socket.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)socket.c,v 1.7 2000/05/31 10:33:54 CERN/IT/PDP/DM Olof Barring"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: solveln.c: In function 'seelink': BUILDSTDERR: solveln.c:75:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: chdir(stordir); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: solveln.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: solveln.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:19 $ CERN/IT/PDP/DM Felix Hassine"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cns_delfilesbyname.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_delfilesbyname.c,v $ $Revision: 3814 $ $Date: 2010-09-21 13:54:34 +0000 (Tue, 21 Sep 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ar rv libsecurity.a Csec_api_loader.o Csec_protocol_policy.o Csec_api.o Csec_errmsg.o Csec_apiinit.o Csec_common.o BUILDSTDERR: 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 ranlib libsecurity.a make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/security' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cns_delfilesbypattern.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_delfilesbypattern.c,v $ $Revision: 1.1 $ $Date: 2007/12/13 11:59:47 $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: trace.c:9:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)trace.c,v 1.7 2000/05/31 10:33:54 CERN IT-PDP/DM Olof Barring"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: wsacct.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: wsacct(package, acctstruct, len) BUILDSTDERR: ^~~~~~ BUILDSTDERR: wsacct.c: In function 'wsacct': cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: wsacct.c:36:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write (fd_acct, buf, sizeof(struct accthdr) + len); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: wsacct.c:39:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: wsacct.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: wsacct.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:19 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cns_delreplica.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_delreplica.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_delreplicas.c: In function 'lfc_delreplicas': BUILDSTDERR: Cns_delreplicas.c:31:6: warning: unused variable 'argtype' [-Wunused-variable] BUILDSTDERR: int argtype = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: Cns_delreplicas.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_delreplicas.c,v $ $Revision: 3814 $ $Date: 2010-09-21 13:54:34 +0000 (Tue, 21 Sep 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cthread.c: In function '_Cthread_start_pthread': BUILDSTDERR: Cthread.c:358:22: warning: variable 'detached' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int detached; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: Cthread.c: In function '_Cthread_obtain_mtx_debug': BUILDSTDERR: Cthread.c:3290:20: warning: unused variable 'ts' [-Wunused-variable] BUILDSTDERR: struct timeval ts; BUILDSTDERR: ^~ BUILDSTDERR: Cthread.c: In function '_Cthread_addcid': BUILDSTDERR: Cthread.c:3452:23: warning: unused variable 'ourthID' [-Wunused-variable] BUILDSTDERR: int ourthID; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: Cthread.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cthread.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:18 $ CERN IT-PDP/DM Olof Barring, Jean-Damien Durand"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cns_delreplicasbysfn.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_delreplicasbysfn.c,v $ $Revision: 3814 $ $Date: 2010-09-21 13:54:34 +0000 (Tue, 21 Sep 2010) $ CERN IT-GS Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_du.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_du.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_endtrans.o Cns_endtrans.c BUILDSTDERR: Cns_endsess.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_endsess.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cns_endtrans.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_endtrans.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Csched.c: In function 'Csched_Getschedparam': BUILDSTDERR: Csched.c:104:11: warning: implicit declaration of function '_Cthread_self'; did you mean 'pthread_self'? [-Wimplicit-function-declaration] BUILDSTDERR: _Cthread_self(),cid,(unsigned long) policy,(unsigned long) Cparam,file, line); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: pthread_self BUILDSTDERR: Csched.c:109:32: warning: implicit declaration of function '_Cthread_init'; did you mean 'pthread_exit'? [-Wimplicit-function-declaration] BUILDSTDERR: if ( _Cthread_once_status && _Cthread_init() ) return(-1); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: pthread_exit BUILDSTDERR: Csched.c:124:3: warning: implicit declaration of function '_Cthread_release_mtx'; did you mean 'pthread_key_delete'? [-Wimplicit-function-declaration] BUILDSTDERR: _Cthread_release_mtx(file,line,&(Cthread.mtx)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pthread_key_delete BUILDSTDERR: At top level: BUILDSTDERR: Csched.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Csched.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:18 $ CERN IT-PDP/DM Olof Barring, Jean-Damien Durand"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cglobals.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cglobals.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:18 $ CERN/IT/PDP/DM Olof Barring"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cgrp.c: In function 'Cgetgrnam': BUILDSTDERR: Cgrp.c:49:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int rc; BUILDSTDERR: ^~ BUILDSTDERR: Cgrp.c: In function 'Cgetgrgid': BUILDSTDERR: Cgrp.c:127:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int rc; BUILDSTDERR: ^~ BUILDSTDERR: At top level: BUILDSTDERR: Cgrp.c:9:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cgrp.c,v $ $Revision: 1.3 $ $Date: 2008/01/29 15:04:41 $ CERN IT-PDP/DM Jean-Damien Durand"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cmutex.c:11:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cmutex.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:18 $ CERN/IT/PDP/DM Jean-Damien Durand"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cdomainname.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cdomainname.c,v $ $Revision: 1.4 $ $Date: 2008/02/15 07:40:38 $ CERN IT-DS/HSM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cnetdb.c:9:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cnetdb.c,v $ $Revision: 1.11 $ $Date: 2009/10/19 09:33:37 $ CERN IT-PDP/DM Olof Barring"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cpool.c: In function 'Cpool_assign_ext': BUILDSTDERR: Cpool.c:1776:22: warning: variable 'previous' set but not used [-Wunused-but-set-variable] BUILDSTDERR: struct Cmalloc_t *previous = NULL; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: Cpool.c:10:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cpool.c,v $ $Revision: 10783 $ $Date: 2014-07-18 09:28:23 +0000 (Fri, 18 Jul 2014) $ CERN IT-ADC-CA/HSM Jean-Damien Durand"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cpwd.c: In function 'Cgetpwnam': BUILDSTDERR: Cpwd.c:49:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int rc; BUILDSTDERR: ^~ BUILDSTDERR: Cpwd.c: In function 'Cgetpwuid': BUILDSTDERR: Cpwd.c:127:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int rc; BUILDSTDERR: ^~ BUILDSTDERR: At top level: BUILDSTDERR: Cpwd.c:9:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cpwd.c,v $ $Revision: 1.3 $ $Date: 2008/01/29 15:04:42 $ CERN IT-PDP/DM Olof Barring"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: socket_timeout.c: In function '_net_connectable': BUILDSTDERR: socket_timeout.c:510:61: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ( getsockopt(fd, SOL_SOCKET, SO_ERROR, (char *)&errval, (int *)&errval_len) == -1 ) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from socket_timeout.c:30: BUILDSTDERR: /usr/include/sys/socket.h:208:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: extern int getsockopt (int __fd, int __level, int __optname, BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: socket_timeout.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: socket_timeout.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:19 $ CERN IT-PDP/DM Jean-Damien Durand"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: u64subr.c: In function 'strutou64': BUILDSTDERR: u64subr.c:128:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (*p && ! *(p + 1)) BUILDSTDERR: ^ BUILDSTDERR: u64subr.c: In function 'u64tostru': BUILDSTDERR: u64subr.c:152:8: warning: unused variable 'p' [-Wunused-variable] BUILDSTDERR: char *p; BUILDSTDERR: ^ BUILDSTDERR: u64subr.c: In function 'strsitou64': BUILDSTDERR: u64subr.c:203:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (*p && ! *(p + 1)) BUILDSTDERR: ^ BUILDSTDERR: u64subr.c: In function 'u64tostrsi': BUILDSTDERR: u64subr.c:221:8: warning: unused variable 'p' [-Wunused-variable] BUILDSTDERR: char *p; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: u64subr.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: u64subr.c,v $ $Revision: 4235 $ $Date: 2011-04-04 06:49:00 +0000 (Mon, 04 Apr 2011) $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cinitdaemon.c: In function 'Cinitdaemon': BUILDSTDERR: Cinitdaemon.c:52:9: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: freopen( "/dev/null", "r", stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cinitdaemon.c:53:9: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: freopen( "/dev/null", "w", stdout); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cinitdaemon.c:54:9: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: freopen( "/dev/null", "w", stderr); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: Cinitdaemon.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cinitdaemon.c,v $ $Revision: 3476 $ $Date: 2010-03-10 12:40:05 +0000 (Wed, 10 Mar 2010) $ CERN IT-PDP/DM Olof Barring"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Cgetopt.c:34:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cgetopt.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:18 $ CERN IT-PDP/DM Jean-Damien Durand"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cregexp.c: In function '_Cregexp_atom': BUILDSTDERR: Cregexp.c:958:7: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char dummy; BUILDSTDERR: ^~~~~ BUILDSTDERR: Cregexp.c: In function 'Cregexp_dump': BUILDSTDERR: Cregexp.c:2072:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%2d%s", s-r->program, _Cregexp_prop(s)); /* Where, what. */ BUILDSTDERR: ~~^ ~~~~~~~~~~~~ BUILDSTDERR: %2ld BUILDSTDERR: Cregexp.c:2082:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("(%d)", (s-r->program)+(next-s)); BUILDSTDERR: ~^ ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: %ld BUILDSTDERR: At top level: BUILDSTDERR: Cregexp.c:6:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cregexp.c,v $ $Revision: 1.1 $ $Date: 2005/03/29 09:27:18 $ CERN/IT/PDP/DM Jean-Damien Durand"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 Csnprintf.o Csnprintf.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 Cgroupsubr.o Cgroupsubr.c BUILDSTDERR: Cregexp.c: In function '_Cregexp_reg': BUILDSTDERR: Cregexp.c:604:47: warning: 'parno' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: ender = _Cregexp_node((char) ((paren) ? CLOSE+parno : END), BUILDSTDERR: ^ BUILDSTDERR: Cgroupsubr.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cgroupmatch(gid_t gid, int nbgids, gid_t *gids) BUILDSTDERR: ^~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_enterclass.o Cns_enterclass.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_entergrpmap.o Cns_entergrpmap.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 Clogit.o Clogit.c BUILDSTDERR: Cns_entergrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_entergrpmap.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_enterclass.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_enterclass.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Clogit.c: In function 'Cvlogit': BUILDSTDERR: Clogit.c:130:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write (fd_log, prtbuf, strlen(prtbuf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: Clogit.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Clogit.c$ $Revision: 4489 $ $Date: 2011-06-20 07:00:04 +0000 (Mon, 20 Jun 2011) $ CERN IT-GT/DMS Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_enterusrmap.o Cns_enterusrmap.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 Cthread_env.o Cthread_env.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_errmsg.o Cns_errmsg.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getacl.o Cns_getacl.c BUILDSTDERR: Cns_enterusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_enterusrmap.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cthread_env.c: In function 'Cthread_setenv': BUILDSTDERR: Cthread_env.c:31:7: warning: implicit declaration of function 'Cglobals_get' [-Wimplicit-function-declaration] BUILDSTDERR: if (Cglobals_get(&Cthread_env_key, BUILDSTDERR: ^~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getcomment.o Cns_getcomment.c ar rv libcommon.a UtilsPthread.o LcgdmDbPool.o LcgdmDbPool_C.o getconfent.o getfilep.o getifnam.o getuser.o isTrustedHost.o log.o marshall.o remote.o serror.o setnetio.o socket.o solveln.o trace.o wsacct.o Cthread.o Csched.o Cglobals.o Cgrp.o Cmutex.o Cdomainname.o Cnetdb.o Cpool.o Cpwd.o socket_timeout.o u64subr.o Cinitdaemon.o Cgetopt.o Cregexp.o Csnprintf.o Cgroupsubr.o Clogit.o Cthread_env.o BUILDSTDERR: ar: creating libcommon.a BUILDSTDERR: Cns_errmsg.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_errmsg.c,v $ $Revision: 1.2 $ $Date: 2007/05/14 05:53:52 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_getacl.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getacl.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-ADC/CA Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ a - UtilsPthread.o a - LcgdmDbPool.o a - LcgdmDbPool_C.o a - getconfent.o a - getfilep.o a - getifnam.o a - getuser.o a - isTrustedHost.o a - log.o a - marshall.o a - remote.o a - serror.o a - setnetio.o a - socket.o a - solveln.o a - trace.o a - wsacct.o a - Cthread.o a - Csched.o a - Cglobals.o a - Cgrp.o a - Cmutex.o a - Cdomainname.o a - Cnetdb.o a - Cpool.o a - Cpwd.o a - socket_timeout.o a - u64subr.o a - Cinitdaemon.o a - Cgetopt.o a - Cregexp.o a - Csnprintf.o a - Cgroupsubr.o a - Clogit.o a - Cthread_env.o ranlib libcommon.a cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getcwd.o Cns_getcwd.c BUILDSTDERR: Cns_getcomment.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getcomment.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/common' making liblcgdm.a in /builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/lib cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getgrpbygid.o Cns_getgrpbygid.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getgrpbygids.o Cns_getgrpbygids.c BUILDSTDERR: Cns_getcwd.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getcwd.c,v $ $Revision: 1.1.1.1 $ $Date: 2001/06/03 06:59:41 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getgrpbynam.o Cns_getgrpbynam.c BUILDSTDERR: Cns_getgrpbygid.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getgrpbygid.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_getgrpbygids.c: In function 'lfc_getgrpbygids': BUILDSTDERR: Cns_getgrpbygids.c:34:8: warning: unused variable 'rbp' [-Wunused-variable] BUILDSTDERR: char *rbp; BUILDSTDERR: ^~~ BUILDSTDERR: At top level: BUILDSTDERR: Cns_getgrpbygids.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getgrpbygids.c,v $ $Revision: 1.1 $ $Date: 2007/03/21 10:24:15 $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getgrpmap.o Cns_getgrpmap.c BUILDSTDERR: Cns_getgrpbynam.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getgrpbynam.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getidmap.o Cns_getidmap.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getifcevers.o Cns_getifcevers.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getlinks.o Cns_getlinks.c BUILDSTDERR: Cns_getifcevers.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getifcevers.c,v $ $Revision: 1.1 $ $Date: 2007/05/09 06:42:05 $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_getgrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getgrpmap.c,v $ $Revision: 3722 $ $Date: 2010-08-04 07:58:47 +0000 (Wed, 04 Aug 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getpath.o Cns_getpath.c BUILDSTDERR: Cns_getidmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getidmap.c,v $ $Revision: 3883 $ $Date: 2010-10-25 09:32:50 +0000 (Mon, 25 Oct 2010) $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getreplica.o Cns_getreplica.c BUILDSTDERR: Cns_getlinks.c: In function 'lfc_getlinks': BUILDSTDERR: Cns_getlinks.c:35:8: warning: unused variable 'p' [-Wunused-variable] BUILDSTDERR: char *p; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_getlinks.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getlinks.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getreplicas.o Cns_getreplicas.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getreplicasl.o Cns_getreplicasl.c BUILDSTDERR: Cns_getpath.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getpath.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getreplicass.o Cns_getreplicass.c BUILDSTDERR: Cns_getreplica.c: In function 'lfc_getreplica': BUILDSTDERR: Cns_getreplica.c:35:8: warning: unused variable 'p' [-Wunused-variable] BUILDSTDERR: char *p; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_getreplica.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getreplica.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_getreplicas.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getreplicas.c,v $ $Revision: 3814 $ $Date: 2010-09-21 13:54:34 +0000 (Tue, 21 Sep 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_getreplicasl.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getreplicasl.c,v $ $Revision: 3814 $ $Date: 2010-09-21 13:54:34 +0000 (Tue, 21 Sep 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getreplicax.o Cns_getreplicax.c BUILDSTDERR: Cns_getreplicass.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getreplicass.c $ $Revision: 3814 $ $Date: 2010-09-21 13:54:34 +0000 (Tue, 21 Sep 2010) $ CERN IT-GT/DMS Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getusrbynam.o Cns_getusrbynam.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getusrbyuid.o Cns_getusrbyuid.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_getusrmap.o Cns_getusrmap.c BUILDSTDERR: Cns_getreplicax.c: In function 'lfc_getreplicax': BUILDSTDERR: Cns_getreplicax.c:35:8: warning: unused variable 'p' [-Wunused-variable] BUILDSTDERR: char *p; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_getreplicax.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getreplicax.c,v $ $Revision: 1.1 $ $Date: 2006/12/01 09:19:37 $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_getusrbynam.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getusrbynam.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_getusrbyuid.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getusrbyuid.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_listclass.o Cns_listclass.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_listlinks.o Cns_listlinks.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_listrep4gc.o Cns_listrep4gc.c BUILDSTDERR: Cns_getusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_getusrmap.c,v $ $Revision: 3722 $ $Date: 2010-08-04 07:58:47 +0000 (Wed, 04 Aug 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_listreplica.o Cns_listreplica.c BUILDSTDERR: Cns_listclass.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_listclass.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_listlinks.c: In function 'lfc_listlinks': BUILDSTDERR: Cns_listlinks.c:39:8: warning: unused variable 'p' [-Wunused-variable] BUILDSTDERR: char *p; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_listlinks.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_listlinks.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_listrep4gc.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_listrep4gc.c,v $ $Revision: 1.4 $ $Date: 2006/12/01 09:19:37 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_listreplica.c: In function 'lfc_listreplica': BUILDSTDERR: Cns_listreplica.c:39:8: warning: unused variable 'p' [-Wunused-variable] BUILDSTDERR: char *p; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_listreplica.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_listreplica.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_listreplicax.o Cns_listreplicax.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_listrepset.o Cns_listrepset.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_mkdir.o Cns_mkdir.c BUILDSTDERR: Cns_listreplicax.c: In function 'lfc_listreplicax': BUILDSTDERR: Cns_listreplicax.c:66:26: warning: comparison of constant '79' with boolean expression is always false [-Wbool-compare] BUILDSTDERR: (fs && strlen (fs)) > 79) { BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_listreplicax.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_listreplicax.c,v $ $Revision: 1.4 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_modifyclass.o Cns_modifyclass.c BUILDSTDERR: Cns_mkdir.c: In function 'lfc_mkdirg': BUILDSTDERR: Cns_mkdir.c:30:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_mkdir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_mkdir.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_listrepset.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_listrepset.c,v $ $Revision: 1.1 $ $Date: 2006/12/01 09:19:37 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_modifygrpmap.o Cns_modifygrpmap.c BUILDSTDERR: Cns_modifyclass.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_modifyclass.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_modifyusrmap.o Cns_modifyusrmap.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_modreplica.o Cns_modreplica.c BUILDSTDERR: Cns_modifygrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_modifygrpmap.c,v $ $Revision: 3722 $ $Date: 2010-08-04 07:58:47 +0000 (Wed, 04 Aug 2010) $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_opendir.o Cns_opendir.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_ping.o Cns_ping.c BUILDSTDERR: Cns_modifyusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_modifyusrmap.c,v $ $Revision: 3722 $ $Date: 2010-08-04 07:58:47 +0000 (Wed, 04 Aug 2010) $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_queryclass.o Cns_queryclass.c BUILDSTDERR: Cns_modreplica.c: In function 'lfc_modreplicax': BUILDSTDERR: Cns_modreplica.c:45:13: warning: unused variable 'zero' [-Wunused-variable] BUILDSTDERR: u_signed64 zero = 0; BUILDSTDERR: ^~~~ BUILDSTDERR: At top level: BUILDSTDERR: Cns_modreplica.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_modreplica.c,v $ $Revision: 1.3 $ $Date: 2008/08/27 12:43:28 $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_ping.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_ping.c,v $ $Revision: 1.2 $ $Date: 2008/02/19 14:58:02 $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_opendir.c: In function 'lfc_opendirxg': BUILDSTDERR: Cns_opendir.c:32:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_opendir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_opendir.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_readdir.o Cns_readdir.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_readdirc.o Cns_readdirc.c BUILDSTDERR: Cns_queryclass.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_queryclass.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_readdirg.o Cns_readdirg.c BUILDSTDERR: Cns_readdirc.c: In function 'lfc_readdirc': BUILDSTDERR: Cns_readdirc.c:38:6: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_readdirc.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_readdirc.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_readdir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_readdir.c,v $ $Revision: 1.5 $ $Date: 2008/02/04 12:08:52 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_readdirx.o Cns_readdirx.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_readdirxc.o Cns_readdirxc.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_readdirxp.o Cns_readdirxp.c BUILDSTDERR: Cns_readdirg.c: In function 'lfc_readdirg': BUILDSTDERR: Cns_readdirg.c:37:6: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_readdirg.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_readdirg.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_readdirxc.c: In function 'lfc_readdirxc': BUILDSTDERR: Cns_readdirxc.c:37:6: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int n; BUILDSTDERR: ^ BUILDSTDERR: Cns_readdirxp.c: In function 'lfc_readdirxp': BUILDSTDERR: Cns_readdirxp.c:40:6: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int n; BUILDSTDERR: ^ BUILDSTDERR: Cns_readdirx.c: In function 'lfc_readdirx': BUILDSTDERR: Cns_readdirx.c:37:6: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_readdirxc.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_readdirxc.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: Cns_readdirxp.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_readdirxp.c,v $ $Revision: 1.1 $ $Date: 2007/12/13 11:59:47 $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: Cns_readdirx.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_readdirx.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_readdirxr.o Cns_readdirxr.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_readlink.o Cns_readlink.c BUILDSTDERR: Cns_readdirxr.c: In function 'lfc_readdirxr': BUILDSTDERR: Cns_readdirxr.c:39:6: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_readdirxr.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_readdirxr.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_registerfiles.o Cns_registerfiles.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_rename.o Cns_rename.c BUILDSTDERR: Cns_readlink.c: In function 'lfc_readlink': BUILDSTDERR: Cns_readlink.c:90:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = memchr (buf, '\0', bufsiz)) BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_readlink.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_readlink.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_rewinddir.o Cns_rewinddir.c BUILDSTDERR: Cns_rename.c: In function 'lfc_rename': BUILDSTDERR: Cns_rename.c:30:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_rename.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_rename.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_registerfiles.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_registerfiles.c,v $ $Revision: 3814 $ $Date: 2010-09-21 13:54:34 +0000 (Tue, 21 Sep 2010) $ CERN IT-GS Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_rmdir.o Cns_rmdir.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_rmgrpmap.o Cns_rmgrpmap.c BUILDSTDERR: Cns_rewinddir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_rewinddir.c,v $ $Revision: 1.1.1.1 $ $Date: 2001/05/13 05:48:43 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_rmusrmap.o Cns_rmusrmap.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_selectsrvr.o Cns_selectsrvr.c BUILDSTDERR: Cns_rmdir.c: In function 'lfc_rmdir': BUILDSTDERR: Cns_rmdir.c:30:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_rmdir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_rmdir.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_rmgrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_rmgrpmap.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_rmusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_rmusrmap.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_setacl.o Cns_setacl.c BUILDSTDERR: Cns_selectsrvr.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_selectsrvr.c,v $ $Revision: 1.2 $ $Date: 2005/11/24 09:57:14 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_setatime.o Cns_setatime.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_setcomment.o Cns_setcomment.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_setfsize.o Cns_setfsize.c BUILDSTDERR: Cns_setacl.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_setacl.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-ADC/CA Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_setatime.c: In function 'lfc_setatime': BUILDSTDERR: Cns_setatime.c:30:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_setatime.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_setatime.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_setcomment.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_setcomment.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_setfsize.c: In function 'lfc_setfsizec': BUILDSTDERR: Cns_setfsize.c:30:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: Cns_setfsize.c: In function 'lfc_setfsizeg': BUILDSTDERR: Cns_setfsize.c:131:13: warning: unused variable 'zero' [-Wunused-variable] BUILDSTDERR: u_signed64 zero = 0; BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_setfsize.c:122:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_setfsize.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_setfsize.c,v $ $Revision: 1.3 $ $Date: 2008/09/19 11:32:26 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_setptime.o Cns_setptime.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_setratime.o Cns_setratime.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_setrltime.o Cns_setrltime.c BUILDSTDERR: Cns_setratime.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_setratime.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_setptime.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_setptime.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_setrstatus.o Cns_setrstatus.c BUILDSTDERR: Cns_setrltime.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_setrltime.c,v $ $Revision: 1.1 $ $Date: 2006/12/01 09:19:37 $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_setrtype.o Cns_setrtype.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_startsess.o Cns_startsess.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_starttrans.o Cns_starttrans.c BUILDSTDERR: Cns_setrstatus.c: In function 'lfc_setrstatus': BUILDSTDERR: Cns_setrstatus.c:38:13: warning: unused variable 'zero' [-Wunused-variable] BUILDSTDERR: u_signed64 zero = 0; BUILDSTDERR: ^~~~ BUILDSTDERR: At top level: BUILDSTDERR: Cns_setrstatus.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_setrstatus.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_setrtype.c: In function 'lfc_setrtype': BUILDSTDERR: Cns_setrtype.c:38:13: warning: unused variable 'zero' [-Wunused-variable] BUILDSTDERR: u_signed64 zero = 0; BUILDSTDERR: ^~~~ BUILDSTDERR: At top level: BUILDSTDERR: Cns_setrtype.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_setrtype.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_starttrans.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_starttrans.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_startsess.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_startsess.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_stat.o Cns_stat.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_symlink.o Cns_symlink.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_thread_env.o Cns_thread_env.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_umask.o Cns_umask.c BUILDSTDERR: Cns_stat.c: In function 'lfc_lstat': BUILDSTDERR: Cns_stat.c:33:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: Cns_umask.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_umask.c,v $ $Revision: 1.1.1.1 $ $Date: 2000/05/29 11:38:53 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_thread_env.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_thread_env.c,v $ $Revision: 1.0 $ $Date: 2011/11/07 14:17:00 $ CERN IT-GT/DMS Alejandro Álvarez Ayllón"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_stat.c: In function 'lfc_statx': BUILDSTDERR: Cns_stat.c:117:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_undelete.o Cns_undelete.c BUILDSTDERR: Cns_stat.c: In function 'lfc_statg': BUILDSTDERR: Cns_stat.c:223:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_unlink.o Cns_unlink.c BUILDSTDERR: Cns_stat.c: In function 'lfc_statr': BUILDSTDERR: Cns_stat.c:321:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: Cns_symlink.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_symlink.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: Cns_stat.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_stat.c,v $ $Revision: 1.3 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_utime.o Cns_utime.c BUILDSTDERR: Cns_unlink.c: In function 'lfc_unlink': BUILDSTDERR: Cns_unlink.c:30:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_unlink.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_unlink.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_undelete.c: In function 'lfc_undelete': BUILDSTDERR: Cns_undelete.c:30:9: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int c, n; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_undelete.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_undelete.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 send2nsd.o send2nsd.c BUILDSTDERR: Cns_utime.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_utime.c,v $ $Revision: 1.2 $ $Date: 2006/08/01 12:41:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from ../h/Cns_api.h:23, BUILDSTDERR: from send2nsd.c:26: BUILDSTDERR: ../h/lfc_api.h:145:19: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: #define send2nsdx send2lfcx BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: send2nsd.c:65:1: note: in expansion of macro 'send2nsdx' BUILDSTDERR: send2nsdx(socketp, host, reqp, reql, user_repbuf, user_repbuf_len, repbuf2, nbstruct) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: send2nsd.c: In function 'send2lfcx': BUILDSTDERR: send2nsd.c:208:9: warning: implicit declaration of function 'netconnect_timeout'; did you mean 'netwrite_timeout'? [-Wimplicit-function-declaration] BUILDSTDERR: if (netconnect_timeout (s, ai->ai_addr, ai->ai_addrlen, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: netwrite_timeout BUILDSTDERR: In file included from ../h/Cns_api.h:23, BUILDSTDERR: from send2nsd.c:26: BUILDSTDERR: send2nsd.c: At top level: BUILDSTDERR: ../h/lfc_api.h:144:18: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: #define send2nsd send2lfc BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: send2nsd.c:714:1: note: in expansion of macro 'send2nsd' BUILDSTDERR: send2nsd(socketp, host, reqp, reql, user_repbuf, user_repbuf_len) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: send2nsd.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: send2nsd.c,v $ $Revision: 10222 $ $Date: 2014-03-05 21:37:15 +0000 (Wed, 05 Mar 2014) $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: send2nsd.c: In function 'send2lfcx': BUILDSTDERR: send2nsd.c:393:16: warning: 'repbuf2sz' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: repbuf2sz += 4096; BUILDSTDERR: ~~~~~~~~~~^~~~~~~ BUILDSTDERR: send2nsd.c:454:20: warning: 'ri' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ((char *)ri - (char *)(*repbuf2) + BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: send2nsd.c:492:20: warning: 'lx' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ((char *)lx - (char *)(*repbuf2) + BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: send2nsd.c:678:21: warning: 'lui' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ((char *)lui - (char *)(*repbuf2) + BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: send2nsd.c:588:20: warning: 'ls' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ((char *)ls - (char *)(*repbuf2) + BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: send2nsd.c:533:20: warning: 'lr' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ((char *)lr - (char *)(*repbuf2) + BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: send2nsd.c:418:20: warning: 'lp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ((char *)lp - (char *)(*repbuf2) + BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: send2nsd.c:391:20: warning: 'li' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ((char *)li - (char *)(*repbuf2) + BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: send2nsd.c:645:21: warning: 'lgi' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ((char *)lgi - (char *)(*repbuf2) + BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: send2nsd.c:616:20: warning: 'lf' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ((char *)lf - (char *)(*repbuf2) + BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ar rv libns.a Cns_aborttrans.o Cns_access.o Cns_addreplica.o Cns_apiinit.o Cns_auth.o Cns_chclass.o Cns_chdir.o Cns_chmod.o Cns_chown.o Cns_closedir.o Cns_creat.o Cns_delcomment.o Cns_delete.o Cns_deleteclass.o Cns_delfilesbyguid.o Cns_delfilesbyname.o Cns_delfilesbypattern.o Cns_delreplica.o Cns_delreplicas.o Cns_delreplicasbysfn.o Cns_du.o Cns_endsess.o Cns_endtrans.o Cns_enterclass.o Cns_entergrpmap.o Cns_enterusrmap.o Cns_errmsg.o Cns_getacl.o Cns_getcomment.o Cns_getcwd.o Cns_getgrpbygid.o Cns_getgrpbygids.o Cns_getgrpbynam.o Cns_getgrpmap.o Cns_getidmap.o Cns_getifcevers.o Cns_getlinks.o Cns_getpath.o Cns_getreplica.o Cns_getreplicas.o Cns_getreplicasl.o Cns_getreplicass.o Cns_getreplicax.o Cns_getusrbynam.o Cns_getusrbyuid.o Cns_getusrmap.o Cns_listclass.o Cns_listlinks.o Cns_listrep4gc.o Cns_listreplica.o Cns_listreplicax.o Cns_listrepset.o Cns_mkdir.o Cns_modifyclass.o Cns_modifygrpmap.o Cns_modifyusrmap.o Cns_modreplica.o Cns_opendir.o Cns_ping.o Cns_queryclass.o Cns_readdir.o Cns_readdirc.o Cns_readdirg.o Cns_readdirx.o Cns_readdirxc.o Cns_readdirxp.o Cns_readdirxr.o Cns_readlink.o Cns_registerfiles.o Cns_rename.o Cns_rewinddir.o Cns_rmdir.o Cns_rmgrpmap.o Cns_rmusrmap.o Cns_selectsrvr.o Cns_setacl.o Cns_setatime.o Cns_setcomment.o Cns_setfsize.o Cns_setptime.o Cns_setratime.o Cns_setrltime.o Cns_setrstatus.o Cns_setrtype.o Cns_startsess.o Cns_starttrans.o Cns_stat.o Cns_symlink.o Cns_thread_env.o Cns_umask.o Cns_undelete.o Cns_unlink.o Cns_utime.o send2nsd.o BUILDSTDERR: ar: creating libns.a a - Cns_aborttrans.o a - Cns_access.o a - Cns_addreplica.o a - Cns_apiinit.o a - Cns_auth.o a - Cns_chclass.o a - Cns_chdir.o a - Cns_chmod.o a - Cns_chown.o a - Cns_closedir.o a - Cns_creat.o a - Cns_delcomment.o a - Cns_delete.o a - Cns_deleteclass.o a - Cns_delfilesbyguid.o a - Cns_delfilesbyname.o a - Cns_delfilesbypattern.o a - Cns_delreplica.o a - Cns_delreplicas.o a - Cns_delreplicasbysfn.o a - Cns_du.o a - Cns_endsess.o a - Cns_endtrans.o a - Cns_enterclass.o a - Cns_entergrpmap.o a - Cns_enterusrmap.o a - Cns_errmsg.o a - Cns_getacl.o a - Cns_getcomment.o a - Cns_getcwd.o a - Cns_getgrpbygid.o a - Cns_getgrpbygids.o a - Cns_getgrpbynam.o a - Cns_getgrpmap.o a - Cns_getidmap.o a - Cns_getifcevers.o a - Cns_getlinks.o a - Cns_getpath.o a - Cns_getreplica.o a - Cns_getreplicas.o a - Cns_getreplicasl.o a - Cns_getreplicass.o a - Cns_getreplicax.o a - Cns_getusrbynam.o a - Cns_getusrbyuid.o a - Cns_getusrmap.o a - Cns_listclass.o a - Cns_listlinks.o a - Cns_listrep4gc.o a - Cns_listreplica.o a - Cns_listreplicax.o a - Cns_listrepset.o a - Cns_mkdir.o a - Cns_modifyclass.o a - Cns_modifygrpmap.o a - Cns_modifyusrmap.o a - Cns_modreplica.o a - Cns_opendir.o a - Cns_ping.o a - Cns_queryclass.o a - Cns_readdir.o a - Cns_readdirc.o a - Cns_readdirg.o a - Cns_readdirx.o a - Cns_readdirxc.o a - Cns_readdirxp.o a - Cns_readdirxr.o a - Cns_readlink.o a - Cns_registerfiles.o a - Cns_rename.o a - Cns_rewinddir.o a - Cns_rmdir.o a - Cns_rmgrpmap.o a - Cns_rmusrmap.o a - Cns_selectsrvr.o a - Cns_setacl.o a - Cns_setatime.o a - Cns_setcomment.o a - Cns_setfsize.o a - Cns_setptime.o a - Cns_setratime.o a - Cns_setrltime.o a - Cns_setrstatus.o a - Cns_setrtype.o a - Cns_startsess.o a - Cns_starttrans.o a - Cns_stat.o a - Cns_symlink.o a - Cns_thread_env.o a - Cns_umask.o a - Cns_undelete.o a - Cns_unlink.o a - Cns_utime.o a - send2nsd.o ranlib libns.a make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/ns' making liblfc.a in /builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/lib make[1]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/lib' shlib: BUILDSTDERR: make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/shlib' cd ../common ; make libcommon.a cd ../security ; make libsecurity.a cd ../ns ; make libns.a make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/security' make[2]: 'libsecurity.a' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/security' make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/common' make[2]: 'libcommon.a' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/common' make[2]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/ns' making liblcgdm.so in /builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/shlib BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found (cd tmp.liblcgdm.so; cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -shared -Wl,-soname,liblcgdm.so.`echo 1.10.0|cut -f1 -d.` -o ../liblcgdm.so *.o -lc -lpthread -ldl -lstdc++) BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found make[2]: 'libns.a' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/ns' making liblfc.so in /builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/shlib (cd tmp.liblfc.so; cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -shared -Wl,-soname,liblfc.so.`echo 1.10.0|cut -f1 -d.` -o ../liblfc.so *.o -L.. -llcgdm ) make[1]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/shlib' common: BUILDSTDERR: make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/common' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/common' ns: BUILDSTDERR: make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/ns' BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: /bin/sh: python: command not found cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nschgrp.o nschgrp.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nschmod.o nschmod.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nschown.o nschown.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nsdelcomment.o nsdelcomment.c BUILDSTDERR: nsdelcomment.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nsdelcomment.c: In function 'main': BUILDSTDERR: nsdelcomment.c:28:6: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: int c; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: nsdelcomment.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nsdelcomment.c,v $ $Revision: 9431 $ $Date: 2013-09-11 19:56:02 +0000 (Wed, 11 Sep 2013) $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: nschmod.c:25:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nschmod.c: In function 'main': BUILDSTDERR: nschmod.c:30:6: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: int c; BUILDSTDERR: ^ BUILDSTDERR: nschmod.c:29:6: warning: variable 'absmode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int absmode = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: nschmod.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nschmod.c,v $ $Revision: 1.4 $ $Date: 2009/04/22 08:08:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: nschgrp.c:35:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: chgrpdir (dir, newuid, newgid) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: nschgrp.c: In function 'chgrpdir': BUILDSTDERR: nschgrp.c:40:6: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: int c; BUILDSTDERR: ^ BUILDSTDERR: nschgrp.c: At top level: BUILDSTDERR: nschgrp.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nschgrp.c: In function 'main': BUILDSTDERR: nschgrp.c:112:16: warning: unused variable 'gr' [-Wunused-variable] BUILDSTDERR: struct group *gr; BUILDSTDERR: ^~ BUILDSTDERR: nschown.c:36:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: chowndir (dir, newuid, newgid) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: nschown.c: In function 'chowndir': BUILDSTDERR: nschown.c:41:6: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: int c; BUILDSTDERR: ^ BUILDSTDERR: nschown.c: At top level: BUILDSTDERR: nschown.c:105:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: At top level: BUILDSTDERR: nschgrp.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nschgrp.c,v $ $Revision: 1.2 $ $Date: 2007/08/02 12:10:20 $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: nschown.c: In function 'main': BUILDSTDERR: nschown.c:119:17: warning: unused variable 'pwd' [-Wunused-variable] BUILDSTDERR: struct passwd *pwd; BUILDSTDERR: ^~~ BUILDSTDERR: nschown.c:113:16: warning: unused variable 'gr' [-Wunused-variable] BUILDSTDERR: struct group *gr; BUILDSTDERR: ^~ BUILDSTDERR: At top level: BUILDSTDERR: nschown.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nschown.c,v $ $Revision: 1.8 $ $Date: 2007/01/15 08:05:17 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nsentergrpmap.o nsentergrpmap.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nsenterusrmap.o nsenterusrmap.c BUILDSTDERR: nsentergrpmap.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nsentergrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nsentergrpmap.c,v $ $Revision: 1.1 $ $Date: 2006/01/12 16:46:48 $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nsgetacl.o nsgetacl.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nslistgrpmap.o nslistgrpmap.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nslistusrmap.o nslistusrmap.c BUILDSTDERR: nsenterusrmap.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nsenterusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nsenterusrmap.c,v $ $Revision: 1.1 $ $Date: 2006/01/12 16:46:48 $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nsln.o nsln.c BUILDSTDERR: nslistgrpmap.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nslistusrmap.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nslistgrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nslistgrpmap.c,v $ $Revision: 3722 $ $Date: 2010-08-04 07:58:47 +0000 (Wed, 04 Aug 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: nslistusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nslistusrmap.c,v $ $Revision: 3722 $ $Date: 2010-08-04 07:58:47 +0000 (Wed, 04 Aug 2010) $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: nsgetacl.c:35:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nsgetacl.c: In function 'decode_group': BUILDSTDERR: nsgetacl.c:209:16: warning: unused variable 'gr' [-Wunused-variable] BUILDSTDERR: struct group *gr; BUILDSTDERR: ^~ BUILDSTDERR: nsgetacl.c: In function 'decode_user': BUILDSTDERR: nsgetacl.c:245:17: warning: unused variable 'pw' [-Wunused-variable] BUILDSTDERR: struct passwd *pw; BUILDSTDERR: ^~ BUILDSTDERR: At top level: BUILDSTDERR: nsgetacl.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nsgetacl.c,v $ $Revision: 1.5 $ $Date: 2008/09/24 11:25:01 $ CERN IT-ADC/CA Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: nsln.c:28:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nsln.c: In function 'main': BUILDSTDERR: nsln.c:81:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = strrchr (argv[0], '/')) BUILDSTDERR: ^ BUILDSTDERR: nsln.c:89:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = strrchr (argv[i], '/')) BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: nsln.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nsln.c,v $ $Revision: 1.1.1.1 $ $Date: 2004/12/02 12:31:56 $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nsls.o nsls.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nsmkdir.o nsmkdir.c BUILDSTDERR: nsln.c: In function 'main': BUILDSTDERR: nsln.c:102:30: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: sprintf (fullpath, "%s/%s", p, path); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from nsln.c:12: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nsmodifygrpmap.o nsmodifygrpmap.c BUILDSTDERR: nsmkdir.c:30:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nsmkdir.c: In function 'main': BUILDSTDERR: nsmkdir.c:163:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: if (Cns_chmod (Cnsdir, (mode | statbuf.filemode & S_ISGID)) < 0) { BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: nsmkdir.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nsmkdir.c,v $ $Revision: 1.3 $ $Date: 2009/04/22 08:08:12 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: nsls.c: In function 'decode_group': BUILDSTDERR: nsls.c:59:16: warning: unused variable 'gr' [-Wunused-variable] BUILDSTDERR: struct group *gr; BUILDSTDERR: ^~ BUILDSTDERR: nsls.c: In function 'decode_user': BUILDSTDERR: nsls.c:83:17: warning: unused variable 'pw' [-Wunused-variable] BUILDSTDERR: struct passwd *pw; BUILDSTDERR: ^~ BUILDSTDERR: nsls.c: At top level: BUILDSTDERR: nsls.c:103:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: listentry(path, statbuf, slink, comment) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: nsls.c:191:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: listdir(dir) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: nsls.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: procpath(fullpath) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: nsls.c:344:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nsls.c: In function 'main': BUILDSTDERR: nsls.c:350:8: warning: unused variable 'endp' [-Wunused-variable] BUILDSTDERR: char *endp; BUILDSTDERR: ^~~~ BUILDSTDERR: nsls.c:349:8: warning: unused variable 'dp' [-Wunused-variable] BUILDSTDERR: char *dp; BUILDSTDERR: ^~ BUILDSTDERR: At top level: BUILDSTDERR: nsls.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nsls.c,v $ $Revision: 9750 $ $Date: 2013-11-28 10:04:23 +0000 (Thu, 28 Nov 2013) $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: nsmkdir.c: In function 'main': BUILDSTDERR: nsmkdir.c:41:9: warning: 'mask' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: mode_t mask; BUILDSTDERR: ^~~~ BUILDSTDERR: nsmodifygrpmap.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nsmodifygrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nsmodifygrpmap.c,v $ $Revision: 9750 $ $Date: 2013-11-28 10:04:23 +0000 (Thu, 28 Nov 2013) $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nsmodifyusrmap.o nsmodifyusrmap.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nsping.o nsping.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nsrename.o nsrename.c BUILDSTDERR: nsls.c: In function 'listdir': BUILDSTDERR: nsls.c:267:17: warning: 'dll' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: dll->next = dlc; BUILDSTDERR: ~~~~~~~~~~^~~~~ BUILDSTDERR: nsping.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nsping.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nsping.c,v $ $Revision: 1.4 $ $Date: 2008/09/24 11:25:01 $ CERN IT-GD/ITR Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: nsmodifyusrmap.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nsmodifyusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nsmodifyusrmap.c,v $ $Revision: 9750 $ $Date: 2013-11-28 10:04:23 +0000 (Thu, 28 Nov 2013) $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: nsrename.c:25:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nsrename.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nsrename.c,v $ $Revision: 1.2 $ $Date: 2008/01/29 07:56:56 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nsrm.o nsrm.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nsrmgrpmap.o nsrmgrpmap.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nsrmusrmap.o nsrmusrmap.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nssetacl.o nssetacl.c BUILDSTDERR: nsrm.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: isyes() BUILDSTDERR: ^~~~~ BUILDSTDERR: nsrm.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: removedir (dir) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: nsrm.c:138:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nsrm.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nsrm.c,v $ $Revision: 1.3 $ $Date: 2008/09/24 11:25:01 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: nsrmusrmap.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nsrmusrmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nsrmusrmap.c,v $ $Revision: 1.2 $ $Date: 2005/11/22 09:26:38 $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: nsrmgrpmap.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nsrmgrpmap.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nsrmgrpmap.c,v $ $Revision: 1.2 $ $Date: 2005/11/22 09:26:38 $ CERN IT-GD/SC Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: nssetacl.c:35:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: cvt_group(char *p) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: nssetacl.c: In function 'cvt_group': BUILDSTDERR: nssetacl.c:39:16: warning: unused variable 'gr' [-Wunused-variable] BUILDSTDERR: struct group *gr; BUILDSTDERR: ^~ BUILDSTDERR: nssetacl.c: At top level: BUILDSTDERR: nssetacl.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: cvt_perm(char *p) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: nssetacl.c:105:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: cvt_user(char *p) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: nssetacl.c: In function 'cvt_user': BUILDSTDERR: nssetacl.c:108:17: warning: unused variable 'pwd' [-Wunused-variable] BUILDSTDERR: struct passwd *pwd; BUILDSTDERR: ^~~ BUILDSTDERR: nssetacl.c: In function 'parse_entries': BUILDSTDERR: nssetacl.c:145:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = strchr (entry, ',')) { BUILDSTDERR: ^ BUILDSTDERR: nssetacl.c: At top level: BUILDSTDERR: nssetacl.c:222:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nssetacl.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nssetacl.c,v $ $Revision: 1.3 $ $Date: 2005/10/19 05:45:37 $ CERN IT-ADC/CA Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nssetcomment.o nssetcomment.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_main.o Cns_main.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_acl.o Cns_acl.c BUILDSTDERR: nssetcomment.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: nssetcomment.c: In function 'main': BUILDSTDERR: nssetcomment.c:28:6: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: int c; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: nssetcomment.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nssetcomment.c,v $ $Revision: 9431 $ $Date: 2013-09-11 19:56:02 +0000 (Wed, 11 Sep 2013) $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_chkperm.o Cns_chkperm.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_mysql_ifce.o Cns_mysql_ifce.c BUILDSTDERR: Cns_main.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_main(main_args) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: Cns_main.c: In function 'Cns_main': BUILDSTDERR: Cns_main.c:122:5: warning: implicit declaration of function 'nslogit'; did you mean 'Cvlogit'? [-Wimplicit-function-declaration] BUILDSTDERR: nslogit (func, "Invalid logfile: %s\n", optarg); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cvlogit BUILDSTDERR: Cns_main.c:318:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (gaierrno=Cgetaddrinfo (NULL, strport, &hints, &aitop)) { BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: Cns_main.c:450:50: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: rqfd = accept (s, (struct sockaddr *) &from, &fromlen); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/netinet/in.h:23, BUILDSTDERR: from /usr/include/netdb.h:27, BUILDSTDERR: from Cns_main.c:20: BUILDSTDERR: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: extern int accept (int __fd, __SOCKADDR_ARG __addr, BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_main.c:455:7: warning: implicit declaration of function 'sendrep'; did you mean 'sendmsg'? [-Wimplicit-function-declaration] BUILDSTDERR: sendrep (rqfd, CNS_RC, serrno); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: sendmsg BUILDSTDERR: Cns_main.c: At top level: BUILDSTDERR: Cns_main.c:494:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_main.c: In function 'doit_dbpool': BUILDSTDERR: Cns_main.c:605:11: warning: implicit declaration of function 'getreq'; did you mean 'getopt'? [-Wimplicit-function-declaration] BUILDSTDERR: if ((c = getreq (thip->s, &magic, &req_type, &req_data, &req_datalen, &clienthost)) == 0) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: getopt BUILDSTDERR: Cns_main.c:627:7: warning: implicit declaration of function 'procreq' [-Wimplicit-function-declaration] BUILDSTDERR: c = procreq (magic, req_type, req_data, req_datalen, clienthost, dbfdok); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_main.c: At top level: BUILDSTDERR: Cns_main.c:780:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: getreq(s, magic, req_type, req_data, req_datalen, clienthost) BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_main.c: In function 'getreq': BUILDSTDERR: Cns_main.c:788:18: warning: unused variable 'hp' [-Wunused-variable] BUILDSTDERR: struct hostent *hp; BUILDSTDERR: ^~ BUILDSTDERR: Cns_main.c: At top level: BUILDSTDERR: Cns_main.c:839:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: procdirreq(magic, req_type, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Cns_main.c: In function 'procdirreq': BUILDSTDERR: Cns_main.c:868:11: warning: implicit declaration of function 'Cns_srv_opendir'; did you mean 'Cns_opendb'? [-Wimplicit-function-declaration] BUILDSTDERR: if (c = Cns_srv_opendir (magic, req_data, req_datalen, clienthost, thip)) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: Cns_opendb BUILDSTDERR: Cns_main.c:868:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (c = Cns_srv_opendir (magic, req_data, req_datalen, clienthost, thip)) BUILDSTDERR: ^ BUILDSTDERR: Cns_main.c:872:11: warning: implicit declaration of function 'Cns_srv_listclass' [-Wimplicit-function-declaration] BUILDSTDERR: if (c = Cns_srv_listclass (magic, req_data, req_datalen, clienthost, thip, BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:872:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (c = Cns_srv_listclass (magic, req_data, req_datalen, clienthost, thip, BUILDSTDERR: ^ BUILDSTDERR: Cns_main.c:877:11: warning: implicit declaration of function 'Cns_srv_listlinks' [-Wimplicit-function-declaration] BUILDSTDERR: if (c = Cns_srv_listlinks (magic, req_data, req_datalen, clienthost, thip, BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:877:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (c = Cns_srv_listlinks (magic, req_data, req_datalen, clienthost, thip, BUILDSTDERR: ^ BUILDSTDERR: Cns_main.c:882:11: warning: implicit declaration of function 'Cns_srv_listrep4gc'; did you mean 'Cns_list_rep4gc'? [-Wimplicit-function-declaration] BUILDSTDERR: if (c = Cns_srv_listrep4gc (magic, req_data, req_datalen, clienthost, thip, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_list_rep4gc BUILDSTDERR: Cns_main.c:882:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (c = Cns_srv_listrep4gc (magic, req_data, req_datalen, clienthost, thip, BUILDSTDERR: ^ BUILDSTDERR: Cns_main.c:887:11: warning: implicit declaration of function 'Cns_srv_listreplica'; did you mean 'Cns_list_rep4gc'? [-Wimplicit-function-declaration] BUILDSTDERR: if (c = Cns_srv_listreplica (magic, req_data, req_datalen, clienthost, thip, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_list_rep4gc BUILDSTDERR: Cns_main.c:887:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (c = Cns_srv_listreplica (magic, req_data, req_datalen, clienthost, thip, BUILDSTDERR: ^ BUILDSTDERR: Cns_main.c:892:11: warning: implicit declaration of function 'Cns_srv_listreplicax'; did you mean 'Cns_list_rep4gc'? [-Wimplicit-function-declaration] BUILDSTDERR: if (c = Cns_srv_listreplicax (magic, req_data, req_datalen, clienthost, thip, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_list_rep4gc BUILDSTDERR: Cns_main.c:892:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (c = Cns_srv_listreplicax (magic, req_data, req_datalen, clienthost, thip, BUILDSTDERR: ^ BUILDSTDERR: Cns_main.c:897:11: warning: implicit declaration of function 'Cns_srv_listrepset'; did you mean 'Cns_list_rep_set'? [-Wimplicit-function-declaration] BUILDSTDERR: if (c = Cns_srv_listrepset (magic, req_data, req_datalen, clienthost, thip, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_list_rep_set BUILDSTDERR: Cns_main.c:897:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (c = Cns_srv_listrepset (magic, req_data, req_datalen, clienthost, thip, BUILDSTDERR: ^ BUILDSTDERR: Cns_main.c:902:11: warning: implicit declaration of function 'Cns_srv_listtape' [-Wimplicit-function-declaration] BUILDSTDERR: if (c = Cns_srv_listtape (magic, req_data, req_datalen, clienthost, thip, BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:902:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (c = Cns_srv_listtape (magic, req_data, req_datalen, clienthost, thip, BUILDSTDERR: ^ BUILDSTDERR: Cns_main.c:927:8: warning: implicit declaration of function 'Cns_srv_readdir' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_readdir (magic, req_data2, req_datalen2, clienthost, BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c: At top level: BUILDSTDERR: Cns_main.c:976:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: procreq(magic, req_type, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_acl.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_acl_chmod (struct Cns_file_metadata *fmd_entry) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_acl.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_acl_chown (struct Cns_file_metadata *fmd_entry) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c: In function 'procreq': BUILDSTDERR: Cns_acl.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_acl_compare (const void *acl1, const void *acl2) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1023:12: warning: implicit declaration of function 'getidmap'; did you mean 'getgid'? [-Wimplicit-function-declaration] BUILDSTDERR: if ((c = getidmap (thip, thip->Csec_auth_id, user_ca, BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: getgid BUILDSTDERR: Cns_acl.c:124:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_acl_inherit (struct Cns_file_metadata *parent_dir, struct Cns_file_metadata *fmd_entry, mode_t mode) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: Cns_acl.c: In function 'Cns_acl_inherit': BUILDSTDERR: Cns_acl.c:140:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (iacl = strchr (pacl, CNS_ACL_DEFAULT|CNS_ACL_MASK|'@')) BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_acl.c:153:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: fmd_entry->filemode = fmd_entry->filemode & 0177077 | BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: Cns_acl.c:157:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: fmd_entry->filemode = fmd_entry->filemode & 0177707 | BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: Cns_acl.c:161:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: fmd_entry->filemode = fmd_entry->filemode & 0177770 | BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: Cns_acl.c:177:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: fmd_entry->filemode = fmd_entry->filemode & 0177077 | BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: Cns_acl.c:183:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: fmd_entry->filemode = fmd_entry->filemode & 0177707 | BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: Cns_acl.c:189:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: fmd_entry->filemode = fmd_entry->filemode & 0177707 | BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: Cns_acl.c:195:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: fmd_entry->filemode = fmd_entry->filemode & 0177770 | BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: Cns_main.c:1035:7: warning: implicit declaration of function 'Cns_srv_access' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_access (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_acl.c: At top level: BUILDSTDERR: Cns_acl.c:225:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_acl_validate (struct Cns_acl *acl, int nentries, char *errbuf) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_acl.c:336:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_chkaclperm (struct Cns_file_metadata *fmd_entry, int mode, uid_t uid, int nbgids, gid_t *gids) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_acl.c: In function 'Cns_chkaclperm': BUILDSTDERR: Cns_acl.c:352:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (iacl = strchr (fmd_entry->acl, CNS_ACL_MASK|'@')) BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_main.c:1038:7: warning: implicit declaration of function 'Cns_srv_chclass' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_chclass (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1041:7: warning: implicit declaration of function 'Cns_srv_chdir'; did you mean 'Cns_acl_chown'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_chdir (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_acl_chown BUILDSTDERR: Cns_main.c:1044:7: warning: implicit declaration of function 'Cns_srv_chmod'; did you mean 'Cns_acl_chmod'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_chmod (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_acl_chmod BUILDSTDERR: Cns_main.c:1047:7: warning: implicit declaration of function 'Cns_srv_chown'; did you mean 'Cns_acl_chown'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_chown (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_acl_chown BUILDSTDERR: Cns_main.c:1050:7: warning: implicit declaration of function 'Cns_srv_creat' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_creat (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: Cns_acl.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_acl.c,v $ $Revision: 3465 $ $Date: 2010-03-05 11:52:51 +0000 (Fri, 05 Mar 2010) $ CERN IT-ADC/CA Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_main.c:1053:7: warning: implicit declaration of function 'Cns_srv_deleteclass' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_deleteclass (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1056:7: warning: implicit declaration of function 'Cns_srv_delcomment'; did you mean 'Cns_get_dbconf'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_delcomment (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_get_dbconf BUILDSTDERR: Cns_main.c:1059:7: warning: implicit declaration of function 'Cns_srv_delete'; did you mean 'Cupv_delete'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_delete (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cupv_delete BUILDSTDERR: Cns_main.c:1062:7: warning: implicit declaration of function 'Cns_srv_enterclass' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_enterclass (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1065:7: warning: implicit declaration of function 'Cns_srv_getacl' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getacl (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1068:7: warning: implicit declaration of function 'Cns_srv_getcomment' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getcomment (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1071:7: warning: implicit declaration of function 'Cns_srv_getpath'; did you mean 'Cns_parsepath'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getpath (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: Cns_parsepath BUILDSTDERR: Cns_main.c:1074:7: warning: implicit declaration of function 'Cns_srv_getsegattrs' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getsegattrs (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1077:7: warning: implicit declaration of function 'Cns_srv_lchown'; did you mean 'Cns_acl_chown'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_lchown (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_acl_chown BUILDSTDERR: Cns_main.c:1086:7: warning: implicit declaration of function 'Cns_srv_lstat' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_lstat (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1089:7: warning: implicit declaration of function 'Cns_srv_mkdir' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_mkdir (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_chkperm.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_chkbackperm(dbfd, fileid, mode, uid, nbgids, gids, clienthost) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: Cns_chkperm.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_parsepath(dbfd, cwd, path, uid, nbgids, gids, clienthost, parent_dir, rec_addrp, base_entry, rec_addr, flags) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1092:7: warning: implicit declaration of function 'Cns_srv_modifyclass' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_modifyclass (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1095:7: warning: implicit declaration of function 'Cns_srv_open'; did you mean 'Cns_opendb'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_open (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: Cns_opendb BUILDSTDERR: Cns_chkperm.c:239:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_chkentryperm(fmd_entry, mode, uid, nbgids, gids, clienthost) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1101:7: warning: implicit declaration of function 'Cns_srv_queryclass' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_queryclass (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1104:7: warning: implicit declaration of function 'Cns_srv_readlink'; did you mean 'readlink'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_readlink (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: readlink BUILDSTDERR: Cns_chkperm.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_chkperm.c,v $ $Revision: 1.7 $ $Date: 2008/06/19 14:37:50 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_main.c:1107:7: warning: implicit declaration of function 'Cns_srv_rename'; did you mean 'Cgetservbyname'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_rename (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cgetservbyname BUILDSTDERR: Cns_main.c:1110:7: warning: implicit declaration of function 'Cns_srv_rmdir'; did you mean 'Cns_start_tr'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_rmdir (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_start_tr BUILDSTDERR: Cns_main.c:1113:7: warning: implicit declaration of function 'Cns_srv_setacl'; did you mean 'Cns_parsepath'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_setacl (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_parsepath BUILDSTDERR: Cns_main.c:1116:7: warning: implicit declaration of function 'Cns_srv_setatime'; did you mean 'timer_settime'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_setatime (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: timer_settime BUILDSTDERR: Cns_main.c:1119:7: warning: implicit declaration of function 'Cns_srv_setcomment' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_setcomment (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1122:7: warning: implicit declaration of function 'Cns_srv_setfsize' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_setfsize (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1125:7: warning: implicit declaration of function 'Cns_srv_setsegattrs' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_setsegattrs (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1128:7: warning: implicit declaration of function 'Cns_srv_shutdown'; did you mean 'mysql_shutdown'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_shutdown (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: mysql_shutdown BUILDSTDERR: Cns_main.c:1131:7: warning: implicit declaration of function 'Cns_srv_stat'; did you mean 'Cns_start_tr'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_stat (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: Cns_start_tr BUILDSTDERR: Cns_main.c:1134:7: warning: implicit declaration of function 'Cns_srv_symlink' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_symlink (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1137:7: warning: implicit declaration of function 'Cns_srv_undelete'; did you mean 'Cupv_delete'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_undelete (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cupv_delete BUILDSTDERR: Cns_main.c:1140:7: warning: implicit declaration of function 'Cns_srv_unlink' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_unlink (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1143:7: warning: implicit declaration of function 'Cns_srv_utime'; did you mean 'si_utime'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_utime (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: si_utime BUILDSTDERR: Cns_main.c:1146:7: warning: implicit declaration of function 'Cns_srv_replaceseg'; did you mean 'Cns_list_rep_set'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_replaceseg (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_list_rep_set BUILDSTDERR: Cns_main.c:1149:7: warning: implicit declaration of function 'Cns_srv_addreplica' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_addreplica (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1152:7: warning: implicit declaration of function 'Cns_srv_delreplica' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_delreplica (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1158:7: warning: implicit declaration of function 'proctransreq'; did you mean 'procreq'? [-Wimplicit-function-declaration] BUILDSTDERR: c = proctransreq (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: procreq BUILDSTDERR: Cns_main.c:1161:7: warning: implicit declaration of function 'Cns_srv_endtrans'; did you mean 'Cns_end_tr'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_endtrans (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_end_tr BUILDSTDERR: Cns_main.c:1164:7: warning: implicit declaration of function 'Cns_srv_aborttrans'; did you mean 'Cns_abort_tr'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_aborttrans (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_abort_tr BUILDSTDERR: Cns_main.c:1170:7: warning: implicit declaration of function 'Cns_srv_setfsizeg' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_setfsizeg (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1173:7: warning: implicit declaration of function 'Cns_srv_statg'; did you mean 'Cns_start_tr'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_statg (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_start_tr BUILDSTDERR: Cns_main.c:1176:7: warning: implicit declaration of function 'Cns_srv_statr'; did you mean 'Cns_start_tr'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_statr (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_start_tr BUILDSTDERR: Cns_main.c:1179:7: warning: implicit declaration of function 'Cns_srv_setptime'; did you mean 'timer_settime'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_setptime (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: timer_settime BUILDSTDERR: Cns_main.c:1182:7: warning: implicit declaration of function 'Cns_srv_setratime'; did you mean 'timer_settime'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_setratime (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: timer_settime BUILDSTDERR: Cns_main.c:1185:7: warning: implicit declaration of function 'Cns_srv_setrstatus' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_setrstatus (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1188:7: warning: implicit declaration of function 'Cns_srv_accessr' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_accessr (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1197:7: warning: implicit declaration of function 'procsessreq'; did you mean 'procreq'? [-Wimplicit-function-declaration] BUILDSTDERR: c = procsessreq (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: procreq BUILDSTDERR: Cns_main.c:1200:7: warning: implicit declaration of function 'Cns_srv_endsess' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_endsess (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1203:7: warning: implicit declaration of function 'Cns_srv_du'; did you mean 'Cns_start_tr'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_du (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Cns_start_tr BUILDSTDERR: Cns_main.c:1206:7: warning: implicit declaration of function 'Cns_srv_getgrpbynam' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getgrpbynam (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1209:7: warning: implicit declaration of function 'Cns_srv_getgrpbygid' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getgrpbygid (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1212:7: warning: implicit declaration of function 'Cns_srv_getidmap' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getidmap (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1215:7: warning: implicit declaration of function 'Cns_srv_getusrbynam' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getusrbynam (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1218:7: warning: implicit declaration of function 'Cns_srv_getusrbyuid'; did you mean 'Cns_get_class_by_id'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getusrbyuid (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_get_class_by_id BUILDSTDERR: Cns_main.c:1221:7: warning: implicit declaration of function 'Cns_srv_modgrpmap' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_modgrpmap (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1224:7: warning: implicit declaration of function 'Cns_srv_modusrmap' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_modusrmap (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1227:7: warning: implicit declaration of function 'Cns_srv_rmgrpmap' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_rmgrpmap (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1230:7: warning: implicit declaration of function 'Cns_srv_rmusrmap' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_rmusrmap (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1233:7: warning: implicit declaration of function 'Cns_srv_getlinks' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getlinks (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1236:7: warning: implicit declaration of function 'Cns_srv_getreplica' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getreplica (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1239:7: warning: implicit declaration of function 'Cns_srv_entergrpmap' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_entergrpmap (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1242:7: warning: implicit declaration of function 'Cns_srv_enterusrmap' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_enterusrmap (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1245:7: warning: implicit declaration of function 'Cns_srv_setrtype' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_setrtype (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1248:7: warning: implicit declaration of function 'Cns_srv_modreplica' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_modreplica (magic, req_type, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1251:7: warning: implicit declaration of function 'Cns_srv_getreplicax' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getreplicax (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1257:7: warning: implicit declaration of function 'Cns_srv_setrltime'; did you mean 'timer_settime'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_setrltime (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: timer_settime BUILDSTDERR: Cns_main.c:1260:7: warning: implicit declaration of function 'Cns_srv_getreplicas' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getreplicas (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1263:7: warning: implicit declaration of function 'Cns_srv_getgrpbygids' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getgrpbygids (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1266:7: warning: implicit declaration of function 'Cns_srv_ping'; did you mean 'Cns_main'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_ping (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: Cns_main BUILDSTDERR: Cns_main.c:1269:7: warning: implicit declaration of function 'Cns_srv_delfiles' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_delfiles (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1272:7: warning: implicit declaration of function 'Cns_srv_delfilesbypattern' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_delfilesbypattern (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1275:7: warning: implicit declaration of function 'Cns_srv_delreplicas' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_delreplicas (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c: In function 'Cns_get_dbconf': BUILDSTDERR: Cns_mysql_ifce.c:81:4: warning: reading through null pointer (argument 4) [-Wformat=] BUILDSTDERR: sprintf (nsconfigfile, "%s%s", p, strchr (NSCONFIG, '\\')); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_main.c:1278:7: warning: implicit declaration of function 'Cns_srv_getgrpmap' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getgrpmap (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:91:3: warning: implicit declaration of function 'nslogit'; did you mean 'isdigit'? [-Wimplicit-function-declaration] BUILDSTDERR: nslogit (func, NS023, nsconfigfile); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: isdigit BUILDSTDERR: Cns_main.c:1281:7: warning: implicit declaration of function 'Cns_srv_getusrmap' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getusrmap (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c: At top level: BUILDSTDERR: Cns_mysql_ifce.c:124:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_init_dbpkg() BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1284:7: warning: implicit declaration of function 'Cns_srv_getreplicasl' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getreplicasl (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:148:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_abort_tr(dbfd) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:160:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_closedb(dbfd) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1290:7: warning: implicit declaration of function 'Cns_srv_delreplicasbysfn'; did you mean 'Cns_get_rep_by_sfn'? [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_delreplicasbysfn (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_get_rep_by_sfn BUILDSTDERR: Cns_mysql_ifce.c:167:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_decode_class_entry(row, lock, rec_addr, class_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:193:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_decode_fmd_entry(row, lock, rec_addr, fmd_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1293:7: warning: implicit declaration of function 'Cns_srv_registerfiles' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_registerfiles (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:223:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_decode_rep_entry (row, lock, rec_addr, rep_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1296:7: warning: implicit declaration of function 'Cns_srv_getreplicass' [-Wimplicit-function-declaration] BUILDSTDERR: c = Cns_srv_getreplicass (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c: At top level: BUILDSTDERR: Cns_main.c:1305:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: procsessreq(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:254:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_decode_smd_entry(row, lock, rec_addr, smd_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:280:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_decode_tppool_entry(row, lock, rec_addr, tppool_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c: In function 'procsessreq': BUILDSTDERR: Cns_mysql_ifce.c:294:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_delete_class_entry(dbfd, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_delete_fmd_entry(dbfd, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1319:9: warning: implicit declaration of function 'Cns_srv_startsess'; did you mean 'Cns_start_tr'? [-Wimplicit-function-declaration] BUILDSTDERR: (void) Cns_srv_startsess (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_start_tr BUILDSTDERR: Cns_mysql_ifce.c:330:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_delete_lnk_entry(dbfd, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:348:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_delete_rep_entry(dbfd, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:366:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_delete_smd_entry(dbfd, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:384:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_delete_tppool_entry(dbfd, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:402:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_delete_umd_entry(dbfd, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c:1336:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (rc = getreq (thip->s, &magic, &req_type, &req_data2, &req_datalen2, &clienthost)) { BUILDSTDERR: ^~ BUILDSTDERR: Cns_mysql_ifce.c:420:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_end_tr(dbfd) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:432:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_exec_query(func, dbfd, sql_stmt, res) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:450:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_class_by_id(dbfd, classid, class_entry, lock, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c: At top level: BUILDSTDERR: Cns_main.c:1350:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: proctransreq(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:494:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_class_by_name(dbfd, class_name, class_entry, lock, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:541:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_fmd_by_fileid(dbfd, fileid, fmd_entry, lock, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_main.c: In function 'proctransreq': BUILDSTDERR: Cns_main.c:1364:9: warning: implicit declaration of function 'Cns_srv_starttrans'; did you mean 'Cns_start_tr'? [-Wimplicit-function-declaration] BUILDSTDERR: (void) Cns_srv_starttrans (magic, req_data, req_datalen, clienthost, thip); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_start_tr BUILDSTDERR: Cns_main.c:1382:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (rc = getreq (thip->s, &magic, &req_type, &req_data2, &req_datalen2, &clienthost)) { BUILDSTDERR: ^~ BUILDSTDERR: Cns_mysql_ifce.c:584:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_fmd_by_fullid(dbfd, parent_fileid, name, fmd_entry, lock, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:633:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_fmd_by_guid(dbfd, guid, fmd_entry, lock, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:678:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_fmd_by_pfid(dbfd, bod, parent_fileid, pattern, fmd_entry, getattr, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:745:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_lnk_by_fileid(dbfd, fileid, lnk_entry, lock, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:787:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_max_copyno (dbfd, fileid, copyno) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:818:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_rep_by_sfn(dbfd, sfn, rep_entry, lock, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:861:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_smd_by_fullid(dbfd, fileid, copyno, fsec, smd_entry, lock, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:906:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_smd_by_pfid(dbfd, bof, fileid, smd_entry, lock, rec_addr, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:956:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_smd_by_vid(dbfd, bov, vid, smd_entry, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:995:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_tppool_by_cid(dbfd, bol, classid, tppool_entry, lock, rec_addr, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1038:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_umd_by_fileid(dbfd, fileid, umd_entry, lock, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1080:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_insert_class_entry(dbfd, class_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1119:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_insert_fmd_entry(dbfd, fmd_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1195:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_insert_lnk_entry(dbfd, lnk_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1226:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_insert_rep_entry(dbfd, rep_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1354:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_insert_smd_entry(dbfd, smd_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1397:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_insert_tppool_entry(dbfd, tppool_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1427:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_insert_umd_entry(dbfd, umd_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1459:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_list_class_entry(dbfd, bol, class_entry, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1496:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_list_group_entry(dbfd, bol, group_entry, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1529:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_list_lnk_entry(dbfd, bol, linkname, lnk_entry, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1567:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_list_rep4admin(dbfd, bol, poolname, server, fs, rep_entry, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: Cns_main.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_main.c,v $ $Revision: 10224 $ $Date: 2014-03-06 07:24:35 +0000 (Thu, 06 Mar 2014) $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1645:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_list_rep4gc(dbfd, bol, poolname, rep_entry, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1685:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_list_rep_entry(dbfd, bol, fileid, rep_entry, lock, rec_addr, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1732:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_list_rep_set(dbfd, bol, setname, rep_entry, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1770:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_list_user_entry(dbfd, bol, user_entry, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1804:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_opendb(dbfd) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1825:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_pingdb(dbfd) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1839:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_start_tr(s, dbfd) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1850:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_unique_id(dbfd, unique_id) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1892:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_update_class_entry(dbfd, rec_addr, class_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1928:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_update_fmd_entry(dbfd, rec_addr, fmd_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:1998:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_update_rep_entry(dbfd, rec_addr, rep_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2100:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_update_smd_entry(dbfd, rec_addr, smd_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2136:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_update_umd_entry(dbfd, rec_addr, umd_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2164:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_delete_group_entry(dbfd, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2182:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_delete_user_entry(dbfd, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2200:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_grpinfo_by_gid(dbfd, gid, group_entry, lock, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2237:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_grpinfo_by_name(dbfd, name, group_entry, lock, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2278:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_usrinfo_by_name(dbfd, name, user_entry, lock, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2321:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_get_usrinfo_by_uid(dbfd, uid, user_entry, lock, rec_addr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2360:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_insert_group_entry(dbfd, group_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2386:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_insert_user_entry(dbfd, user_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2416:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_unique_gid(dbfd, unique_id) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2462:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_unique_uid(dbfd, unique_id) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2507:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_update_group_entry(dbfd, rec_addr, group_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2535:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_update_unique_gid(dbfd, unique_id) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2580:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_update_unique_uid(dbfd, unique_id) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c:2625:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_update_user_entry(dbfd, rec_addr, user_entry) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_mysql_ifce.c: In function 'Cns_decode_class_entry': BUILDSTDERR: Cns_mysql_ifce.c:191:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: Cns_mysql_ifce.c: In function 'Cns_decode_fmd_entry': BUILDSTDERR: Cns_mysql_ifce.c:221:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: Cns_mysql_ifce.c: In function 'Cns_decode_rep_entry': BUILDSTDERR: Cns_mysql_ifce.c:252:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: Cns_mysql_ifce.c: In function 'Cns_decode_smd_entry': BUILDSTDERR: Cns_mysql_ifce.c:278:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_procreq.o Cns_procreq.c BUILDSTDERR: Cns_mysql_ifce.c: In function 'Cns_decode_tppool_entry': BUILDSTDERR: Cns_mysql_ifce.c:292:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: Cns_mysql_ifce.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_mysql_ifce.c,v $ $Revision: 10220 $ $Date: 2014-03-05 16:38:40 +0000 (Wed, 05 Mar 2014) $ CERN IT-DS/HSM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 Cupv_check.o Cupv_check.c BUILDSTDERR: Cupv_check.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cupv_check(uid_t priv_uid, gid_t priv_gid, const char *src, const char *tgt, int priv) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Cupv_check.c: In function 'Cupv_check': BUILDSTDERR: Cupv_check.c:60:8: warning: unused variable 'uid' [-Wunused-variable] BUILDSTDERR: uid_t uid; BUILDSTDERR: ^~~ BUILDSTDERR: Cupv_check.c:59:31: warning: unused variable 'thip' [-Wunused-variable] BUILDSTDERR: struct Cupv_api_thread_info *thip; BUILDSTDERR: ^~~~ BUILDSTDERR: Cupv_check.c:58:7: warning: unused variable 'sendbuf' [-Wunused-variable] BUILDSTDERR: char sendbuf[REQBUFSZ]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cupv_check.c:57:8: warning: unused variable 'sbp' [-Wunused-variable] BUILDSTDERR: char *sbp; BUILDSTDERR: ^~~ BUILDSTDERR: Cupv_check.c:54:6: warning: unused variable 'msglen' [-Wunused-variable] BUILDSTDERR: int msglen; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cupv_check.c:45:8: warning: unused variable 'gid' [-Wunused-variable] BUILDSTDERR: gid_t gid; BUILDSTDERR: ^~~ BUILDSTDERR: Cupv_check.c:41:6: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: int c; BUILDSTDERR: ^ BUILDSTDERR: Cupv_check.c: At top level: BUILDSTDERR: Cupv_check.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cupv_seterrbuf(char *buffer, int buflen) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cupv_check.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cupv_check.c,v $ $Revision: 1.11 $ $Date: 2008/01/29 10:09:39 $ CERN IT-DS/HSM Ben Couturier"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cupv_check.c: In function 'Cupv_check': BUILDSTDERR: Cupv_check.c:129:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: sprintf (fqn, "%s.%s", q, localdomain); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from Cupv_check.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 65) into a destination of size 64 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: get_client_actual_id (thip, uid, gid, nbgids, gids, user) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:97:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: getpath (thip, cur_fileid, path) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c: In function 'Cns_logreq': BUILDSTDERR: Cns_procreq.c:147:3: warning: implicit declaration of function 'nslogit'; did you mean 'isdigit'? [-Wimplicit-function-declaration] BUILDSTDERR: nslogit (func, NS098, p); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: isdigit BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'fixup_parent_dirs_sz': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:208:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:238:64: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] BUILDSTDERR: sprintf (logbuf, " Cns_get_fmd_by_fileid: Ignoring error %s", serrno); BUILDSTDERR: ~^ BUILDSTDERR: %d BUILDSTDERR: Cns_procreq.c:246:74: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'int64_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: sprintf (logbuf, " Size of inode %lld becomes %lld with increment %lld", hierarchy[i], filentry->filesize, increment); BUILDSTDERR: ~~~^ ~~~~~~~~~ BUILDSTDERR: %ld BUILDSTDERR: Cns_procreq.c:250:63: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] BUILDSTDERR: sprintf (logbuf, " Cns_update_fmd_entry: Ignoring error %s", serrno); BUILDSTDERR: ~^ BUILDSTDERR: %d BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:288:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: marshall_DIRR (sbpp, magic, rep_entry) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:311:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: marshall_DIRX (sbpp, magic, fmd_entry) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:340:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: marshall_DIRXR (sbpp, magic, fmd_entry) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:356:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: marshall_DIRXT (sbpp, magic, fmd_entry, smd_entry) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:382:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: marshall_REPLICS (sbpp, magic, fmd_entry, rep_entry, errcode) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:428:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_aborttrans(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_aborttrans': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:450:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 sendrep.o sendrep.c BUILDSTDERR: Cns_procreq.c:455:3: warning: implicit declaration of function 'sendrep'; did you mean 'sendmsg'? [-Wimplicit-function-declaration] BUILDSTDERR: sendrep (thip->s, MSG_ERR, "Too many FQANs in proxy\n"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: sendmsg BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:456:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:460:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:465:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_access(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:535:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_accessr(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:614:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_addreplica(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_addreplica': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:656:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:662:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:665:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:667:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:669:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:671:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:673:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:676:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:677:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:683:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:686:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:690:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:693:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:698:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:700:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:714:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:725:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:728:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (ENOENT); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:731:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:738:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:747:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:749:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EISDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:768:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:810:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:648:7: warning: unused variable 'tmp_path' [-Wunused-variable] BUILDSTDERR: char tmp_path[CA_MAXPATHLEN+1]; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: Cns_procreq.c:647:7: warning: unused variable 'status_str' [-Wunused-variable] BUILDSTDERR: char status_str[2]; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:635:6: warning: unused variable 'nbfqans' [-Wunused-variable] BUILDSTDERR: int nbfqans = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:626:9: warning: unused variable 'fqan' [-Wunused-variable] BUILDSTDERR: char **fqan = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_procreq.c:623:7: warning: unused variable 'f_type_str' [-Wunused-variable] BUILDSTDERR: char f_type_str[2]; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:622:7: warning: unused variable 'authbuf' [-Wunused-variable] BUILDSTDERR: char authbuf[4096]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:815:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_chclass(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_chclass': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:848:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:854:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:857:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:860:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:861:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:864:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:866:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:879:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:888:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:890:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:884:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (Cns_get_class_by_id (&thip->dbfd, classid, &new_class_entry, BUILDSTDERR: ^ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:892:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:898:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:900:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:894:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (Cns_get_class_by_name (&thip->dbfd, class_name, &new_class_entry, BUILDSTDERR: ^ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:907:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:909:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (ENOTDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:917:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:921:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:926:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:930:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:932:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:937:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_chdir(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_chdir': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:965:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:971:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:974:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:977:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:978:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:988:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:991:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (ENOTDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:993:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1000:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:1005:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_chmod(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_chmod': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1036:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1042:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1045:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1047:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1050:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1051:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1054:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1067:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1073:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1086:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1108:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:1023:6: warning: unused variable 'nbfqans' [-Wunused-variable] BUILDSTDERR: int nbfqans = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:1015:9: warning: unused variable 'fqan' [-Wunused-variable] BUILDSTDERR: char **fqan = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_procreq.c:1013:7: warning: unused variable 'authbuf' [-Wunused-variable] BUILDSTDERR: char authbuf[4096]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:1113:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_chown(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_chown': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1151:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1157:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1160:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1162:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1165:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1166:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1169:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1171:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1184:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1231:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1235:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1248:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1265:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:1133:6: warning: unused variable 'nbfqans' [-Wunused-variable] BUILDSTDERR: int nbfqans = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:1131:9: warning: unused variable 'membername' [-Wunused-variable] BUILDSTDERR: char **membername; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:1128:16: warning: unused variable 'gr' [-Wunused-variable] BUILDSTDERR: struct group *gr; BUILDSTDERR: ^~ BUILDSTDERR: Cns_procreq.c:1124:6: warning: unused variable 'found' [-Wunused-variable] BUILDSTDERR: int found; BUILDSTDERR: ^~~~~ BUILDSTDERR: Cns_procreq.c:1123:9: warning: unused variable 'fqan' [-Wunused-variable] BUILDSTDERR: char **fqan = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_procreq.c:1121:7: warning: unused variable 'authbuf' [-Wunused-variable] BUILDSTDERR: char authbuf[4096]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:1270:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_creat(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_creat': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1312:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1318:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1321:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1323:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1325:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1328:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1329:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1332:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1335:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1337:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1352:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1355:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EISDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1359:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EISDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1361:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EEXIST); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1366:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1375:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EEXIST); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1380:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1387:6: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1393:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1407:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1411:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1413:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); /* guid is mandatory for the LFC */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1415:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1439:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1447:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1453:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:1458:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_delcomment(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_delcomment': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1486:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1492:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1495:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1497:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1500:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1501:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1515:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1521:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1527:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1529:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1530:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:1535:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_delete(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_delete': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1573:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1579:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1582:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1584:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1586:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1589:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1590:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1604:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1607:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1610:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1619:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1628:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1653:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1662:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1668:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1675:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1682:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1683:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:1555:6: warning: unused variable 'nbfqans' [-Wunused-variable] BUILDSTDERR: int nbfqans = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:1548:9: warning: unused variable 'fqan' [-Wunused-variable] BUILDSTDERR: char **fqan = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_procreq.c:1543:7: warning: unused variable 'authbuf' [-Wunused-variable] BUILDSTDERR: char authbuf[4096]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:1688:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_deleteclass(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_deleteclass': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1719:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1725:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1728:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1730:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1735:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1744:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1746:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1750:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1753:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EEXIST); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1757:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1763:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1764:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:1771:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: unlinkonefile (thip, uid, nbgids, gids, clienthost, parent_dir, rec_addrp, filentry, rec_addr, force) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c: In function 'unlinkonefile': BUILDSTDERR: Cns_procreq.c:1799:8: warning: unused variable 'tmp_pathp' [-Wunused-variable] BUILDSTDERR: char *tmp_pathp; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: Cns_procreq.c:1798:7: warning: unused variable 'tmp_path' [-Wunused-variable] BUILDSTDERR: char tmp_path[CA_MAXPATHLEN+1]; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: Cns_procreq.c:1790:8: warning: unused variable 'p' [-Wunused-variable] BUILDSTDERR: char *p; BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1789:6: warning: unused variable 'nbfqans' [-Wunused-variable] BUILDSTDERR: int nbfqans = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:1787:9: warning: unused variable 'fqan' [-Wunused-variable] BUILDSTDERR: char **fqan = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_procreq.c:1784:7: warning: unused variable 'authbuf' [-Wunused-variable] BUILDSTDERR: char authbuf[4096]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:1922:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_delfiles(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_delfiles': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1960:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1966:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1969:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1971:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1973:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1976:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1979:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:1981:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2059:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:2067:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_delfilesbypattern(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_delfilesbypattern': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2105:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2111:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2114:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2116:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2119:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2120:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2123:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2125:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2131:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2134:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2186:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:2191:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_delreplica(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_delreplica': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2223:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2229:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2232:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2234:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2236:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2238:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2241:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2242:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2254:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2258:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2261:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2265:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2272:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2276:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (ENOENT); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2283:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2288:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2291:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (rc); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:2209:6: warning: unused variable 'nbfqans' [-Wunused-variable] BUILDSTDERR: int nbfqans = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:2201:9: warning: unused variable 'fqan' [-Wunused-variable] BUILDSTDERR: char **fqan = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_procreq.c:2199:7: warning: unused variable 'authbuf' [-Wunused-variable] BUILDSTDERR: char authbuf[4096]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:2298:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_delreplicas(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_delreplicas': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2339:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2345:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2348:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2350:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2352:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2354:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2356:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2439:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:2318:6: warning: unused variable 'nbfqans' [-Wunused-variable] BUILDSTDERR: int nbfqans = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:2310:9: warning: unused variable 'fqan' [-Wunused-variable] BUILDSTDERR: char **fqan = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_procreq.c:2306:7: warning: unused variable 'authbuf' [-Wunused-variable] BUILDSTDERR: char authbuf[4096]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:2445:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_delreplicasbysfn(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_delreplicasbysfn': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2487:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2493:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2496:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2498:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2500:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2502:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:2576:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (Cns_get_umd_by_fileid (&thip->dbfd, fmd_entry.fileid, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: &umd_entry, 1, &rec_addr) == 0 && BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: Cns_delete_umd_entry (&thip->dbfd, &rec_addr) || BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2622:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:2464:6: warning: unused variable 'nbfqans' [-Wunused-variable] BUILDSTDERR: int nbfqans = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:2456:9: warning: unused variable 'fqan' [-Wunused-variable] BUILDSTDERR: char **fqan = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_procreq.c:2453:7: warning: unused variable 'authbuf' [-Wunused-variable] BUILDSTDERR: char authbuf[4096]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:2627:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: compute_du4dir (thip, direntry, Lflag, uid, nbgids, gids, clienthost, nbbytes, nbentries) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:2688:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_du(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: sendrep.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: sendrep(int rpfd, int rep_type, ...) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:2769:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_endsess(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: sendrep.c: In function 'sendrep': BUILDSTDERR: sendrep.c:48:3: warning: implicit declaration of function 'nslogit' [-Wimplicit-function-declaration] BUILDSTDERR: nslogit (func, "%s", prtbuf); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_endsess': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2791:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: sendrep.c:31:8: warning: unused variable 'q' [-Wunused-variable] BUILDSTDERR: char *q; BUILDSTDERR: ^ BUILDSTDERR: sendrep.c:29:8: warning: unused variable 'p' [-Wunused-variable] BUILDSTDERR: char *p; BUILDSTDERR: ^ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2797:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2799:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:2804:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_endtrans(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_endtrans': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2826:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: sendrep.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: sendrep.c,v $ $Revision: 9750 $ $Date: 2013-11-28 10:04:23 +0000 (Thu, 28 Nov 2013) $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2832:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2836:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:2841:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_enterclass(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_enterclass': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2868:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2874:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2878:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2880:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2882:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nslogit.o nslogit.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 nsshutdown.o nsshutdown.c BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2884:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2886:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2888:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2890:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2892:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2894:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2896:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2898:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2900:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2902:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2904:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2910:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2915:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2917:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2921:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2928:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2930:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:2932:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:2937:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getacl(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_getacl': BUILDSTDERR: Cns_procreq.c:3009:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = strchr (iacl, ',')) BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:3025:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getcomment(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:3099:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getlinks(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:3220:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getpath(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:3273:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getreplica(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:3398:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getreplicas(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:3535:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getreplicasl(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:3675:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getreplicass(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:3786:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getreplicax(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:3916:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getsegattrs(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_getsegattrs': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:3952:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:3958:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:3961:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:3963:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:3966:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:3967:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:3978:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:3984:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:3991:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:3997:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EISDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4021:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4026:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:4031:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_lchown(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_lchown': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4066:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4072:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4075:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4077:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4080:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4081:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4084:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4086:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4099:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4146:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4150:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4163:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4164:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:4047:9: warning: unused variable 'membername' [-Wunused-variable] BUILDSTDERR: char **membername; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:4044:16: warning: unused variable 'gr' [-Wunused-variable] BUILDSTDERR: struct group *gr; BUILDSTDERR: ^~ BUILDSTDERR: Cns_procreq.c:4040:6: warning: unused variable 'found' [-Wunused-variable] BUILDSTDERR: int found; BUILDSTDERR: ^~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:4167:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_listclass(magic, req_data, req_datalen, clienthost, thip, class_entry, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_listclass': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4206:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4212:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4215:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4217:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4274:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4283:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4291:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:4294:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_listlinks(magic, req_data, req_datalen, clienthost, thip, lnk_entry, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_listlinks': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4333:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4339:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4342:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4344:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4347:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4348:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4351:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4353:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: nslogit.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: nslogit(char *func, char *msg, ...) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: nslogit.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nslogit.c,v $ $Revision: 4489 $ $Date: 2011-06-20 07:00:04 +0000 (Mon, 20 Jun 2011) $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4369:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4372:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4376:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (ENOENT); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4381:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4391:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4396:6: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (c); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4425:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (c); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4434:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4441:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:4444:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_listrep4gc(magic, req_data, req_datalen, clienthost, thip, rep_entry, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_listrep4gc': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4480:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4486:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4489:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4491:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4493:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4547:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4554:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:4557:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_listreplica(magic, req_data, req_datalen, clienthost, thip, fmd_entry, rep_entry, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_listreplica': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4595:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4601:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4604:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4606:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4609:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4610:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4613:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4615:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4631:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4634:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4638:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (ENOENT); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4643:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4694:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4701:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:4704:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_listreplicax(magic, req_data, req_datalen, clienthost, thip, rep_entry, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_listreplicax': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4742:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4748:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4751:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4753:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4755:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4757:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4759:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4800:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4807:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:4810:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_listrepset(magic, req_data, req_datalen, clienthost, thip, rep_entry, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_listrepset': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4846:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4852:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4855:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4857:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4859:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4904:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4911:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:4914:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_listtape(magic, req_data, req_datalen, clienthost, thip, fmd_entry, smd_entry, endlist, dblistptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_listtape': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4950:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4956:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4959:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4961:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4963:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:4996:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5004:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5012:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:5017:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_lstat(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_lstat': BUILDSTDERR: Cns_procreq.c:5035:6: warning: unused variable 'nbfqans' [-Wunused-variable] BUILDSTDERR: int nbfqans = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:5028:9: warning: unused variable 'fqan' [-Wunused-variable] BUILDSTDERR: char **fqan = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_procreq.c:5025:7: warning: unused variable 'authbuf' [-Wunused-variable] BUILDSTDERR: char authbuf[4096]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:5168:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_mkdir(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_mkdir': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5202:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5208:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5211:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5213:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5215:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5218:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5219:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5222:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5225:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5227:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5242:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5245:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EEXIST); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5250:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EEXIST); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5255:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5277:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5285:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5292:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5295:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5297:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:5302:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_modifyclass(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_modifyclass': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5348:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5354:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5357:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5359:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5361:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5363:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5365:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5367:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5369:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5371:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5373:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5375:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5377:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5379:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5381:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5383:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5385:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5390:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5402:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5404:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5408:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5439:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5443:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (ENOMEM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5448:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5465:6: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5483:6: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5490:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:5495:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_modreplica(magic, req_type, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_modreplica': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5528:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5534:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5537:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5539:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5542:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5543:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5546:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5548:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5550:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5553:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5555:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5569:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5572:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5578:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5584:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5600:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5601:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:5606:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_open(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_open': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5648:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5654:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5657:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5659:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5662:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5663:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5666:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5669:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5684:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5705:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (ENOENT); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5710:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EEXIST); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5713:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EISDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5720:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5730:6: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5737:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5746:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5750:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5774:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5782:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5790:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:5628:6: warning: unused variable 'nbfqans' [-Wunused-variable] BUILDSTDERR: int nbfqans = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:5615:9: warning: unused variable 'fqan' [-Wunused-variable] BUILDSTDERR: char **fqan = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_procreq.c:5614:7: warning: unused variable 'authbuf' [-Wunused-variable] BUILDSTDERR: char authbuf[4096]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:5795:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_opendir(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_opendir': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5824:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5830:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5833:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5836:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5837:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5841:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5851:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5858:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (ENOENT); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5860:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5867:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5870:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (ENOTDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5872:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5879:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:5884:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_ping(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:5916:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_queryclass(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_queryclass': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5950:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5956:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5959:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5961:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5969:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5971:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:5975:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6006:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6010:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:6015:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_readdir(magic, req_data, req_datalen, clienthost, thip, fmd_entry, smd_entry, umd_entry, endlist, dblistptr, smdlistptr, beginp) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_readdir': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6067:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6073:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6076:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6078:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6080:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6082:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6087:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6089:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SEOPNOTSUP); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6092:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:6093:69: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (((p = strchr (pattern, '%')) || (p = strchr (pattern, '*'))) && BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: *(p+1) || p == NULL) BUILDSTDERR: ~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6095:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6101:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:6107:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (getattr == 1 || getattr == 4) BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6138:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (c = Cns_get_smd_by_pfid (&thip->dbfd, bof, BUILDSTDERR: ^ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6147:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: nsshutdown.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_procreq.c:6163:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (c = Cns_list_rep_entry (&thip->dbfd, bof, BUILDSTDERR: ^ cp Cns_mysql_tbl.sql create_lfc_tables_mysql.sql cp NSCONFIG.mysql NSCONFIG.templ sed -e 's#NSCONFIGFILE=.*#NSCONFIGFILE=/etc/NSCONFIG#' -e 's#PREFIX=.*#PREFIX=/usr#' lfcdaemon.scripts.mysql > rc.lfcdaemon sed -e 's#NSCONFIGFILE=.*#NSCONFIGFILE="/etc/NSCONFIG"#' lfcdaemon.sysconfig.mysql > lfcdaemon.conf.templ rm -f -f lfc_perlwrap.o lfc_perlwrap.c SWIG_LIB=/usr/share/swig/3.0.12 /usr/bin/swig -perl -I../h -DNSTYPE_LFC -o lfc_perlwrap.c lfc.i rm -f -f lfc_wrap.o if test "x"YES"" = "xYES" ; then SWIG_LIB=/usr/share/swig/3.0.12 /usr/bin/swig -python -I../h -DNSTYPE_LFC lfc.i ; fi BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6182:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: nsshutdown.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: nsshutdown.c,v $ $Revision: 1.5 $ $Date: 2008/10/01 14:02:10 $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:6205:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (c = Cns_get_smd_by_pfid (&thip->dbfd, bof, BUILDSTDERR: ^ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6218:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6223:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6234:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:6252:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (c = Cns_list_rep_entry (&thip->dbfd, bof, BUILDSTDERR: ^ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6271:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6279:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6289:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6292:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6302:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:6307:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_readlink(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:6384:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_registerfiles(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_registerfiles': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6436:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6442:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6445:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6447:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6449:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6451:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6453:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6455:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6739:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:6426:7: warning: unused variable 'status_str' [-Wunused-variable] BUILDSTDERR: char status_str[2]; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:6411:6: warning: unused variable 'nbfqans' [-Wunused-variable] BUILDSTDERR: int nbfqans = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:6398:7: warning: unused variable 'f_type_str' [-Wunused-variable] BUILDSTDERR: char f_type_str[2]; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:6397:9: warning: unused variable 'fqan' [-Wunused-variable] BUILDSTDERR: char **fqan = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_procreq.c:6393:7: warning: unused variable 'authbuf' [-Wunused-variable] BUILDSTDERR: char authbuf[4096]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:6744:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_rename(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_rename': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6791:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6797:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6800:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6802:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6805:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6806:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6810:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6811:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6826:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6834:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6837:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6839:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6842:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6851:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6853:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6865:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EISDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6868:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (ENOTDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6874:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EEXIST); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6885:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EEXIST); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6890:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6901:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6909:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6918:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6928:6: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6934:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6942:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6944:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6952:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6954:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6957:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6976:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6989:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6996:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:6997:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:7002:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_replaceseg(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_replaceseg': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7038:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7044:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7047:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7049:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7051:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7059:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7068:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7073:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EISDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7076:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7078:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7080:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7086:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7090:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SEENTRYNFND); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7106:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7109:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7111:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7113:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7117:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7130:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7132:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:7137:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_rmdir(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_rmdir': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7170:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7176:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7179:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7181:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7184:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7185:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7199:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7202:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7205:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (ENOTDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7207:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); /* cannot remove current working directory */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7209:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EEXIST); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7218:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7225:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7227:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7232:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7240:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7247:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7250:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7252:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:7257:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_setacl(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_setacl': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7302:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7308:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7311:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7313:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7316:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7317:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7323:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7325:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7328:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7330:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7332:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7344:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7350:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7360:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7368:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:7379:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: fmd_entry.filemode = fmd_entry.filemode & 0177077 | BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: Cns_procreq.c:7383:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: fmd_entry.filemode = fmd_entry.filemode & 0177707 | BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: Cns_procreq.c:7387:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: fmd_entry.filemode = fmd_entry.filemode & 0177770 | BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: Cns_procreq.c:7401:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: fmd_entry.filemode = fmd_entry.filemode & 0177077 | BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: Cns_procreq.c:7405:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: fmd_entry.filemode = fmd_entry.filemode & 0177707 | BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: Cns_procreq.c:7413:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: fmd_entry.filemode = fmd_entry.filemode & 0177770 | BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7421:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7507:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:7295:22: warning: unused variable 'user_entry' [-Wunused-variable] BUILDSTDERR: struct Cns_userinfo user_entry; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:7293:7: warning: unused variable 'uidgid' [-Wunused-variable] BUILDSTDERR: char uidgid[256]; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:7288:7: warning: unused variable 'permbuf' [-Wunused-variable] BUILDSTDERR: char permbuf[2]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:7283:6: warning: unused variable 'nbfqans' [-Wunused-variable] BUILDSTDERR: int nbfqans = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:7281:6: warning: unused variable 'l' [-Wunused-variable] BUILDSTDERR: int l; BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7277:23: warning: unused variable 'group_entry' [-Wunused-variable] BUILDSTDERR: struct Cns_groupinfo group_entry; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:7273:9: warning: unused variable 'fqan' [-Wunused-variable] BUILDSTDERR: char **fqan = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_procreq.c:7267:7: warning: unused variable 'authbuf' [-Wunused-variable] BUILDSTDERR: char authbuf[4096]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:7266:6: warning: unused variable 'aclstringlen' [-Wunused-variable] BUILDSTDERR: int aclstringlen; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:7265:7: warning: unused variable 'aclstring' [-Wunused-variable] BUILDSTDERR: char aclstring[4096]; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: Cns_procreq.c:7264:7: warning: unused variable 'aclbuf' [-Wunused-variable] BUILDSTDERR: char aclbuf[256]; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:7512:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_setatime(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_setatime': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7541:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7547:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7550:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7552:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7554:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7557:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7558:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7572:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7578:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7585:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7592:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EISDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7595:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7602:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7603:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:7608:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_setcomment(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_setcomment': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7638:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7644:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7647:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7649:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7652:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7653:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7656:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7669:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7675:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7686:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7692:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7694:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7696:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:7701:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_setfsize(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_setfsize': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7734:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7740:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7743:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7745:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7747:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7749:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7752:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7753:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7756:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7758:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7761:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7763:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7766:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7784:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7790:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7797:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7804:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EISDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7807:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7818:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7819:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:7824:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_setfsizeg(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_setfsizeg': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7854:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7860:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7863:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7865:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7867:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7869:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7871:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7873:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7875:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7878:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7889:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7895:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7901:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EISDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7904:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7915:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7916:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:7921:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_setptime(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_setptime': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7949:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7955:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7958:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7960:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7963:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7964:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7967:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:7968:33: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: sprintf (logbuf, "setptime %s %d", sfn, ptime); BUILDSTDERR: ~^ ~~~~~ BUILDSTDERR: %ld BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7976:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7982:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7988:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:7994:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8001:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8002:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:8007:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_setratime(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_setratime': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8034:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8040:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8043:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8045:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8048:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8049:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8059:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8065:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8071:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8077:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8085:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8086:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:8091:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_setrltime(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_setrltime': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8119:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8125:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8128:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8130:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8133:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8134:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8137:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:8138:34: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: sprintf (logbuf, "setrltime %s %d", sfn, ltime); BUILDSTDERR: ~^ ~~~~~ BUILDSTDERR: %ld BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8146:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8152:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8158:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8164:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8171:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8172:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:8177:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_setrstatus(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_setrstatus': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8206:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8212:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8215:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8217:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8220:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8221:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8224:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8233:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8239:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8245:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8253:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8261:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8270:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (rc); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8276:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:8281:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_setrtype(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_setrtype': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8309:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8315:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8318:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8320:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8323:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8324:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8327:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8336:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8342:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8348:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8354:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /bin/sh: python: command not found BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8361:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8362:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:8367:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_setsegattrs(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_setsegattrs': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8404:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8410:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8413:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8415:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8418:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8419:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8422:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8436:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8442:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8449:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8455:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EISDIR); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8461:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8463:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8465:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8467:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8469:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8471:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8474:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8477:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8481:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8490:6: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8512:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8522:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8529:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8531:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:8536:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_shutdown(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_shutdown': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8559:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8565:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8568:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8571:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8574:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:8579:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_startsess(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_startsess': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8603:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8609:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8612:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8615:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:8620:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_starttrans(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_starttrans': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8644:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8650:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8654:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:8661:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:8666:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_stat(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_stat': BUILDSTDERR: Cns_procreq.c:8684:6: warning: unused variable 'nbfqans' [-Wunused-variable] BUILDSTDERR: int nbfqans = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:8677:9: warning: unused variable 'fqan' [-Wunused-variable] BUILDSTDERR: char **fqan = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_procreq.c:8674:7: warning: unused variable 'authbuf' [-Wunused-variable] BUILDSTDERR: char authbuf[4096]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:8812:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_statg(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_statg': BUILDSTDERR: Cns_procreq.c:8830:6: warning: unused variable 'nbfqans' [-Wunused-variable] BUILDSTDERR: int nbfqans = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c:8822:9: warning: unused variable 'fqan' [-Wunused-variable] BUILDSTDERR: char **fqan = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: Cns_procreq.c:8820:7: warning: unused variable 'authbuf' [-Wunused-variable] BUILDSTDERR: char authbuf[4096]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:8928:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_statr(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:9002:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_symlink(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_symlink': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9032:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9038:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9041:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9043:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9046:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9047:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9051:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9052:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9066:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9071:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EEXIST); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9076:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9098:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9100:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9108:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9109:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:9114:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_undelete(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_undelete': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9149:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9155:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9158:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9160:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9162:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9165:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9166:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9180:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9183:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9186:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9195:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9204:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9210:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9218:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9224:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9234:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9241:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9242:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:9247:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_unlink(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_unlink': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9277:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9283:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9286:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9288:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9291:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9292:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9306:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9310:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (c); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:9315:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_utime(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_utime': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9345:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9351:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9354:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9356:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9359:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9360:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (SENAMETOOLONG); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9363:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9366:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9368:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9382:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9390:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EPERM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9394:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EACCES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9409:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9410:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:9417:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_vo_from_dn(const char *dn, char *vo) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:9470:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_entergrpmap(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_entergrpmap': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9499:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9502:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9504:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9507:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9512:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9520:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9523:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9527:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9529:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9530:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:9535:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_enterusrmap(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_enterusrmap': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9564:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9567:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9569:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9572:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9577:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9585:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9588:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9592:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9594:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9595:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:9600:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: getonegid(thip, groupname, gid) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: Cns_procreq.c:9637:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: getidmap(thip, username, user_ca, nbgroups, groupnames, userid, gids) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: Cns_procreq.c:9739:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getidmap(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_getidmap': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9777:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9781:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9785:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9787:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9790:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (ENOMEM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9793:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (ENOMEM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9801:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9811:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9819:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (ENOMEM); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:9833:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (c); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:9838:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getgrpbygid(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_getgrpbygid': BUILDSTDERR: Cns_procreq.c:9876:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (Cns_get_grpinfo_by_gid (&thip->dbfd, reqgid, &group_entry, 0, NULL) < 0) BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:9890:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getgrpbygids(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_getgrpbygids': BUILDSTDERR: Cns_procreq.c:9935:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: else if (Cns_get_grpinfo_by_gid (&thip->dbfd, reqgid, &group_entry, 0, NULL) < 0) BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:9955:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getgrpbynam(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_getgrpbynam': BUILDSTDERR: Cns_procreq.c:9993:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (Cns_get_grpinfo_by_name (&thip->dbfd, groupname, &group_entry, 0, BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:10008:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getgrpmap(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:10084:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getusrbynam(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_getusrbynam': BUILDSTDERR: Cns_procreq.c:10122:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (Cns_get_usrinfo_by_name (&thip->dbfd, username, &user_entry, 0, BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:10137:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getusrbyuid(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_getusrbyuid': BUILDSTDERR: Cns_procreq.c:10175:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (Cns_get_usrinfo_by_uid (&thip->dbfd, requid, &user_entry, 0, NULL) < 0) BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:10189:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_getusrmap(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c:10269:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_modgrpmap(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_modgrpmap': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10301:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10304:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10306:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10309:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10312:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10319:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10328:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10330:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:10325:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (Cns_get_grpinfo_by_gid (&thip->dbfd, reqgid, &group_entry, 1, &rec_addr) < 0) BUILDSTDERR: ^ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10335:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10336:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:10341:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_modusrmap(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_modusrmap': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10373:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10376:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10378:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10381:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10384:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10391:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10400:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10402:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:10397:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (Cns_get_usrinfo_by_uid (&thip->dbfd, requid, &user_entry, 1, &rec_addr) < 0) BUILDSTDERR: ^ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10407:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10408:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:10413:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_rmgrpmap(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_rmgrpmap': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10444:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10447:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10449:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10451:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10456:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10467:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10469:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:10463:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (Cns_get_grpinfo_by_gid (&thip->dbfd, reqgid, &group_entry, BUILDSTDERR: ^ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10471:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10477:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10479:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:10473:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (Cns_get_grpinfo_by_name (&thip->dbfd, groupname, &group_entry, BUILDSTDERR: ^ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10482:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10483:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c: At top level: BUILDSTDERR: Cns_procreq.c:10488:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: Cns_srv_rmusrmap(magic, req_data, req_datalen, clienthost, thip) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_rmusrmap': BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10519:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10522:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EROFS); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10524:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10526:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10531:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10542:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10544:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:10538:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (Cns_get_usrinfo_by_uid (&thip->dbfd, requid, &user_entry, BUILDSTDERR: ^ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10546:4: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10552:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (EINVAL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10554:5: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: Cns_procreq.c:10548:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (Cns_get_usrinfo_by_name (&thip->dbfd, username, &user_entry, BUILDSTDERR: ^ BUILDSTDERR: In file included from Cns_procreq.c:35: BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10557:3: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (serrno); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../h/Cns_server.h:45:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (thip->dbfd.tr_started) \ BUILDSTDERR: ^ BUILDSTDERR: Cns_procreq.c:10558:2: note: in expansion of macro 'RETURN' BUILDSTDERR: RETURN (0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: Cns_procreq.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Cns_procreq.c,v $ $Revision: 12735 $ $Date: 2016-08-16 12:22:07 +0000 (Tue, 16 Aug 2016) $ CERN IT-PDP/DM Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ rm -f -f lfcthr_wrap.o BUILDSTDERR: /bin/sh: python: command not found if test "x"YES"" = "xYES" ; then SWIG_LIB=/usr/share/swig/3.0.12 /usr/bin/swig -python -I../h -DNSTYPE_LFC lfcthr.i ; fi BUILDSTDERR: /bin/sh: python: command not found cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -c -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -I../h -DNSTYPE_LFC -I/usr/lib64/perl5/CORE -Dbool=char -D_GNU_SOURCE lfc_perlwrap.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -c -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -I../h -DNSTYPE_LFC lfc_wrap.c BUILDSTDERR: lfc_wrap.c:149:11: fatal error: Python.h: No such file or directory BUILDSTDERR: # include BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:537: _lfc.so] Error 1 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... BUILDSTDERR: In file included from ../h/Cns_api.h:27, BUILDSTDERR: from ../h/lfc_api.h:166, BUILDSTDERR: from lfc_perlwrap.c:1584: BUILDSTDERR: ../h/osdep.h:25: warning: "LONGSIZE" redefined BUILDSTDERR: #define LONGSIZE 4 BUILDSTDERR: BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:28, BUILDSTDERR: from lfc_perlwrap.c:739: BUILDSTDERR: /usr/lib64/perl5/CORE/config.h:768: note: this is the location of the previous definition BUILDSTDERR: #define LONGSIZE 8 /**/ BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -c -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -I../h -DNSTYPE_LFC lfcthr_wrap.c BUILDSTDERR: lfcthr_wrap.c:149:11: fatal error: Python.h: No such file or directory BUILDSTDERR: # include BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:605: _lfcthr.so] Error 1 BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_delfiles': BUILDSTDERR: Cns_procreq.c:2032:8: warning: 'cwd' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (Cns_parsepath (&thip->dbfd, cwd, path, uid, nbgids, gids, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: clienthost, &parent_dir, &rec_addrp, &filentry, &rec_addr, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: CNS_MUST_EXIST|CNS_NOFOLLOW)) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_delfilesbypattern': BUILDSTDERR: Cns_procreq.c:2142:42: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] BUILDSTDERR: sprintf (logbuf, "delfilesbypattern %s/%s", path, filentry.name); BUILDSTDERR: ^~ ~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from Cns_procreq.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 1298 bytes into a destination of size 1042 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: lfc_perlwrap.c: In function 'boot_lfc': BUILDSTDERR: lfc_perlwrap.c:22259:3: warning: implicit declaration of function 'Cthread_init'; did you mean 'pthread_exit'? [-Wimplicit-function-declaration] BUILDSTDERR: Cthread_init(); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: pthread_exit BUILDSTDERR: Cns_procreq.c: In function 'Cns_srv_listtape': BUILDSTDERR: Cns_procreq.c:4964:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: sprintf (logbuf, "listtape %s %d", vid, bov); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from Cns_procreq.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 23 bytes into a destination of size 22 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -shared -o lfc.so lfc_perlwrap.o -L/usr/lib64/perl5/CORE -lperl -lpthread -lresolv -ldl -lm -lcrypt -lutil -lc -L../shlib -llfc -llcgdm -lnsl -lstdc++ make[1]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/ns' security: BUILDSTDERR: make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/security' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: Csec_plugin_ID.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Csec_plugin_ID.c,v $ $Revision: 1.7 $ $Date: 2008/09/29 08:02:48 $ CERN IT/ADC/CA Benjamin Couturier"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -shared -o libCsec_plugin_ID.so Csec_plugin_ID.o -lc -lpthread BUILDSTDERR: Csec_plugin_GSS_mapper.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Csec_plugin_GSS_mapper.c,v $ $Revision: 1.2 $ $Date: 2005/06/10 23:44:10 $ CERN IT/ADC/CA Benjamin Couturier"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Csec_plugin_GSS.c: In function '_Csec_delete_deleg_creds': BUILDSTDERR: Csec_plugin_GSS.c:256:23: warning: unused variable 'min_stat' [-Wunused-variable] BUILDSTDERR: OM_uint32 maj_stat, min_stat; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: Csec_plugin_GSS.c:256:13: warning: unused variable 'maj_stat' [-Wunused-variable] BUILDSTDERR: OM_uint32 maj_stat, min_stat; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: Csec_plugin_GSS.c: In function '_Csec_display_status_1': BUILDSTDERR: Csec_plugin_GSS.c:999:13: warning: variable 'maj_stat' set but not used [-Wunused-but-set-variable] BUILDSTDERR: OM_uint32 maj_stat, min_stat; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: Csec_plugin_GSS.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: Csec_plugin_GSS.c,v $ $Revision: 10272 $ $Date: 2014-03-27 16:49:52 +0000 (Thu, 27 Mar 2014) $ CERN IT/ADC/CA Benjamin Couturier"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 make[1]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/security' dli: BUILDSTDERR: make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/dli' /usr/bin/wsdl2h -z1 -c -t typemap.dat DataLocationInterface.wsdl cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_NO_IPV6_V6ONLY -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 BUILDSTDERR: Saving DataLocationInterface.h BUILDSTDERR: ** The gSOAP WSDL/WADL/XSD processor for C and C++, wsdl2h release 2.8.60 BUILDSTDERR: ** Copyright (C) 2000-2018 Robert van Engelen, Genivia Inc. BUILDSTDERR: ** All Rights Reserved. This product is provided "as is", without any warranty. BUILDSTDERR: ** The wsdl2h tool and its generated software are released under the GPL. BUILDSTDERR: ** ---------------------------------------------------------------------------- BUILDSTDERR: ** A commercial use license is available from Genivia Inc., contact@genivia.com BUILDSTDERR: ** ---------------------------------------------------------------------------- BUILDSTDERR: Reading type definitions from type map "typemap.dat" BUILDSTDERR: dlilogit.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: dlilogit(char *func, char *msg, ...) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: dlilogit.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: dlilogit.c,v $ $Revision: 4489 $ $Date: 2011-06-20 07:00:04 +0000 (Mon, 20 Jun 2011) $ CERN Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: Reading 'DataLocationInterface.wsdl'... BUILDSTDERR: Done reading 'DataLocationInterface.wsdl' BUILDSTDERR: To finalize code generation, execute: BUILDSTDERR: > soapcpp2 DataLocationInterface.h /usr/bin/soapcpp2 -c -p dli DataLocationInterface.h BUILDSTDERR: ** The gSOAP code generator for C and C++, soapcpp2 release 2.8.60 BUILDSTDERR: ** Copyright (C) 2000-2018, Robert van Engelen, Genivia Inc. BUILDSTDERR: ** All Rights Reserved. This product is provided "as is", without any warranty. BUILDSTDERR: ** The soapcpp2 tool and its generated software are released under the GPL. BUILDSTDERR: ** ---------------------------------------------------------------------------- BUILDSTDERR: ** A commercial use license is available from Genivia Inc., contact@genivia.com BUILDSTDERR: ** ---------------------------------------------------------------------------- BUILDSTDERR: Saving dliStub.h annotated copy of the source interface file BUILDSTDERR: Saving dliH.h serialization functions to #include in projects BUILDSTDERR: Compliance warning: SOAP-encoded array 'struct ArrayOfstring' is specific to SOAP encoding only and not compliant with WS-I Basic Profile 1.0a BUILDSTDERR: Using ns1 service name: DataLocationInterface BUILDSTDERR: Using ns1 service style: document BUILDSTDERR: Using ns1 service encoding: literal BUILDSTDERR: Using ns1 service location: http://localhost:8085 BUILDSTDERR: Using ns1 schema namespace: urn:DataLocationInterface BUILDSTDERR: Saving DataLocationInterface.listReplicas.req.xml sample SOAP/XML request BUILDSTDERR: Saving DataLocationInterface.listReplicas.res.xml sample SOAP/XML response BUILDSTDERR: Saving DataLocationInterface.nsmap namespace mapping table BUILDSTDERR: Saving dliClient.c client call stub functions BUILDSTDERR: Saving dliClientLib.c client stubs with serializers (use only for libs) BUILDSTDERR: Saving dliServer.c server request dispatcher BUILDSTDERR: Saving dliServerLib.c server request dispatcher with serializers (use only for libs) BUILDSTDERR: Saving dliC.c serialization functions BUILDSTDERR: Compilation successful cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_NO_IPV6_V6ONLY -DWITH_DOM -c -o dli.o dli.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_NO_IPV6_V6ONLY -DWITH_DOM -c -o dliC.o dliC.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_NO_IPV6_V6ONLY -DWITH_DOM -c -o dliServer.o dliServer.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_NO_IPV6_V6ONLY -DWITH_DOM -c -o lfc-dli-client.o lfc-dli-client.c BUILDSTDERR: dli.c:29:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: dli_main(main_args) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: dli.c: In function 'dli_main': BUILDSTDERR: dli.c:52:5: warning: implicit declaration of function 'dlilogit'; did you mean 'Cvlogit'? [-Wimplicit-function-declaration] BUILDSTDERR: dlilogit (func, "Invalid logfile: %s\n", optarg); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: Cvlogit BUILDSTDERR: dli.c: At top level: BUILDSTDERR: dli.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(argc, argv) BUILDSTDERR: ^~~~ BUILDSTDERR: lfc-dli-client.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(int argc, char **argv) BUILDSTDERR: ^~~~ BUILDSTDERR: dli.c:7:13: warning: 'sccsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char sccsid[] = "@(#)$RCSfile: dli.c,v $ $Revision: 4505 $ $Date: 2011-06-22 05:27:18 +0000 (Wed, 22 Jun 2011) $ CERN IT-GD/CT Jean-Philippe Baud"; BUILDSTDERR: ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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_NO_IPV6_V6ONLY -DWITH_DOM -c -o dliClient.o dliClient.c LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-dli dli.o dlilogit.o dliC.o dliServer.o -pthread -lgsoap -L../shlib -llfc -ldl -llcgdm -lstdc++ LD_LIBRARY_PATH=../shlib cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -o lfc-dli-client lfc-dli-client.o dliC.o dliClient.o -lgsoap make[1]: Leaving directory '/builddir/build/BUILD/lcgdm-1.10.0/lfc-mysql/lcgdm-1.10.0/dli' BUILDSTDERR: make: *** [Makefile:108: all] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.E54O74 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.E54O74 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lcgdm.spec