Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342845 - dev-vcs/git-1.7.3.2-r1 - cp: cannot stat `/var/tmp/portage/dev-vcs/git-1.7.3.2-r1/work/git-1.7.3.2/contrib/git-shell-commands': No such file or directory
Summary: dev-vcs/git-1.7.3.2-r1 - cp: cannot stat `/var/tmp/portage/dev-vcs/git-1.7.3....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 342885 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-26 23:41 UTC by Albert W. Hopkins
Modified: 2010-10-27 14:23 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,21.91 KB, text/plain)
2010-10-26 23:42 UTC, Albert W. Hopkins
Details
emerge --info (emerge_info.txt,3.68 KB, text/plain)
2010-10-26 23:43 UTC, Albert W. Hopkins
Details
USE flags (emerge_pqv_dev-vcs_git-1.7.3.2-r1.txt,180 bytes, text/plain)
2010-10-26 23:43 UTC, Albert W. Hopkins
Details
patch to fix the problem (git-shell-commands-not-here-anymore.patch,564 bytes, patch)
2010-10-27 05:47 UTC, Kyle Milz
Details | Diff
minimal edit of previous ebuild (git-1.7.3.2-r2.ebuild,12.87 KB, text/plain)
2010-10-27 06:00 UTC, Frank
Details
ebuild with dodoc fix (git-1.7.3.2-r2.ebuild,12.85 KB, text/plain)
2010-10-27 06:56 UTC, Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2010-10-26 23:41:50 UTC
for p in  git-add git-annotate git-apply git-archive git-bisect--helper git-blame git-branch git-bundle git-cat-file git-check-attr git-check-ref-format git-checkout-index git-checkout git-clean git-clone git-commit-tree git-commit git-config git-count-objects git-describe git-diff-files git-diff-index git-diff-tree git-diff git-fast-export git-fetch-pack git-fetch git-fmt-merge-msg git-for-each-ref git-fsck git-gc git-grep git-hash-object git-help git-index-pack git-init-db git-log git-ls-files git-ls-remote git-ls-tree git-mailinfo git-mailsplit git-merge git-merge-base git-merge-file git-merge-index git-merge-ours git-merge-recursive git-merge-tree git-mktag git-mktree git-mv git-name-rev git-notes git-pack-objects git-pack-redundant git-pack-refs git-patch-id git-prune-packed git-prune git-push git-read-tree git-receive-pack git-reflog git-remote git-replace git-rerere git-reset git-rev-list git-rev-parse git-revert git-rm git-send-pack git-shortlog git-show-branch git-show-ref git-stripspace git-symbolic-ref git-tag git-tar-tree git-unpack-file git-unpack-objects git-update-index git-update-ref git-update-server-info git-upload-archive git-var git-verify-pack git-verify-tag git-write-tree git-cherry git-cherry-pick git-format-patch git-fsck-objects git-get-tar-commit-id git-init git-merge-subtree git-peek-remote git-repo-config git-show git-stage git-status git-whatchanged; do \
    rm -f "$execdir/$p" && \
    ln "$execdir/git" "$execdir/$p" 2>/dev/null || \
    ln -s "git" "$execdir/$p" 2>/dev/null || \
    cp "$execdir/git" "$execdir/$p" || exit; \
done && \
remote_curl_aliases="" && \
for p in $remote_curl_aliases; do \
    rm -f "$execdir/$p" && \
    ln "$execdir/git-remote-http" "$execdir/$p" 2>/dev/null || \
    ln -s "git-remote-http" "$execdir/$p" 2>/dev/null || \
    cp "$execdir/git-remote-http" "$execdir/$p" || exit; \
done && \
./check_bindir "z$bindir" "z$execdir" "$bindir/git-add"
doman failed
cp: cannot stat `/var/tmp/portage/dev-vcs/git-1.7.3.2-r1/work/git-1.7.3.2/contrib/git-shell-commands': No such file or directory

I'm assuming some of these programs do not get built based on USE flags.  Logs to follow.
Comment 1 Albert W. Hopkins 2010-10-26 23:42:34 UTC
Created attachment 252119 [details]
build.log
Comment 2 Albert W. Hopkins 2010-10-26 23:43:11 UTC
Created attachment 252121 [details]
emerge --info
Comment 3 Albert W. Hopkins 2010-10-26 23:43:43 UTC
Created attachment 252123 [details]
USE flags
Comment 4 jeremy 2010-10-27 00:27:50 UTC
i can confirm this issue. i recieve the exact same error message.
Comment 5 Dmitry Suloev 2010-10-27 01:09:56 UTC
Yes, at me the same error.
Comment 6 Haze 2010-10-27 02:53:02 UTC
Hi I have the same issue, with this USES flags: bash-completion perl subversion threads tk.
Comment 7 Kyle Milz 2010-10-27 05:47:14 UTC
Created attachment 252147 [details, diff]
patch to fix the problem

Well it looks like git-shell-commands is no longer in the contrib/ directory.

Does anyone even compile test new ebuilds? I mean come on.
Comment 8 Frank 2010-10-27 06:00:16 UTC
Created attachment 252151 [details]
minimal edit of previous ebuild

I could not find the contrib/git-shell-command in git sources. I could also not find, how they should be created. 

Not installing the (not existing) git-shell-command will, at least on my machine, lead to a compiling git again.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-27 06:25:20 UTC
*** Bug 342885 has been marked as a duplicate of this bug. ***
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-10-27 06:25:58 UTC
While you're at it please fix the doman bug as well:

doman: 'Documentation/*.[157]' is probably not a man page; skipping
doman failed
Comment 11 Frank 2010-10-27 06:56:06 UTC
Created attachment 252157 [details]
ebuild with dodoc fix

...which would look like this - right?
Comment 12 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-10-27 07:43:03 UTC
1. That doman change is NOT correct. I've included a better version and an explicit comment as to why both are needed. (docs may be in either or both dirs, depending on build settings).
2. Dropped the shell-commands bit, was reading the wrong file when I fixed the last bit, which was post my last test build.