Opened 15 years ago
Last modified 15 years ago
#20217 closed defect
startupitem-based build fails when installing as non-root — at Version 1
Reported by: | jameskyle@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.8.0 |
Keywords: | Cc: | ||
Port: |
Description (last modified by blb@…)
Output:
---> Staging apache2 into destroot ---> Creating launchd control script Error: Target org.macports.destroot returned: could not set owner for file "/Users/jkyle/Projects/macports/ports_test/var/macports/build/_Users_jkyle_Projects_macports_dports_www_apache2/work/destroot/Users/jkyle/Projects/macports/ports_test/etc/LaunchDaemons/org.macports.apache2": not owner Error: The following dependencies failed to build: mod_perl2 apache2 p5-archive-zip p5-compress-zlib p5-compress-raw-zlib p5-io-compress-base p5-io-compress-zlib p5-file-rsyncp samba3 Error: Status 1 encountered during processing.
Though looking at the portfile, it may have to do with the built-in startupitem calls.
Change History (1)
comment:1 Changed 15 years ago by blb@…
Component: | ports → base |
---|---|
Description: | modified (diff) |
Milestone: | → MacPorts Future |
Summary: | apache2 - 2.2.11 - Build fails when installing as non-root → startupitem-based build fails when installing as non-root |
Note: See
TracTickets for help on using
tickets.
The cause is that the startupitem code specifically uses
-owner root -group wheel
when installing the launchd bits (or equivalent). You can setin macports.conf to avoid having it install it at all, but that is mostly just a workaround.