[phobos] OSX builds are broken

Alex Rønne Petersen xtzgzorex at gmail.com
Mon Sep 3 00:04:47 PDT 2012


On Mon, Sep 3, 2012 at 8:53 AM, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
> On Monday, September 03, 2012 06:50:15 Jacob Carlborg wrote:
>> On Sep 03, 2012, at 03:37 AM, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
>> > I have no idea which pull request did it, and I don't have an OSX machine
>> > to figure it out with, but it looks like one of the recent commits broke
>> > the OSX build:
>> >
>> > http://d.puremagic.com/test-results/
>>
>> Works for me on Mac OS X 10.6
>
> Hmmm. Looking at the logs, it looks like the box itself may just be foobared:
>
> posix.mak:28: no cpu specified, assuming X86
> MACOSX_DEPLOYMENT_TARGET=10.3 g++-4.2 -m32 -isysroot
> /Developer/SDKs/MacOSX10.5.sdk idgen.c -o idgen
> MACOSX_DEPLOYMENT_TARGET=10.3 g++-4.2 -m32 -isysroot
> /Developer/SDKs/MacOSX10.5.sdk -Wno-deprecated -Wstrict-aliasing -D__pascal= -
> fno-exceptions -O2 -Ibackend -Itk -Iroot -DMARS=1 -DTARGET_OSX=1 -
> DDM_TARGET_CPU_X86=1 backend/optabgen.c -o optabgen
> /bin/sh: g++-4.2: command not found
> /bin/sh: g++-4.2: command not found
> make: *** [optabgen] Error 127
> make: *** Waiting for unfinished jobs....
> make: *** [idgen] Error 127
>
> Clearly, something is seriously wrong if it can't even find gcc.

It's most likely just PATH not being set correctly. I've had this
happen on an OS X machine too (had to set it explicitly).

Regards,
Alex


More information about the phobos mailing list