Hi, I'm trying to build an updated package, first in master, then in f21 and the command failed with the below. Google hasn't helped me so far. What happening here ?
Dave. ===== $ fedpkg build Building tnef-1.4.11-1.20140826git0b35ad8.fc21 for f21-candidate Created task: 7494307 Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=7494307 Watching tasks (this may be safely interrupted)... 7494307 build (f21-candidate, /tnef:0b5ed5d06268924f1c545174dc57e15e951a8ff6): open (arm02-builder18.arm.fedoraproject.org) 7494310 buildSRPMFromSCM (/tnef:0b5ed5d06268924f1c545174dc57e15e951a8ff6): open (arm04-builder03.arm.fedoraproject.org) 7494310 buildSRPMFromSCM (/tnef:0b5ed5d06268924f1c545174dc57e15e951a8ff6): open (arm04-builder03.arm.fedoraproject.org) -> FAILED: BuildError: Error running GIT command "git reset --hard 0b5ed5d06268924f1c545174dc57e15e951a8ff6", see checkout.log for details 0 free 1 open 0 done 1 failed 7494307 build (f21-candidate, /tnef:0b5ed5d06268924f1c545174dc57e15e951a8ff6): open (arm02-builder18.arm.fedoraproject.org) -> FAILED: BuildError: Error running GIT command "git reset --hard 0b5ed5d06268924f1c545174dc57e15e951a8ff6", see checkout.log for details 0 free 0 open 0 done 2 failed
7494307 build (f21-candidate, /tnef:0b5ed5d06268924f1c545174dc57e15e951a8ff6) failed [davidt@davidtdesktop tnef]$
====checkout.log: $ git clone -n git://pkgs.fedoraproject.org/tnef /var/lib/mock/f21-build-2342345-415439/root/tmp/scmroot/tnef Cloning into '/var/lib/mock/f21-build-2342345-415439/root/tmp/scmroot/tnef'... $ git reset --hard 0b5ed5d06268924f1c545174dc57e15e951a8ff6 fatal: Could not parse object '0b5ed5d06268924f1c545174dc57e15e951a8ff6'.
On Sun, Aug 31, 2014 at 05:43:13PM +1000, David Timms wrote:
Hi, I'm trying to build an updated package, first in master, then in f21 and the command failed with the below. Google hasn't helped me so far. What happening here ?
(arm02-builder18.arm.fedoraproject.org) -> FAILED: BuildError: Error running GIT command "git reset --hard 0b5ed5d06268924f1c545174dc57e15e951a8ff6", see checkout.log for details 0 free 0 open 0 done 2 failed
====checkout.log: $ git clone -n git://pkgs.fedoraproject.org/tnef /var/lib/mock/f21-build-2342345-415439/root/tmp/scmroot/tnef Cloning into '/var/lib/mock/f21-build-2342345-415439/root/tmp/scmroot/tnef'... $ git reset --hard 0b5ed5d06268924f1c545174dc57e15e951a8ff6 fatal: Could not parse object '0b5ed5d06268924f1c545174dc57e15e951a8ff6'.
Your latest commit is not pushed to git, so fedpkg tries to build the latest local commit, which does not exist remotely. The following command should output "commit 0b5ed5d06268924f1c545174dc57e15e951a8ff6", if I am right:
git show HEAD | head -n 1
Verify your local git history, e.g. with "git log -p", "tig --all" or "gitk --all" and push your changes if they are good ("fedpkg push").
Regards Till