Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 228033

Summary: dev-util/git-1.5.5.3-r1: probably an install problem
Product: Gentoo Linux Reporter: Rafał Mużyło <galtgendo>
Component: New packagesAssignee: Fernando J. Pereda (RETIRED) <ferdy>
Status: RESOLVED INVALID    
Severity: normal CC: jer, lpmichalik, robbat2
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-util:git-1.5.5.4:20080614-145015.log.gz

Description Rafał Mużyło 2008-06-18 10:26:56 UTC
A least I think this is a problem with install.
When I took a look at /usr/bin/, I noticed that there are many files there
with name git-*. While some of those are actually different files,
many look like they should have been symlinks, cause they only differ
in name.
Comment 1 Łukasz Michalik 2008-06-18 11:57:17 UTC
ls -lS /usr/bin/git-*

It shows you those are either symlinks to /usr/bin/git (which can do different simple operations on it's own, basing what to do by looking on command line it was invoked with) or executables on their own.  Are you sure that is not what you are seeing in your setup?
Comment 2 Rafał Mużyło 2008-06-18 13:04:24 UTC
No, for some reason those, that should have been symlinks, are not.
I'll see if a rebuild fixes it.
Comment 3 Rafał Mużyło 2008-06-18 13:13:15 UTC
It look like during installation hardlinks are created instead of symlinks
(at least Makefile looks that way - just 'ln' , not 'ln -s')
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-18 14:54:45 UTC
Created attachment 157445 [details]
dev-util:git-1.5.5.4:20080614-145015.log.gz

This is the nearest (newer) version I have at hand, and it clearly shows the ln, not ln -s problem.
Comment 5 Fernando J. Pereda (RETIRED) gentoo-dev 2008-06-18 20:54:16 UTC
We used to create symlinks, but we are back to creating what upstream creates, hardlinks. I'm not sure why anyone would think that they should be symlinks, they should clearly be hardlinks and that's what we create now :)

I'm not seeing the problem here.... someone care to elaborate?

- ferdy
Comment 6 Rafał Mużyło 2008-06-18 22:16:54 UTC
OK, not really a problem, it's just hard to tell those are links, not files,
even 'equery s' gets confused by it.
Comment 7 Fernando J. Pereda (RETIRED) gentoo-dev 2008-06-19 07:13:44 UTC
Well, to me it is pretty straightforward that those should be hardlinks :)

- ferdy