Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235642 - portage fails to merge hardlinks as hardlinks
Summary: portage fails to merge hardlinks as hardlinks
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 247922 (view as bug list)
Depends on:
Blocks: 210077 216231
  Show dependency tree
 
Reported: 2008-08-25 01:07 UTC by Robin Johnson
Modified: 2008-11-27 04:12 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-08-25 01:07:21 UTC
Maybe a known bug, but I couldn't find anything else in the tree for it.
When the install phase creates hardlinks and the package have preserves them into the tarball correctly, the qmerge phase does not seem to preserve them when copying onto the filesystem.

dev-util/git shows it up for /usr/bin/git-* (in 1.5) or /usr/libexec/git-core/git-* (in 1.6).
Comment 1 Zac Medico gentoo-dev 2008-08-25 02:44:31 UTC
It will work just fine if $PORTAGE_TMPDIR is on the the same file system as $ROOT. Otherwise, yes, it's a known issue that needs fixing.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-08-25 03:00:03 UTC
Yeah, I have $PORTAGE_TMPDIR as tmpfs.

For dev-util/git, this hardlink bug costs 70MiB of disk. I'm going to look and see if I can convert the package to symlinks instead for now.
Comment 3 Zac Medico gentoo-dev 2008-11-26 20:35:47 UTC
*** Bug 247922 has been marked as a duplicate of this bug. ***
Comment 4 Zac Medico gentoo-dev 2008-11-27 04:12:47 UTC
This is fixed in 2.1.6_rc2.