#31 Using centpkg on Fedora repo gives weird errors on release branches
Opened 3 years ago by churchyard. Modified 2 years ago

Run this:

$ fedpkg clone redhat-rpm-config
$ cd redhat-rpm-config/
$ centpkg build

You get:

Could not execute build: Branchname: rawhide is not valid

That is good. Now:

$ fedpkg switch-branch f34
$ centpkg build

You get:

Could not execute build: unsupported operand type(s) for +: 'NoneType' and 'NoneType'

That is bad.


$ sudo patch -p1 /usr/lib/python3.9/site-packages/centpkg/__init__.py 30.patch 
patching file /usr/lib/python3.9/site-packages/centpkg/__init__.py
patching file /usr/lib/python3.9/site-packages/centpkg/__init__.py

$ cd ~/tmp/redhat-rpm-config/
$ git branch 
* f34
  rawhide

$ git remote -v
origin  ssh://churchyard@pkgs.fedoraproject.org/rpms/redhat-rpm-config (fetch)
origin  ssh://churchyard@pkgs.fedoraproject.org/rpms/redhat-rpm-config (push)


$ centpkg build
Could not execute build: unsupported operand type(s) for +: 'NoneType' and 'str'

Metadata Update from @tdawson:
- Issue tagged with: Bug

2 years ago

Log in to comment on this ticket.

Metadata