Displaying 20 results from an estimated 60000 matches similar to: "OCaml dependencies are broken"
2018 Dec 07
0
Re: [nbdkit PATCH] build: Install ocaml files relative to --prefix
On Fri, Dec 07, 2018 at 03:09:43PM -0600, Eric Blake wrote:
> Rather than always trying to install ocaml files into $(OCAMLLIBS),
> which is likely to be root-owned and therefore fail during a
> './configure --prefix=$HOME/subdir', we instead choose to always
> install relative to $(prefix) and let distro packagers take steps
> post-install to move the distro's pre-built
2014 Feb 26
2
Re: enable build for ocaml bytecode
On Thu, Jan 17, Richard W.M. Jones wrote:
> On Wed, Jan 16, 2013 at 05:51:53PM +0100, Olaf Hering wrote:
> > On Mon, Jan 14, Olaf Hering wrote:
> > > This is a first attempt to build libguestfs with just a ocaml bytecode
> > > compiler. The three tools written in ocaml will be build only when an
> > > ocamlopt compiler is available.
> > Here is a more
2014 Oct 20
0
Re: make install of ocaml libs fails
On Thu, Oct 16, 2014 at 11:09:08AM +0200, Olaf Hering wrote:
>
> Today I did it, for the very first time:
> Did not build a package. Just ran "make install". Twice!
>
> ...
> ocamlfind install \
> -ldconf ignore -destdir /usr/lib64/ocaml \
> guestfs \
> META *.so *.a *.cma *.cmi ./*.mli *.cmx *.cmxa
> ocamlfind: Package guestfs is already installed
2018 Nov 29
1
[nbdkit PATCH] ocaml: Make build VPATH aware
The ocaml.opt compiler defaults to building things in the same
directory as its input; we need explicit -o options to build
in a VPATH $(builddir) when $(srcdir) is read-only (as is the
case during 'make distcheck'). We also have to build any side
effect files explicitly in cases where we can't directly use -o
to control those outputs alongside the final product.
Thanks: Richard W.M.
2013 Jan 14
3
enable build for ocaml bytecode
This is a first attempt to build libguestfs with just a ocaml bytecode
compiler. The three tools written in ocaml will be build only when an
ocamlopt compiler is available.
Olaf
---
Makefile.am | 5 ++++-
configure.ac | 2 ++
ocaml/Makefile.am | 20 +++++++++++++++++---
resize/Makefile.am | 2 +-
sparsify/Makefile.am | 2 +-
sysprep/Makefile.am | 2 +-
6
2017 Aug 07
0
Re: Ocamlfind can't find hivex
On Mon, Aug 07, 2017 at 08:10:55AM -0500, Chris McIntosh wrote:
> Hey Thanks Rich.
>
> > What distro?
> Solus
>
> > Are the OCaml bindings for hivex actually installed?
> I don't think so at this point, though make install runs this command:
>
> ocamlfind install \
> -ldconf ignore -destdir /home/chris/.opam/4.05.0/lib/ocaml \
> hivex \
> META
2017 Aug 10
0
Re: libguestfs binaries missing when built from source code
On Thu, Aug 10, 2017 at 04:49:22AM +0000, emlyn.jose@wipro.com wrote:
> Hello Richard!
>
> Ocaml solved my problem. Thank you so much :)
>
> There are many unpackaged ocaml files created outside the BUILDROOT. Will removing them harm the working of the package?
>
> error: Installed (but unpackaged) file(s) found:
> /usr/lib64/ocaml/guestfs/META
>
2019 Jun 17
0
Re: [libnbd PATCH] build: Fix OCaml build on Fedora 29
On Sat, Jun 15, 2019 at 04:56:37PM -0500, Eric Blake wrote:
> Once ocamlfind is installed, 'make' failed for me with:
>
> ocamlfind ocamlc -g -annot -safe-string -warn-error CDEFLMPSUVYZX+52-3 -ccopt '-gdwarf' -package unix -c NBD.ml -o NBD.cmo
> File "NBD.ml", line 1:
> Error: Could not find the .cmi file for interface NBD.mli.
> make[2]: ***
2009 Aug 27
1
[PATCH 4/4] build: enable gcc warnings in capitests/ and ocaml/
Here are four small patches.
First, I enabled all the warnings, then I fixed the newly exposed
offenses, then I put the warning-enabling patch at the end,
for the sake of future bisectors:
[1/4] ocaml/guestfs_c.c avoid signed/unsigned-comparison warning
[2/4] ocaml/guestfs_c.c: avoid warning about initialization discarding "const"
[3/4] ocaml/guestfs_c.c: avoid warning about missing
2013 Sep 09
4
[PATCH] Fix ocaml build in 4.1; problem with 4.1.6 release
(CC to xen-devel added)
Ian Jackson writes ("Problem with 4.1.6 release"):
> Jan Beulich writes ("please sign-and-tag 4.2.3 and 4.1.6"):
> > Ian - could you also create tarballs as usual?
>
> The 4.1.6 tarball failed its build test. This is due to an actual
> build failure in 4.1.6. See below. This is probably a result of
>
2014 Feb 22
2
[W/ commit: 838a3c9] "inconsistent assumptions over interface Guestfs"
Just did a git pull to the below commit (to get the latest version
1.25.37) and did a local build, this is what I see:
Error: The files ../ocaml/guestfs.cmi and perl_edit.cmi
make inconsistent assumptions over interface Guestfs
Haven't investigated further, thought I'd post it here first:
$ git rev-parse --short HEAD
838a3c9
$ ./autogen.sh
$
2018 Apr 10
0
Re: [PATCH] Fix out-of-tree builds of OCaml components
This breaks in-tree builds because it generates some strange-looking
dependencies, eg:
GObject.cmo : utils.cmi types.cmi structs.cmi .common/mlstdutils/std_utils.cmi pr.cmi events.cmi docstrings.cmi actions.cmi GObject.cmi GObject.ml
so you get errors like:
make[2]: *** No rule to make target '.common/mlstdutils/std_utils.cmi', needed by 'utils.cmo'. Stop.
I tried to poke the
2019 Dec 12
1
Re: Fwd: libguestfs incorrectly detects host CPU architecture
On Thu, Dec 12, 2019 at 11:01:02AM +0100, Vincent Danjean wrote:
> [resend to the good (cloned) bug, sorry for the message in the original bug,
> it was a mistake]
>
> Hi,
>
> On Thu, 5 Dec 2019 11:12:56 +0000 "Richard W.M. Jones" <rjones@redhat.com> wrote:
> > I believe this is a new bug and nothing much to do with:
> >
2016 Aug 25
2
[PATCH] build: Add common CLEANFILES and DISTCLEANFILES to common-rules.mk.
By adding common CLEANFILES and DISTCLEANFILES variables to
common-rules.mk, we can remove these from most other Makefiles, and
also clean files more consistently.
Note that bin_PROGRAMS are already cleaned by 'make clean', so I
removed cases where these were unnecessarily added to CLEANFILES.
---
.gitignore | 1 +
Makefile.am | 6
2014 Feb 28
6
[PATCH] Fix building on architectures where ocamlopt is not available
---
builder/Makefile.am | 18 +++++++++++++-
configure.ac | 2 ++
mllib/Makefile.am | 60 +++++++++++++++++++++++++++++++---------------
ocaml/Makefile.am | 28 +++++++++++++++-------
ocaml/examples/Makefile.am | 13 ++++++++++
resize/Makefile.am | 18 +++++++++++++-
sparsify/Makefile.am | 18 +++++++++++++-
sysprep/Makefile.am | 18
2009 Aug 05
1
syntax-check changes
With this, "make syntax-check" runs a few more tests, all passing.
>From febff9d2a35c4f40abbaf8943146476bdeac671e Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Tue, 4 Aug 2009 13:49:19 +0200
Subject: [PATCH 1/8] build: remove more files added by ./autogen.sh
* po/LINGUAS: Remove file.
* po/Makefile.in.in: Likewise.
* po/Makevars: Likewise.
*
2011 Nov 25
2
[PATCH 6/7] Create 2 ocaml packages, libxen-4.1-ocaml and libxen-4.1-ocaml-dev.
V4 of the patch, incorporating Bastian's suggestions.
Jon
---
xen/debian/patches/series | 1 +
xen/debian/patches/tools-ocaml-fix-build.diff | 81 +++++++++++++++++++++++++
xen/debian/rules | 5 ++
xen/debian/rules.real | 39 ++++++++++++
xen/debian/templates/control.main.in | 16 +++++
2012 Oct 19
1
building resize fails due to lack of Unix module
Building 1.9.53 fails for me with ocaml 3.10.2 and 3.12.1, likely due to
commit a0722c7ad846960be54978a31ebe73b76e119203:
[ 318s] ocamlfind ocamlopt -g -warn-error CDEFLMPSUVYZX -package str -I ../src/.libs -I ../ocaml \
[ 318s] mlguestfs.cmxa -linkpkg ../fish/guestfish-progress.o progress-c.o resize_gettext.cmx resize_utils.cmx progress.cmx resize.cmx -cclib -lncurses -o virt-resize
Building virt-v2v - Error: guestfs_config.cmi: is not a compiled interface for this version of OCaml
2020 Jul 08
1
Building virt-v2v - Error: guestfs_config.cmi: is not a compiled interface for this version of OCaml
I did not touch virt-v2v for a while, and I cannot build it now.
There are not instructions in the README on under docs, so I tried the common
stuff:
$ ./autogen.sh
...
Next you should type 'make' to build the package,
...
$ make
make all-recursive
make[1]: Entering directory '/home/nsoffer/src/virt-v2v'
Making all in common/mlstdutils
make[2]: Entering directory
2018 Dec 07
2
[nbdkit PATCH] build: Install ocaml files relative to --prefix
Rather than always trying to install ocaml files into $(OCAMLLIBS),
which is likely to be root-owned and therefore fail during a
'./configure --prefix=$HOME/subdir', we instead choose to always
install relative to $(prefix) and let distro packagers take steps
post-install to move the distro's pre-built copy into the correct
location for the distro. This fixes a 'make