[MacPorts] #32103: mumble @1.2.2 fails destroot
#32103: mumble @1.2.2 fails destroot ---------------------------------+------------------------------------------ Reporter: gotyaoi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: mumble ---------------------------------+------------------------------------------ While I was installing mumble, I got this error when it tried to do the destroot phase {{{ :debug:destroot Executing org.macports.destroot (mumble) :error:destroot Target org.macports.destroot returned: error copying "/opt/local /var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_p orts_aqua_mumble/mumble/work/mumble-1.2.2/release/Mumble.app" to "/opt/local/App lications/MacPorts/Mumble.app": no such file or directory }}} I checked, and /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_p orts_aqua_mumble/mumble/work/mumble-1.2.2/release/Mumble.app definitely exists, but /opt/local/Applications and anything below it does not. seen on OSX 10.5.8 -- Ticket URL: <https://trac.macports.org/ticket/32103> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32103: mumble @1.2.2 fails destroot ---------------------------------+------------------------------------------ Reporter: gotyaoi@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: mumble ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * owner: macports-tickets@… => snc@… -- Ticket URL: <https://trac.macports.org/ticket/32103#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32103: mumble @1.2.2 fails destroot ---------------------------------+------------------------------------------ Reporter: gotyaoi@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: mumble ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * cc: snc@… (added) * owner: snc@… => ryandesign@… Comment: This bug was introduced into the port in r59656. Since installing this port requires a 32-bit Mac, I'm having to spend some time installing the dependencies on a secondary system, before I can test my fix. -- Ticket URL: <https://trac.macports.org/ticket/32103#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32103: mumble @1.2.2 fails destroot ---------------------------------+------------------------------------------ Reporter: gotyaoi@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: mumble ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Replying to [comment:2 ryandesign@…]:
installing this port requires a 32-bit Mac
Well, a Mac on which 32-bit building is the default, i.e. Tiger, Leopard, or 32-bit Snow Leopard. -- Ticket URL: <https://trac.macports.org/ticket/32103#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32103: mumble @1.2.2 fails destroot ---------------------------------+------------------------------------------ Reporter: gotyaoi@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: mumble ---------------------------------+------------------------------------------ Comment(by gotyaoi@…): Replying to [comment:2 ryandesign@…]:
This bug was introduced into the port in r59656. Since installing this port requires a 32-bit Mac, I'm having to spend some time installing the dependencies on a secondary system, before I can test my fix.
Oh yeah, qt4-mac took ages for me. Take your time, and thanks for looking into this so quickly. -- Ticket URL: <https://trac.macports.org/ticket/32103#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32103: mumble @1.2.2 fails destroot ---------------------------------+------------------------------------------ Reporter: gotyaoi@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: mumble ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * keywords: => haspatch Comment: Still building dependencies, but here's the patch I'm going to be testing, if you want to test it yourself. The installing-things-correctly part should be right, it's the cleaning-up-previous-bad-installs part I need to test. But if you haven't installed mumble before you won't be affected by that. -- Ticket URL: <https://trac.macports.org/ticket/32103#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32103: mumble @1.2.2 fails destroot ---------------------------------+------------------------------------------ Reporter: gotyaoi@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: mumble ---------------------------------+------------------------------------------ Comment(by gotyaoi@…): Replying to [comment:5 ryandesign@…]:
Still building dependencies, but here's the patch I'm going to be testing, if you want to test it yourself. The installing-things-correctly part should be right, it's the cleaning-up-previous-bad-installs part I need to test. But if you haven't installed mumble before you won't be affected by that.
Great Success! Mumble is now installed and activated. -- Ticket URL: <https://trac.macports.org/ticket/32103#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32103: mumble @1.2.2 fails destroot ----------------------------------+----------------------------------------- Reporter: gotyaoi@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: haspatch Port: mumble | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Ok, after some testing, I've concluded that all users would have experienced destroot failures with this port. Usually the directory ${prefix}${applications_dir} would not exist, so users would get this destroot error: {{{ Error: Target org.macports.destroot returned: error copying "/opt/local/var/macports/build/_path_to_aqua_mumble/mumble/work/mumble-1.2.2/release/Mumble.app" to "/opt/local/Applications/MacPorts/Mumble.app": no such file or directory }}} If the user for some reason did have that directory, then they'd instead get this destroot error: {{{ Error: No files have been installed in the destroot directory! Error: Please make sure that this software supports 'make install DESTDIR=${destroot}' or implement an alternative destroot mechanism in the Portfile. Error: Files might have been installed directly into your system, check before proceeding. }}} And in that case, Mumble would have been successfully installed in ${prefix}${applications_dir} but not registered to the port. So the patch I attached here is correct for both fixing the destroot and for cleaning up the unregistered app if it existed. Committed in r87719. -- Ticket URL: <https://trac.macports.org/ticket/32103#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts