Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error: libtirpc (required by hdf-4) with variant +gssapi with [email protected] #1441

Closed
climbfuji opened this issue Jan 3, 2025 · 0 comments · Fixed by #1439
Closed
Assignees
Labels
bug Something is not working

Comments

@climbfuji
Copy link
Collaborator

Describe the bug

==> Installing libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj [55/149]
==> No binary for libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj found: installing from source
==> Fetching file:///home/dom/prod/spack-source-cache/_source-cache/archive/64/6474e98851d9f6f33871957ddee9714fdcd9d8a5ee9abb5a98d63ea2e60e12f3.tar.bz2
==> No patches needed for libtirpc
==> libtirpc: Executing phase: 'autoreconf'
==> libtirpc: Executing phase: 'configure'
==> [2025-01-03-09:28:39.853820] Find (max depth = None): ['/home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src'] ['configure']
==> [2025-01-03-09:28:39.855501] Find complete: ['/home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src'] ['configure']
==> [2025-01-03-09:28:39.855878] FILTER FILE: /home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src/configure [replacing "^(\s*if test x-L = )("\$p" \|\|\s*)$"]
==> [2025-01-03-09:28:39.868592] FILTER FILE: /home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src/configure [replacing "^(\s*test x-R = )("\$p")(; then\s*)$"]
==> [2025-01-03-09:28:39.882209] FILTER FILE: /home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src/configure [replacing "^(\s*test \$p = "-R")(; then\s*)$"]
==> [2025-01-03-09:28:39.895624] '/home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src/configure' '--prefix=/home/dom/work/spack-stack/spst-nrl-zlib/envs/ne-oneapi-2025.0.0/install/oneapi/2025.0.0/libtirpc-1.3.3-3hsr7l5'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx
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 the compiler supports GNU C... yes
checking whether /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx accepts -g... no
checking for /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx option to enable C11 features... none needed
checking whether /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for gssapi/gssapi.h... yes
checking for krb5-config... /etc/krb5.conf
/home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src/configure: line 4675: /etc/krb5.conf: Permission denied
/home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src/configure: line 4676: /etc/krb5.conf: Permission denied
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
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 /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx... /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 file... file
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 /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx 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 for dlfcn.h... yes
checking for objdir... .libs
checking if /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx supports -fno-rtti -fno-exceptions... yes
checking for /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx option to produce PIC... -fPIC -DPIC
checking if /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx PIC flag -fPIC -DPIC works... yes
checking if /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx static flag -static works... no
checking if /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx supports -c -o file.o... yes
checking if /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx supports -c -o file.o... (cached) yes
checking whether the /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx 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 for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for arpa/inet.h... yes
checking for fcntl.h... yes
checking for libintl.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/ioctl.h... yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for features.h... yes
checking for gssapi/gssapi_ext.h... yes
checking how to run the C preprocessor... /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx -E
checking whether /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx is Clang... yes
checking whether pthreads work with "-pthread" and "-lpthread"... yes
checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for getrpcbyname... yes
checking for getrpcbynumber... yes
checking for setrpcent... yes
checking for endrpcent... yes
checking for getrpcent... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating doc/Makefile
config.status: creating libtirpc.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
==> [2025-01-03-09:28:44.028179] Find (max depth = None): ['/home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src'] ['libtool']
==> [2025-01-03-09:28:44.028822] Find complete: ['/home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src'] ['libtool']
==> [2025-01-03-09:28:44.029003] FILTER FILE: /home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src/libtool [replacing "^wl=""$"]
==> [2025-01-03-09:28:44.039633] FILTER FILE: /home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src/libtool [replacing "^pic_flag=""$"]
==> [2025-01-03-09:28:44.046299] FILTER FILE: /home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src/libtool [replacing "^pic_flag=""$"]
==> [2025-01-03-09:28:44.080404] FILTER FILE: /home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src/libtool [replacing "^pic_flag=""$"]
==> [2025-01-03-09:28:44.110807] FILTER FILE: /home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src/libtool [replacing "^pic_flag=""$"]
==> libtirpc: Executing phase: 'build'
...
==> Error: ProcessError: Command exited with status 2:
    '/usr/bin/make' '-j4' 'V=1'

