Package Details: omake 0.10.3-2

Git Clone URL: https://aur.archlinux.org/omake.git (read-only, click to copy)
Package Base: omake
Description: A build system designed for scalability and portability
Upstream URL: http://projects.camlcity.org/projects/omake.html
Licenses: GPL2
Submitter: None
Maintainer: None
Last Packager: oriba
Votes: 23
Popularity: 0.000000
First Submitted: 2008-04-02 01:27 (UTC)
Last Updated: 2023-04-28 22:36 (UTC)

Dependencies (1)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

tomoki commented on 2013-11-03 18:33 (UTC)

Now I can't compile omake with ocaml 4.01.0. -------------------------------- ** omake: finished reading OMakefiles (1.12 sec) - build src/libmojave lm_list_util.o + ocamlopt.opt -warn-error A -w Aer-29-32..35-37..39z -I . -c lm_list_util.ml File "lm_list_util.ml", line 579, characters 19-21: Warning 3: deprecated feature: operator (or); you should use (||) instead File "lm_list_util.ml", line 766, characters 18-19: ] 00599 / 01203 Warning 3: deprecated feature: operator (&); you should use (&&) instead File "lm_list_util.ml", line 816, characters 32-33: Warning 3: deprecated feature: operator (&); you should use (&&) instead File "lm_list_util.ml", line 825, characters 14-16: Warning 3: deprecated feature: operator (or); you should use (||) instead File "lm_list_util.ml", line 1: Error: Some fatal warnings were triggered (4 occurrences) *** omake: 600/1203 targets are up to date *** omake: failed (11.43 sec, 148/148 scans, 78/88 rules, 287/1307 digests) *** omake: targets were not rebuilt because of errors: src/libmojave/lm_list_util.cmx src/libmojave/lm_list_util.o Makefile:31: recipe for target 'all' failed make: *** [all] Error 2 -------------------------------- I think, it is because (or) and (&) are obsolute now and that warnings abort the build. "disable-warnings.patch" doesn't work for this warning.

<deleted-account> commented on 2010-08-12 23:49 (UTC)

(Consolidating two comments.) To compile against ocaml 3.12, you have to specify that warnings 9 and 29 shouldn't abort the build. Applying this patch to the PKGBUILD does the trick: --- PKGBUILD.orig 2009-06-21 13:35:17.000000000 -0400 +++ PKGBUILD 2010-08-12 19:47:28.046618053 -0400 @@ -23,8 +23,10 @@ build() { patch -Np0 -i ${srcdir}/$pkgname-build-0.9.8.5.diff || return 1 patch -Np0 -i ${srcdir}/$pkgname-lm_printf-gcc44.diff || return 1 + sed -i.orig -r '/^public\.OCAMLFLAGS.*\S/s//&-9-29/' lib/build/OCaml.om || return 1 make bootstrap || return 1 make PREFIX=/usr all || return 1 make PREFIX=/usr INSTALL_ROOT=${pkgdir} install + install -Dm444 lib/build/OCaml.om.orig ${pkgdir}/usr/lib/omake/build/OCaml.om }