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 '-').
Bryn.