[MacPorts] #30419: Groovy fails to build 10.7 Lion Macports 2 17 missing artifacts
#30419: Groovy fails to build 10.7 Lion Macports 2 17 missing artifacts -----------------------------------------+---------------------------------- Reporter: graphic_innovations@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: groovy -----------------------------------------+---------------------------------- Might be related to #30305 - removing, modifying, recreating .m2 didn't help. Fresh MacPorts 2 install for Lion. Attached log file. -- Ticket URL: <https://trac.macports.org/ticket/30419> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30419: Groovy fails to build 10.7 Lion Macports 2 17 missing artifacts -----------------------------------------+---------------------------------- Reporter: graphic_innovations@… | Owner: breskeby@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: groovy -----------------------------------------+---------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => breskeby@… -- Ticket URL: <https://trac.macports.org/ticket/30419#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30419: Groovy fails to build 10.7 Lion Macports 2 17 missing artifacts -----------------------------------------+---------------------------------- Reporter: graphic_innovations@… | Owner: breskeby@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: groovy -----------------------------------------+---------------------------------- Comment(by graphic_innovations@…): I'm the OP -- So, I spent more time reading the log and playing with permissions. Turns out the the default location of the .m2 folder (/private/var/root/.m2) has restricted permissions on the 'root' folder. I chmod'ed to 777 and reran the build and it worked. Don't forget to set your permissions back to the default just incase (drwxr-x---). So maybe this is a change with lion? (new permissions on /private/var/root) or the group or user is wrong for the installer? -- Ticket URL: <https://trac.macports.org/ticket/30419#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30419: Groovy fails to build 10.7 Lion Macports 2 17 missing artifacts -----------------------------------------+---------------------------------- Reporter: graphic_innovations@… | Owner: breskeby@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: groovy -----------------------------------------+---------------------------------- Changes (by breskeby@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/30419#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30419: Groovy fails to build 10.7 Lion Macports 2 17 missing artifacts -----------------------------------------+---------------------------------- Reporter: graphic_innovations@… | Owner: breskeby@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: groovy -----------------------------------------+---------------------------------- Comment(by jhuxhorn@…): I have the following additional info: This is not just related to Lion. I have the exact same issue on Snow Leopard. The .m2-folder in question looked like this: drwxr-xr-x 3 root staff 102 Jul 2 2010 .m2 It was located in /Users/admin in my case (admin being the sudoer-account) Simply deleting the .m2 folder wasn't sufficient. I had to recreate and chmod 777 .m2 to fix the build. /private/var/root does not contain a .m2 folder at all in my case. -- Ticket URL: <https://trac.macports.org/ticket/30419#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30419: Groovy fails to build 10.7 Lion Macports 2 17 missing artifacts -----------------------------------------+---------------------------------- Reporter: graphic_innovations@… | Owner: breskeby@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: groovy -----------------------------------------+---------------------------------- Comment(by breskeby@…): I've changed the installation now. I use a custom m2 folder within the working dir of the port. this should avoid permission problems with ~/.m2. hey guys. can you test this? -- Ticket URL: <https://trac.macports.org/ticket/30419#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30419: Groovy fails to build 10.7 Lion Macports 2 17 missing artifacts ------------------------------------------+--------------------------------- Reporter: graphic_innovations@… | Owner: breskeby@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: fixed | Keywords: Port: groovy | ------------------------------------------+--------------------------------- Changes (by breskeby@…): * status: assigned => closed * resolution: => fixed Comment: relocate the local m2 repo into the ports working dir to avoid permission problems that cause this problem -- Ticket URL: <https://trac.macports.org/ticket/30419#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30419: Groovy fails to build 10.7 Lion Macports 2 17 missing artifacts ------------------------------------------+--------------------------------- Reporter: graphic_innovations@… | Owner: breskeby@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: fixed | Keywords: Port: groovy | ------------------------------------------+--------------------------------- Comment(by graphic_innovations@…): Verified! -- Ticket URL: <https://trac.macports.org/ticket/30419#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30419: Groovy fails to build 10.7 Lion Macports 2 17 missing artifacts ------------------------------------------+--------------------------------- Reporter: graphic_innovations@… | Owner: breskeby@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: | Keywords: Port: groovy | ------------------------------------------+--------------------------------- Changes (by nils@…): * status: closed => reopened * resolution: fixed => Comment: I'm running OS X 10.7.1 and MacPorts 2.0.3 and although this ticket is closed as fixed I get this error. What should I be looking for? -- Ticket URL: <https://trac.macports.org/ticket/30419#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30419: Groovy fails to build 10.7 Lion Macports 2 17 missing artifacts ------------------------------------------+--------------------------------- Reporter: graphic_innovations@… | Owner: breskeby@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: | Keywords: Port: groovy | ------------------------------------------+--------------------------------- Comment(by nils@…): I had a custom ~/.m2/settings.xml pointing to a local Nexus instance. I temporarily renamed that file to settings.xml.disabled and then I was able to run 'sudo port install groovy'. -- Ticket URL: <https://trac.macports.org/ticket/30419#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30419: Groovy fails to build 10.7 Lion Macports 2 17 missing artifacts ------------------------------------------+--------------------------------- Reporter: graphic_innovations@… | Owner: breskeby@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: | Keywords: Port: groovy | ------------------------------------------+--------------------------------- Comment(by matthew.lewis@…): Replying to [ticket:30419 graphic_innovations@…]:
Might be related to #30305 - removing, modifying, recreating .m2 didn't help. Fresh MacPorts 2 install for Lion. Attached log file.
this issue still remains if you are behind a corporate firewall...... I had to insert proxy settings in settings.xml deep in ports file structure to get maven to work. Putting it in /usr/share/maven/conf/settings.xml, /private/var/root/.m2/settings.xml, or MAVEN_OPTS did not work. -- Ticket URL: <https://trac.macports.org/ticket/30419#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30419: Groovy fails to build 10.7 Lion Macports 2 17 missing artifacts ------------------------------------------+--------------------------------- Reporter: graphic_innovations@… | Owner: breskeby@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: | Keywords: Port: groovy | ------------------------------------------+--------------------------------- Comment(by ryandesign@…): Replying to [comment:2 graphic_innovations@…]:
Turns out the the default location of the .m2 folder (/private/var/root/.m2) has restricted permissions on the 'root' folder. [...] So maybe this is a change with lion? (new permissions on /private/var/root) or the group or user is wrong for the installer?
This is a change in MacPorts. As of MacPorts 2, the new privilege dropping code is enabled by default. MacPorts no longer gives ports unrestricted access to the user's hard disk. This is a good thing. -- Ticket URL: <https://trac.macports.org/ticket/30419#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30419: Groovy fails to build 10.7 Lion Macports 2 17 missing artifacts ------------------------------------------+--------------------------------- Reporter: graphic_innovations@… | Owner: breskeby@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: fixed | Keywords: Port: groovy | ------------------------------------------+--------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => fixed Comment: Seems fine with the HOME changes in 2.0.4. -- Ticket URL: <https://trac.macports.org/ticket/30419#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts