[MacPorts] #25551: git-core installs 214 identical git binaries instead of hardlinking
#25551: git-core installs 214 identical git binaries instead of hardlinking ----------------------------------------+----------------------------------- Reporter: oyasumi+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: git-core ----------------------------------------+----------------------------------- In my installation, the shasum of the /opt/local/bin/git binary (1238372 bytes or 2419 512-byte blocks long) is df903d1522d3903a95dd12036fac82d9f6133e0a. That same file occurrs in no less than 214 places on disk after installation, only half of which are hardlinks (presumably the /opt/local/var/macports/software/git- core/1.7.1.1_0+doc+svn/opt/local mirror of the /opt/local tree), which seems like serious waste. Attaching the output of "shasum $(find /opt/local -type f -size 2419)" on my system, that lists all the culprits. -- Ticket URL: <http://trac.macports.org/ticket/25551> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25551: git-core installs 214 identical git binaries instead of hardlinking ----------------------------------------+----------------------------------- Reporter: oyasumi+macports@… | Owner: maccheck@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: git-core ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => maccheck@… Comment: As I recall, hardlinks do not survive MacPorts' destroot process; git-core should be revised to use symlinks instead. Please remember to Cc the port maintainer. -- Ticket URL: <http://trac.macports.org/ticket/25551#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25551: git-core installs 214 identical git binaries instead of hardlinking ----------------------------------------+----------------------------------- Reporter: oyasumi+macports@… | Owner: maccheck@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: git-core ----------------------------------------+----------------------------------- Comment(by blb@…): Probably a dup of #13601. -- Ticket URL: <http://trac.macports.org/ticket/25551#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25551: git-core installs 214 identical git binaries instead of hardlinking ----------------------------------------+----------------------------------- Reporter: oyasumi+macports@… | Owner: maccheck@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: git-core ----------------------------------------+----------------------------------- Comment(by maccheck@…): Maybe I found a solution with replacing the hardlinks in $(prefix)/libexec /git-core with symlinks at least. Find attached Portfile.patch and patch-Makefile.diff -- Ticket URL: <http://trac.macports.org/ticket/25551#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25551: git-core installs 214 identical git binaries instead of hardlinking -----------------------------------------+---------------------------------- Reporter: oyasumi+macports@… | Owner: maccheck@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: duplicate | Keywords: Port: git-core | -----------------------------------------+---------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => duplicate Comment: #13601 -- Ticket URL: <https://trac.macports.org/ticket/25551#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts