Home My Page Projects Code Snippets Project Openings SML/NJ Bugs
Summary Activity Tracker Lists

[#96] Build Failure with Xcode 4.3

Date:
2012-03-21 17:34
Priority:
3
State:
Closed
Submitted by:
Bug Submitter (webuser)
Assigned to:
John Reppy (jhr)
Machine Architecture:
x86
Operating System:
MacOS X
Component:
Installer
Resolution:
Fixed
Severity:
Minor
OS Version:
10.7.3
SML/NJ Version:
110.74
Keywords:
build
URL:
Transcript (of reproduction):
config/install.sh: Using shell /bin/sh. config/install.sh: SML root is /usr/local/Cellar/smlnj/110.74/libexec. config/install.sh: Installation directory is /usr/local/Cellar/smlnj/110.74/libexec. config/install.sh: Installing version 110.74. config/install.sh: URL of source archive is http://smlnj.cs.uchicago.edu/dist/working/110.74/. config/install.sh: Script /usr/local/Cellar/smlnj/110.74/libexec/bin/.arch-n-opsys reports ARCH=x86; OPSYS=darwin; HEAP_SUFFIX=x86-darwin. /usr/local/Cellar/smlnj/110.74/libexec/config/unpack: Fetching run-time from http://smlnj.cs.uchicago.edu/dist/working/110.74/. Please stand by... /usr/local/Cellar/smlnj/110.74/libexec/config/unpack: Trying runtime.tgz ... /usr/local/Cellar/smlnj/110.74/libexec/config/unpack: Fetching runtime.tgz was a success. /usr/local/Cellar/smlnj/110.74/libexec/config/unpack: Un-GZIP-ing and un-TAR-ing run-time archive. config/install.sh: Compiling the run-time system. (make RUNTIME= un.x86-darwin VERSION=v-x86-darwin CC=cc -m32 -ansi CFLAGS=-g -O2 -D_DARWIN_C_SOURCE -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 CPP=cc -x assembler-with-cpp -E -P -ansi AS=/usr/bin/as -arch i386 TARGET=X86 DEFS= -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC XOBJS=\ XLIBS=../c-libs/dl/libunix-dynload.a LD_LIBS=-ldl run.x86-darwin) (make MAKE=make clean) rm -f v-* run.* interactive-run \ gen-sizes gen-offsets gen-bc-instr-def \ gen-unix-signals gen-unix-sigtbl \ ml-sizes.h mlstate-offsets.h bc-instr-def.h \ system-signals.h unix-sigtbl.c \ *.o prim.s primops.s (cd ../memory; make MAKE=make clean) rm -f v-* *.o libmem.a (cd ../c-libs; make MAKE=make clean) for dir in posix-os smlnj-runtime smlnj-signals smlnj-sockets smlnj-prof smlnj-time smlnj-date smlnj-math smlnj-mp posix-error posix-filesys posix-io posix-procenv posix-process posix-signal posix-sysdb posix-tty smlnj-ccalls dl; do \ (cd $dir; echo cleaning $dir; make MAKE=make clean) ; \ done cleaning posix-os rm -f v-* *.o libposix-os.a cleaning smlnj-runtime rm -f v-* *.o libsmlnj-runt.a cleaning smlnj-signals rm -f v-* *.o libsmlnj-sig.a cleaning smlnj-sockets rm -f v-* *.o libsmlnj-sock.a cleaning smlnj-prof rm -f v-* *.o libsmlnj-prof.a cleaning smlnj-time rm -f v-* *.o libsmlnj-time.a cleaning smlnj-date rm -f v-* *.o libsmlnj-date.a cleaning smlnj-math rm -f v-* *.o libsmlnj-math.a cleaning smlnj-mp rm -f v-* *.o libsmlnj-mp.a cleaning posix-error rm -f v-* *.o libposix-error.a cleaning posix-filesys rm -f v-* *.o ml_pathconf.h libposix-filesys.a cleaning posix-io rm -f v-* *.o libposix-io.a cleaning posix-procenv rm -f v-* *.o ml_sysconf.h libposix-procenv.a cleaning posix-process rm -f v-* *.o libposix-process.a cleaning posix-signal rm -f v-* *.o libposix-signal.a cleaning posix-sysdb rm -f v-* *.o libposix-sysdb.a cleaning posix-tty rm -f v-* *.o libposix-tty.a cleaning smlnj-ccalls rm -f v-* *.o *.s libsmlnj-ccalls.a cleaning dl rm -f v-* *.o libunix-dynload.a rm -f v-* *.o (cd ../gc; make MAKE=make clean) rm -f v-* *.o libgc.a libmp-gc.a (cd ../mp; make MAKE=make clean) rm -f v-* *.o libmp.a echo v-x86-darwin v-x86-darwin cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -I../config -I../objs -I../include ../config/gen-common.c ../config/gen-common.c:8:10: fatal error: stdio.h file not found #include stdio.h ^ 1 error generated. make[1]: *** [gen-common.o] Error 1 make: *** [all] Error 2 config/install.sh: !!! Run-time system build failed for some reason.
Source (for reproduction):
Summary:
Build Failure with Xcode 4.3

Detailed description
Xcode 4.3 moved most of the infrastructure to new locations. Instead of /Developer/SDKs/, the SDKs are now in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/. Furthermore, the 10.5 SDK does not appear to be distributed with Xcode, nor do I see a way to obtain it.
Submitted via web form by Brian Gernhardt brian.gernhardt@cs.rit.edu

Comments:

Message  ↓
Date: 2012-08-02 17:36
Sender: John Reppy

Fixed for 110.75

Date: 2012-03-24 17:07
Sender: John Reppy

This bug is a duplicate of #89.

Attached Files:

Changes

Field Old Value Date By
close_date2012-08-02 17:402012-08-02 17:40jhr
ResolutionAccepted As Bug2012-08-02 17:40jhr
status_idOpen2012-08-02 17:36jhr
close_date2012-08-02 17:362012-08-02 17:36jhr
assigned_tonone2012-03-24 17:07jhr
SeverityCritical2012-03-24 17:07jhr
ResolutionNone2012-03-24 17:07jhr