The garbage collection happens in background, based on heuristic.
This means that sometimes, when subsequent commands run,
some files might disappear in the middle of an action.

For example, when a find is used in %prep:

    + /usr/bin/git commit -m ... --author 'rpm-build <rpm-build>'
    Auto packing the repository in background for optimum performance.
    See "git help gc" for manual housekeeping.
    ...
    + find ...
    find: './.git/objects/47': No such file or directory
    find: './.git/objects/46': No such file or directory
    find: './.git/objects/49': No such file or directory
    find: './.git/objects/4d': No such file or directory
    error: Bad exit status from /var/tmp/rpm-tmp.xxxxxx (%prep)
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1336

-- Commit Summary --

  * Prevent automatic garbage collection in git based %autosetup macros

-- File Changes --

    M macros.in (1)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1336.patch
https://github.com/rpm-software-management/rpm/pull/1336.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1336
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to