[MDEV-29522] RocksDB RPM doesn't get built on Rocky Linux and Alma Created: 2022-09-12  Updated: 2022-09-13  Resolved: 2022-09-13

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform RedHat
Affects Version/s: 10.3, 10.4
Fix Version/s: 10.3.37, 10.4.27

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: not-10.5+

Issue Links:
Relates
relates to MDEV-29521 CPack suppresses errors and silently ... Open

 Description   

The component RedHat may be misleading, RHEL itself is actually fine, only knock-offs are affected. Set to Minor because we release packages from RHEL, so it's a test-only issue for us. Can be a bit of a problem for users, but then again, 10.3/10.4 are quite old, and 10.5+ have it fixed.

+ /usr/lib/rpm/redhat/brp-ldconfig
 
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.3.37/_CPack_Packages/Linux/RPM/mariadb-10.3.37-linux-x86_64/rocksdb-engine/etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile '' 1
+ /usr/lib/rpm/brp-python-hardlink
+ PYTHON3=/usr/libexec/platform-python
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
*** ERROR: ambiguous python shebang in /usr/bin/myrocks_hotbackup: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
error: Bad exit status from /var/tmp/rpm-tmp.j02EyN (%install)
    Bad exit status from /var/tmp/rpm-tmp.j02EyN (%install)
 ***


Generated at Thu Feb 08 10:09:15 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.