Skip to content

Instantly share code, notes, and snippets.

@devn
Created April 7, 2012 15:53
Show Gist options
  • Select an option

  • Save devn/2329891 to your computer and use it in GitHub Desktop.

Select an option

Save devn/2329891 to your computer and use it in GitHub Desktop.
scsh build issue
`brew --config`:
HOMEBREW_VERSION: 0.9
HEAD: fbbf0b2e5a860a4235bd91ac0d3353288e2cb9f4
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.7.3
Kernel Architecture: x86_64
Xcode: 4.2.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
Clang: 2.1 build 163
MacPorts or Fink? false
X11: /usr/X11
System Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Which Perl: /usr/bin/perl
Which Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.2/bin/python
Which Ruby: /Users/plato/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
`brew doctor`:
Warning: You have Xcode 4.2.1, which is outdated.
Please install Xcode 4.3.
Warning: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link f` will cause other formulae to detect them during the
`./configure` step. This may cause problems when compiling those
other formulae.
Binaries provided by keg-only formulae may override system binaries
with other strange results.
You may wish to `brew unlink` these brews:
libxml2
libxslt
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libmacfuse_i32.2.dylib /usr/local/lib/libmacfuse_i64.2.dylib /usr/local/lib/libosxfuse_i32.2.dylib /usr/local/lib/libosxfuse_i64.2.dylib
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libosxfuse_i32.la /usr/local/lib/libosxfuse_i64.la
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/osxfuse.pc
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built.
libiconv
Warning: Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:
brew install xz
Run `brew missing` for more details.
`brew install scsh`:
~> brew install scsh
Warning: You have Xcode 4.2.1, which is outdated.
Please install Xcode 4.3.
==> Downloading http://ftp.scsh.net/pub/scsh/0.6/scsh-0.6.7.tar.gz
Already downloaded: /Users/plato/Library/Caches/Homebrew/scsh-0.6.7.tar.gz
==> ./configure --disable-debug --prefix=/usr/local/Cellar/scsh/0.6.7 --infodir=/usr/local/Cellar/scsh/
==> make install
/usr/bin/llvm-gcc -c -Os -w -pipe -march=core2 -msse4 -m32 -o c/main.o \
-DDEFAULT_IMAGE_NAME=\"/usr/local/Cellar/scsh/0.6.7/lib/scsh/scsh.image\" \
-DHAVE_CONFIG_H ./c/main.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/process_args.o scsh/process_args.c
/usr/bin/llvm-gcc -c -Os -w -pipe -march=core2 -msse4 -m32 -o c/init.o \
-DDEFAULT_IMAGE_NAME=\"/usr/local/Cellar/scsh/0.6.7/lib/scsh/scsh.image\" \
-DHAVE_CONFIG_H ./c/init.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o c/scheme48vm.o c/scheme48vm.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o c/scheme48heap.o c/scheme48heap.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o c/extension.o c/extension.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o c/external.o c/external.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o cig/libcig.o cig/libcig.c
WARNING: While resolving call to function 'internal_s48_main' arguments were dropped!
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o cig/libcig1.o cig/libcig1.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/cstuff.o scsh/cstuff.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/dirstuff1.o scsh/dirstuff1.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/fdports1.o scsh/fdports1.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/flock1.o scsh/flock1.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/machine/time_dep1.o scsh/machine/time_dep1.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/signals1.o scsh/signals1.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/machine/libansi.o scsh/machine/libansi.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/network1.o scsh/network1.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/putenv.o scsh/putenv.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/rx/regexp1.o scsh/rx/regexp1.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/sleep1.o scsh/sleep1.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/syscalls1.o scsh/syscalls1.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/syslog1.o scsh/syslog1.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/time1.o scsh/time1.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/tty1.o scsh/tty1.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/userinfo1.o scsh/userinfo1.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/sighandlers1.o scsh/sighandlers1.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/libscsh.o scsh/libscsh.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/md5.o scsh/md5.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o scsh/proc2.o scsh/proc2.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o c/srfi/srfi-27.o c/srfi/srfi-27.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o c/unix/misc.o c/unix/misc.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o c/unix/io.o c/unix/io.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o c/unix/fd-io.o c/unix/fd-io.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o c/unix/event.o c/unix/event.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o c/unix/socket.o c/unix/socket.c
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig -Os -w -pipe -march=core2 -msse4 -m32 -o c/unix/dynamo.o c/unix/dynamo.c
echo '#!/bin/sh' >go && \
echo >>go && \
echo "lib=`pwd`" >>go && \
echo 'exec $lib/scshvm -o $lib/scshvm -i $lib/scsh/scsh.image "$@"' \
>>go && \
chmod +x go
/usr/bin/llvm-gcc -o scsh/scsh -Os -w -pipe -march=core2 -msse4 -m32 \
-DVM=\"/usr/local/Cellar/scsh/0.6.7/lib/scsh/scshvm\" \
-DIMAGE=\"/usr/local/Cellar/scsh/0.6.7/lib/scsh/scsh.image\" \
./scsh/scsh-tramp.c
sed -e 's|@scsh_host@|i686-apple-darwin11.3.0|g' \
-e 's|@scsh_prefix@|/usr/local/Cellar/scsh/0.6.7|g' \
-e 's|@scsh_exec_prefix@|/usr/local/Cellar/scsh/0.6.7|g' \
-e 's|@scsh_bindir@|/usr/local/Cellar/scsh/0.6.7/bin|g' \
-e 's|@scsh_libdir@|/usr/local/Cellar/scsh/0.6.7/lib|g' \
-e 's|@scsh_includedir@|/usr/local/Cellar/scsh/0.6.7/include|g' \
-e 's|@scsh_mandir@|/usr/local/Cellar/scsh/0.6.7/share/man/man1|g' \
-e 's|@scsh_lib_dirs_list@|("/usr/local/Cellar/scsh/0.6.7/lib/scsh/modules" "/usr/local/Cellar/scsh/0.6.7/lib/scsh/modules/0.6")|g' \
-e 's|@scsh_LIBS@|-ldl -lm |g' \
-e 's|@scsh_DEFS@|-DHAVE_CONFIG_H|g' \
-e 's|@scsh_CFLAGS@|-Os -w -pipe -march=core2 -msse4 -m32|g' \
-e 's|@scsh_CPPFLAGS@||g' \
-e 's|@scsh_LDFLAGS@|-arch i386|g' ./scsh/configure.scm.in > scsh/configure.scm
/usr/bin/llvm-gcc -c -DHAVE_CONFIG_H -Os -w -pipe -march=core2 -msse4 -m32 -DSTATIC_AREAS -o c/smain.o ./c/main.c
for dir in /usr/local/Cellar/scsh/0.6.7/lib /usr/local/Cellar/scsh/0.6.7/bin /usr/local/Cellar/scsh/0.6.7/include /usr/local/Cellar/scsh/0.6.7/lib/scsh /usr/local/Cellar/scsh/0.6.7/share/man/man1 /usr/local/Cellar/scsh/0.6.7/lib/scsh/doc/scsh-manual/html; do\
{ mkdir -p $dir && [ -w $dir ]; } || { \
echo "$dir not a writable directory" >&2; \
exit 1; \
} \
done && \
for dir in \
rts env big opt misc link srfi scsh doc/scsh-manual \
doc/s48-manual/html doc/scsh-paper/html cig; do \
{ mkdir -p /usr/local/Cellar/scsh/0.6.7/lib/scsh/$dir && [ -w /usr/local/Cellar/scsh/0.6.7/lib/scsh/$dir ]; } || { \
echo "/usr/local/Cellar/scsh/0.6.7/lib/scsh/$dir not a writable directory" >&2; \
exit 1; \
}; \
done
script=/usr/local/Cellar/scsh/0.6.7/bin/scsh && \
echo '#!/bin/sh' >$script && \
echo >>$script && \
echo 'lib=/usr/local/Cellar/scsh/0.6.7/lib/scsh' >>$script && \
echo 'exec $lib/scshvm -o $lib/scshvm -i $lib/scsh.image "$@"' \
>>$script && \
chmod +x $script
for stub in env big opt misc link srfi; do \
for f in ./scheme/$stub/*.scm; do \
/usr/bin/install -c -m 644 $f /usr/local/Cellar/scsh/0.6.7/lib/scsh/$stub || exit 1; \
done; \
done && \
for f in ./scheme/rts/*num.scm ./scheme/rts/jar-defrecord.scm; do \
/usr/bin/install -c -m 644 $f /usr/local/Cellar/scsh/0.6.7/lib/scsh/rts || exit 1; \
done
/bin/sh: /usr/local/Cellar/scsh/0.6.7/bin/scsh: No such file or directory
make: *** [inst-script] Error 1
make: *** Waiting for unfinished jobs....
install: /usr/local/Cellar/scsh/0.6.7/lib/scsh/env: No such file or directory
make: *** [inst-misc] Error 1
config.log was copied to /Users/plato/Library/Logs/Homebrew
==> Build Environment
CPU: 8-core 64-bit sandybridge
MacOS: 10.7.3-x86_64
Xcode: 4.2.1
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -Os -w -pipe -march=core2 -msse4 -m32
CXXFLAGS: -Os -w -pipe -march=core2 -msse4 -m32
LDFLAGS: -arch i386
MAKEFLAGS: -j8
Error: Failed executing: make install (scsh.rb:15)
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/reporting-bugs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment