VIIRS-AF Version 2.1 - Package contains symlinks to absolute paths!
Posted: Thu Jun 27, 2024 7:16 am
Hi,
VIIRS-AF Version 2.1 - Package contains symlinks to absolute paths!
The VIIRS-AF Version 2.1 package contains symlinks to absolute paths, like this one for example:
cspp-active-fire-noaa_2.1/vendor/ShellB3/bin/bzcmp -> /opt/shellb3-cspp-py38/ShellB3/bin/bzdiff
How is that expected to work?
I thought package should be self-contained?
I am on RHEL9 and in order to put things in production here we need to build an RPM package out of it. So I make one from the tar-ball. While doing that I get a number of warnings - that's how I noticed it:
warning: absolute symlink: /local_disk/opt/CSPP-AF/2_1_0/vendor/ShellB3/bin/bzcmp -> /opt/shellb3-cspp-py38/ShellB3/bin/bzdiff
warning: absolute symlink: /local_disk/opt/CSPP-AF/2_1_0/vendor/ShellB3/bin/bzegrep -> /opt/shellb3-cspp-py38/ShellB3/bin/bzgrep
warning: absolute symlink: /local_disk/opt/CSPP-AF/2_1_0/vendor/ShellB3/bin/bzfgrep -> /opt/shellb3-cspp-py38/ShellB3/bin/bzgrep
warning: absolute symlink: /local_disk/opt/CSPP-AF/2_1_0/vendor/ShellB3/bin/bzless -> /opt/shellb3-cspp-py38/ShellB3/bin/bzmore
warning: absolute symlink: /local_disk/opt/CSPP-AF/2_1_0/vendor/ShellB3/lib64/libcrypto.so.1.0.0 -> /usr/lib64/libcrypto.so.10
warning: absolute symlink: /local_disk/opt/CSPP-AF/2_1_0/vendor/ShellB3/lib64/libssl.so.1.0.0 -> /usr/lib64/libssl.so.10
In addition I also get a lot of warnings like this one (stripped the first part of the path for integrety:
warning: Missing build-id in .../BUILDROOT/SMHI-SAF-cspp-active-fires-20240626-4.x86_64/local_disk/opt/CSPP-AF/2_1_0/vendor/ShellB3/lib64/libmpxwrappers.so.2.0.1
I will ignore those for now. But I believe it could be fixed on your side when compiling?
-Adam
VIIRS-AF Version 2.1 - Package contains symlinks to absolute paths!
The VIIRS-AF Version 2.1 package contains symlinks to absolute paths, like this one for example:
cspp-active-fire-noaa_2.1/vendor/ShellB3/bin/bzcmp -> /opt/shellb3-cspp-py38/ShellB3/bin/bzdiff
How is that expected to work?
I thought package should be self-contained?
I am on RHEL9 and in order to put things in production here we need to build an RPM package out of it. So I make one from the tar-ball. While doing that I get a number of warnings - that's how I noticed it:
warning: absolute symlink: /local_disk/opt/CSPP-AF/2_1_0/vendor/ShellB3/bin/bzcmp -> /opt/shellb3-cspp-py38/ShellB3/bin/bzdiff
warning: absolute symlink: /local_disk/opt/CSPP-AF/2_1_0/vendor/ShellB3/bin/bzegrep -> /opt/shellb3-cspp-py38/ShellB3/bin/bzgrep
warning: absolute symlink: /local_disk/opt/CSPP-AF/2_1_0/vendor/ShellB3/bin/bzfgrep -> /opt/shellb3-cspp-py38/ShellB3/bin/bzgrep
warning: absolute symlink: /local_disk/opt/CSPP-AF/2_1_0/vendor/ShellB3/bin/bzless -> /opt/shellb3-cspp-py38/ShellB3/bin/bzmore
warning: absolute symlink: /local_disk/opt/CSPP-AF/2_1_0/vendor/ShellB3/lib64/libcrypto.so.1.0.0 -> /usr/lib64/libcrypto.so.10
warning: absolute symlink: /local_disk/opt/CSPP-AF/2_1_0/vendor/ShellB3/lib64/libssl.so.1.0.0 -> /usr/lib64/libssl.so.10
In addition I also get a lot of warnings like this one (stripped the first part of the path for integrety:
warning: Missing build-id in .../BUILDROOT/SMHI-SAF-cspp-active-fires-20240626-4.x86_64/local_disk/opt/CSPP-AF/2_1_0/vendor/ShellB3/lib64/libmpxwrappers.so.2.0.1
I will ignore those for now. But I believe it could be fixed on your side when compiling?
-Adam