Package Details: camlidl 1.05-6

Git Clone URL: https://aur.archlinux.org/camlidl.git (read-only)
Package Base: camlidl
Description: A stub code generator and COM binding for Objective Caml (OCaml)
Upstream URL: http://caml.inria.fr/pub/old_caml_site/camlidl/
Licenses: custom
Submitter: simon04
Maintainer: simon04
Last Packager: simon04
Votes: 38
Popularity: 2.537876
First Submitted: 2010-01-23 12:37
Last Updated: 2016-10-27 12:09

Latest Comments

yan12125 commented on 2017-10-05 11:54

I got the same issue as @kynikos. I guess the problem is in META.camlidl. In the Ubuntu package [1], the content of /usr/lib/ocaml/METAS/META.camlidl is:

# Courtesy of GODI
description = "Stub generator"
version = "1.05"
directory = "^"
archive(byte) = "com.cma"
archive(native) = "com.cmxa"

I add directory = "^" to META.camlidl, and google-drive-ocamlfuse builds fine.

[1] http://mirrors.kernel.org/ubuntu/pool/universe/c/camlidl/camlidl_1.05-15_amd64.deb

radek_r commented on 2017-09-30 12:34

Please add achitecture "armv7h" to the PKGBUILD.

kynikos commented on 2017-02-10 10:56

Thanks simon04 for looking into this :) Somehow though google-drive-ocamlfuse builds now at least for me even without those symlinks.

simon04 commented on 2017-02-09 19:47

@kynikos: Inspecting the file list of the Ubuntu package (http://packages.ubuntu.com/yakkety/amd64/camlidl/filelist) shows that the files of interest are also located in /usr/lib/ocaml/com.* only.

kynikos commented on 2017-02-03 10:08

Hi, according to the AUR database, only google-drive-ocamlfuse actually requires this package, indirectly through ocamlfuse.

Currently google-drive-ocamlfuse doesn't build though because it expects at least two of the files provided by this package in a different directory, see also the comments in its AUR page.

A temporary workaround is to fix this PKGBUILD by adding the following in the package() function:

ln -s /usr/lib/ocaml/com.a ${pkgdir}/usr/lib/ocaml/camlidl/
ln -s /usr/lib/ocaml/com.cmxa ${pkgdir}/usr/lib/ocaml/camlidl/

I was wondering if there is a more proper way to update this PKGBUILD to make it compatible with google-drive-ocamlfuse, cheers.

ryanswrt commented on 2016-09-10 14:16

What the heck - after messing around with a custom pkgbuild (not touching anything in /usr/) it built and installed successfully? Not sure what could have changed to affect it; does the build process somehow pull ocaml deps?

ryanswrt commented on 2016-09-10 12:54

Failing to build with ocaml 4.02.3

patching file config/Makefile.unix
patching file lib/Makefile
patching file runtime/Makefile.unix
cd compiler; make all
make[1]: Entering directory '/tmp/yaourt-tmp-ryan/aur-camlidl/src/camlidl-1.05/compiler'
rm -f config.ml
ocamlc -g -c config.mli
ocamlc -g -c utils.mli
sed -e 's|%%CPP%%|/usr/bin/cpp|' \
config.mlp > config.ml
ocamlc -g -c idltypes.mli
ocamllex linenum.mll
ocamlc -g -c linenum.mli
ocamlyacc -v parser_midl.mly
ocamlyacc -v parser_midl.mly
12 shift/reduce conflicts.
16 states, 331 transitions, table size 1420 bytes
ocamllex lexer_midl.mll
12 shift/reduce conflicts.
ocamlc -g -c clflags.ml
ocamlc -g -c utils.ml
ocamlc -g -c linenum.ml
chmod -w config.ml
ocamlc -g -c config.ml
ocamlc -g -c prefix.mli
ocamlc -g -c lexpr.mli
ocamlc -g -c cvttyp.mli
ocamlc -g -c variables.mli
ocamlc -g -c enum.mli
File "lexpr.mli", line 39, characters 14-22:
Error: Unbound module Prefix
make[1]: *** [Makefile:78: lexpr.cmi] Error 2
make[1]: *** Waiting for unfinished jobs....
File "utils.ml", line 51, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
129 states, 1747 transitions, table size 7762 bytes
make[1]: Leaving directory '/tmp/yaourt-tmp-ryan/aur-camlidl/src/camlidl-1.05/compiler'
make: *** [Makefile:18: all] Error 2
==> ERROR: A failure occurred in build().

simon04 commented on 2014-05-06 10:41

1.05-4: added "options=(staticlibs)" according to clockish – thank you!

clockish commented on 2014-05-03 20:24

"options=(staticlibs)" should probably be added to the PKGBUILD. This installs the /usr/lib/ocaml/camlidl/*.a files, and the Arch ocaml-* packages typically include these.

simon04 commented on 2013-11-03 08:28

1.05-3: updated according to flocke – thank you!

All comments