New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #18708 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

rb-cocoa should not fail to instal if it can't write to /Library

Reported by: tim@… Owned by: kimuraw@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: rb-cocoa

Description (last modified by blb@…) (diff)

When macports is installed to my $HOME dir and I attempt to install rb-cocoa it fail to install. I do not need developer templates. I just need the library. Maybe make the +xcode variant for people that need it?

tim-dysingers-macbook-pro:~ tim$ port install rb-cocoa
--->  Fetching rb-cocoa
--->  Attempting to fetch RubyCocoa-0.13.2.tgz from http://distfiles.macports.org/ruby
--->  Verifying checksum(s) for rb-cocoa
--->  Extracting rb-cocoa
--->  Applying patches to rb-cocoa
--->  Configuring rb-cocoa
--->  Building rb-cocoa
--->  Staging rb-cocoa into destroot
--->  Installing rb-cocoa @0.13.2_2+darwin_9
--->  Activating rb-cocoa @0.13.2_2+darwin_9
Error: Target org.macports.activate returned: can't create directory "/Library/Application Support/Developer/Shared/Xcode/File Templates": permission denied
Error: Status 1 encountered during processing.

Change History

Changed 3 years ago by blb@…

  • owner changed from macports-tickets@… to kimuraw@…
  • description modified (diff)
  • port set to rb-cocoa

Installing there is also violating the standard MacPorts filesystem layout, so it should definitely be changed; of course Xcode probably won't see them if they're moved, so perhaps a message during post-activate pointing out the alternate location and that they should be symlinked or something?

Changed 3 years ago by kimuraw@…

  • status changed from new to closed
  • resolution set to fixed

I added a variant "xcode" as r48379.

  • -xcode (default): install templates into ${prefix}/share/doc/rb-cocoa/project-templats/
  • +xcode: install templates into /Library/Application Support/Developer/Shared/Xcode/

thanks,

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.