Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a README with build status #1

Merged
merged 15 commits into from
Aug 28, 2014
Merged

Add a README with build status #1

merged 15 commits into from
Aug 28, 2014

Conversation

samoht
Copy link
Member

@samoht samoht commented Aug 26, 2014

No description provided.

@samoht
Copy link
Member Author

samoht commented Aug 27, 2014

@lpw25 weird error for lwt on 4.02.0+doc (which does not appear in 4.02.0+rc1):

===== ERROR while installing lwt.2.4.5 =====
# opam-version 1.1.1
# os           linux
# command      make build
# path         /home/travis/.opam/4.02.0+rc1/build/lwt.2.4.5
# compiler     4.02.0+rc1
# exit-code    2
# env-file     /home/travis/.opam/4.02.0+rc1/build/lwt.2.4.5/lwt-21496-8c0dd3.env
# stdout-file  /home/travis/.opam/4.02.0+rc1/build/lwt.2.4.5/lwt-21496-8c0dd3.out
# stderr-file  /home/travis/.opam/4.02.0+rc1/build/lwt.2.4.5/lwt-21496-8c0dd3.err
### stdout ###
# ...[truncated]
# Warning: the tag "pkg_react" is not used in any flag declaration, so it will have no effect; it may be a typo. Otherwise use `mark_tag_used` in your myocamlbuild.ml to disable this warning.
# /home/travis/.opam/4.02.0+rc1/bin/ocamlfind ocamldep -package camlp4 -syntax camlp4o -package camlp4.extend -syntax camlp4o -package camlp4.quotations.o -syntax camlp4o -modules syntax/pa_optcomp.ml > syntax/pa_optcomp.ml.depends
# + /home/travis/.opam/4.02.0+rc1/bin/ocamlfind ocamldep -package camlp4 -syntax camlp4o -package camlp4.extend -syntax camlp4o -package camlp4.quotations.o -syntax camlp4o -modules syntax/pa_optcomp.ml > syntax/pa_optcomp.ml.depends
# Camlp4: Uncaught exception: DynLoader.Error ("Camlp4OCamlRevisedParser.cmo", "file not found in path")
# 
# File "syntax/pa_optcomp.ml", line 1:
# Error: Error while running external preprocessor
# Command line: camlp4 '-I' '/home/travis/.opam/4.02.0+rc1/lib/camlp4' '-I' '/home/travis/.opam/4.02.0+rc1/lib/camlp4' '-I' '/home/travis/.opam/4.02.0+rc1/lib/camlp4' '-parser' 'o' '-parser' 'op' '-printer' 'p' '-parser' 'Camlp4GrammarParser' '-parser' 'Camlp4QuotationCommon' '-parser' 'Camlp4OCamlOriginalQuotationExpander'  'syntax/pa_optcomp.ml' > /tmp/ocamlpp6066db
# 
# Command exited with code 2.
### stderr ###
# ...[truncated]
# Warning 3: deprecated: String.set
# File "setup.ml", line 2419, characters 6-24:
# Warning 3: deprecated: Lazy.lazy_from_fun
# File "setup.ml", line 254, characters 8-26:
# Warning 3: deprecated: String.set
# File "setup.ml", line 2419, characters 6-24:
# Warning 3: deprecated: Lazy.lazy_from_fun
# ocamlfind: Package `wikidoc' not found
# E: Failure("Command ''/home/travis/.opam/4.02.0+rc1/bin/ocamlbuild' syntax/optcomp.cma syntax/optcomp.cmxa syntax/optcomp.a syntax/optcomp.cmxs src/core/lwt.cma src/core/lwt.cmxa src/core/lwt.a src/core/lwt.cmxs src/logger/lwt-log.cma src/logger/lwt-log.cmxa src/logger/lwt-log.a src/logger/lwt-log.cmxs src/unix/liblwt-unix_stubs.a src/unix/dlllwt-unix_stubs.so src/unix/lwt-unix.cma src/unix/lwt-unix.cmxa src/unix/lwt-unix.a src/unix/lwt-unix.cmxs src/simple_top/lwt-simple-top.cma src/simple_top/lwt-simple-top.cmxa src/simple_top/lwt-simple-top.a src/simple_top/lwt-simple-top.cmxs src/preemptive/lwt-preemptive.cma src/preemptive/lwt-preemptive.cmxa src/preemptive/lwt-preemptive.a src/preemptive/lwt-preemptive.cmxs src/extra/lwt-extra.cma src/extra/lwt-extra.cmxa src/extra/lwt-extra.a src/extra/lwt-extra.cmxs src/ssl/lwt-ssl.cma src/ssl/lwt-ssl.cmxa src/ssl/lwt-ssl.a src/ssl/lwt-ssl.cmxs syntax/lwt-syntax.cma syntax/lwt-syntax.cmxa syntax/lwt-syntax.a syntax/lwt-syntax.cmxs syntax/lwt-syntax-options.cma syntax/lwt-syntax-options.cmxa syntax/lwt-syntax-options.a syntax/lwt-syntax-options.cmxs syntax/lwt-syntax-log.cma syntax/lwt-syntax-log.cmxa syntax/lwt-syntax-log.a syntax/lwt-syntax-log.cmxs examples/unix/logging.native examples/unix/relay.native examples/unix/parallelize.native -tag debug' terminated with error code 10")
===== ERROR while installing ocamlnet.3.7.4-1 =====
# opam-version 1.1.1
# os           linux
# command      make all
# path         /home/travis/.opam/4.02.0+rc1/build/ocamlnet.3.7.4-1
# compiler     4.02.0+rc1
# exit-code    2
# env-file     /home/travis/.opam/4.02.0+rc1/build/ocamlnet.3.7.4-1/ocamlnet-21892-000417.env
# stdout-file  /home/travis/.opam/4.02.0+rc1/build/ocamlnet.3.7.4-1/ocamlnet-21892-000417.out
# stderr-file  /home/travis/.opam/4.02.0+rc1/build/ocamlnet.3.7.4-1/ocamlnet-21892-000417.err
### stdout ###
# ...[truncated]
#       -e 's/@PREFERRED_CGI_PKG@//' \
#       -e 's/@REGEXP_PROVIDER@/str/' \
#       -e 's/@COMPAT_PCRE_PROVIDER@//' \
#       -e 's/@ZIP_PROVIDER@//' \
#       META.in >META
# make[2]: Leaving directory `/home/travis/.opam/4.02.0+rc1/build/ocamlnet.3.7.4-1/src/netsys'
# make[1]: Leaving directory `/home/travis/.opam/4.02.0+rc1/build/ocamlnet.3.7.4-1/src/netsys'
# make[1]: Entering directory `/home/travis/.opam/4.02.0+rc1/build/ocamlnet.3.7.4-1/src/netsys'
# ocamlfind ocamldep -package "camlp4.macro" -syntax camlp4o  *.ml *.mli >depend || { rm -f depend; exit 1; }
# make[1]: Leaving directory `/home/travis/.opam/4.02.0+rc1/build/ocamlnet.3.7.4-1/src/netsys'
### stderr ###
# ...[truncated]
# Command line: camlp4 '-I' '/home/travis/.opam/4.02.0+rc1/lib/camlp4' '-I' '/home/travis/.opam/4.02.0+rc1/lib/camlp4' '-parser' 'o' '-parser' 'op' '-printer' 'p' '-parser' 'Camlp4MacroParser'  'netsys_win32.mli' > /tmp/ocamlpp73639a
# 
# Camlp4: Uncaught exception: DynLoader.Error ("Camlp4OCamlRevisedParser.cmo", "file not found in path")
# 
# File "netsys_xdr.mli", line 1:
# Error: Error while running external preprocessor
# Command line: camlp4 '-I' '/home/travis/.opam/4.02.0+rc1/lib/camlp4' '-I' '/home/travis/.opam/4.02.0+rc1/lib/camlp4' '-parser' 'o' '-parser' 'op' '-printer' 'p' '-parser' 'Camlp4MacroParser'  'netsys_xdr.mli' > /tmp/ocamlpp7b699c
# 
# make[1]: *** [depend] Error 1
# make: *** [all] Error 2
===== ERROR while installing type_conv.111.13.00 =====
# opam-version 1.1.1
# os           linux
# command      make
# path         /home/travis/.opam/4.02.0+rc1/build/type_conv.111.13.00
# compiler     4.02.0+rc1
# exit-code    2
# env-file     /home/travis/.opam/4.02.0+rc1/build/type_conv.111.13.00/type_conv-22688-487c34.env
# stdout-file  /home/travis/.opam/4.02.0+rc1/build/type_conv.111.13.00/type_conv-22688-487c34.out
# stderr-file  /home/travis/.opam/4.02.0+rc1/build/type_conv.111.13.00/type_conv-22688-487c34.err
### stdout ###
# ...[truncated]
#   as the working directory does not look like an ocamlbuild project (no
#   '_tags' or 'myocamlbuild.ml' file). If you have modules in subdirectories,
#   you should add the option "-r" or create an empty '_tags' file.
#   
#   To enable recursive traversal for some subdirectories only, you can use the
#   following '_tags' file:
#   
#       true: -traverse
#       <dir1> or <dir2>: traverse
#       
### stderr ###
# File "setup.ml", line 232, characters 8-26:
# Warning 3: deprecated: String.set
# File "setup.ml", line 2391, characters 6-24:
# Warning 3: deprecated: Lazy.lazy_from_fun
# E: Failure("Command ''/home/travis/.opam/4.02.0+rc1/bin/ocamlbuild' lib/pa_type_conv.cma lib/pa_type_conv.cmxa lib/pa_type_conv.a lib/pa_type_conv.cmxs -use-ocamlfind -tag debug' terminated with error code 10")
# make: *** [build] Error 1
===== ERROR while installing ulex.1.1 =====
# opam-version 1.1.1
# os           linux
# command      make
# path         /home/travis/.opam/4.02.0+rc1/build/ulex.1.1
# compiler     4.02.0+rc1
# exit-code    2
# env-file     /home/travis/.opam/4.02.0+rc1/build/ulex.1.1/ulex-22787-899ac0.env
# stdout-file  /home/travis/.opam/4.02.0+rc1/build/ulex.1.1/ulex-22787-899ac0.out
# stderr-file  /home/travis/.opam/4.02.0+rc1/build/ulex.1.1/ulex-22787-899ac0.err
### stdout ###
# ...[truncated]
#   as the working directory does not look like an ocamlbuild project (no
#   '_tags' or 'myocamlbuild.ml' file). If you have modules in subdirectories,
#   you should add the option "-r" or create an empty '_tags' file.
#   
#   To enable recursive traversal for some subdirectories only, you can use the
#   following '_tags' file:
#   
#       true: -traverse
#       <dir1> or <dir2>: traverse
#       
### stderr ###
# make: *** [all] Error 10

