wyrd/ocaml problem (was: Re: Mass rebuild for Fedora 18 Complete)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

can someone tell me what is wrong with wyrd?

build.log says (http://kojipkgs.fedoraproject.org//work/tasks/8809/4318809/build.log):
| ocaml version is 4.00.0+beta2
| ocaml library path is /usr/lib/ocaml
| configure: error: Wyrd requires OCaml version 3.08 or greater.


The configure scripts uses the following code:

1781 # we extract Ocaml version number and library path
1782 OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version *\(.*\)$|\1|p' `
1783 echo "ocaml version is $OCAMLVERSION"
1784 OCAMLLIB=`$OCAMLC -v | tail -n 1 | cut -f 4 -d " "`
1785 echo "ocaml library path is $OCAMLLIB"
1786 
1787 
1788 # check for sufficient OCAMLVERSION
1789 OCAMLMAJORVERSION=`echo $OCAMLVERSION | cut -d '.' -f 1`
1790 OCAMLMINORVERSION=`echo $OCAMLVERSION | cut -d '.' -f 2`
1791 if test $OCAMLMAJORVERSION -lt 3 ; then
1792    as_fn_error "Wyrd requires OCaml version 3.08 or greater."
"$LINENO" 5
1793 else
1794    if test $OCAMLMINORVERSION -lt 8 ; then
1795       as_fn_error "Wyrd requires OCaml version 3.08 or greater."
"$LINENO" 5
1796    fi
1797 fi

As far as I can see it should test in line 1791 whether 4 is less than
3, which is not the case and therefore it should not fail.

If you know how to fix this, you are welcome to fix it directly in the
git repo. :-)

Regards
Till
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux