Description of problem: All fedpkg commands hang, even commands like 'verrel': $ fedpkg -v verrel Creating repo object from /home/rjones/d/fedora/ocaml-camlp4/master DEBUG:rpkg:Creating repo object from /home/rjones/d/fedora/ocaml-camlp4/master Not in a repo, don't care about remotes DEBUG:rpkg:Not in a repo, don't care about remotes Exception AttributeError: '_read_only' in <bound method write.__del__ of <git.config.write object at 0x2f27d70>> ignored Could not read /home/rjones/.koji/config for config values DEBUG:rpkg:Could not read /home/rjones/.koji/config for config values Initiating a koji session to http://koji.fedoraproject.org/kojihub DEBUG:rpkg:Initiating a koji session to http://koji.fedoraproject.org/kojihub Could not read /home/rjones/.koji/config for config values DEBUG:rpkg:Could not read /home/rjones/.koji/config for config values Initiating a koji session to http://koji.fedoraproject.org/kojihub DEBUG:rpkg:Initiating a koji session to http://koji.fedoraproject.org/kojihub Could not read /home/rjones/.koji/config for config values DEBUG:rpkg:Could not read /home/rjones/.koji/config for config values Initiating a koji session to http://koji.fedoraproject.org/kojihub DEBUG:rpkg:Initiating a koji session to http://koji.fedoraproject.org/kojihub Could not read /home/rjones/.koji/config for config values DEBUG:rpkg:Could not read /home/rjones/.koji/config for config values Initiating a koji session to http://koji.fedoraproject.org/kojihub DEBUG:rpkg:Initiating a koji session to http://koji.fedoraproject.org/kojihub Could not read /home/rjones/.koji/config for config values DEBUG:rpkg:Could not read /home/rjones/.koji/config for config values Initiating a koji session to http://koji.fedoraproject.org/kojihub DEBUG:rpkg:Initiating a koji session to http://koji.fedoraproject.org/kojihub Could not read /home/rjones/.koji/config for config values DEBUG:rpkg:Could not read /home/rjones/.koji/config for config values Initiating a koji session to http://koji.fedoraproject.org/kojihub DEBUG:rpkg:Initiating a koji session to http://koji.fedoraproject.org/kojihub Could not read /home/rjones/.koji/config for config values DEBUG:rpkg:Could not read /home/rjones/.koji/config for config values ocaml-camlp4-4.02.0-0.2.git87c6a6b0.fc22 Note it takes several minutes to get to the final output. Version-Release number of selected component (if applicable): fedpkg-1.16-1.fc20.noarch How reproducible: 100% Steps to Reproduce: 1. fedpkg -v verrel
What may be a problem here is that 'ocaml-camlp4' is a brand new repository (see bug 1119081). Perhaps part of the repo hasn't been set up correctly?
This only seems to happen on one package. An easy way to reproduce it is: $ fedpkg clone ocaml-camlp4 $ cd ocaml-camlp4/ $ fedpkg verrel
Also happens with ocaml-labltk.
I don't see any problem on my machine: $ fedpkg clone ocaml-camlp4 [snip] $ cd ./ocaml-camlp4 $ fedpkg verrel ocaml-camlp4-4.02.0-0.3.git87c6a6b0.fc22 $ fedpkg clone ocaml-labltk [snip] $ cd ./ocaml-labltk $ fedpkg verrel ocaml-labltk-4.02-0.3.beta1.fc22 Do you still have a problem with that fedpkg command?
Yes: $ fedpkg verrel Exception AttributeError: '_read_only' in <bound method write.__del__ of <git.config.write object at 0x1b8dd70>> ignored (and long hang) This is with fedpkg-1.16-1.fc20.noarch however.
(In reply to Richard W.M. Jones from comment #5) > Exception AttributeError: '_read_only' in <bound method write.__del__ of > <git.config.write object at 0x1b8dd70>> ignored This is known issue: Bug 843292. Try to run this command: $ rpm --define "_sourcedir $PWD" --define "_specdir $PWD" \ --define "_builddir $PWD" --define "_srcrpmdir $PWD" \ --define "_rpmdir $PWD" --define 'dist .fc22' --define 'fedora 22' \ --eval '%undefine rhel' --define 'fc22 1' \ --eval '%undefine fc20' -q --qf \ "%{NAME} %{EPOCH} %{VERSION} %{RELEASE}??" \ --specfile $PWD/*.spec
(In reply to Pavol Babinčák from comment #6) > (In reply to Richard W.M. Jones from comment #5) > > Exception AttributeError: '_read_only' in <bound method write.__del__ of > > <git.config.write object at 0x1b8dd70>> ignored > This is known issue: Bug 843292. Very likely. However your copy of fedpkg doesn't hang? > Try to run this command: > $ rpm --define "_sourcedir $PWD" --define "_specdir $PWD" \ > --define "_builddir $PWD" --define "_srcrpmdir $PWD" \ > --define "_rpmdir $PWD" --define 'dist .fc22' --define 'fedora 22' \ > --eval '%undefine rhel' --define 'fc22 1' \ > --eval '%undefine fc20' -q --qf \ > "%{NAME} %{EPOCH} %{VERSION} %{RELEASE}??" \ > --specfile $PWD/*.spec It prints ... ocaml-camlp4 (none) 4.02.0 0.3.git87c6a6b0.fc22??ocaml-camlp4-devel (none) 4.02.0 0.3.git87c6a6b0.fc22??ocaml-camlp4-debuginfo (none) 4.02.0 0.3.git87c6a6b0.fc22??
Installation of pyrpkg-1.24-1.fc21.noarch from rawhide fixed that issue. pyrpkg update 1.24 or highter will be released for Fedora 20 in near future.