Installing /u/cmcl/rpmbuild/SRPMS/lustre-2.10.2-1.el7.centos.src.rpm
Executing(%prep): /bin/sh -e /u/cmcl/rpmbuild/TMP/rpm-tmp.AUA9TT
+ umask 022
+ cd /u/cmcl/rpmbuild/BUILD
+ cd /u/cmcl/rpmbuild/BUILD
+ rm -rf lustre-2.10.2
+ /usr/bin/gzip -dc /u/cmcl/rpmbuild/SOURCES/lustre-2.10.2.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd lustre-2.10.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (lustre-2.10.2.patch):'
Patch #0 (lustre-2.10.2.patch):
+ /usr/bin/cat /u/cmcl/rpmbuild/SOURCES/lustre-2.10.2.patch
+ /usr/bin/patch -p1 --fuzz=0
patching file lustre/include/lustre_dlm_flags.h
patching file lustre/include/lustre_dlm.h
patching file lustre/ldlm/ldlm_lock.c
patching file lustre/ldlm/ldlm_request.c
patching file lustre/ldlm/ldlm_resource.c
patching file lustre/ptlrpc/client.c
+ ln lustre/ChangeLog ChangeLog-lustre
+ ln lnet/ChangeLog ChangeLog-lnet
+ exit 0
Executing(%build): /bin/sh -e /u/cmcl/rpmbuild/TMP/rpm-tmp.PiSlKl
+ umask 022
+ cd /u/cmcl/rpmbuild/BUILD
+ cd lustre-2.10.2
+ cd /u/cmcl/rpmbuild/BUILD/lustre-2.10.2
+ CONFIGURE_ARGS=
+ '[' -n '' ']'
+ CFLAGS='-g -O2 -Werror'
+ export CFLAGS
+ CXXFLAGS='-g -O2 -Werror'
+ export CXXFLAGS
+ FFLAGS='-g -O2 -Werror -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-g -O2 -Werror -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro '
+ export LDFLAGS
+ '[' 1 == 1 ']'
+ '[' x86_64 == ppc64le ']'
++ find . -name config.guess -o -name config.sub
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config/config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config/config.guess
++ basename ./config/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config/config.guess'
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config/config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config/config.sub
++ basename ./config/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config/config.sub'
+ eval ./configure --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-tests --enable-utils --enable-modules --without-zfs --disable-dlc --disable-snmp --with-systemdsystemunitdir=/usr/lib/systemd/system --with-linux=/lib/modules/3.10.0-693.2.2.el7.x86_64/source --with-linux-obj=/lib/modules/3.10.0-693.2.2.el7.x86_64/build --with-kmp-moddir=extra/lustre
++ ./configure --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-tests --enable-utils --enable-modules --without-zfs --disable-dlc --disable-snmp --with-systemdsystemunitdir=/usr/lib/systemd/system --with-linux=/lib/modules/3.10.0-693.2.2.el7.x86_64/source --with-linux-obj=/lib/modules/3.10.0-693.2.2.el7.x86_64/build --with-kmp-moddir=extra/lustre
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '3407' is supported by ustar format... yes
checking whether GID '20' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking dependency style of gcc... none
checking for rpmbuild... /bin/rpmbuild
configure: Lustre base checks
==============================================================================
checking whether to configure just enough for make dist... no
checking if this distro uses dpkg... no
checking for ranlib... (cached) ranlib
checking for ld... /bin/ld -m elf_x86_64
checking for objdump... (cached) objdump
checking for strip... (cached) strip
checking size of unsigned long long... 8
checking whether to use OSD addon... no
checking whether to build Lustre docs... no
checking whether to build Lustre manpages... yes
checking whether to build Lustre utilities... yes
checking whether to build Lustre tests... yes
checking whether to build Lustre client support... yes
checking whether mpitests can be built... no
checking whether to build Linux kernel modules... yes (linux-gnu)
checking for Linux sources... /usr/src/kernels/3.10.0-693.2.2.el7.x86_64
checking for /usr/src/kernels/3.10.0-693.2.2.el7.x86_64... yes
checking for Linux objects... /usr/src/kernels/3.10.0-693.2.2.el7.x86_64
checking for /usr/src/kernels/3.10.0-693.2.2.el7.x86_64/.config... yes
checking for /boot/kernel.h... no
checking for /var/adm/running-kernel.h... no
checking for /usr/src/kernels/3.10.0-693.2.2.el7.x86_64/include/generated/autoconf.h... yes
checking for /usr/src/kernels/3.10.0-693.2.2.el7.x86_64/include/linux/version.h... no
checking for /usr/src/kernels/3.10.0-693.2.2.el7.x86_64/include/generated/uapi/linux/version.h... yes
checking for /usr/src/kernels/3.10.0-693.2.2.el7.x86_64/include/linux/kconfig.h... yes
checking for external module build target... M
checking that modules can be built at all... yes
checking for Linux kernel utsrelease... 3.10.0-693.2.2.el7.x86_64
checking for RedHat kernel release number... 74
checking for Linux kernel module package directory... extra/lustre
checking for the name of module symbol version file... Module.symvers
checking if Linux kernel was built with CONFIG_MODULES... yes
checking if Linux kernel was built with CONFIG_MODVERSIONS... yes
checking if Linux kernel was built with CONFIG_KALLSYMS... yes
checking if Linux kernel module loading is possible... yes
configure: LibCFS kernel checks
==============================================================================
checking whether to use tunable 'panic_dumplog' support... no
checking if 'struct stacktrace_ops' has 'walk_stack' field... yes
checking if 'shrinker' want self pointer in handler... no
checking if 'ctl_table' has a 'ctl_name' field... no
checking if Linux kernel has 'kstrtoul'... yes
checking if 'dump_trace' want address... yes
checking if 'shrink_control' is present... yes
checking if 'stacktrace_ops.warning' is exist... no
checking if 'reinit_completion' exists... yes
checking for linux/uidgid.h... yes
checking if 'i_uid_read' is present... yes
checking if Linux kernel exports 'sock_alloc_file'... yes
checking if 'sock_alloc_file' takes 3 arguments... yes
checking if Linux kernel was built with CONFIG_CRC32 in or as module... yes
checking if Linux kernel was built with CONFIG_CRYPTO_CRC32_PCLMUL in or as module... yes
checking if Linux kernel was built with CONFIG_CRYPTO_CRC32C_INTEL in or as module... yes
checking does function 'ktime_get_ts64' exist... yes
checking does function 'ktime_add' exist... yes
checking does function 'ktime_after' exist... yes
checking does function 'ktime_before' exist... yes
checking shrinker has 'count_objects'... no
checking does function 'hlist_add_after' exist... no
checking does 'struct timespec64' exist... yes
checking does function 'ktime_get_real_ts64' exist... yes
checking does function 'ktime_get_real_seconds' exist... no
checking does function 'ktime_get_real_ns' exist... yes
checking does function 'ktime_to_timespec64' exist... yes
checking does function 'timespec64_sub' exist... yes
checking does function 'timespec64_to_ktime' exist... yes
checking does function 'ktime_get_seconds' exist... no
checking does function 'cpumap_print_to_pagebuf' exist... yes
checking does function 'topology_sibling_cpumask' exist... yes
checking for asm/fpu/api.h... no
checking does crypto hash helper functions exist... no
checking if 'struct stacktrace_ops' address function returns an int... no
checking if 'get_user_pages()' takes 6 arguments... no
checking if 'struct stacktrace_ops' exists... yes
checking if 'get_user_pages()' takes gup_flags in arguments... no
checking if libcfs supports CPU hotplug state machine... no
checking for linux/sched/signal.h... no
configure: LNet kernel checks
==============================================================================
checking whether to enable CPU affinity support... yes
checking if Linux kernel has cpu affinity support... yes
checking whether to enable tunable backoff TCP support... yes
checking if Linux kernel has tunable backoff TCP support... no
checking whether to use Compat RDMA... no
checking whether to use any OFED backport headers... no
checking whether to enable OpenIB gen2 support... yes
checking if Linux kernel has kthread_worker... yes
checking if 'rdma_create_id' wants four args... no
checking if 'rdma_create_id' wants five args... yes
checking if 'struct ib_cq_init_attr' is used... yes
checking if 'ib_alloc_fast_reg_mr' exists... no
checking if 'ib_get_dma_mr' exists... no
checking if 'struct ib_rdma_wr' is defined... yes
checking if 4arg 'ib_map_mr_sg' exists... no
checking if 5arg 'ib_map_mr_sg' exists... yes
checking if 'struct ib_device' has member 'attrs'... yes
checking if 2arg 'ib_alloc_pd' exists... yes
checking if function 'ib_inc_rkey' is defined... yes
checking whether to enable GNI lnd... no
checking if Linux kernel has 'sk_sleep'... yes
checking if 'tcp_sendpage' first parameter is socket... no
checking if Linux kernel exports 'kmap_to_page'... no
checking if 'sk_data_ready' takes only one argument... no
checking if 'sock_create_kern' first parameter is net... no
checking if 'struct sock' accept function requires a bool argument... no
checking ext4 source directory... /usr/src/kernels/3.10.0-693.2.2.el7.x86_64/../../debug/kernel-3.10.0-693.2.2.el7/linux-3.10.0-693.2.2.el7.x86_64/fs/ext4
checking for /usr/src/kernels/3.10.0-693.2.2.el7.x86_64/../../debug/kernel-3.10.0-693.2.2.el7/linux-3.10.0-693.2.2.el7.x86_64/fs/ext4/dir.c... yes
checking for /usr/src/kernels/3.10.0-693.2.2.el7.x86_64/../../debug/kernel-3.10.0-693.2.2.el7/linux-3.10.0-693.2.2.el7.x86_64/fs/ext4/file.c... yes
checking for /usr/src/kernels/3.10.0-693.2.2.el7.x86_64/../../debug/kernel-3.10.0-693.2.2.el7/linux-3.10.0-693.2.2.el7.x86_64/fs/ext4/inode.c... yes
checking for /usr/src/kernels/3.10.0-693.2.2.el7.x86_64/../../debug/kernel-3.10.0-693.2.2.el7/linux-3.10.0-693.2.2.el7.x86_64/fs/ext4/super.c... yes
configure: Lustre kernel checks
==============================================================================
checking whether to enable Lustre pinger support... yes
checking whether to enable data checksum support... yes
checking whether to enable a write with the health check... no
checking whether to enable lru self-adjusting... yes
checking for name_to_handle_at... yes
checking whether to enable gss support... auto
checking whether to enable gss keyring backend... auto
checking if Linux kernel was built with CONFIG_KEYS in or as module... yes
checking for keyctl_search in -lkeyutils... yes
checking if crypto_hash API is supported... yes
checking if 'struct cred' has member 'tgcred'... no
checking if 'key_type->instantiate' has two args... yes
checking if Linux kernel was built with CONFIG_SUNRPC in or as module... yes
checking if Linux kernel was built with CONFIG_CRYPTO_MD5 in or as module... yes
checking if Linux kernel was built with CONFIG_CRYPTO_SHA1 in or as module... yes
checking if Linux kernel was built with CONFIG_CRYPTO_SHA256 in or as module... yes
checking if Linux kernel was built with CONFIG_CRYPTO_SHA512 in or as module... yes
checking for Kerberos v5... /usr
The current KRBDIR is /usr
checking for gss_krb5_export_lucid_sec_context in -lgssapi_krb5... yes
checking for gss_krb5_set_allowable_enctypes in -lgssapi_krb5... yes
checking for gss_krb5_ccache_name in -lgssapi_krb5... yes
checking for krb5_get_error_message in -lgssapi_krb5... yes
checking for krb5_get_init_creds_opt_set_addressless in -lgssapi_krb5... no
checking for krb5int_derive_key in -lgssapi_krb5... yes
checking for krb5_derive_key in -lgssapi_krb5... no
checking whether OpenSSL has functions needed for SSK... yes
checking if 'blk_queue_max_segments' is defined... yes
checking if 'struct xattr_handler' has flags field... yes
checking if 'quotactl_ops.set_dqblk' takes struct fs_disk_quota... no
checking if 'quotactl_ops.set_dqblk' takes struct kqid & fs_disk_quota... yes
checking if 'dquot_suspend' is defined... yes
checking if '__add_wait_queue_exclusive' exists... yes
checking if 'file_operations.fsync' takes 4 arguments... yes
checking if Linux kernel exports 'simple_setattr'... yes
checking if Linux kernel exports 'truncate_complete_page'... no
checking if Linux kernel exports 'remove_from_page_cache'... no
checking if Linux kernel exports 'delete_from_page_cache'... yes
checking if 'fs_struct.lock' use rwlock... no
checking if 'super_operations.evict_inode' exist... yes
checking if 'kernel_locked' is defined... no
checking if Linux kernel exports 'blkdev_get_by_dev'... yes
checking if 'generic_permission' take 2 arguments... yes
checking if 'dcache_lock' is exist... no
checking if 'inode.i_rcu' exists... yes
checking if 'dentry_operations.d_compare()' taken 7 arguments... no
checking if 'dentry_operations.d_delete()' has const declare on first parameter... yes
checking if 'struct blk_plug' exists... yes
checking if Linux kernel was built with CONFIG_FHANDLE in or as module... yes
checking if 'file_system_type' has 'mount' field... yes
checking if 'inode_operations' has '.truncate' member function... no
checking if 'inode_owner_or_capable' exist... yes
checking if security_inode_init_security takes a callback... yes
checking if 'dirty_inode' super_operation takes flag... yes
checking for sched.h... yes
checking for setns... yes
checking if 'lock-manager' ops renamed to 'lm_xxx'... yes
checking if 'inode->i_alloc_sem' is killed and use inode_dio_wait... yes
checking if 'inode_operations' has '.get_acl' member function... yes
checking if Linux kernel exports 'generic_file_llseek_size'... yes
checking if 'inode_operations->permission' has two args... yes
checking radix_tree_exceptional_entry exist... yes
checking for /usr/src/kernels/3.10.0-693.2.2.el7.x86_64/include/linux/loop.h... yes
checking if have 'HAVE_LOOP_CTL_GET_FREE'... yes
checking if 'inode->i_nlink' is protected from direct modification... yes
checking for /usr/src/kernels/3.10.0-693.2.2.el7.x86_64/include/linux/migrate.h... yes
checking if 'address_space_operations.migratepage' has 4 args... yes
checking if 'super_operations' use 'dentry' as parameter... yes
checking if 'inode_operations' use 'umode_t' as parameter... yes
checking if have 'cache_register'... no
checking if have 'd_make_root'... yes
checking if 'kmap_atomic' has only 1 argument... yes
checking if have 'clear_inode'... yes
checking if 'encode_fh' have parent inode as parameter... yes
checking if Linux kernel has 'generic_file_llseek_size' with 5 args... yes
checking if 'i_dentry/d_alias' uses 'list'... no
checking if 'dentry_open' uses 'struct path' as first argument... yes
checking if 'iop' has 'atomic_open'... yes
checking if kernel supports wrapped FS freeze functions... yes
checking if 'posix_acl_to_xattr' takes 'struct user_namespace'... yes
checking if 'struct file' has member 'f_inode'... yes
checking if file_inode() exists... yes
checking if 'sunrpc_cache_pipe_upcall' takes 3 args... no
checking if 'hlist_for_each_entry' has 3 args... yes
checking if 'bio_end_sector' is defined... yes
checking if 'is_sxid' is defined... yes
checking if 'remove_proc_subtree' is defined... yes
checking if 'proc_remove' is defined... yes
checking if get_projid exists... no
checking if 'security_dentry_init_security' is defined... yes
checking if 'address_space_operations.invalidatepage' requires 3 arguments... no
checking if 'dir_context' exist... no
checking if 'd_compare' taken 5 arguments... yes
checking if 'd_count' exist... yes
checking if hlist 'dentry.d_u.d_alias' exist... no
checking if 'dentry.d_child' exist... no
checking if 'struct nsproxy' has 'pid_ns_for_children'... no
checking if 'truncate_pagecache' with 'old_size' parameter... no
checking if 'struct kiocb' with 'ki_left' member... yes
checking if Linux kernel has 'vfs_rename' with 5 args... no
checking if Linux kernel has 'vfs_unlink' with 3 args... yes
checking if Linux kernel has struct bvec_iter... no
checking if Linux kernel has truncate_inode_pages_final... yes
checking if 'inode_operations->rename' taken flags as argument... no
checking if 'inode_operations' has '.set_acl' member function... no
checking if Linux kernel has 'vfs_rename' with 6 args... yes
checking if direct IO uses iov_iter... no
checking if 'iov_iter_init' takes a tag... no
checking if 'iov_iter_truncate' exists ... yes
checking if 'file_operations.read|write_iter' exist... no
checking if struct key_match field exist... no
checking if percpu_counter_init uses GFP_* flag as argument... yes
checking if filldir_t uses struct dir_context... no
checking if struct kiocb has ki_nbytes field... no
checking if 'quotactl_ops.set_dqblk' takes struct qc_dqblk... no
checking if struct address_space has backing_dev_info... yes
checking if have 'BDI_CAP_MAP_COPY'... yes
checking if cancel_dirty_page still exist... yes
checking if iov_iter_rw exist... no
checking if Linux kernel exports 'new_sync_read'... no
checking if cancel_dirty_page with one argument exist... no
checking if 'bio_endio' with one argument exist... no
checking if symlink inode operations have struct nameidata argument... yes
checking if 'struct cache_head' has 'cache_list' field... no
checking if 'struct xattr_handler' functions pass in handler pointer... no
checking if 'locks_lock_file_wait' exists... yes
checking if 'struct key' has 'payload.data' as an array... no
checking if Linux kernel has bi_cnt in struct bio... yes
checking if Linux kernel has bi_rw in struct bio... yes
checking if submit_bio takes two arguments... yes
checking if kernel has clean_bdev_aliases... no
checking if Linux kernel has 'file_dentry'... yes
checking if 'inode_lock' is defined... yes
checking if 'iop' has 'get_link'... no
checking if 'in_compat_syscall' is defined... yes
checking if 'struct xattr_handler' functions have inode parameter... no
checking if '->direct_IO()' taken 2 arguments... no
checking if 'generic_write_sync()' taken 2 arguments... no
checking if 'posix_acl_valid' takes 'struct user_namespace'... no
checking if 'd_compare' taken 4 arguments... no
checking if 'full_name_hash' taken 3 arguments... no
checking if 'struct posix_acl_xattr_{header,entry}' defined... no
checking if 'inode_operations' has {get,set,remove}xattr members... yes
checking if 'struct group_info' has member 'gid'... no
checking if '__vfs_setxattr' helper is available... no
checking if 'posix_acl_update_mode' exists... yes
checking if 'generic_readlink' still exist... yes
checking if 'struct vm_fault' replaced virtual_address with address field... no
checking if 'inode_operations' getattr member can gather advance stats... no
checking if 'struct vm_operations' removed struct vm_area_struct... no
checking if stack size is at least 8k... yes
checking if kernel has 64-bit quota limits support... yes
checking if Linux kernel was built with CONFIG_QUOTA in or as module... yes
checking which ldiskfs series to use... 3.10-rhel7.4.series
checking for quilt... no
checking for patch... /bin/patch
checking if 'ext4_free_blocks' needs 'struct buffer_head'... yes
checking if Linux kernel has 'ext_pblock'... no
checking if ext4_journal_start takes 3 arguments... yes
checking if kernel has ext4_map_blocks... yes
checking if ext4_bread takes 4 arguments... no
checking if i_dquot is in ext4_inode_info... no
checking whether to build ldiskfs... yes
checking whether to enable zfs... no
checking whether to build Lustre server support... yes
checking whether to enable nodemap proc debug... no
checking whether to enable CDEBUG, CWARN... yes
checking whether to enable ENTRY/EXIT... yes
checking whether to enable LASSERT, LASSERTF... yes
checking whether to enable quota support global control... yes
checking sys/quota.h usability... yes
checking sys/quota.h presence... yes
checking for sys/quota.h... yes
checking libmount/libmount.h usability... no
checking libmount/libmount.h presence... no
checking for libmount/libmount.h... no
checking whether to build with libmount... no
checking for ./snmp/lustre-snmp.c... yes
checking whether to build iokit... yes
checking whether to use alternate names for e2fsprogs... disabled
configure: LibCFS core checks
==============================================================================
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking linux/version.h usability... yes
checking linux/version.h presence... yes
checking for linux/version.h... yes
checking for spinlock_t... no
checking for strnlen... yes
checking for strlcpy... no
checking for strlcat... no
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking for sys/types.h... (cached) yes
checking linux/unistd.h usability... yes
checking linux/unistd.h presence... yes
checking for linux/unistd.h... yes
checking for unistd.h... (cached) yes
checking for linux/random.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for asm/types.h... (cached) yes
checking for endian.h... (cached) yes
checking for gethostbyname... yes
configure: LibCFS required packages checks
==============================================================================
checking whether to enable readline support... yes
checking for readline in -lreadline... yes
checking whether to use libpthread for libcfs library... yes
checking for pthread_create in -lpthread... yes
configure: LNet core checks
==============================================================================
checking for netdb.h... (cached) yes
checking for gethostbyname... (cached) yes
checking for strnlen... (cached) yes
checking whether to enable 'efence' debugging support... no
checking for non-default maximum LNET payload... no
checking for yaml_parser_initialize in -lyaml... no
checking whether to enable dlc... no
configure: Lustre core checks
==============================================================================
checking for maximum OBD ioctl size... 8192 bytes
checking for maximum number of MDS threads... 
checking for netdb.h... (cached) yes
checking for endian.h... (cached) yes
checking for gethostbyname... (cached) yes
checking blkid/blkid.h usability... no
checking blkid/blkid.h presence... no
checking for blkid/blkid.h... no
checking ext2fs/ext2fs.h usability... no
checking ext2fs/ext2fs.h presence... no
checking for ext2fs/ext2fs.h... no
checking for is_selinux_enabled in -lselinux... yes
checking selinux/selinux.h usability... yes
checking selinux/selinux.h presence... yes
checking for selinux/selinux.h... yes
checking whether to report minimum OST free space... no
checking whether to randomly failing memory alloc... yes
checking whether to check invariants (expensive cpu-wise)... no
checking whether to track references with lu_ref... no
checking whether to enable page state tracking... no
checking for pkg-config... /bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking systemd unit file directory... /usr/lib/systemd/system
checking whether to try to build SNMP support... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libcfs/Makefile
config.status: creating libcfs/autoMakefile
config.status: creating libcfs/autoconf/Makefile
config.status: creating libcfs/include/Makefile
config.status: creating libcfs/include/libcfs/Makefile
config.status: creating libcfs/include/libcfs/linux/Makefile
config.status: creating libcfs/include/libcfs/util/Makefile
config.status: creating libcfs/libcfs/Makefile
config.status: creating libcfs/libcfs/autoMakefile
config.status: creating libcfs/libcfs/linux/Makefile
config.status: creating libcfs/libcfs/util/Makefile
config.status: creating Makefile
config.status: creating autoMakefile
config.status: creating config/Makefile
config.status: creating Rules
config.status: creating lustre.spec
config.status: creating lustre-dkms.spec
config.status: creating ldiskfs/Makefile
config.status: creating ldiskfs/autoMakefile
config.status: creating lustre-iokit/Makefile
config.status: creating lustre-iokit/obdfilter-survey/Makefile
config.status: creating lustre-iokit/ost-survey/Makefile
config.status: creating lustre-iokit/sgpdd-survey/Makefile
config.status: creating lustre-iokit/mds-survey/Makefile
config.status: creating lustre-iokit/ior-survey/Makefile
config.status: creating lustre-iokit/stats-collect/Makefile
config.status: creating lnet/Makefile
config.status: creating lnet/autoMakefile
config.status: creating lnet/autoconf/Makefile
config.status: creating lnet/doc/Makefile
config.status: creating lnet/include/Makefile
config.status: creating lnet/include/lnet/Makefile
config.status: creating lnet/klnds/Makefile
config.status: creating lnet/klnds/autoMakefile
config.status: creating lnet/klnds/o2iblnd/Makefile
config.status: creating lnet/klnds/o2iblnd/autoMakefile
config.status: creating lnet/klnds/gnilnd/Makefile
config.status: creating lnet/klnds/gnilnd/autoMakefile
config.status: creating lnet/klnds/socklnd/Makefile
config.status: creating lnet/klnds/socklnd/autoMakefile
config.status: creating lnet/lnet/Makefile
config.status: creating lnet/lnet/autoMakefile
config.status: creating lnet/selftest/Makefile
config.status: creating lnet/selftest/autoMakefile
config.status: creating lnet/utils/Makefile
config.status: creating lnet/utils/lnetconfig/Makefile
config.status: creating lustre/Makefile
config.status: creating lustre/autoMakefile
config.status: creating lustre/autoconf/Makefile
config.status: creating lustre/conf/Makefile
config.status: creating lustre/contrib/Makefile
config.status: creating lustre/doc/Makefile
config.status: creating lustre/include/Makefile
config.status: creating lustre/include/lustre/Makefile
config.status: creating lustre/include/uapi/linux/Makefile
config.status: creating lustre/kernel_patches/targets/3.10-rhel7.target
config.status: creating lustre/kernel_patches/targets/2.6-rhel6.9.target
config.status: creating lustre/kernel_patches/targets/2.6-rhel6.8.target
config.status: creating lustre/kernel_patches/targets/2.6-rhel6.7.target
config.status: creating lustre/kernel_patches/targets/2.6-rhel6.6.target
config.status: creating lustre/kernel_patches/targets/2.6-rhel6.target
config.status: creating lustre/kernel_patches/targets/2.6-rhel5.target
config.status: creating lustre/kernel_patches/targets/2.6-sles11.target
config.status: creating lustre/kernel_patches/targets/3.0-sles11.target
config.status: creating lustre/kernel_patches/targets/3.0-sles11sp3.target
config.status: creating lustre/kernel_patches/targets/3.0-sles11sp4.target
config.status: creating lustre/kernel_patches/targets/3.12-sles12.target
config.status: creating lustre/kernel_patches/targets/4.4-sles12.target
config.status: creating lustre/kernel_patches/targets/4.4-sles12sp3.target
config.status: creating lustre/kernel_patches/targets/2.6-fc11.target
config.status: creating lustre/kernel_patches/targets/2.6-fc12.target
config.status: creating lustre/kernel_patches/targets/2.6-fc15.target
config.status: creating lustre/kernel_patches/targets/3.x-fc18.target
config.status: creating lustre/ldlm/Makefile
config.status: creating lustre/fid/Makefile
config.status: creating lustre/fid/autoMakefile
config.status: creating lustre/llite/Makefile
config.status: creating lustre/llite/autoMakefile
config.status: creating lustre/lov/Makefile
config.status: creating lustre/lov/autoMakefile
config.status: creating lustre/mdc/Makefile
config.status: creating lustre/mdc/autoMakefile
config.status: creating lustre/lmv/Makefile
config.status: creating lustre/lmv/autoMakefile
config.status: creating lustre/lfsck/Makefile
config.status: creating lustre/lfsck/autoMakefile
config.status: creating lustre/mdt/Makefile
config.status: creating lustre/mdt/autoMakefile
config.status: creating lustre/mdd/Makefile
config.status: creating lustre/mdd/autoMakefile
config.status: creating lustre/fld/Makefile
config.status: creating lustre/fld/autoMakefile
config.status: creating lustre/obdclass/Makefile
config.status: creating lustre/obdclass/autoMakefile
config.status: creating lustre/obdclass/linux/Makefile
config.status: creating lustre/obdecho/Makefile
config.status: creating lustre/obdecho/autoMakefile
config.status: creating lustre/ofd/Makefile
config.status: creating lustre/ofd/autoMakefile
config.status: creating lustre/osc/Makefile
config.status: creating lustre/osc/autoMakefile
config.status: creating lustre/ost/Makefile
config.status: creating lustre/ost/autoMakefile
config.status: creating lustre/osd-ldiskfs/Makefile
config.status: creating lustre/osd-ldiskfs/autoMakefile
config.status: creating lustre/osd-zfs/Makefile
config.status: creating lustre/osd-zfs/autoMakefile
config.status: creating lustre/mgc/Makefile
config.status: creating lustre/mgc/autoMakefile
config.status: creating lustre/mgs/Makefile
config.status: creating lustre/mgs/autoMakefile
config.status: creating lustre/target/Makefile
config.status: creating lustre/ptlrpc/Makefile
config.status: creating lustre/ptlrpc/autoMakefile
config.status: creating lustre/ptlrpc/gss/Makefile
config.status: creating lustre/ptlrpc/gss/autoMakefile
config.status: creating lustre/quota/Makefile
config.status: creating lustre/quota/autoMakefile
config.status: creating lustre/scripts/Makefile
config.status: creating lustre/scripts/systemd/Makefile
config.status: creating lustre/tests/Makefile
config.status: creating lustre/tests/mpi/Makefile
config.status: creating lustre/tests/kernel/Makefile
config.status: creating lustre/tests/kernel/autoMakefile
config.status: creating lustre/utils/Makefile
config.status: creating lustre/utils/gss/Makefile
config.status: creating lustre/osp/Makefile
config.status: creating lustre/osp/autoMakefile
config.status: creating lustre/lod/Makefile
config.status: creating lustre/lod/autoMakefile
config.status: creating snmp/Makefile
config.status: creating snmp/autoconf/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

CC:            gcc
LD:            /bin/ld -m elf_x86_64
CPPFLAGS:      -include /u/cmcl/rpmbuild/BUILD/lustre-2.10.2/undef.h -include /u/cmcl/rpmbuild/BUILD/lustre-2.10.2/config.h -I/u/cmcl/rpmbuild/BUILD/lustre-2.10.2/libcfs/include -I/u/cmcl/rpmbuild/BUILD/lustre-2.10.2/lnet/include -I/u/cmcl/rpmbuild/BUILD/lustre-2.10.2/lustre/include -I/u/cmcl/rpmbuild/BUILD/lustre-2.10.2/lustre/include/uapi 
CFLAGS:        -g -O2 -Werror -Wall -Werror
EXTRA_KCFLAGS: -include /u/cmcl/rpmbuild/BUILD/lustre-2.10.2/undef.h -include /u/cmcl/rpmbuild/BUILD/lustre-2.10.2/config.h  -g -I/u/cmcl/rpmbuild/BUILD/lustre-2.10.2/libcfs/include -I/u/cmcl/rpmbuild/BUILD/lustre-2.10.2/lnet/include -I/u/cmcl/rpmbuild/BUILD/lustre-2.10.2/lustre/include

Type 'make' to build Lustre.
+ make -j16 -s
Making all in ldiskfs
Applying ext4 patches: rhel7/ext4-inode-version.patch rhel7/ext4-lookup-dotdot.patch rhel6.3/ext4-print-inum-in-htree-warning.patch rhel7.4/ext4-prealloc.patch rhel7/ext4-mballoc-extra-checks.patch rhel7/ext4-misc.patch rhel7/ext4-osd-iop-common.patch rhel7/ext4-hash-indexed-dir-dotdot-update.patch rhel7/ext4-kill-dx-root.patch rhel7/ext4-mballoc-pa-free-mismatch.patch rhel7.3/ext4-data-in-dirent.patch rhel7.2/ext4-large-eas.patch rhel7.3/ext4-disable-mb-cache.patch rhel7/ext4-nocmtime.patch rhel7.4/ext4-large-dir.patch rhel7.4/ext4-pdirop.patch rhel7/ext4-max-dir-size.patch rhel7/ext4-remove-truncate-warning.patch rhel7.3/ext4-corrupted-inode-block-bitmaps-handling-patches.patch rhel7/ext4-give-warning-with-dir-htree-growing.patch rhel7/ext4-mmp-brelse.patch rhel7/ext4-jcb-optimization.patch rhel7/ext4_s_max_ext_tree_depth.patch rhel7.4/ext4-remove-i_data_sem-from-xattr.patch rhel7/ext4-projid-ignore-maxquotas.patch rhel7/ext4-projid-feature-support.patch rhel7/ext4-projid-quotas.patch rhel7/ext4-projid-xfs-ioctls.patch rhel7.4/ext4-fix-xattr-shifting-when-expanding-inodes.patch rhel7.4/ext4-attach-jinode-in-writepages.patch rhel6.3/ext4-dont-check-in-ro.patch rhel7.4/ext4-dont-check-before-replay.patch
Replacing 'ext4' with 'ldiskfs': xattr.h acl.h mballoc.h truncate.h extents_status.h ext4.h ext4_extents.h ext4_jbd2.h ioctl.c dir.c fsync.c indirect.c ext4_jbd2.c migrate.c page-io.c xattr_user.c acl.c extents.c namei.c move_extent.c xattr.c symlink.c inode.c file.c mmp.c super.c hash.c xattr_security.c bitmap.c ialloc.c extents_status.c block_validity.c mballoc.c inline.c balloc.c xattr_trusted.c resize.c mmp.c htree_lock.c ext4.h ext4_extents.h ext4_jbd2.h ext4.h htree_lock.h
Making all in .
In file included from /u/cmcl/rpmbuild/BUILD/lustre-2.10.2/lustre/include/obd.h:39:0,
                 from /u/cmcl/rpmbuild/BUILD/lustre-2.10.2/lustre/include/obd_class.h:39,
                 from /u/cmcl/rpmbuild/BUILD/lustre-2.10.2/lustre/ptlrpc/../../lustre/ldlm/ldlm_lock.c:43:
