Re: fedpkg build error: Error running GIT command "git reset --hard ..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux