[lustre-discuss] Lustre with ZFS Install

Nick dan nickdan2999 at gmail.com
Tue Jan 24 01:40:37 PST 2023


Hi

I have attached the text file. I have got the following error on
./configure.
configure: error: Cannot enable gss_keyring. See above for details.

Can you help with this?

On Tue, 24 Jan 2023 at 14:47, Degremont, Aurelien <degremoa at amazon.fr>
wrote:

> Hi
>
>
>
> It looks like the ‘./configure’ command was not successful. Did you check
> it?
>
> Also, please copy/paste terminal output as text and not as a picture.
>
>
>
> Aurélien
>
>
>
> *De : *lustre-discuss <lustre-discuss-bounces at lists.lustre.org> au nom de
> Nick dan via lustre-discuss <lustre-discuss at lists.lustre.org>
> *Répondre à : *Nick dan <nickdan2999 at gmail.com>
> *Date : *mardi 24 janvier 2023 à 09:31
> *À : *"lustre-discuss at lists.lustre.org" <lustre-discuss at lists.lustre.org>,
> "lustre-discuss-request at lists.lustre.org" <
> lustre-discuss-request at lists.lustre.org>, "
> lustre-discuss-owner at lists.lustre.org" <
> lustre-discuss-owner at lists.lustre.org>
> *Objet : *[EXTERNAL] [lustre-discuss] Lustre with ZFS Install
>
>
>
> *CAUTION*: This email originated from outside of the organization. Do not
> click links or open attachments unless you can confirm the sender and know
> the content is safe.
>
>
>
> Hi,
>
>
>
> We are trying to use ZFS with Lustre referring to the link:
>
> https://wiki.lustre.org/Lustre_with_ZFS_Install#Build_ZFS
>
>
>
> We are using the following steps to do so and getting error while making
> rpms.
>
>
>
> git clone git://git.whamcloud.com/fs/lustre-release.git
>
> cd lustre-release/
> sh ./autogen.sh
> ./configure --disable-ldiskfs
>
>
>
> make rpms (When we are doing make rpms, we are getting the following
> error) (Error attached in ss below)
>
> [root at sv01 lustre-release]# make rpms
> make: *** No rule to make target 'rpms'.  Stop.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20230124/6eaef8f5/attachment-0001.htm>
-------------- next part --------------
[root at sv01 lustre-release]# ./configure --disable-ldiskfs
configure: loading site script /usr/share/config.site
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax 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 whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/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 /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
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 (/usr/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... gcc3
checking for flex... /usr/bin/flex
checking for bison... /usr/bin/bison
checking for rpmbuild... /usr/bin/rpmbuild
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
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... /usr/bin/ld -m elf_x86_64
checking for objdump... (cached) objdump
checking for strip... (cached) strip
checking size of unsigned long long... 8
checking for -Wno-format-truncation support... yes
checking for -Wno-stringop-truncation support... yes
checking for -Wno-stringop-overflow support... yes
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... checking for python3... /usr/bin/python3
checking for a version of Python >= '3.6.0'... yes
checking for the distutils Python package... yes
checking for Python include path... -I/usr/include/python3.6m
checking for Python library path... -L/usr/lib64 -lpython3.6m
checking for Python site-packages path... /usr/lib/python3.6/site-packages
checking python extra libraries... -lpthread -ldl  -lutil -lm
checking python extra linking flags... -Xlinker -export-dynamic
checking consistency of all components of python development environment... no
configure: WARNING:
        Could not link test program to Python. Maybe the main Python library has been
        installed in some non-standard library path. If so, pass it to configure,
        via the LIBS environment variable.
        Example: ./configure LIBS="-L/usr/non-standard-path/python/lib"
        ============================================================================
        ERROR!
        You probably have to install the development version of the Python package
        for your distribution.  The exact name of this package varies among them.
        ============================================================================

yes
checking whether to build Lustre client support... yes
/usr/bin/which: no mpicc in (/home/user/.local/bin:/home/user/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin)
dirname: missing operand
Try 'dirname --help' for more information.
checking whether mpitests can be built... no
checking whether to build Linux kernel modules... yes (linux-gnu)
checking for Linux sources... /usr/src/kernels/4.18.0-425.10.1.el8_7.x86_64
checking for /usr/src/kernels/4.18.0-425.10.1.el8_7.x86_64... yes
checking for Linux objects... /usr/src/kernels/4.18.0-425.10.1.el8_7.x86_64
checking for /usr/src/kernels/4.18.0-425.10.1.el8_7.x86_64/.config... yes
checking for /boot/kernel.h... no
checking for /var/adm/running-kernel.h... no
checking for /usr/src/kernels/4.18.0-425.10.1.el8_7.x86_64/include/generated/autoconf.h... yes
checking for /usr/src/kernels/4.18.0-425.10.1.el8_7.x86_64/include/linux/version.h... no
checking for /usr/src/kernels/4.18.0-425.10.1.el8_7.x86_64/include/generated/uapi/linux/version.h... yes
checking for /usr/src/kernels/4.18.0-425.10.1.el8_7.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... 4.18.0-425.10.1.el8_7.x86_64
checking for RedHat kernel release number... 87
checking for Linux kernel module package directory... extra/kernel
checking for the name of module symbol version file... Module.symvers
checking if Linux kernel module loading is possible... yes
configure: LibCFS kernel checks
==============================================================================
checking whether to use tunable 'panic_dumplog' support... no
checking does function 'ktime_get_ts64' exist... yes
checking does function 'prepare_to_wait_event' exist... yes
checking does 'struct kernel_param_ops' exist... yes
checking does function 'ktime_add' exist... yes
checking does function 'ktime_after' exist... yes
checking does function 'ktime_before' exist... yes
checking does function 'ktime_compare' exist... yes
checking shrinker has 'count_objects'... yes
checking does function 'match_wildcard' exist... yes
checking if enum mapping_flags has AS_EXITING flag... yes
checking if iov_iter has member type... yes
checking does 'glob_match()' exist... yes
checking does 'ns_to_timespec64()' exist... yes
checking does function 'hlist_add_after' exist... no
checking does 'struct timespec64' exist... yes
checking does function 'ktime_get_ns' exist... yes
checking does function 'ktime_get_real_ts64' exist... yes
checking does function 'ktime_get_real_seconds' exist... yes
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... yes
checking does function 'wait_woken' exist... yes
checking does function 'ktime_ms_delta' exist... yes
checking does function 'kernel_param_unlock' exist... yes
checking does function 'topology_sibling_cpumask' exist... yes
checking if Linux kernel has 'kstrtobool_from_user'... yes
checking if struct genl_ops has start callback... yes
checking does crypto hash helper functions exist... yes
checking if Linux kernel exports 'kset_find_obj'... yes
checking if 'rhashtable_replace_fast' exists... yes
checking kernel has fixed hash_64()... no
checking if 'struct stacktrace_ops' address function returns an int... no
checking if 'get_user_pages()' takes 6 arguments... no
checking for linux/stringhash.h... yes
checking if internal '__rhashtable_insert_fast()' returns int... no
checking if 'rhashtable_walk_init' has 3 args... no
checking if 'rhashtable_lookup' exist... yes
checking does 'struct rhltable' exist... yes
checking if 'struct stacktrace_ops' exists... no
checking if 'get_user_pages()' takes gup_flags in arguments... yes
checking if 'rhashtable_walk_enter' exists... yes
checking if libcfs supports CPU hotplug state machine... yes
checking for linux/refcount.h... yes
checking if 'rhashtable_lookup_get_insert_fast' exist... yes
checking for linux/sched/signal.h... yes
checking if 'kref_read' exists... yes
checking if 'rht_bucket_var' exists... yes
checking for linux/processor.h... yes
checking for linux/wait_bit.h... yes
checking if memalloc_noreclaim_{save,restore} exist... yes
checking if Netlink supports netlink_ext_ack... yes
checking if linux wait_queue_head list_head is named head... yes
checking if 'cpus_read_unlock' exist... yes
checking if 'uuid_t' exist... yes
checking if 'nla_strdup()' exists... yes
checking if 'wait_queue_entry_t' exists... yes
checking if struct wait_bit_queue_entry exists... yes
checking if DEFINE_TIMER takes only 2 arguments... yes
checking if 'kernel_write' matches other read/write helpers... yes
checking if 'kernel_read()' has loff_t *pos as last parameter... yes
checking if Linux kernel exports 'save_stack_trace_tsk'... yes
checking if 'lockdep_is_held()' uses const argument... yes
checking if setup_timer has been replaced with timer_setup... yes
checking if 'wait_var_event' exist... yes
checking if Linux bitmap memory management exist... yes
checking if 'clear_and_wake_up_bit' exist... yes
checking if 'tcp_sock_set_nodelay()' exists... yes
checking if 'tcp_sock_set_keepidle()' exists... yes
checking if page cache uses Xarray... yes
checking if Netlink dump handlers support ext_ack... yes
checking if iov_iter_type exists... yes
checking if Linux kernel exports '__genradix_ptr'... yes
checking if totalram_pages is a function... yes
checking if get_request_key_auth() is available... no
checking does struct kobj_type have 'default_groups' member... yes
checking if lookup_user_key() is available... yes
checking if force_sig has task parameter... yes
checking if struct cache_detail has writers... yes
checking if struct genl_dumpit_info has family field... yes
checking if Linux kernel exports 'kallsyms_lookup_name'... yes
checking if 'tcp_sock_set_quickack()' exists... no
checking if 'tcp_sock_set_keepintvl()' exists... no
checking if 'tcp_sock_set_keepcnt()' exists... no
checking if mmap_lock API is available... yes
checking if kernel_setsockopt still in use... yes
checking if __vmalloc has 2 args... no
checking if NR_UNSTABLE_NFS still in use... no
checking if security_release_secctx has 1 arg... no
checking if ip6_sock_set_addr_preferences() exists... no
checking if kfree_sensitive() is available... yes
checking for crypto/sha2.h... no
checking if list_cmp_func_t type is defined... no
checking if 'nla_strlcpy()' still exists... no
checking for crypto/internal/cipher.h... no
checking if task_is_running() is defined... yes
checking for linux/stdarg.h... no
checking for linux/panic_notifier.h... no
checking does function 'param_set_uint_minmax' exist... yes
checking for linux/blk-integrity.h... no
checking does function 'pde_data' exist... no
checking does bio_alloc() takes a struct block_device... no
configure: LNet kernel checks
==============================================================================
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... no
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 if 'ib_post_send() and ib_post_recv()' have const parameters... yes
checking if struct ib_device_ops is defined... no
checking if ib_sg_dma_address wrapper exists... no
checking if 4arg 'rdma_reject' exists... yes
checking if FMR pools API available... no
checking if 'rdma_connect_locked' exists... yes
checking if 'ethtool_link_settings' exists... yes
checking whether to enable GNI lnd... no
checking kernel strscpy is available... yes
checking if Linux kernel exports 'kmap_to_page'... no
checking if 'sk_data_ready' takes only one argument... yes
checking if 'sock_create_kern' first parameter is net... yes
checking if hypervisor_is_type function is available... yes
checking if Oracle OFED Extensions are enabled... no
checking if 'getname' has two args... yes
checking if 'in_dev_for_each_ifa_rtnl' is defined... yes
checking ext4 source directory...
configure: WARNING:

Disabling ldiskfs support because complete ext4 source does not exist.

If you are building using kernel-devel packages and require ldiskfs
server support then ensure that the matching kernel-debuginfo-common
and kernel-debuginfo-common-<arch> packages are installed.

configure: Lustre kernel checks
==============================================================================
checking whether to enable Lustre pinger support... yes
checking whether to enable data checksum support... yes
checking whether to enable flock by default... yes
checking whether to enable a write with the health check... no
checking whether to enable lru self-adjusting... yes
checking if Linux kernel was built with CONFIG_FHANDLE in or as module... yes
checking whether to enable gss support... auto
checking whether to enable gss keyring backend... yes
checking if Linux kernel was built with CONFIG_KEYS in or as module... yes
checking for keyctl_search in -lkeyutils... no
configure: WARNING: GSS keyring backend requires libkeyutils
configure: error: Cannot enable gss_keyring. See above for details.


More information about the lustre-discuss mailing list