[launchd-dev] launchd (257) not building

Dave MacLachlan dmaclach at gmail.com
Mon Mar 17 09:40:39 PDT 2008


On Mar 17, 2008, at 02:55 , Quinn wrote:

> At 18:00 -0700 16/3/08, Dave MacLachlan wrote:
>> I haven't found bootfiles.h, but from what I can glean:
>>
>> #define kBootRootActiveKey "bootroot-active"
>> #define	SO_EXECPATH	0x1085
>>
>> (could somebody please correct me if those values are wrong)
>
> kBootRootActiveKey is defined in "bootfiles", which is open source.
>
> <http://www.opensource.apple.com/darwinsource/10.5/IOKitUser-376/kext.subproj/bootfiles.h 
> >
>
> SO_EXECPATH is part of the kernel source.
>
> <http://www.opensource.apple.com/darwinsource/10.5/xnu-1228/bsd/sys/socket.h 
> >
>
> "quarantine.h" is part of the "quarantine" project, which is not  
> open source AFAIK.

Thanks Quinn,

I will log a bug against darwinbuild to get IOKitUser added to the  
dependencies for launchd. I also found the launchd "HAVE_QUARANTINE"  
define, and turned that off. This allowed me to build liblaunch which  
is what I needed. Unfortunately to build libSystem (my end goal) I  
need to have libQuarantine, and libSandbox, both of which I am  
guessing are not opensource at this time.

Logged radars
  5802544: launchd doesn't compile with HAVE_QUARANTINE undefined
  5802557: launchd makefiles need a better way of determining if  
quarantine.h is available

and DarwinBuild bugs
http://trac.macosforge.org/projects/darwinbuild/ticket/9  launchd  
depends on CoreFoundation
http://trac.macosforge.org/projects/darwinbuild/ticket/10 Libsystem  
not building

Cheers,
Dave


More information about the launchd-dev mailing list