75 errors found in build log:
     33      checking for strings.h... yes
     34      checking for sys/stat.h... yes
     35      checking for sys/types.h... yes
     36      checking for unistd.h... yes
     37      checking for gssapi/gssapi.h... yes
     38      checking for krb5-config... /etc/krb5.conf
  >> 39      /home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src/configure: line 4675: /etc/krb5.conf: Permission denied
  >> 40      /home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src/configure: line 4676: /etc/krb5.conf: Permission denied
     41      checking build system type... x86_64-pc-linux-gnu
     42      checking host system type... x86_64-pc-linux-gnu
     43      checking how to print strings... printf
     44      checking for a sed that does not truncate output... /usr/bin/sed
     45      checking for grep that handles long lines and -e... /usr/bin/grep
     46      checking for egrep... /usr/bin/grep -E

     ...

     1445    mv -f .deps/libtirpc_la-rpcdname.Tpo .deps/libtirpc_la-rpcdname.Plo
     1446    mv -f .deps/libtirpc_la-rtime.Tpo .deps/libtirpc_la-rtime.Plo
     1447    mv -f .deps/libtirpc_la-netnamer.Tpo .deps/libtirpc_la-netnamer.Plo
     1448    /bin/sh ../libtool  --tag=CC   --mode=link /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx -DHAVE_RPCSEC_GSS  -O2 -Wl,--no-undefined -no-undefined -lpthread -version-info 3:0:0 -Wl,--version-script=./libtirpc.map  -o 
             libtirpc.la -rpath /home/dom/work/spack-stack/spst-nrl-zlib/envs/ne-oneapi-2025.0.0/install/oneapi/2025.0.0/libtirpc-1.3.3-3hsr7l5/lib libtirpc_la-auth_none.lo libtirpc_la-auth_unix.lo libtirpc_la-authunix_prot.lo libtirpc_la-binddynport.lo 
             libtirpc_la-bindresvport.lo libtirpc_la-clnt_bcast.lo libtirpc_la-clnt_dg.lo libtirpc_la-clnt_generic.lo libtirpc_la-clnt_perror.lo libtirpc_la-clnt_raw.lo libtirpc_la-clnt_simple.lo libtirpc_la-clnt_vc.lo libtirpc_la-rpc_dtablesize.lo libti
             rpc_la-getnetconfig.lo libtirpc_la-getnetpath.lo libtirpc_la-getrpcent.lo libtirpc_la-getrpcport.lo libtirpc_la-mt_misc.lo libtirpc_la-pmap_clnt.lo libtirpc_la-pmap_getmaps.lo libtirpc_la-pmap_getport.lo libtirpc_la-pmap_prot.lo libtirpc_la-
             pmap_prot2.lo libtirpc_la-pmap_rmt.lo libtirpc_la-rpc_prot.lo libtirpc_la-rpc_commondata.lo libtirpc_la-rpc_callmsg.lo libtirpc_la-rpc_generic.lo libtirpc_la-rpc_soc.lo libtirpc_la-rpcb_clnt.lo libtirpc_la-rpcb_prot.lo libtirpc_la-rpcb_st_xd
             r.lo libtirpc_la-svc.lo libtirpc_la-svc_auth.lo libtirpc_la-svc_dg.lo libtirpc_la-svc_auth_unix.lo libtirpc_la-svc_auth_none.lo libtirpc_la-svc_generic.lo libtirpc_la-svc_raw.lo libtirpc_la-svc_run.lo libtirpc_la-svc_simple.lo libtirpc_la-sv
             c_vc.lo libtirpc_la-getpeereid.lo libtirpc_la-auth_time.lo libtirpc_la-debug.lo  libtirpc_la-xdr.lo libtirpc_la-xdr_rec.lo libtirpc_la-xdr_array.lo libtirpc_la-xdr_float.lo libtirpc_la-xdr_mem.lo libtirpc_la-xdr_reference.lo libtirpc_la-xdr_
             stdio.lo libtirpc_la-xdr_sizeof.lo libtirpc_la-auth_gss.lo libtirpc_la-authgss_prot.lo libtirpc_la-svc_auth_gss.lo libtirpc_la-rpc_gss_utils.lo libtirpc_la-key_call.lo libtirpc_la-key_prot_xdr.lo libtirpc_la-getpublickey.lo libtirpc_la-netna
             me.lo libtirpc_la-netnamer.lo libtirpc_la-rpcdname.lo libtirpc_la-rtime.lo
     1449    libtool: link: /home/dom/work/spack-stack/spst-nrl-zlib/spack/lib/spack/env/oneapi/icx -shared  -fPIC -DPIC  .libs/libtirpc_la-auth_none.o .libs/libtirpc_la-auth_unix.o .libs/libtirpc_la-authunix_prot.o .libs/libtirpc_la-binddynport.o .libs/
             libtirpc_la-bindresvport.o .libs/libtirpc_la-clnt_bcast.o .libs/libtirpc_la-clnt_dg.o .libs/libtirpc_la-clnt_generic.o .libs/libtirpc_la-clnt_perror.o .libs/libtirpc_la-clnt_raw.o .libs/libtirpc_la-clnt_simple.o .libs/libtirpc_la-clnt_vc.o .
             libs/libtirpc_la-rpc_dtablesize.o .libs/libtirpc_la-getnetconfig.o .libs/libtirpc_la-getnetpath.o .libs/libtirpc_la-getrpcent.o .libs/libtirpc_la-getrpcport.o .libs/libtirpc_la-mt_misc.o .libs/libtirpc_la-pmap_clnt.o .libs/libtirpc_la-pmap_g
             etmaps.o .libs/libtirpc_la-pmap_getport.o .libs/libtirpc_la-pmap_prot.o .libs/libtirpc_la-pmap_prot2.o .libs/libtirpc_la-pmap_rmt.o .libs/libtirpc_la-rpc_prot.o .libs/libtirpc_la-rpc_commondata.o .libs/libtirpc_la-rpc_callmsg.o .libs/libtirp
             c_la-rpc_generic.o .libs/libtirpc_la-rpc_soc.o .libs/libtirpc_la-rpcb_clnt.o .libs/libtirpc_la-rpcb_prot.o .libs/libtirpc_la-rpcb_st_xdr.o .libs/libtirpc_la-svc.o .libs/libtirpc_la-svc_auth.o .libs/libtirpc_la-svc_dg.o .libs/libtirpc_la-svc_
             auth_unix.o .libs/libtirpc_la-svc_auth_none.o .libs/libtirpc_la-svc_generic.o .libs/libtirpc_la-svc_raw.o .libs/libtirpc_la-svc_run.o .libs/libtirpc_la-svc_simple.o .libs/libtirpc_la-svc_vc.o .libs/libtirpc_la-getpeereid.o .libs/libtirpc_la-
             auth_time.o .libs/libtirpc_la-debug.o .libs/libtirpc_la-xdr.o .libs/libtirpc_la-xdr_rec.o .libs/libtirpc_la-xdr_array.o .libs/libtirpc_la-xdr_float.o .libs/libtirpc_la-xdr_mem.o .libs/libtirpc_la-xdr_reference.o .libs/libtirpc_la-xdr_stdio.o
              .libs/libtirpc_la-xdr_sizeof.o .libs/libtirpc_la-auth_gss.o .libs/libtirpc_la-authgss_prot.o .libs/libtirpc_la-svc_auth_gss.o .libs/libtirpc_la-rpc_gss_utils.o .libs/libtirpc_la-key_call.o .libs/libtirpc_la-key_prot_xdr.o .libs/libtirpc_la-
             getpublickey.o .libs/libtirpc_la-netname.o .libs/libtirpc_la-netnamer.o .libs/libtirpc_la-rpcdname.o .libs/libtirpc_la-rtime.o   -lpthread  -O2 -Wl,--no-undefined -Wl,--version-script=./libtirpc.map   -Wl,-soname -Wl,libtirpc.so.3 -o .libs/l
             ibtirpc.so.3.0.0
     1450    /usr/bin/ld: .libs/libtirpc_la-auth_gss.o: in function `authgss_create':
  >> 1451    auth_gss.c:(.text+0x216): undefined reference to `gss_duplicate_name'
     1452    /usr/bin/ld: .libs/libtirpc_la-auth_gss.o: in function `authgss_create_default':
  >> 1453    auth_gss.c:(.text+0x3e6): undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
  >> 1454    /usr/bin/ld: auth_gss.c:(.text+0x3fd): undefined reference to `gss_import_name'
  >> 1455    /usr/bin/ld: auth_gss.c:(.text+0x468): undefined reference to `gss_release_name'
     1456    /usr/bin/ld: .libs/libtirpc_la-auth_gss.o: in function `authgss_free_private_data':
  >> 1457    auth_gss.c:(.text+0x51c): undefined reference to `gss_delete_sec_context'
  >> 1458    /usr/bin/ld: auth_gss.c:(.text+0x52a): undefined reference to `gss_release_buffer'
     1459    /usr/bin/ld: .libs/libtirpc_la-auth_gss.o: in function `rpc_gss_seccreate':
  >> 1460    auth_gss.c:(.text+0x6b8): undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
  >> 1461    /usr/bin/ld: auth_gss.c:(.text+0x6d1): undefined reference to `gss_import_name'
     1462    /usr/bin/ld: .libs/libtirpc_la-auth_gss.o: in function `_rpc_gss_refresh':
  >> 1463    auth_gss.c:(.text+0x904): undefined reference to `gss_init_sec_context'
  >> 1464    /usr/bin/ld: auth_gss.c:(.text+0x91d): undefined reference to `gss_release_buffer'
  >> 1465    /usr/bin/ld: auth_gss.c:(.text+0x9b4): undefined reference to `gss_release_buffer'
  >> 1466    /usr/bin/ld: auth_gss.c:(.text+0x9eb): undefined reference to `gss_release_buffer'
  >> 1467    /usr/bin/ld: auth_gss.c:(.text+0xa88): undefined reference to `gss_verify_mic'
  >> 1468    /usr/bin/ld: auth_gss.c:(.text+0xb13): undefined reference to `gss_release_buffer'
     1469    /usr/bin/ld: .libs/libtirpc_la-auth_gss.o: in function `rpc_gss_max_data_length':
  >> 1470    auth_gss.c:(.text+0xd76): undefined reference to `gss_wrap_size_limit'
     1471    /usr/bin/ld: .libs/libtirpc_la-auth_gss.o: in function `authgss_marshal':
  >> 1472    auth_gss.c:(.text+0xf12): undefined reference to `gss_get_mic'
  >> 1473    /usr/bin/ld: auth_gss.c:(.text+0xf7a): undefined reference to `gss_release_buffer'
     1474    /usr/bin/ld: .libs/libtirpc_la-auth_gss.o: in function `authgss_validate':
  >> 1475    auth_gss.c:(.text+0x1027): undefined reference to `gss_verify_mic'
     1476    /usr/bin/ld: .libs/libtirpc_la-auth_gss.o: in function `authgss_destroy':
  >> 1477    auth_gss.c:(.text+0x116e): undefined reference to `gss_release_name'
     1478    /usr/bin/ld: .libs/libtirpc_la-auth_gss.o: in function `authgss_destroy_context':
  >> 1479    auth_gss.c:(.text+0x1316): undefined reference to `gss_release_buffer'
  >> 1480    /usr/bin/ld: auth_gss.c:(.text+0x1338): undefined reference to `gss_delete_sec_context'
     1481    /usr/bin/ld: .libs/libtirpc_la-authgss_prot.o: in function `xdr_rpc_gss_wrap_data':
  >> 1482    authgss_prot.c:(.text+0x718): undefined reference to `gss_get_mic'
  >> 1483    /usr/bin/ld: authgss_prot.c:(.text+0x758): undefined reference to `gss_wrap'
  >> 1484    /usr/bin/ld: authgss_prot.c:(.text+0x87a): undefined reference to `gss_release_buffer'
     1485    /usr/bin/ld: .libs/libtirpc_la-authgss_prot.o: in function `gss_log_status':
  >> 1486    authgss_prot.c:(.text+0x8bf): undefined reference to `gss_display_status'
  >> 1487    /usr/bin/ld: authgss_prot.c:(.text+0x8da): undefined reference to `gss_display_status'
  >> 1488    /usr/bin/ld: authgss_prot.c:(.text+0x910): undefined reference to `gss_release_buffer'
  >> 1489    /usr/bin/ld: authgss_prot.c:(.text+0x91f): undefined reference to `gss_release_buffer'
     1490    /usr/bin/ld: .libs/libtirpc_la-authgss_prot.o: in function `xdr_rpc_gss_unwrap_data':
  >> 1491    authgss_prot.c:(.text+0xb40): undefined reference to `gss_unwrap'
  >> 1492    /usr/bin/ld: authgss_prot.c:(.text+0xb4d): undefined reference to `gss_release_buffer'
  >> 1493    /usr/bin/ld: authgss_prot.c:(.text+0xb64): undefined reference to `gss_release_buffer'
  >> 1494    /usr/bin/ld: authgss_prot.c:(.text+0xc06): undefined reference to `gss_verify_mic'
  >> 1495    /usr/bin/ld: authgss_prot.c:(.text+0xc13): undefined reference to `gss_release_buffer'
  >> 1496    /usr/bin/ld: authgss_prot.c:(.text+0xc30): undefined reference to `gss_release_buffer'
  >> 1497    /usr/bin/ld: authgss_prot.c:(.text+0xc58): undefined reference to `gss_release_buffer'
  >> 1498    /usr/bin/ld: authgss_prot.c:(.text+0xcf9): undefined reference to `gss_release_buffer'
     1499    /usr/bin/ld: .libs/libtirpc_la-svc_auth_gss.o: in function `svcauth_gss_set_svc_name':
  >> 1500    svc_auth_gss.c:(.text+0x2d): undefined reference to `gss_release_name'
  >> 1501    /usr/bin/ld: svc_auth_gss.c:(.text+0x5d): undefined reference to `gss_duplicate_name'
     1502    /usr/bin/ld: .libs/libtirpc_la-svc_auth_gss.o: in function `_svcauth_gss':
  >> 1503    svc_auth_gss.c:(.text+0x24e): undefined reference to `gss_delete_sec_context'
  >> 1504    /usr/bin/ld: svc_auth_gss.c:(.text+0x25a): undefined reference to `gss_release_buffer'
  >> 1505    /usr/bin/ld: svc_auth_gss.c:(.text+0x26d): undefined reference to `gss_release_name'
  >> 1506    /usr/bin/ld: svc_auth_gss.c:(.text+0x53a): undefined reference to `gss_release_buffer'
     1507    /usr/bin/ld: .libs/libtirpc_la-svc_auth_gss.o: in function `svcauth_gss_import_name':
  >> 1508    svc_auth_gss.c:(.text+0x69f): undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
  >> 1509    /usr/bin/ld: svc_auth_gss.c:(.text+0x6b6): undefined reference to `gss_import_name'
  >> 1510    /usr/bin/ld: svc_auth_gss.c:(.text+0x6e9): undefined reference to `gss_release_name'
     1511    /usr/bin/ld: .libs/libtirpc_la-svc_auth_gss.o: in function `svcauth_gss_acquire_cred':
  >> 1512    svc_auth_gss.c:(.text+0x745): undefined reference to `gss_acquire_cred'
     1513    /usr/bin/ld: .libs/libtirpc_la-svc_auth_gss.o: in function `svcauth_gss_accept_sec_context':
  >> 1514    svc_auth_gss.c:(.text+0x839): undefined reference to `gss_accept_sec_context'
  >> 1515    /usr/bin/ld: svc_auth_gss.c:(.text+0x8fb): undefined reference to `gss_release_buffer'
  >> 1516    /usr/bin/ld: svc_auth_gss.c:(.text+0x926): undefined reference to `gss_display_name'
  >> 1517    /usr/bin/ld: svc_auth_gss.c:(.text+0x9f4): undefined reference to `gss_sign'
  >> 1518    /usr/bin/ld: svc_auth_gss.c:(.text+0xa36): undefined reference to `gss_release_buffer'
     1519    /usr/bin/ld: .libs/libtirpc_la-svc_auth_gss.o: in function `svcauth_gss_nextverf':
  >> 1520    svc_auth_gss.c:(.text+0xac4): undefined reference to `gss_get_mic'
  >> 1521    /usr/bin/ld: svc_auth_gss.c:(.text+0xb11): undefined reference to `gss_release_buffer'
     1522    /usr/bin/ld: .libs/libtirpc_la-svc_auth_gss.o: in function `svcauth_gss_validate':
  >> 1523    svc_auth_gss.c:(.text+0xc44): undefined reference to `gss_verify_mic'
     1524    /usr/bin/ld: .libs/libtirpc_la-svc_auth_gss.o: in function `svcauth_gss_callback':
  >> 1525    svc_auth_gss.c:(.text+0xd27): undefined reference to `gss_release_cred'
     1526    /usr/bin/ld: .libs/libtirpc_la-svc_auth_gss.o: in function `svcauth_gss_release_cred':
  >> 1527    svc_auth_gss.c:(.text+0xd72): undefined reference to `gss_release_cred'
     1528    /usr/bin/ld: .libs/libtirpc_la-svc_auth_gss.o: in function `rpc_gss_svc_max_data_length':
  >> 1529    svc_auth_gss.c:(.text+0xe53): undefined reference to `gss_wrap_size_limit'
     1530    /usr/bin/ld: .libs/libtirpc_la-svc_auth_gss.o: in function `rpc_gss_getcred':
  >> 1531    svc_auth_gss.c:(.text+0x1005): undefined reference to `gss_pname_to_uid'
     1532    /usr/bin/ld: .libs/libtirpc_la-svc_auth_gss.o: in function `rpc_gss_get_principal_name':
  >> 1533    svc_auth_gss.c:(.text+0x1230): undefined reference to `GSS_C_NT_USER_NAME'
  >> 1534    /usr/bin/ld: svc_auth_gss.c:(.text+0x1247): undefined reference to `gss_import_name'
  >> 1535    /usr/bin/ld: svc_auth_gss.c:(.text+0x1280): undefined reference to `gss_canonicalize_name'
  >> 1536    /usr/bin/ld: svc_auth_gss.c:(.text+0x128f): undefined reference to `gss_release_name'
  >> 1537    /usr/bin/ld: svc_auth_gss.c:(.text+0x12b7): undefined reference to `gss_export_name'
  >> 1538    /usr/bin/ld: svc_auth_gss.c:(.text+0x12c6): undefined reference to `gss_release_name'
  >> 1539    /usr/bin/ld: svc_auth_gss.c:(.text+0x132f): undefined reference to `gss_release_buffer'
  >> 1540    /usr/bin/ld: svc_auth_gss.c:(.text+0x134d): undefined reference to `gss_release_buffer'
     1541    /usr/bin/ld: .libs/libtirpc_la-svc_auth_gss.o: in function `svcauth_gss_destroy':
  >> 1542    svc_auth_gss.c:(.text+0x14e6): undefined reference to `gss_delete_sec_context'
  >> 1543    /usr/bin/ld: svc_auth_gss.c:(.text+0x14f2): undefined reference to `gss_release_buffer'
  >> 1544    /usr/bin/ld: svc_auth_gss.c:(.text+0x1507): undefined reference to `gss_release_name'
  >> 1545    icx: error: linker command failed with exit code 1 (use -v to see invocation)
  >> 1546    make[2]: *** [Makefile:560: libtirpc.la] Error 1
     1547    make[2]: Leaving directory '/home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src/src'
  >> 1548    make[1]: *** [Makefile:527: all-recursive] Error 1
     1549    make[1]: Leaving directory '/home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-src'
  >> 1550    make: *** [Makefile:412: all] Error 2

See build log for details:
  /home/dom/work/spack-stack/spst-nrl-zlib/cache/build_stage/spack-stage-libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj/spack-build-out.txt

==> Warning: Skipping build of hdf-4.2.15-dkf2k4vd5blk5bofkpqdtac5r5gmcxed since libtirpc-1.3.3-3hsr7l5wl46kmlyhdm4jnkskv5oh7koj failed
==> Warning: Skipping build of py-pyhdf-0.11.4-vhpref7opeotnqesfzt2cttslbsfd7ur since hdf-4.2.15-dkf2k4vd5blk5bofkpqdtac5r5gmcxed failed
==> Warning: Skipping build of neptune-python-env-1.5.0-27g5mos7sf2xvwwa32ltjrlyu62qtfhj since py-pyhdf-0.11.4-vhpref7opeotnqesfzt2cttslbsfd7ur failed
==> Error: Terminating after first install failure: ProcessError: Command exited with status 2:
    '/usr/bin/make' '-j4' 'V=1'

To Reproduce
See title

Expected behavior
No build errors

System:
Alma Linux 9, [email protected]

Additional context
We don't need the +gssapi variant for building hdf@4, and nothing else requires libtirpc.

@climbfuji climbfuji added the bug Something is not working label Jan 3, 2025
@climbfuji climbfuji moved this to In Progress in spack-stack-1.9.0 (2024 Q4) Jan 3, 2025
@climbfuji climbfuji moved this from In Progress to Todo in spack-stack-1.9.0 (2024 Q4) Jan 3, 2025
@climbfuji climbfuji self-assigned this Jan 3, 2025
@climbfuji climbfuji linked a pull request Jan 3, 2025 that will close this issue
9 tasks
@climbfuji climbfuji moved this from Todo to In Progress in spack-stack-1.9.0 (2024 Q4) Jan 7, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in spack-stack-1.9.0 (2024 Q4) Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working
Projects
Development

Successfully merging a pull request may close this issue.

1 participant