/u/cmcl/rpmbuild/BUILD/lustre-2.10.2/lustre/ptlrpc/../../lustre/ldlm/ldlm_lock.c: In function 'ldlm_cancel_callback':
/u/cmcl/rpmbuild/BUILD/lustre-2.10.2/lustre/include/lustre_lib.h:357:9: error: implicit declaration of function 'is_bl_done' [-Werror=implicit-function-declaration]
  struct l_wait_info *__info = (info);                    \
         ^
/u/cmcl/rpmbuild/BUILD/lustre-2.10.2/lustre/ptlrpc/../../lustre/ldlm/ldlm_lock.c:2330:3: note: in expansion of macro 'l_wait_event'
   l_wait_event(lock->l_waitq, is_bl_done(lock), &lwi);
   ^
cc1: all warnings being treated as errors
make[6]: *** [/u/cmcl/rpmbuild/BUILD/lustre-2.10.2/lustre/ptlrpc/../../lustre/ldlm/ldlm_lock.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [/u/cmcl/rpmbuild/BUILD/lustre-2.10.2/lustre/ptlrpc] Error 2
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [/u/cmcl/rpmbuild/BUILD/lustre-2.10.2/lustre] Error 2
make[3]: *** [_module_/u/cmcl/rpmbuild/BUILD/lustre-2.10.2] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
error: Bad exit status from /u/cmcl/rpmbuild/TMP/rpm-tmp.PiSlKl (%build)


RPM build errors:
    Bad exit status from /u/cmcl/rpmbuild/TMP/rpm-tmp.PiSlKl (%build)
