Changes between Initial Version and Version 1 of Ticket #20217


Ignore:
Timestamp:
Jul 8, 2009, 5:35:58 AM (15 years ago)
Author:
blb@…
Comment:

The cause is that the startupitem code specifically uses -owner root -group wheel when installing the launchd bits (or equivalent). You can set

startupitem_type none

in macports.conf to avoid having it install it at all, but that is mostly just a workaround.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20217

    • Property Summary changed from apache2 - 2.2.11 - Build fails when installing as non-root to startupitem-based build fails when installing as non-root
    • Property Component changed from ports to base
    • Property Milestone changed from to MacPorts Future
  • Ticket #20217 – Description

    initial v1  
    11Output:
    22
    3 {{{--->  Staging apache2 into destroot
     3{{{
     4--->  Staging apache2 into destroot
    45--->  Creating launchd control script
    56Error: 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
    67Error: 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
    7 Error: Status 1 encountered during processing.}}}
     8Error: Status 1 encountered during processing.
     9}}}
    810
    911Though looking at the portfile, it may have to do with the built-in startupitem calls.