Compiling a package expecting lwt to be built with react support gives: $ ocaml setup.ml -configure ocamlfind: Package `lwt.react' not found W: Field 'pkg_lwt_react' is not set: Command ''/bin/ocamlfind' query -format %d lwt.react > '/tmp/oasis-1a814d.txt'' terminated with error code 2 E: Cannot find findlib package lwt.react E: Failure("1 configuration error") Compiling lwt without react seems unintended, because ocaml-lwt.spec has the following requirements: BuildRequires: ocaml >= 3.10.0 BuildRequires: ocaml-findlib-devel BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-camlp4-devel BuildRequires: ocaml-ssl >= 0.4.0 BuildRequires: ocaml-react >= 0.9.0 BuildRequires: chrpath BuildRequires: libev-devel I checked that if ocaml-react is installed, but ocaml-react-devel is not, then the configure script will build lwt without react support. Therefore, the build environment has probably kept react disabled. I expect that the build requirement should be ocaml-react-devel instead.
I wonder if it is the META file which is wrong, because looking at the build log it does look as if react is picked up: http://kojipkgs.fedoraproject.org//packages/ocaml-lwt/2.4.3/4.fc21/data/logs/x86_64/build.log However let me play with this for a bit ...
Created attachment 845113 [details] This enables the missing features.
Looking at the build log you posted, I have the following line Glib integration: .................................... true set to "false" when I compile it with my machine using the spec file I posted as well as the original one. The package also has no build requirements for anything related to Glib. I wonder if this should be made more explicit (whatever the choice for that feature should be)?
I've done it a bit differently, see: http://koji.fedoraproject.org/koji/taskinfo?taskID=6355110 (F20) http://koji.fedoraproject.org/koji/taskinfo?taskID=6354933 (Rawhide)
ocaml-lwt-2.4.2-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/ocaml-lwt-2.4.2-4.fc20
Package ocaml-lwt-2.4.2-4.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ocaml-lwt-2.4.2-4.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-0180/ocaml-lwt-2.4.2-4.fc20 then log in and leave karma (feedback).
ocaml-lwt-2.4.2-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
ocaml-lwt-2.4.2-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/ocaml-lwt-2.4.2-3.fc19
ocaml-lwt-2.4.2-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.