@lpw25
Copy link
Contributor

lpw25 commented Aug 27, 2014

That looks like one of the many errors caused by the recent (disastrous) change in camlp4 to only install using findlib. I'm currently symlinking <opam/lib/camlp4 to /lib/ocaml/camlp4 in order to get anything to build in OPAM using camlp4.

@avsm
Copy link
Member

avsm commented Aug 28, 2014

That's a new one

# js_of_ocaml: Error: Instr.Bad_instruction(159)

4.02-specific issue?

samoht added a commit that referenced this pull request Aug 28, 2014
Add a README with build status
@samoht samoht merged commit 80f8a8a into master Aug 28, 2014
@samoht samoht deleted the testing-travis branch August 28, 2014 10:36
@samoht
Copy link
Member Author

samoht commented Aug 28, 2014

Two errors related to opam2web:

===== ERROR while installing opam2web.42 =====
# opam-version 1.1.1
# os           linux
# command      make
# path         /home/travis/.opam/4.02.0+rc1/build/opam2web.42
# compiler     4.02.0+rc1
# exit-code    2
# env-file     /home/travis/.opam/4.02.0+rc1/build/opam2web.42/opam2web-6388-4197d2.env
# stdout-file  /home/travis/.opam/4.02.0+rc1/build/opam2web.42/opam2web-6388-4197d2.out
# stderr-file  /home/travis/.opam/4.02.0+rc1/build/opam2web.42/opam2web-6388-4197d2.err
### stdout ###
# ...[truncated]
# ocamlfind ocamlopt -c -bin-annot -g -package cmdliner -package opamfu.cli -package opam-lib.client -package cow.syntax -package cow -package omd -package re.str -package re -syntax camlp4o -I apalog -o o2wBlog.cmx o2wBlog.ml
# ocamlfind ocamlopt -c -bin-annot -g -package cmdliner -package opamfu.cli -package opam-lib.client -package cow.syntax -package cow -package omd -package re.str -package re -syntax camlp4o -I apalog -o o2wDocumentation.cmx o2wDocumentation.ml
# ocamlfind ocamlopt -c -bin-annot -g -package cmdliner -package opamfu.cli -package opam-lib.client -package cow.syntax -package cow -package omd -package re.str -package re -syntax camlp4o -I apalog -o o2wHome.cmx o2wHome.ml
# ocamlfind ocamlopt -c -bin-annot -g -package cmdliner -package opamfu.cli -package opam-lib.client -package cow.syntax -package cow -package omd -package re.str -package re -syntax camlp4o -I apalog -o o2wTemplate.cmx o2wTemplate.ml
# ocamlfind ocamlopt -c -bin-annot -g -package cmdliner -package opamfu.cli -package opam-lib.client -package cow.syntax -package cow -package omd -package re.str -package re -syntax camlp4o -I apalog -o opam2web.cmx opam2web.ml
# ocamlfind ocamlopt -linkpkg -g -package cmdliner -package opamfu.cli -package opam-lib.client -package cow.syntax -package cow -package omd -package re.str -package re -syntax camlp4o apalog/compressed.cmx apalog/lexcombinedlog.cmx apalog/logentry.cmx apalog/readcombinedlog.cmx template.cmx o2wBlog.cmx o2wDocumentation.cmx o2wGlobals.cmx o2wMisc.cmx o2wStatistics.cmx o2wHome.cmx o2wPackage.cmx o2wProject.cmx version.cmx o2wTemplate.cmx o2wUniverse.cmx opam2web.cmx -o opam2web.native
# ocamlfind ocamlc -linkpkg -o search.byte -package js_of_ocaml.syntax,js_of_ocaml -syntax camlp4o search.ml
# mv search.cmo search.cmi _build
# js_of_ocaml search.byte
# make[1]: Leaving directory `/home/travis/.opam/4.02.0+rc1/build/opam2web.42/src'
### stderr ###
# js_of_ocaml: Error: Instr.Bad_instruction(159)
# make[1]: *** [search.js] Error 1
# make: *** [build] Error 2

