[MacPorts] #15778: macfuse portfile assumes MacPorts is installed in /opt/local
#15778: macfuse portfile assumes MacPorts is installed in /opt/local ------------------------------------+--------------------------------------- Reporter: eris.discord@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: macfuse | ------------------------------------+--------------------------------------- Just as the title says, the macfuse port assumes that MacPorts is installed in the default location, /opt/local. I have an unusual setup with MacPorts installed in /Software/MacPorts and other unix-like software packages installed in /Software/*.prefix so I can easily remove them without having to hunt for files. Unfortunately this means MacFUSE goes in the wrong folder and doesn't end up in my path. :) I would try to fix this myself and submit a patch, but I'm not really sure about the proper use of for instance install_name_tool. I'm kind of afraid to break things with it... -- Ticket URL: <http://trac.macports.org/ticket/15778> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15778: macfuse portfile assumes MacPorts is installed in /opt/local -------------------------------------+-------------------------------------- Reporter: eris.discord@gmail.com | Owner: eridius@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: macfuse -------------------------------------+-------------------------------------- Changes (by ram@macports.org): * owner: macports-tickets@lists.macosforge.org => eridius@macports.org * milestone: => Port Bugs Comment: assign to maintainer -- Ticket URL: <http://trac.macports.org/ticket/15778#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15778: macfuse portfile assumes MacPorts is installed in /opt/local -------------------------------------+-------------------------------------- Reporter: eris.discord@gmail.com | Owner: eridius@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: macfuse Port: macfuse | -------------------------------------+-------------------------------------- Changes (by jmr@macports.org): * cc: mike@it-loops.com (added) * port: => macfuse Comment: Cc reporter of duplicate #16956. -- Ticket URL: <http://trac.macports.org/ticket/15778#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15778: macfuse portfile assumes MacPorts is installed in /opt/local ------------------------------------+--------------------------------------- Reporter: eris.discord@… | Owner: eridius@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: macfuse | Port: macfuse ------------------------------------+--------------------------------------- Comment(by gkelly@…): macfuse.2.patch doesn't work if prefix is "/usr/local". After the build, it is untarred, and then there's a line in the destroot that deletes usr/local, so the subsequent commands fail to operate on the files that were just removed! -- Ticket URL: <http://trac.macports.org/ticket/15778#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15778: macfuse portfile assumes MacPorts is installed in /opt/local ------------------------------------+--------------------------------------- Reporter: eris.discord@… | Owner: eridius@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: macfuse | Port: macfuse ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * cc: gkelly@…, ryandesign@… (added) Comment: Replying to [comment:3 gkelly@…]:
macfuse.2.patch doesn't work if prefix is "/usr/local". After the build, it is untarred, and then there's a line in the destroot that deletes usr/local, so the subsequent commands fail to operate on the files that were just removed! It is not supported for ${prefix} to be /usr/local. Use some other prefix for MacPorts.
-- Ticket URL: <http://trac.macports.org/ticket/15778#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15778: macfuse portfile assumes MacPorts is installed in /opt/local ------------------------------------+--------------------------------------- Reporter: eris.discord@… | Owner: eridius@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: macfuse | Port: macfuse ------------------------------------+--------------------------------------- Comment(by ryandesign@…): Replying to [comment:4 ryandesign@…]:
It is not supported for ${prefix} to be /usr/local. Use some other prefix for MacPorts. I filed #18602 to prevent installation of MacPorts with the prefix /usr/local.
-- Ticket URL: <http://trac.macports.org/ticket/15778#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15778: macfuse portfile assumes MacPorts is installed in /opt/local -------------------------------------+-------------------------------------- Reporter: eris.discord@… | Owner: eridius@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: macfuse Port: macfuse | -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Since the maintainer hasn't responded to this issue, I committed the patch in r47182, with a slight modification to delete ${destpath}${prefix} before untarring the built software. This should allow it to work if ${prefix} is /usr/local. However, having prefix set to /usr/local is still unsupported and other ports will probably also be broken under such a setup. Don't expect MacPorts to continue to allow using prefix /usr/local. -- Ticket URL: <http://trac.macports.org/ticket/15778#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts