#5301 Cannot scratchbuild for F19
Closed: Fixed None Opened 11 years ago by vondruch.

Cannot scratch build from SRPM for F19:

{{{
$ fedpkg --dist f19 -v scratch-build --srpm rubygem-openshift-origin-common-0.13.3-7.fc19.src.rpm
Creating repo object from /home/vondruch/fedora-reviews/rubygem-openshift-origin-common
Not in a repo, don't care about remotes
Could not read /home/vondruch/.koji/config for config values
Initiating a koji session to http://koji.fedoraproject.org/kojihub
[====================================] 100% 00:00:02 20.76 KiB 10.05 KiB/sec
Creating repo object from /home/vondruch/fedora-reviews/rubygem-openshift-origin-common
Not in a repo, don't care about remotes
Could not execute scratch_build: Unknown build target: f19-candidate
}}}

This work just fine for F18.

$ rpm -q fedpkg
fedpkg-1.9-1.fc17.noarch


f19 and rawhide are both valid targets for rawhide builds, I have added a f19-candidate target.

fedpkg uses rawhide for master branch in git

Well, I tried dist "f19" as well as "rawhide" and was unsuccessful. Rawhide still not works. Not sure if it should:

{{{
$ fedpkg --dist rawhide -v scratch-build --srpm rubygem-openshift-origin-common-0.13.3-7.fc19.src.rpm
Creating repo object from /home/vondruch/fedora-reviews/rubygem-openshift-origin-common
Not in a repo, don't care about remotes
Could not read /home/vondruch/.koji/config for config values
Initiating a koji session to http://koji.fedoraproject.org/kojihub
[====================================] 100% 00:00:01 20.76 KiB 16.86 KiB/sec
Creating repo object from /home/vondruch/fedora-reviews/rubygem-openshift-origin-common
Not in a repo, don't care about remotes
Could not execute scratch_build: Unknown build target: rawhide-candidate
}}}

i personally would use koji and not fedpkg to do scratch builds of srpms

{{{
koji build --scratch f19 rubygem-openshift-origin-common-0.13.3-7.fc19.src.rpm

koji build --scratch f19-candidate rubygem-openshift-origin-common-0.13.3-7.fc19.src.rpm

koji build --scratch rawhide rubygem-openshift-origin-common-0.13.3-7.fc19.src.rpm
}}}

there is no rawhide-candidate target the command you are running is really weird.

Well, koji command is fine, but you have to remember the build targets, which fedpkg is typically doing for me.

Never mind, I'm (and fedpkg as well) fine with "--dist f19". I was just wondering. Thank you.

Metadata Update from @vondruch:
- Issue set to the milestone: Fedora 18 Alpha

7 years ago

Login to comment on this ticket.

Metadata