On Thu, Jul 01, 2021 at 01:57:15PM -0700, Luya Tshimbalanga wrote: > Hello team, > > Koji failed to build srpm whose spec uses -b parameter for %autorelease > defined on gpick spec file > (https://src.fedoraproject.org/rpms/gpick/blob/rawhide/f/gpick.spec) > See https://koji.fedoraproject.org/koji/taskinfo?taskID=71147387 > > Here is an extract: > > Mock Version: 2.10 > Mock Version: 2.10 > Mock Version: 2.10 > Mock Version: 2.10 > ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/gpick.spec'], chrootPath='/var/lib/mock/f35-build-28169217-3791912/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fffa1f19dc0>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) > Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/gpick.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False > autorelease: invalid option -- 'b' > error: /builddir/build/SPECS/gpick.spec: line 15: Unknown option b in autorelease(e:s:po:) > 1< (%) > 0< (%autorelease) > Release: > Building target platforms: noarch > Building for target noarch > Child return code was: 1 > EXCEPTION: [Error()] > Traceback (most recent call last): > File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace > result = func(*args, **kw) > File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status > raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) > mockbuild.exception.Error: Command failed: > # bash --login -c /usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/gpick.spec Can you file a bug/issue on this at https://pagure.io/fedora-infra/rpmautospec/issues ? Hopefully that will get more directly to the rpmautospec folks. :) kevin
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to infrastructure-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/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure