On 08/14/2017 02:56 PM, Bryn M. Reeves wrote:
On Mon, Aug 14, 2017 at 08:31:12AM +0200, Sandro Bonazzola wrote:
> Hi, just seen that sos package is starting to fail on rawhide with
> following error:
>
>
> Executing command: ['bash', '--login', '-c',
'/usr/bin/rpmbuild -bb
> --target noarch --nodeps /builddir/build/SPECS/sos.spec'] with env
> {'PS1': '<mock-chroot> \\s-\\v\\$ ', 'SHELL':
'/bin/bash', 'HOME':
> '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin',
'TERM': 'vt100',
> 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf
> "\\033]0;<mock-chroot>\\007"', 'HOSTNAME':
'mock'} and shell False
> py3_install: invalid option -- '-'
> error: Unknown option - in py3_install()
> error: line 35: %py3_install '--install-scripts=%{_sbindir}'
>
>
> Is something changed in python macros?
Nothing has changed in sos since February (pre-3.4). Since this only
fails on Rawhide I would expect it's a Fedora change.
The only thing that seems obviously strange is that the option is
enclosed in single quotes: the script appears to be parsing something
as "-- -" (since it complains about an option '-').
This is due to rpm macro argument quoting (see
https://bugzilla.redhat.com/show_bug.cgi?id=1481025) which has now been
reverted, just submit rebuilds for any of these failures.
- Panu -