Open sewe opened 8 years ago
And which version does work?
And which version does work?
Version 2.0.1, the version the example mentioned uses originally, works (after setting %_tmppath
in ~/.rpmmacros
, which seems to be an unrelated OS-X-specific problem).
just want to confirm %_tmppath must be set under ~/.rpmmaros so that the provided example works with rpm-m-p 2.0.1. However, the does not work with 2.0.1+?
just want to confirm %_tmppath must be set under ~/.rpmmaros so that the provided example works with rpm-m-p 2.0.1. However, the does not work with 2.0.1+?
Yes, under Mac OS X (using the rpm54
port from MacPorts) I have to have this ~/.rpmmacros
file:
%_tmppath /tmp
With this setting, the linked example work using rpm-maven-plugin
2.0.1, but fails with 2.1, 2.1.1, etc. showing the above error message. FYI:
> rpmbuild --version
rpmbuild (RPM) 5.4.15
sounds like RPM version compatibility. Will you be able to reproduce it under Linux?
sounds like RPM version compatibility. Will you be able to reproduce it under Linux?
Just tried it under CentOS 6.7 (my target system) with the bundled rpmbuild:
> rpmbuild --version
rpmbuild (RPM) 4.8.0
That worked fine. Alas, CentOS is only my build target; I need to build the RPM under OS X and Debian Jessie, with the rpmbuild
versions available there.
I hence did some further experiments:
Based on this, this may be either an OS X or rpmbuild 5.x incompatibility.
do you install macos rpm with this http://timperrett.com/2014/03/23/enabling-rpmbuild-on-mac-osx/ ?
Hi,
when updating this example to use the
rpm-maven-plugin
version 2.1.5 (besides changing the version from 2.0.1 to 2.1.5 this only requires setting<sourceEncoding>UTF-8</sourceEncoding>
) I encounter the following error (under OS X):The
rpm-tmp.95530
mentioned in the error message looks like this:FYI, I tested all versions since 2.1.x; they all exhibit this issue.
Hope this helps in narrowing down the problem.