I try `%?set_build_flags` and it works fine.

Thanks!

Miro Hrončok <mhron...@redhat.com> 于2020年10月3日周六 下午2:45写道:

> 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.
>
> --
> Miro Hrončok
> --
> Phone: +420777974800
> IRC: mhroncok
> _______________________________________________
> 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

Reply via email to