Skip to content

2.4 Release Fails to Build on RHEL 8.10 #316

@LArkema

Description

@LArkema

Similar to issue #312 , the 2.4 release fails to build on RHEL 8.10 (though with slightly different error messages), even with the new dependencies installed.

Dependencies meet version requirements specified in INSTALL.MD (including go-toolset, which is not included in the RHEL install instructions but is still a new required dependency):

[root]# yum install git rpm-build make rust cargo openssl-devel gcc gcc-c++ cmake wget perl go-toolset
Last metadata expiration check: 3:07:15 ago on Thu 13 Nov 2025 07:18:06 AM EST.
Package git-2.43.7-1.el8_10.x86_64 is already installed.
Package rpm-build-4.14.3-32.el8_10.x86_64 is already installed.
Package make-1:4.2.1-11.el8.x86_64 is already installed.
Package rust-1.88.0-1.module+el8.10.0+23326+3c6ade25.x86_64 is already installed.
Package cargo-1.88.0-1.module+el8.10.0+23326+3c6ade25.x86_64 is already installed.
Package openssl-devel-1:1.1.1k-14.el8_6.x86_64 is already installed.
Package gcc-8.5.0-28.el8_10.x86_64 is already installed.
Package gcc-c++-8.5.0-28.el8_10.x86_64 is already installed.
Package cmake-3.26.5-2.el8.x86_64 is already installed.
Package wget-1.19.5-12.el8_10.x86_64 is already installed.
Package perl-4:5.26.3-423.el8_10.x86_64 is already installed.
Package go-toolset-1.24.6-1.module+el8.10.0+23407+428597c7.x86_64 is already installed.
Dependencies resolved.
Nothing to do.

Attempting to build the rpm file results in the following output:

[root]# make rpm
rm -rf build/rpmbuild
rm -rf amazon-efs-utils
rm -f amazon-efs-utils.tar.gz
mkdir -p amazon-efs-utils
mkdir -p amazon-efs-utils/dist
cp -p dist/amazon-efs-mount-watchdog.conf amazon-efs-utils/dist
cp -p dist/amazon-efs-mount-watchdog.service amazon-efs-utils/dist
cp -p dist/efs-utils.conf amazon-efs-utils/dist
cp -p dist/efs-utils.crt amazon-efs-utils/dist
mkdir -p amazon-efs-utils/src
cp -rp src/mount_efs amazon-efs-utils/src
cp -rp src/watchdog amazon-efs-utils/src
cp -rp src/proxy amazon-efs-utils/src
mkdir -p amazon-efs-utils/man
cp -rp man/mount.efs.8 amazon-efs-utils/man
tar -czf amazon-efs-utils.tar.gz amazon-efs-utils/*
mkdir -p build/rpmbuild/{SPECS,COORD_SOURCES,DATA_SOURCES,BUILD,RPMS,SOURCES,SRPMS}
cp amazon-efs-utils.spec build/rpmbuild/SPECS
cp amazon-efs-utils.tar.gz build/rpmbuild/SOURCES
cp config.toml build/rpmbuild/SOURCES
rpmbuild -ba --define "_topdir `pwd`/build/rpmbuild" --define "include_vendor_tarball false" build/rpmbuild/SPECS/amazon-efs-utils.spec --with system_rust --noclean
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.He8AOa
+ umask 022
+ cd /efs-utils/build/rpmbuild/BUILD
+ command -v cargo
+ command -v rustc
+ cd /efs-utils/build/rpmbuild/BUILD
+ rm -rf amazon-efs-utils
+ /usr/bin/tar -xvvof -
+ /usr/bin/gzip -dc /efs-utils/build/rpmbuild/SOURCES/amazon-efs-utils.tar.gz
drwxr-x--- root/root         0 2025-11-13 10:37 amazon-efs-utils/dist/
drwxr-xr-x                  Creating directory: amazon-efs-utils
-rw-r----- root/root       571 2025-11-13 09:42 amazon-efs-utils/dist/amazon-efs-mount-watchdog.conf
-rw-r----- root/root       481 2025-11-13 09:42 amazon-efs-utils/dist/amazon-efs-mount-watchdog.service
-rw-r----- root/root      4014 2025-11-13 09:42 amazon-efs-utils/dist/efs-utils.conf
-rw-r----- root/root      4466 2025-11-13 09:42 amazon-efs-utils/dist/efs-utils.crt
drwxr-x--- root/root         0 2025-11-13 10:37 amazon-efs-utils/man/
-rw-r----- root/root     11199 2025-11-13 09:42 amazon-efs-utils/man/mount.efs.8
drwxr-x--- root/root         0 2025-11-13 10:37 amazon-efs-utils/src/
drwxr-x--- root/root         0 2025-11-13 10:16 amazon-efs-utils/src/mount_efs/
-rwxr-x--- root/root    147819 2025-11-13 10:16 amazon-efs-utils/src/mount_efs/__init__.py
drwxr-x--- root/root         0 2025-11-13 10:16 amazon-efs-utils/src/watchdog/
-rwxr-x--- root/root     86122 2025-11-13 10:16 amazon-efs-utils/src/watchdog/__init__.py
drwxr-x--- root/root         0 2025-11-13 10:16 amazon-efs-utils/src/proxy/
-rw-r----- root/root     49540 2025-11-13 10:16 amazon-efs-utils/src/proxy/Cargo.lock
-rw-r----- root/root      1313 2025-11-13 10:16 amazon-efs-utils/src/proxy/Cargo.toml
-rw-r----- root/root       101 2025-11-13 10:16 amazon-efs-utils/src/proxy/build.rs
drwxr-x--- root/root         0 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/
-rw-r----- root/root      7017 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/config_parser.rs
-rw-r----- root/root      5419 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/connection_task.rs
-rw-r----- root/root     23012 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/connections.rs
-rw-r----- root/root     13194 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/controller.rs
-rw-r----- root/root      1145 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/efs_prot.x
-rw-r----- root/root      7450 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/efs_rpc.rs
-rw-r----- root/root      1277 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/error.rs
-rw-r----- root/root       765 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/lib.rs
-rw-r----- root/root      2200 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/logger.rs
-rw-r----- root/root      5190 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/main.rs
-rw-r----- root/root      3022 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/proxy.rs
-rw-r----- root/root      1348 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/proxy_identifier.rs
-rw-r----- root/root     10326 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/proxy_task.rs
-rw-r----- root/root      7021 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/rpc.rs
-rw-r----- root/root      2114 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/shutdown.rs
-rw-r----- root/root      3268 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/status_reporter.rs
-rw-r----- root/root      5685 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/test_utils.rs
-rw-r----- root/root      8091 2025-11-13 09:42 amazon-efs-utils/src/proxy/src/tls.rs
drwxr-x--- root/root         0 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/
drwxr-x--- root/root         0 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdr-codec/
-rw-r----- root/root       825 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdr-codec/Cargo.toml
-rw-r----- root/root      5227 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdr-codec/README.md
drwxr-x--- root/root         0 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdr-codec/src/
-rw-r----- root/root       898 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdr-codec/src/error.rs
-rw-r----- root/root     20076 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdr-codec/src/lib.rs
-rw-r----- root/root      7595 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdr-codec/src/record.rs
-rw-r----- root/root     23520 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdr-codec/src/test.rs
drwxr-x--- root/root         0 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdr-codec/tests/
-rw-r----- root/root      3280 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdr-codec/tests/qc-record.rs
-rw-r----- root/root      8877 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdr-codec/tests/quickcheck.rs
-rw-r----- root/root      3735 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdr-codec/tests/test-record.rs
drwxr-x--- root/root         0 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdrgen/
-rw-r----- root/root       882 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdrgen/Cargo.toml
-rw-r----- root/root      3852 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdrgen/README.md
drwxr-x--- root/root         0 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdrgen/src/
-rw-r----- root/root      4297 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdrgen/src/lib.rs
-rw-r----- root/root      1000 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdrgen/src/xdrgen.rs
drwxr-x--- root/root         0 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdrgen/src/spec/
-rw-r----- root/root     36904 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdrgen/src/spec/mod.rs
-rw-r----- root/root      5169 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdrgen/src/spec/test.rs
-rw-r----- root/root     26958 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdrgen/src/spec/xdr_nom.rs
drwxr-x--- root/root         0 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdrgen/tests/
-rw-r----- root/root      7085 2025-11-13 10:16 amazon-efs-utils/src/proxy/rust-xdr/xdrgen/tests/lib.rs
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd amazon-efs-utils
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ mkdir -p /efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/.cargo
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.L1Bqor
+ umask 022
+ cd /efs-utils/build/rpmbuild/BUILD
+ cd amazon-efs-utils
+ cd /efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy
+ cargo build --release --manifest-path /efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/Cargo.toml
   Compiling libc v0.2.177
   Compiling autocfg v1.5.0
   Compiling proc-macro2 v1.0.103
   Compiling unicode-ident v1.0.20
   Compiling quote v1.0.41
   Compiling find-msvc-tools v0.1.4
   Compiling shlex v1.3.0
   Compiling syn v2.0.108
   Compiling memchr v2.7.6
   Compiling jobserver v0.1.34
   Compiling cc v1.2.43
   Compiling cfg-if v1.0.4
   Compiling aho-corasick v1.1.4
   Compiling regex-syntax v0.8.8
   Compiling cmake v0.1.54
   Compiling miniz_oxide v0.4.4
   Compiling dunce v1.0.5
   Compiling regex-automata v0.4.13
   Compiling fs_extra v1.3.0
   Compiling backtrace v0.3.60
   Compiling serde_core v1.0.228
   Compiling aws-lc-sys v0.32.3
   Compiling regex v1.12.2
   Compiling version_check v0.9.5
   Compiling serde v1.0.228
   Compiling zerocopy v0.8.27
   Compiling aws-lc-fips-sys v0.13.9
   Compiling serde_derive v1.0.228
   Compiling lock_api v0.4.12
   Compiling syn v1.0.109
   Compiling smallvec v1.15.1
   Compiling gimli v0.24.0
   Compiling parking_lot_core v0.9.10
   Compiling pin-project-lite v0.2.16
   Compiling adler v1.0.2
   Compiling aws-lc-rs v1.14.1
   Compiling addr2line v0.15.2
   Compiling object v0.25.3
   Compiling num-traits v0.2.19
   Compiling scopeguard v1.2.0
   Compiling getrandom v0.3.4
   Compiling rustc-demangle v0.1.26
   Compiling ppv-lite86 v0.2.21
   Compiling proc-macro-error-attr v1.0.4
   Compiling s2n-tls-sys v0.3.19
   Compiling log v0.4.28
   Compiling unicode-width v0.1.14
   Compiling futures-sink v0.3.31
   Compiling futures-core v0.3.31
   Compiling textwrap v0.11.0
   Compiling parking_lot v0.12.3
   Compiling error-chain v0.10.0
warning: aws-lc-fips-sys@0.13.9: Building with: CMake
warning: aws-lc-fips-sys@0.13.9: Symbol Prefix: Some("aws_lc_fips_0_13_9")
warning: aws-lc-fips-sys@0.13.9: NOTICE: Build environment source paths might be visible in release binary.
warning: aws-lc-fips-sys@0.13.9: GCC v8.5.0 detected.
error: failed to run custom build command for `aws-lc-fips-sys v0.13.9`

Caused by:
  process didn't exit successfully: `/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c34ea903bbb66466/build-script-main` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=AWS_LC_FIPS_SYS_NO_PREFIX
  cargo:rerun-if-env-changed=AWS_LC_FIPS_SYS_PREGENERATING_BINDINGS
  cargo:rerun-if-env-changed=AWS_LC_FIPS_SYS_EXTERNAL_BINDGEN
  cargo:rerun-if-env-changed=AWS_LC_FIPS_SYS_NO_ASM
  cargo:rerun-if-env-changed=AWS_LC_FIPS_SYS_CPU_JITTER_ENTROPY
  cargo:rustc-cfg=x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=AWS_LC_FIPS_SYS_STATIC
  cargo:warning=Building with: CMake
  cargo:warning=Symbol Prefix: Some("aws_lc_fips_0_13_9")
  cargo:rerun-if-env-changed=CMAKE
  cargo:rerun-if-env-changed=AWS_LC_FIPS_SYS_STATIC
  cargo:warning=NOTICE: Build environment source paths might be visible in release binary.
  OUT_DIR = Some(/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out)
  TARGET = Some(x86_64-unknown-linux-gnu)
  CARGO_ENCODED_RUSTFLAGS = Some()
  HOST = Some(x86_64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu
  CC_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu
  CC_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CC
  HOST_CC = None
  cargo:rerun-if-env-changed=CC
  CC = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  RUSTC_WRAPPER = None
  OUT_DIR = Some(/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  TARGET = Some(x86_64-unknown-linux-gnu)
  CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2)
  HOST = Some(x86_64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
  CFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
  CFLAGS_x86_64-unknown-linux-gnu = None
  OUT_DIR = Some(/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  TARGET = Some(x86_64-unknown-linux-gnu)
  CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2)
  HOST = Some(x86_64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
  CFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
  CFLAGS_x86_64-unknown-linux-gnu = None
  OPT_LEVEL = Some(3)
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some(false)
  CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2)
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
  CFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
  CFLAGS_x86_64-unknown-linux-gnu = None
  cargo:warning=GCC v8.5.0 detected.
  cargo:rerun-if-env-changed=CMAKE_TOOLCHAIN_FILE
  cargo:rerun-if-env-changed=CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu
  CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
  CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
  CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_GENERATOR = None
  CMAKE_GENERATOR = None
  CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
  CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_x86_64-unknown-linux-gnu = None
  CMAKE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE = None
  CMAKE = Some("cmake3")
  running: cd "/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build" && CMAKE_PREFIX_PATH="" LC_ALL="C" "cmake3" "/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-fips-sys-0.13.9" "-DBUILD_SHARED_LIBS=0" "-DCMAKE_BUILD_TYPE=release" "-DBORINGSSL_PREFIX=aws_lc_fips_0_13_9_" "-DBORINGSSL_PREFIX_HEADERS=/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-fips-sys-0.13.9/generated-include" "-DBUILD_TESTING=OFF" "-DBUILD_TOOL=OFF" "-DBUILD_LIBSSL=OFF" "-DFIPS=1" "-DCMAKE_INSTALL_PREFIX=/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/bin/cc" "--no-warn-unused-cli"
  Not searching for unused variables given on the command line.
  -- The C compiler identification is GNU 8.5.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Go compiler 1.24.6 found
  -- FIPS build mode configured
  -- FIPS entropy source method configured: Passive
  -- Found Perl: /bin/perl (found version "5.26.3") 
  -- Prefix build configured: performing build using prefix "aws_lc_fips_0_13_9_" and headers path "/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-fips-sys-0.13.9/generated-include"
  -- Run check_run file_to_test 'memcmp_invalid_stripped_check.c', flag_to_set 'MEMCMP_INVALID_STRIPPED', and compile_flags '-O3 -DNDEBUG'.
  -- Setting CMAKE_C_STANDARD=11
  -- stdalign_check.c probe is positive, enabling AWS_LC_STDALIGN_AVAILABLE
  -- builtin_swap_check.c probe is positive, enabling AWS_LC_BUILTIN_SWAP_SUPPORTED
  -- linux_u32.c probe is positive, enabling AWS_LC_URANDOM_U32
  -- The ASM compiler identification is GNU
  -- Found assembler: /bin/cc
  -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
  -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
  -- Looking for pthread_create in pthreads
  -- Looking for pthread_create in pthreads - not found
  -- Looking for pthread_create in pthread
  -- Looking for pthread_create in pthread - found
  -- Found Threads: TRUE  
  -- Configuring done (17.2s)
  -- Generating done (0.1s)
  -- Build files have been written to: /efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build
  running: cd "/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build" && LC_ALL="C" MAKEFLAGS="-j --jobserver-fds=3,5 --jobserver-auth=3,5" "cmake3" "--build" "/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build" "--target" "install" "--config" "Release"
  gmake[1]: Entering directory '/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build'
  gmake[2]: Entering directory '/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build'
  gmake[3]: Entering directory '/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build'
  gmake[3]: Leaving directory '/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build'
  [  0%] Built target boringssl_prefix_symbols
  gmake[3]: Entering directory '/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build'
  gmake[3]: Leaving directory '/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build'
  gmake[3]: Entering directory '/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build'
  [  1%] Building C object aws-lc/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/fips_shared_support.c.o
  [  1%] Building C object aws-lc/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/cpucap/cpucap.c.o
  gmake[3]: Leaving directory '/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build'
  [  1%] Built target fipsmodule
  gmake[3]: Entering directory '/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build'
  [  1%] Generating test/trampoline-x86_64.S
  [  2%] Generating chacha/chacha-x86_64.S
  [  2%] Generating cipher_extra/aes128gcmsiv-x86_64.S
  [  2%] Generating cipher_extra/aesni-sha1-x86_64.S
  [  3%] Generating cipher_extra/aesni-sha256-x86_64.S
  [  3%] Generating cipher_extra/chacha20_poly1305_x86_64.S
  [  3%] Generating err_data.c
  gmake[3]: Leaving directory '/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build'
  gmake[2]: Leaving directory '/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build'
  gmake[1]: Leaving directory '/efs-utils/build/rpmbuild/BUILD/amazon-efs-utils/src/proxy/target/release/build/aws-lc-fips-sys-c6f7d020ad72b6e7/out/build'

  --- stderr
  CMake Deprecation Warning at CMakeLists.txt:10 (cmake_policy):
    The OLD behavior for policy CMP0091 will be removed from a future version
    of CMake.

    The cmake-policies(7) manual explains that the OLD behaviors of all
    policies are deprecated and that a policy should be set to OLD only under
    specific short-term circumstances.  Projects should be ported to the NEW
    behavior and not rely on setting a policy to OLD.

  
  fork/exec /tmp/go-build1728195709/b001/exe/godeps: permission denied
  fork/exec /tmp/go-build1960836331/b001/exe/err_data_generate: permission denied
  gmake[3]: *** [aws-lc/crypto/CMakeFiles/crypto_objects.dir/build.make:99: aws-lc/crypto/err_data.c] Error 1
  gmake[3]: *** Deleting file 'aws-lc/crypto/err_data.c'
  gmake[2]: *** [CMakeFiles/Makefile2:208: aws-lc/crypto/CMakeFiles/crypto_objects.dir/all] Error 2
  gmake[1]: *** [Makefile:136: all] Error 2

  thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cmake-0.1.54/src/lib.rs:1119:5:

  command did not execute successfully, got: exit status: 2

  build script failed, must exit now
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: Bad exit status from /var/tmp/rpm-tmp.L1Bqor (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.L1Bqor (%build)
make: *** [Makefile:52: rpm-only] Error 1

System info:

[root]# cat /etc/*release*
NAME="Red Hat Enterprise Linux"
VERSION="8.10 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.10 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8"
BUG_REPORT_URL="https://issues.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.10
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.10"
Red Hat Enterprise Linux release 8.10 (Ootpa)
Red Hat Enterprise Linux release 8.10 (Ootpa)
cpe:/o:redhat:enterprise_linux:8::baseos
[root]# uname -a
Linux <hostname> 4.18.0-553.80.1.el8_10.x86_64 #1 SMP Fri Oct 10 03:51:59 EDT 2025 x86_64 x86_64 x86_64 GNU/Linux
[root]# fips-mode-setup --check
FIPS mode is enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions