Closed jirib closed 5 days ago
We will address this in the next release with https://github.com/aws/efs-utils/pull/228
We will address this in the next release with #228
not sure how replace of date can solve this... the issue seems in the linking part.
There seems to be something wrong with using the cargo installed with zypper.
What I did for a successful make rpm
:
I launched an ec2 instance with suse-sles-15-sp6-v20240626-hvm-ssd-x86_64. Then I ran this as specified in the README:
installed cargo with rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
. "$HOME/.cargo/env"
Ran the normal installation script
sudo zypper refresh
# cargo and rust here are installed again to make rpm build happy
sudo zypper install -y git rpm-build make openssl-devel cargo rust
git clone https://github.com/aws/efs-utils
cd efs-utils
make rpm # this succeeds.
If I uninstall rustup, make rpm fails with your error
rustup self uninstall
make rpm
So a workaround right now is to install cargo/rust through rustup.
The built was failing with
I workaround that with the following - first the spec file, then the build itself:
and built it with