and

===== ERROR while installing ocaml-org.42 =====
# opam-version 1.1.1
# os           linux
# command      make opam.ocaml.org_template
# path         /home/travis/.opam/system/build/ocaml-org.42
# compiler     system (4.01.0)
# exit-code    2
# env-file     /home/travis/.opam/system/build/ocaml-org.42/ocaml-org-31457-d682c6.env
# stdout-file  /home/travis/.opam/system/build/ocaml-org.42/ocaml-org-31457-d682c6.out
# stderr-file  /home/travis/.opam/system/build/ocaml-org.42/ocaml-org-31457-d682c6.err
### stdout ###
# ...[truncated]
# cd script && \
#   ocamlfind ocamlopt -annot -o ../"script/translate" -package str,netstring -linkpkg \
#     utils.cmx translate.ml
# cd script && \
#   ocamlfind ocamlopt -annot -o ../"script/link_of_lang" -package str,netstring -linkpkg \
#     utils.cmx link_of_lang.ml
# cd script && \
#   ocamlfind ocamlopt -annot -o ../"script/generate_opam_update_list" -package opamfu,opam2web,cow.syntax \
#     -linkpkg -syntax camlp4o generate_opam_update_list.ml
# make[1]: Leaving directory `/home/travis/.opam/system/build/ocaml-org.42'
### stderr ###
# findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /usr/lib/ocaml/compiler-libs, /usr/lib/ocaml
# File "generate_opam_update_list.ml", line 1:
# Error: No implementations provided for the following modules:
#          O2wProject referenced from /home/travis/.opam/system/lib/opam2web/opam2web.cmxa(O2wUniverse)
# make[1]: *** [script/generate_opam_update_list] Error 2
# make: *** [opam.ocaml.org_template] Error 2

So I'm merging this, but I've added Travis scripts to opam2web to track that more closely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants