Re: %set_build_flags problem in rpm spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Thanks!

Miro Hrončok <mhroncok@xxxxxxxxxx> 于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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx


--

Ruki Wang 
waruqi@xxxxxxxxx 
https://github.com/waruqi
https://twitter.com/waruqi

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux