Open etxmato opened 1 year ago
I have found a workaround:
Would be nice if I can somehow instruct rpm to use rpmbuild instead of rpm, any ideas?
Another hack, until this is fixed in epm, is to temporarily compress /usr/bin/rpm then link it to rpmbuild. This looks like a duplicate of #7
Also, if you see --buildarch it is wrong, it should be --target
I fixed the issue by running autoreconf
.
autoreconf -i
./configure
make rpm
warnings from autoreconf
can be ignored. You need to install autoconf/automake
tools.
The configure
script should not be provided. Tested ok on CentOS/Rocky/RHEL 7/8/9.
I have been using rpm on a x64 installation for a few years; recently I moved to an arm64 setup and as such did a clean (virtual) Fedora installation. Compiled and installed rpm 5.0.0 (tried some older versions as well) but get an error on the rpm -bb and --buildroot options. Any idea what I'm doing wrong?
I'm using: epm -f rpm emma02 -v -v -k
... Building RPM binary distribution... /usr/bin/rpm -bb --buildroot "/media/psf/Home/workspace/emma_02/Linux build/linux-5.11-aarch64/buildroot" --target aarch64 linux-5.11-aarch64/emma02.spec rpm: -bb: unknown option Packaging failed!