[Omake] Announcing OMake 0.9.8
Janne Hellsten
jjhellst at gmail.com
Tue Dec 12 01:55:16 PST 2006
Sorry, the command I gave to get this error was just "make all" on a
clean OMake source directory. Running "make boot" followed by a "make
all" appears to work.
Janne
On 12/12/06, Janne Hellsten <jjhellst at gmail.com> wrote:
> Forgot to mention that the platform is Mac OS X/x86.
>
> I tried to build the latest 0.9.8-1 version from the source package
> directly, and that fails in a different way:
>
> 8<
> *** omake: done (66.6 sec, 370/370 scans, 474/730 rules, 1200/2977
> digests)
> OMAKEFLAGS= OMAKEPATH=lib src/main/omake --dotomake .omake
> --force-dotomake -j2 all
> *** omake: reading OMakefiles
> *** omake: finished reading OMakefiles (0.2 sec)
> - build src/main omake.opt
> + ocamlopt.opt -warn-error A -w Aez -I . -I ../libmojave -I ../util -I
> ../magic -I ../ast -I ../ir -I ../env -I ../exec -I ../eval -I
> ../shell -I ../build -I ../builtin -o omake.opt unix.cmxa
> ../libmojave/lm.cmxa ../util/util.cmxa ../magic/magic.cmxa
> ../ast/ast.cmxa ../ir/ir.cmxa ../env/env.cmxa ../exec/exec.cmxa
> ../eval/eval.cmxa ../shell/shell.cmxa ../build/build.cmxa
> ../builtin/builtin.cmxa omake_shell.cmx omake_main.cmx ../clib/clib.a
> -cclib -lncurses -cclib -lreadline
> /usr/bin/ld: Undefined
> symbols:[=============================================================================
> ] 01685 / 01691
> _camlOmake_cache
> _camlOmake_cache__code_begin
> _camlOmake_cache__code_end
> _camlOmake_cache__data_begin
> _camlOmake_cache__data_end
> _camlOmake_cache__entry
> _camlOmake_cache__frametable
> _camlOmake_cache__create_1844
> _camlOmake_cache__exe_find_4007
> _camlOmake_cache__exe_find_all_4014
> _camlOmake_cache__listing_find_4000
> _camlOmake_cache__ls_exe_path_4028
> _camlOmake_cache__ls_path_4023
> _camlOmake_cache__rehash_1845
> _camlOmake_cache__reset_2795
> _camlOmake_cache__stat_2896
> _camlOmake_cache__add_3158
> _camlOmake_cache__clear_1850
> _camlOmake_cache__find_result_3826
> _camlOmake_cache__find_result_sloppy_3834
> _camlOmake_cache__from_channel_2788
> _camlOmake_cache__stat_changed_2921
> _camlOmake_cache__stat_set_2900
> _camlOmake_cache__stat_table_2905
> _camlOmake_cache__to_channel_2792
> _camlOmake_cache__up_to_date_status_3816
> _camlOmake_cache__exists_dir_2929
> _camlOmake_cache__up_to_date_3810
> _camlOmake_cache__is_dir_2891
> collect2: ld returned 1 exit status
> Error during linking
> *** omake: 1685/1719 targets are up to date
> *** omake: failed (32.9 sec, 367/381 scans, 233/769 rules, 612/2865 digests)
> *** omake: targets were not rebuilt because of errors:
> src/main/omake.opt
> make: *** [all] Error 2
> 8<
>
> I am running OCaml 3.09.2.
>
> Hope this helps,
> Janne
>
> On 12/12/06, Janne Hellsten <jjhellst at gmail.com> wrote:
> > Hi,
> >
> > I'm trying to update OMake from GODI but alas the build fails for some
> > reason. The error is here:
> >
> > 8<
> > > + ocamlopt.opt -warn-error A -w Aez -I . -c Lm_set.ml
> > > File "Lm_set.ml", line 1, characters 0-1:
> > > Could not find the .cmi file for interface Lm_set.mli.
> > > *** omake: 578/1502 targets are up to date
> > > *** omake: failed (30.5 sec, 196/196 scans, 73/94 rules, 467/1168 digests)
> > > *** omake: targets were not rebuilt because of errors:
> > > src/libmojave/Lm_set.cmx
> > > depends on: src/libmojave/Lm_set.ml
> > > src/libmojave/Lm_set.cmi
> > > depends on: src/libmojave/Lm_set.ml
> > > src/libmojave/Lm_set.o
> > > depends on: src/libmojave/Lm_set.ml
> > 8<
> >
> > The full log is attached.
> >
> > Thanks,
> > Janne
> >
> > On 12/12/06, Aleksey Nogin <nogin at metaprl.org> wrote:
> > > We are proud to announce the latest release of the OMake Build System -
> > > OMake 0.9.8.
> > >
> > > OMake 0.9.8 is a major feature enhancements and bugfixes release; it is
> > > not fully backwards-compatible. The changes in this release include:
> > >
> > > * The main change in this release is that the OMake values will now be
> > > converted into the shell command lines directly (all the previous
> > > versions of OMake should first "flatten" the value into a string and
> > > then perform sh-like parsing of the resulting string). In particular,
> > > this means that:
> > > + All the special symbols in files and directory values will be
> > > preserved.
> > > + All the spaces inside the array elements will be preserved.
> > > + All the special symbols in OMake-quoted values ($"..." and
> > > $'...') will be preserved.
> > > + If the first element of the command line is a file value,
> > > neither PATH- nor alias-expansion will be performed. Note -
> > > there will also be no alias-expansion if the executable value
> > > contains quoted parts or starts with a \.
> > > + The Shell. aliases will now receive the values passed on the
> > > shell command line as is, not the string-expanded version. Also,
> > > if some of the arguments are the result of a glob-expansion, the
> > > alias function will receive the appropriate file values, not the
> > > strings.
> > > + OMake 0.9.8 will not be fully backwards-compatible with the
> > > earlier releases.
> > > * Major redesign of the OMake documentation (using Hevea).
> > > + The documentation is significantly expanded, examples added,
> > > bugs fixed.
> > > + There are now a number of indices, including a index of
> > > variables, an index of functions, and an overall index.
> > > * OCaml.om improvements:
> > > + Implemented a new approach to computing the dependencies in
> > > OCaml projects in OMake. In this approach a special version of
> > > ocamldep is used to only extract the list of the external
> > > modules a file depends on and then OMake is used to map those
> > > modules to files in the include path. This eliminates the
> > > "standard" deficiency of having to generate all the relevant
> > > OCaml source files before ocamldep is called. This feature is
> > > considered highly expire mental and is disabled by default. Use
> > > the OCAMLDEP_MODULES_ENABLED variable to enable.
> > > + Added support for the Menhir parser-generator (experimental).
> > > * C.om improvements:
> > > + Changed the CProgram function to consider LIBS to be the actual
> > > library files (_without_ the extension) that need to be linked
> > > in.
> > > + Improved the C scanner rule on Windows.
> > > * LaTeX.om improvements:
> > > + BSTINPUTS environment variable joins TEXINPUTS and BIBINPUTS in
> > > the list of variables initialized from the OMake's TEXINPUTS
> > > variable.
> > > + The list of such variables is now configurable (TEXVARS variable
> > > contains an array of names).
> > > * More control over the OMake output and verbosity.
> > > + By default, OMake is now much more silent ("-S --progress" is
> > > enabled by default when it outputs to a terminal, and "-S" is
> > > enabled in all other cases).
> > > + Added a --verbose option that would make OMake very verbose,
> > > when needed.
> > > + Added an ability to postpone and/or repeat the rule execution
> > > output (so that, for example, only the output of the rules that
> > > fail is printed, or the output of the rules that failed is
> > > repeated at the end of the omake -k execution). This feature is
> > > somewhat experimental and might change in the future versions of
> > > OMake.
> > > + Added the -o option for better control of OMake verbosity.
> > > * Added three special .PHONY targets: .BUILD_BEGIN, .BUILD_SUCCESS, and
> > > .BUILD_FAILURE. .BUILD_BEGIN is built before anything else in your
> > > project. One of .BUILD_SUCCESS or .BUILD_FAILURE is built when the
> > > build for your project terminates.
> > > Note:
> > > + This feature is experimental and is likely to change in the
> > > future versions of OMake.
> > > + If you want to use these targets, you should probably add them
> > > to your ~/.omakerc, rather than adding them directly to each of
> > > the projects you work on.
> > > * OMake will now save the .omakedb periodically, preventing the state
> > > loss in case the OMake process dies unexpectedly (for example, when
> > > Cygwin kills OMake after user presses Ctrl-C). The checkpointing
> > > interval may be configured both at compile time and via the command
> > > line.
> > > * The variables such as $< and $@ in rules and % in implicit rules will
> > > no longer be expanded to strings; instead they will be passed as Node
> > > ("file") values.
> > > * Much better handling of the exit function, a number of bugs fixed.
> > > * Implicit rules can no longer have target patterns referring to
> > > another directories.
> > > * New functions: Shell.ln-or-cp, html-escaped, string-escaped,
> > > encode-uri, decode-uri, random, find-targets-in-path.
> > > * Added an ability to turn a string into an input channel. This allows,
> > > for example, to use an OMake variable as an input to built-in awk
> > > without having to write it to a temporary file first.
> > > * New flags added to built-in awk and grep.
> > > * A large number of other bug fixes and improvements.
> > >
> > > For more information on OMake, please visit the OMake Home Page at
> > > http://omake.metaprl.org/
> > >
> > > Source and binary packages of OMake 0.9.8 may be downloaded from
> > > http://omake.metaprl.org/download.html. In addition, OMake may be
> > > obtained via the GODI packaging system.
> > >
> > > OMake 0.9.8 is still an alpha release. While we have made an effort
> > > to ensure that it is bug-free, it is possible some functions may not
> > > behave as you would expect. Please report any comments and/or bugs to
> > > the mailing list omake at metaprl.org and/or at http://bugzilla.metaprl.org/
> > > _______________________________________________
> > > Omake mailing list
> > > Omake at metaprl.org
> > > https://lists.metaprl.org/mailman/listinfo/omake
> > >
> >
> >
> >
>
More information about the Omake
mailing list