This repository has been archived by the owner on Oct 19, 2020. It is now read-only.
RPM build error "This macro requires some arguments" occurs on Fedora 31 #53
Comments
I also just faced it on https://jenkins.scylladb.com/job/scylla-master/job/debug-jobs/job/centos-rpm-debug/53/consoleFull Ran on muninn using dbuild. If I run with no dbuild, I'm OK. |
avikivity
pushed a commit
to scylladb/scylla-jmx
that referenced
this issue
Dec 5, 2019
Same as scylladb/scylla-ami#53, it seems like rpm macro %systemd_postun requires one argument starting from Fedora 31, otherwise it causes the error. The solution is passing systemd unit name just like %systemd_post and %systemd_preun. see: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/TU3T2ZYY67SMAJFR2TD4HY6SCPPDVS5V/ Fixes #87 Signed-off-by: Takuya ASADA <syuu@scylladb.com> Message-Id: <20191205120514.9382-1-syuu@scylladb.com>
@syuu1228 I tried to build centos-rpm using dbuild, and get syntax error:
and more errors. |
If it's a new problem, open a new issue, don't reopen an unrelated issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It seems like rpm macro %systemd_postun requires one argument starting from Fedora 31, otherwise it causes the error.
The solution is passing systemd unit name just like %systemd_post and %systemd_preun.
see: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/TU3T2ZYY67SMAJFR2TD4HY6SCPPDVS5V/
The text was updated successfully, but these errors were encountered: