$ fedpkg build
wasn't working for me. It gave me
Deprecation warning: kojiconfig is deprecated. Instead, kojiprofile should be used.
and failed with:
Kerberos authentication is used, but you do not have a valid credential. Please use kinit to get credential with a principal that has realm Could not execute build: Could not login to https://koji.fedoraproject.org/kojihub
If fedpkg was smart it would point the user to the old /etc/rpkg/fedpkg.conf when it encounters this error and sees /etc/rpkg/fedpkg.conf.rpmnew. :smile:
/etc/rpkg/fedpkg.conf
/etc/rpkg/fedpkg.conf.rpmnew
The deprecation warning is just a warning, it does not have any effect on success or failure. The actual error is that you apparently do not have a valid kerberos ticket.
What modifications do you do to the config file?
I did have a valid kerberos ticket. As soon as I moved /etc/rpkg/fedpkg.conf.rpmnew to /etc/rpkg/fedpkg.conf it worked again.
So, I might have made a change to /etc/rpkg/fedpkg.conf years ago and rpm didn't update that file automatically and the old config file was still in place causing the error messages I reported.
Good to know fedpkg works for you now. I'm going to close this issue.
Metadata Update from @cqi: - Issue close_status updated to: Invalid - Issue status updated to: Closed (was: Open)
Err, this is an RFE to hint the user to the culprit!
Please reopen!