Got it, thanks! Neal Gompa <ngomp...@gmail.com> 于2020年10月3日周六 下午8:07写道:
> On Sat, Oct 3, 2020 at 2:45 AM Miro Hrončok <mhron...@redhat.com> wrote: > > > > On 03. 10. 20 5:04, Ruki Wang wrote: > > > Hi, every one. > > > > > > I am making rpm spec and doing tests on copr. > > > > > > But on opensuse-leap-15.1-*, %set_build_flags still causes some > problems. > > > > > > > > > + %set_build_flags > > > /var/tmp/rpm-tmp.9RYL8i: line 32: fg: no job control > > > error: Bad exit status from /var/tmp/rpm-tmp.9RYL8i (%build) > > > Bad exit status from /var/tmp/rpm-tmp.9RYL8i (%build) > > > > > > > > > Links: > > > > > > https://copr.fedorainfracloud.org/coprs/waruqi/xmake/build/1693007/ > > > > https://download.copr.fedorainfracloud.org/results/waruqi/xmake/opensuse-leap-15.2-x86_64/01693007-xmake/builder-live.log.gz > > > < > https://download.copr.fedorainfracloud.org/results/waruqi/xmake/opensuse-leap-15.2-x86_64/01693007-xmake/builder-live.log.gz > > > > > > > > Buzilla: > > > https://bugzilla.redhat.com/show_bug.cgi?id=1882871 > > > > > > Does anyone know the reason for this? Thanks! > > > <https://bugzilla.redhat.com/show_bug.cgi?id=1882871> > > > > Yes. The reason is openSUSE and Fedora are different. and they don't > have our macro. > > > > A quick "make it build" action would be to add ?: > > > > %?set_build_flags > > > > However, the openSUSE build might not have the proper flags. > > > > It's because %set_build_flags was introduced in RPM 4.15, and openSUSE > Leap 15.x uses RPM 4.14. Moreover, openSUSE Leap 15.1 predates the > introduction of the macro even upstream. It was not backported into > openSUSE Leap 15.2 either, so the macro just doesn't exist in openSUSE > Leap yet. > > The macro was backported to RHEL 8 during its development, so it > exists there despite it using RPM 4.14 as well. > > > > > -- > 真実はいつも一つ!/ Always, there's only one truth! > _______________________________________________ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org > -- Ruki Wang war...@gmail.com https://github.com/waruqi https://twitter.com/waruqi
_______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org