Open alexweuster opened 2 years ago
First of all thank you very much for the maintenance.
I am experiencing an issue with building rpms with epm v5.0.0: When compiling the sources and using the binary as follows:
#> epm -g -f rpm -vvvvv --keep-files <product> <listfile> Searching for product information... Creating RPM distribution... Creating spec file... Copying temporary distribution files... Directory linux-4.12-x86_64/<path> ... Building RPM binary distribution... /usr/bin/rpmbuild -bb --buildroot "<path/to/buildroot>" --buildarch x86_64 linux-4.12-x86_64/<product>.spec rpmbuild: --buildarch: unknown option Packaging failed!
I assume the configure script has some flaw, i.e. if I comment out lines 5259-5281 in configure
configure
# cat >>confdefs.h <<_ACEOF ##define EPM_RPMARCH "--buildarch " #_ACEOF
the correct flag --target x86_64 is used for rpmbuild.
--target x86_64
rpmbuild
But maybe I am missing some subtile differences between the OS vendors. This was found on:
See https://github.com/jimjag/epm/issues/11#issuecomment-1951181209
First of all thank you very much for the maintenance.
I am experiencing an issue with building rpms with epm v5.0.0: When compiling the sources and using the binary as follows:
I assume the
configure
script has some flaw, i.e. if I comment out lines 5259-5281 inconfigure
the correct flag
--target x86_64
is used forrpmbuild
.But maybe I am missing some subtile differences between the OS vendors. This was found on: