Created
November 9, 2012 12:14
-
-
Save mjhanninen/4045413 to your computer and use it in GitHub Desktop.
Dump for brew ticket "Ocaml-findlib fails on OS 10.8.2"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Output of `brew install ocaml-findlib` | |
-------------------------------------- | |
==> Downloading http://download.camlcity.org/download/findlib-1.2.7.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/ocaml-findlib-1.2.7.tar.gz | |
/usr/bin/tar xf /Library/Caches/Homebrew/ocaml-findlib-1.2.7.tar.gz | |
==> ./configure -config /usr/local/Cellar/ocaml-findlib/1.2.7/etc | |
./configure -config /usr/local/Cellar/ocaml-findlib/1.2.7/etc | |
Welcome to findlib version 1.2.7 | |
Configuring core... | |
Testing threading model... | |
systhread_supported: true | |
Testing DLLs... | |
Configuring libraries... | |
native dynlink: found | |
labltk: not present | |
ocamlbuild: found | |
camlp4: using camlp4, style 310 | |
Configuration for dbm written to site-lib-src/dbm/META | |
Configuration for dynlink written to site-lib-src/dynlink/META | |
Configuration for graphics written to site-lib-src/graphics/META | |
Configuration for num written to site-lib-src/num/META | |
Configuration for num-top written to site-lib-src/num-top/META | |
Configuration for str written to site-lib-src/str/META | |
Configuration for threads written to site-lib-src/threads/META | |
Configuration for unix written to site-lib-src/unix/META | |
Configuration for stdlib written to site-lib-src/stdlib/META | |
Configuration for bigarray written to site-lib-src/bigarray/META | |
Configuration for camlp4 written to site-lib-src/camlp4/META | |
Configuration for ocamlbuild written to site-lib-src/ocamlbuild/META | |
Detecting compiler arguments: (extractor built) ok | |
About the OCAML core installation: | |
Standard library: /usr/local/lib/ocaml | |
Binaries: /usr/local/opt/objective-caml/bin | |
Manual pages: /usr/local/man | |
Multi-threading type: posix | |
The directory of site-specific packages will be | |
site-lib: /usr/local/lib/ocaml/site-lib | |
The configuration file is written to: | |
findlib config file: /usr/local/Cellar/ocaml-findlib/1.2.7/etc | |
Software will be installed: | |
Libraries: in <site-lib>/findlib | |
Binaries: /usr/local/opt/objective-caml/bin | |
Manual pages: /usr/local/man | |
topfind script: /usr/local/lib/ocaml | |
Toolbox: no | |
Configuration has been written to Makefile.config | |
You can now do 'make all', and optionally 'make opt', to build ocamlfind. | |
==> make | |
make | |
for p in findlib; do ( cd src/$p; /usr/bin/make all ); done | |
Makefile:136: depend: No such file or directory | |
ocamllex fl_meta.mll | |
22 states, 392 transitions, table size 1700 bytes | |
camlp4 pa_o.cmo pa_op.cmo pr_o.cmo -- -impl fl_metascanner.src -o fl_metascanner.ml | |
ocamldep *.ml *.mli >depend | |
USE_CYGPATH="0"; \ | |
export USE_CYGPATH; \ | |
cat findlib_config.mlp | \ | |
../../tools/patch '@CONFIGFILE@' '/usr/local/Cellar/ocaml-findlib/1.2.7/etc' | \ | |
../../tools/patch '@STDLIB@' '/usr/local/lib/ocaml' | \ | |
sed -e 's;@AUTOLINK@;true;g' \ | |
-e 's;@SYSTEM@;macosx;g' \ | |
>findlib_config.ml | |
ocamlc -g -c findlib_config.ml | |
ocamlc -g -c fl_split.ml | |
ocamlc -g -c fl_metatoken.ml | |
ocamlc -g -c fl_meta.ml | |
ocamlc -c fl_metascanner.mli | |
ocamlc -g -c fl_metascanner.ml | |
ocamlc -c fl_topo.mli | |
ocamlc -g -c fl_topo.ml | |
File "fl_topo.ml", line 283, characters 10-22: | |
Warning 26: unused variable in_direction. | |
ocamlc -c fl_package_base.mli | |
ocamlc -g -c fl_package_base.ml | |
ocamlc -c findlib.mli | |
ocamlc -g -c findlib.ml | |
ocamlc -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo | |
ocamlc -g -c ocaml_args.ml | |
ocamlc -g -c frontend.ml | |
File "frontend.ml", line 235, characters 6-13: | |
Warning 26: unused variable pkgpath. | |
File "frontend.ml", line 668, characters 6-13: | |
Warning 26: unused variable destdir. | |
File "frontend.ml", line 845, characters 6-18: | |
Warning 26: unused variable eff_dontlink. | |
File "frontend.ml", line 1381, characters 6-16: | |
Warning 26: unused variable add_switch. | |
File "frontend.ml", line 1387, characters 6-14: | |
Warning 26: unused variable add_spec. | |
ocamlc -custom -o ocamlfind findlib.cma unix.cma \ | |
ocaml_args.cmo frontend.cmo | |
ocamlc -c topfind.mli | |
ocamlc -g -c topfind.ml | |
File "topfind.ml", line 171, characters 4-27: | |
Error: Unbound module Toploop | |
make[1]: *** [topfind.cmo] Error 2 | |
make: *** [all] Error 2 | |
==> Configuration | |
HOMEBREW_VERSION: 0.9.3 | |
HEAD: 84cc54947362cffbf573bb96f214e8adb03563eb | |
CPU: 8-core 64-bit ivybridge | |
OS X: 10.8.2-x86_64 | |
Xcode: 4.5.1 | |
CLT: 4.5.0.0.1.1249367152 | |
X11: 2.7.4 => /opt/X11 | |
==> ENV | |
CC: cc | |
CXX: c++ | |
MAKEFLAGS: -j1 | |
CMAKE_PREFIX_PATH: /usr/local | |
CMAKE_INCLUDE_PATH: /usr/X11/include/freetype2:/usr/include/libxml2:/usr/X11/include | |
CMAKE_LIBRARY_PATH: /usr/X11/lib | |
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig:/usr/local/Library/Homebrew/pkgconfig | |
HOMEBREW_MAKE_JOBS: 1 | |
ACLOCAL_PATH: /usr/local/share/aclocal:/opt/X11/share/aclocal | |
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/objective-caml/bin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin | |
Error: ocaml-findlib did not build | |
Logs | |
---- | |
There were no logs in ~/Library/Logs/Homebrew/ocaml-findlib/ | |
Output of `brew doctor` | |
----------------------- | |
Your system is raring to brew. | |
Output of `brew install ocaml-findlib` after altering the version in formula | |
---------------------------------------------------------------------------- | |
==> Downloading http://download.camlcity.org/download/findlib-1.3.3.tar.gz | |
/usr/bin/curl -f#LA Homebrew 0.9.3 (Ruby 1.8.7-358; Mac OS X 10.8.2) http://download.camlcity.org/download/findlib-1.3.3.tar.gz -o /Library/Caches/Homebrew/ocaml-findlib-1.3.3.tar.gz --silent | |
/usr/bin/tar xf /Library/Caches/Homebrew/ocaml-findlib-1.3.3.tar.gz | |
==> ./configure -config /usr/local/Cellar/ocaml-findlib/1.3.3/etc | |
./configure -config /usr/local/Cellar/ocaml-findlib/1.3.3/etc | |
Welcome to findlib version 1.3.3 | |
Configuring core... | |
Checking for #remove_directory... | |
Testing threading model... | |
systhread_supported: true | |
Testing DLLs... | |
Configuring libraries... | |
native dynlink: found | |
labltk: not present | |
ocamlbuild: found | |
camlp4: using camlp4, style 310 | |
compiler-libs: found | |
Configuration for dbm written to site-lib-src/dbm/META | |
Configuration for dynlink written to site-lib-src/dynlink/META | |
Configuration for graphics written to site-lib-src/graphics/META | |
Configuration for num written to site-lib-src/num/META | |
Configuration for num-top written to site-lib-src/num-top/META | |
Configuration for str written to site-lib-src/str/META | |
Configuration for threads written to site-lib-src/threads/META | |
Configuration for unix written to site-lib-src/unix/META | |
Configuration for stdlib written to site-lib-src/stdlib/META | |
Configuration for bigarray written to site-lib-src/bigarray/META | |
Configuration for camlp4 written to site-lib-src/camlp4/META | |
Configuration for ocamlbuild written to site-lib-src/ocamlbuild/META | |
Configuration for compiler-libs written to site-lib-src/compiler-libs/META | |
Detecting compiler arguments: (extractor built) ok | |
About the OCAML core installation: | |
Standard library: /usr/local/lib/ocaml | |
Binaries: /usr/local/opt/objective-caml/bin | |
Manual pages: /usr/local/man | |
Multi-threading type: posix | |
The directory of site-specific packages will be | |
site-lib: /usr/local/lib/ocaml/site-lib | |
The configuration file is written to: | |
findlib config file: /usr/local/Cellar/ocaml-findlib/1.3.3/etc | |
Software will be installed: | |
Libraries: in <site-lib>/findlib | |
Binaries: /usr/local/opt/objective-caml/bin | |
Manual pages: /usr/local/man | |
topfind script: /usr/local/lib/ocaml | |
Toolbox: no | |
Configuration has been written to Makefile.config | |
You can now do 'make all', and optionally 'make opt', to build ocamlfind. | |
==> make | |
make | |
for p in findlib; do ( cd src/$p; /usr/bin/make all ); done | |
Makefile:142: depend: No such file or directory | |
ocamllex fl_meta.mll | |
22 states, 392 transitions, table size 1700 bytes | |
camlp4 pa_o.cmo pa_op.cmo pr_o.cmo -- -impl fl_metascanner.src -o fl_metascanner.ml | |
ocamldep *.ml *.mli >depend | |
USE_CYGPATH="0"; \ | |
export USE_CYGPATH; \ | |
cat findlib_config.mlp | \ | |
../../tools/patch '@CONFIGFILE@' '/usr/local/Cellar/ocaml-findlib/1.3.3/etc' | \ | |
../../tools/patch '@STDLIB@' '/usr/local/lib/ocaml' | \ | |
sed -e 's;@AUTOLINK@;true;g' \ | |
-e 's;@SYSTEM@;macosx;g' \ | |
>findlib_config.ml | |
ocamlc -I +compiler-libs -g -c findlib_config.ml | |
ocamlc -I +compiler-libs -g -c fl_split.ml | |
ocamlc -I +compiler-libs -g -c fl_metatoken.ml | |
ocamlc -I +compiler-libs -g -c fl_meta.ml | |
ocamlc -I +compiler-libs -c fl_metascanner.mli | |
ocamlc -I +compiler-libs -g -c fl_metascanner.ml | |
ocamlc -I +compiler-libs -c fl_topo.mli | |
ocamlc -I +compiler-libs -g -c fl_topo.ml | |
File "fl_topo.ml", line 283, characters 10-22: | |
Warning 26: unused variable in_direction. | |
ocamlc -I +compiler-libs -c fl_package_base.mli | |
ocamlc -I +compiler-libs -g -c fl_package_base.ml | |
ocamlc -I +compiler-libs -c findlib.mli | |
ocamlc -I +compiler-libs -g -c findlib.ml | |
ocamlc -I +compiler-libs -g -c fl_args.ml | |
ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo | |
ocamlc -I +compiler-libs -g -c ocaml_args.ml | |
ocamlc -I +compiler-libs -g -c frontend.ml | |
ocamlc -I +compiler-libs -custom -o ocamlfind -g findlib.cma unix.cma \ | |
ocaml_args.cmo frontend.cmo | |
ocamlc -I +compiler-libs -c topfind.mli | |
ocamlc -I +compiler-libs -g -c topfind.ml | |
File "topfind.ml", line 53, characters 10-19: | |
Warning 26: unused variable stdlibdir. | |
File "topfind.ml", line 97, characters 11-12: | |
Warning 26: unused variable d. | |
ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo | |
USE_CYGPATH="0"; \ | |
export USE_CYGPATH; \ | |
cat topfind_rd1.p | \ | |
../../tools/patch '@SITELIB@' '/usr/local/lib/ocaml/site-lib' \ | |
>topfind | |
ocamlc -I +compiler-libs -c num_top_printers.mli | |
ocamlc -I +compiler-libs -g -c num_top_printers.ml | |
ocamlc -I +compiler-libs -c num_top.mli | |
ocamlc -I +compiler-libs -g -c num_top.ml | |
ocamlc -I +compiler-libs -a -o num_top.cma num_top_printers.cmo num_top.cmo | |
/usr/bin/make all-config | |
USE_CYGPATH="0"; \ | |
export USE_CYGPATH; \ | |
cat findlib.conf.in | \ | |
tools/patch '@SITELIB@' '/usr/local/lib/ocaml/site-lib' >findlib.conf | |
if ocamlc.opt >/dev/null 2>&1; then \ | |
echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \ | |
fi | |
if ocamlopt.opt >/dev/null 2>&1; then \ | |
echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \ | |
fi | |
if ocamldep.opt >/dev/null 2>&1; then \ | |
echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \ | |
fi | |
==> make prefix=/usr/local/Cellar/ocaml-findlib/1.3.3 OCAML_SITELIB=/lib/ocaml/site-lib OCAMLFIND_BIN=/bin OCAMLFIND_MAN=/share/man OCAML_CORE_STDLIB=/lib/ocaml OCAMLFIND_CONF=/etc install | |
make prefix=/usr/local/Cellar/ocaml-findlib/1.3.3 OCAML_SITELIB=/lib/ocaml/site-lib OCAMLFIND_BIN=/bin OCAMLFIND_MAN=/share/man OCAML_CORE_STDLIB=/lib/ocaml OCAMLFIND_CONF=/etc install | |
mkdir -p "/usr/local/Cellar/ocaml-findlib/1.3.3/bin" | |
mkdir -p "/usr/local/Cellar/ocaml-findlib/1.3.3/share/man" | |
for p in findlib; do ( cd src/$p; /usr/bin/make install ); done | |
mkdir -p "/usr/local/Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib" | |
mkdir -p "/usr/local/Cellar/ocaml-findlib/1.3.3/bin" | |
test 1 -eq 0 || cp topfind "/usr/local/Cellar/ocaml-findlib/1.3.3/lib/ocaml" | |
files=`../../tools/collect_files ../../Makefile.config findlib.cmi findlib.mli findlib.cma topfind.cmi topfind.mli fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi fl_metatoken.cmi findlib_top.cma findlib.cmxa findlib.a META` && \ | |
cp $files "/usr/local/Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib" | |
f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ | |
cp $f "/usr/local/Cellar/ocaml-findlib/1.3.3/bin/ocamlfind" | |
# the following "if" block is only needed for 4.00beta2 | |
if [ 1 -eq 0 -a -f "/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ | |
cd "/lib/ocaml/compiler-libs/"; \ | |
cp topdirs.cmi toploop.cmi "/usr/local/Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib/"; \ | |
fi | |
/usr/bin/make install-meta | |
for x in `ls site-lib-src`; do if [ "$x" != "CVS" -a -f "site-lib-src/$x/META" ]; then mkdir -p "/usr/local/Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/$x"; cp site-lib-src/$x/META "/usr/local/Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/$x"; fi; done | |
cd src/findlib; /usr/bin/make install-num-top | |
mkdir -p "/usr/local/Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/num-top" | |
cp num_top.cma num_top.cmi num_top_printers.cmi \ | |
"/usr/local/Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/num-top" | |
/usr/bin/make install-config | |
mkdir -p "`dirname \"/usr/local/Cellar/ocaml-findlib/1.3.3/etc\"`" | |
test -f "/usr/local/Cellar/ocaml-findlib/1.3.3/etc" || cp findlib.conf "/usr/local/Cellar/ocaml-findlib/1.3.3/etc" | |
cp tools/safe_camlp4 "/usr/local/Cellar/ocaml-findlib/1.3.3/bin" | |
/usr/bin/make install-doc | |
mkdir -p /usr/local/Cellar/ocaml-findlib/1.3.3/share/man/man1 /usr/local/Cellar/ocaml-findlib/1.3.3/share/man/man3 /usr/local/Cellar/ocaml-findlib/1.3.3/share/man/man5 | |
cp doc/ref-man/ocamlfind.1 /usr/local/Cellar/ocaml-findlib/1.3.3/share/man/man1 | |
cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 /usr/local/Cellar/ocaml-findlib/1.3.3/share/man/man5 | |
==> Cleaning | |
rmdir: /usr/local/Cellar/ocaml-findlib/1.3.3/share/man/man3 (empty) | |
==> Finishing up | |
ln -s ../Cellar/ocaml-findlib/1.3.3/bin/safe_camlp4 safe_camlp4 | |
ln -s ../Cellar/ocaml-findlib/1.3.3/bin/ocamlfind ocamlfind | |
ln -s ../../../Cellar/ocaml-findlib/1.3.3/share/man/man5/site-lib.5 site-lib.5 | |
ln -s ../../../Cellar/ocaml-findlib/1.3.3/share/man/man5/META.5 META.5 | |
ln -s ../../../Cellar/ocaml-findlib/1.3.3/share/man/man5/findlib.conf.5 findlib.conf.5 | |
ln -s ../../../Cellar/ocaml-findlib/1.3.3/share/man/man1/ocamlfind.1 ocamlfind.1 | |
ln -s ../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/topfind topfind | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/unix/META META | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/threads/META META | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/str/META META | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/stdlib/META META | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/ocamlbuild/META META | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/num-top/num_top_printers.cmi num_top_printers.cmi | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/num-top/num_top.cmi num_top.cmi | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/num-top/num_top.cma num_top.cma | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/num-top/META META | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/num/META META | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/graphics/META META | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib/topfind.mli topfind.mli | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib/topfind.cmi topfind.cmi | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib/META META | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib/Makefile.config Makefile.config | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib/fl_package_base.mli fl_package_base.mli | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib/fl_package_base.cmi fl_package_base.cmi | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib/fl_metatoken.cmi fl_metatoken.cmi | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib/fl_metascanner.mli fl_metascanner.mli | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib/fl_metascanner.cmi fl_metascanner.cmi | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib/findlib_top.cma findlib_top.cma | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib/findlib.mli findlib.mli | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib/findlib.cmi findlib.cmi | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/findlib/findlib.cma findlib.cma | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/dynlink/META META | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/dbm/META META | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/compiler-libs/META META | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/camlp4/META META | |
ln -s ../../../../Cellar/ocaml-findlib/1.3.3/lib/ocaml/site-lib/bigarray/META META | |
ln -s ../../Cellar/ocaml-findlib/1.3.3 ocaml-findlib | |
ln -s ../Cellar/ocaml-findlib/1.3.3 ocaml-findlib | |
==> Summary | |
/usr/local/Cellar/ocaml-findlib/1.3.3: 39 files, 1,8M, built in 2 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment