#122 centpkg mockbuild failure needs better error message
Opened 4 days ago by tdawson. Modified 4 days ago

The following is currently happening:

  • Make sure I have proper kerberos tickets
  • Enter rhel-developer-toolbox
  • 'centpkg clone' any dist-git repo
  • git checkout -b foo
$ centpkg mockbuild
/usr/lib/python3.12/site-packages/centpkg/__init__.py:98: UserWarning:
Unable to determine if this is a fork or not. Proceeding, but you
should double check.
  warnings.warn(
/usr/lib/python3.12/site-packages/centpkg/__init__.py:98: UserWarning:
Unable to determine if this is a fork or not. Proceeding, but you
should double check.
  warnings.warn(
Not downloading already downloaded webkitgtk-2.48.0.tar.xz
Not downloading already downloaded webkitgtk-2.48.0.tar.xz.asc

setting SOURCE_DATE_EPOCH=1742774400
Wrote:
/home/mcatanzaro/Projects/centos-scm/webkit2gtk3/webkit2gtk3-2.48.0-1.el9.src.rpm
/usr/lib/python3.12/site-packages/centpkg/__init__.py:98: UserWarning:
Unable to determine if this is a fork or not. Proceeding, but you
should double check.
  warnings.warn(
Could not execute mockbuild: unsupported operand type(s) for +:
'NoneType' and 'str'

It turns out that I am on a secondary branch, and I should be using the --release=c9s* flag.

centpkg should provide a better / useful error message.


Metadata Update from @tdawson:
- Issue tagged with: Bug, Feature Request

4 days ago

Log in to comment on this ticket.

Metadata