Package Details: ocaml-camomile 0.8.5-5

Git Clone URL: https://aur.archlinux.org/ocaml-camomile.git (read-only)
Package Base: ocaml-camomile
Description: Comprehensive Unicode library for OCaml
Upstream URL: https://github.com/yoriyuki/Camomile
Licenses: LGPL
Submitter: None
Maintainer: LeonidasXIV
Last Packager: LeonidasXIV
Votes: 33
Popularity: 0.002176
First Submitted: 2008-11-16 11:38
Last Updated: 2015-06-08 18:47

Latest Comments

mtrnord commented on 2017-01-10 20:51

@LeonidasXIV seems like the arch installation does not provide all files on my system. I try to use opam now

LeonidasXIV commented on 2017-01-10 18:37

@mtrnord Can't reproduce, can you maybe paste the complete build output?

mtrnord commented on 2017-01-10 16:05

Build gives

/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(startup_aux.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(fail.o): relocation R_X86_64_32 against symbol `caml_exn_Failure' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(roots.o): relocation R_X86_64_32 against symbol `caml_frametable' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(globroots.o): relocation R_X86_64_32 against symbol `caml_global_roots' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(signals.o): relocation R_X86_64_32S against undefined symbol `caml_pending_signals' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(signals_asm.o): relocation R_X86_64_32S against symbol `caml_system__code_end' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(freelist.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(misc.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(major_gc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(minor_gc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(memory.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(alloc.o): relocation R_X86_64_32S against undefined symbol `caml_atom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(compare.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(ints.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(floats.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(str.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(array.o): relocation R_X86_64_32 against undefined symbol `caml_atom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(io.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(extern.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(intern.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(hash.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(sys.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(parsing.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(gc_ctrl.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(obj.o): relocation R_X86_64_32S against undefined symbol `caml_atom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(printexc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(callback.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(weak.o): relocation R_X86_64_32 against symbol `caml_ephe_ref_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(compact.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(finalise.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(custom.o): relocation R_X86_64_32 against symbol `caml_custom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(unix.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(backtrace.o): relocation R_X86_64_32 against symbol `caml_backtrace_last_exn' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(startup.o): relocation R_X86_64_32S against symbol `caml_data_segments' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: Fehler: ld gab 1 als Ende-Status zurück
File "caml_startup", line 1:
Error: Error during linking

Any way to fix that?

chrko commented on 2015-06-11 19:59

I cannot build this and get the following error and also cannot debug it.

ocamlopt.opt -c -noassert -I internal -I public -I toolslib -I . tools/parse_unidata.ml
ocamlopt.opt -noassert -I internal -I public -I toolslib -I . -o tools/parse_unidata.opt bigarray.cmxa str.cmxa toolslib.cmxa tools/parse_unidata.cmx
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(startup.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/lib/ocaml/libasmrun.a: error adding symbols: Bad value
collect2: Fehler: ld gab 1 als Ende-Status zurück
File "caml_startup", line 1:
Error: Error during linking
Makefile:215: die Regel für Ziel „tools/parse_unidata.opt“ scheiterte
make: *** [tools/parse_unidata.opt] Fehler 2
rm toolslib/colLexer.ml internal/uReStrLexer.ml toolslib/colParser.mli toolslib/colParser.ml

tuusjr commented on 2014-09-12 17:22

I am trying to build this one, and it turns out that camlp4 is a required dependency, so please add that to the dependency list :)

LeonidasXIV commented on 2014-05-03 22:03

Alright guys, then there must've been something wrong on my system. I've now uploaded a version with staticlibs, hope that solves the issue. Thanks for letting me know!

clockish commented on 2014-05-03 20:26

Whoops, my bad, the patch is in fact necessary for camomileLibrary.a; but, I'm not seeing any of the *.a files installed without the staticlibs option.

clockish commented on 2014-05-03 20:16

Err, I'm noticing what kythyria is. The patch does nothing. Instead, adding "staticlibs" to the options solves the missing .a files issue.

LeonidasXIV commented on 2014-04-17 09:08

kythyria, but the .a files are included in the package already, /usr/lib/ocaml/camomile/camomile.a and /usr/lib/ocaml/camomile/camomileLibrary.a.

kythyria commented on 2014-04-17 08:53

You need to add staticlibs to the options array, otherwise the .a files get eaten patch or no (and liquidsoap-git won't compile)

LeonidasXIV commented on 2014-01-21 17:46

Sure thing, just updated the PKGBUILD. Thanks for notifying!

dtzWill commented on 2014-01-21 17:34

Unfortunately the upstream build fails to install "camomileLibrary.a" which is needed for building certain software against this.

At least two other distributions apply patches to fix this:

Slackware: http://slackbuilds.org/slackbuilds/14.1/libraries/ocaml-camomile/0002-Install-missing-camomileLibrary.a.patch
Debian: http://patch-tracker.debian.org/patch/series/view/camomile/0.8.4-2/0002-Install-missing-camomileLibrary.a.patch

Would you mind adding this patch to the build?

Thanks!

LeonidasXIV commented on 2013-11-25 20:18

Ok, perfect then.

leonardder commented on 2013-11-25 20:17

Namcap does report OCAML as not needed as a dependency. I use the Liquidsoap package which requires ocaml-camomile and which works perfectly without ocaml.

LeonidasXIV commented on 2013-11-22 10:42

Moved them both to makedepends. Not sure if this is a good idea in the case of ocaml, but oh well, if someone will complain it can be still moved back.

leonardder commented on 2013-11-22 10:28

Could you please move ocaml and ocaml-findlib to the builddepends rather than depends?

Anonymous comment on 2010-07-08 12:18

This is an error:

> sed -ie 's|ocamlfind ...

The -i flag interprets the e as a backup extension. What you want is either "sed -i -e 's|ocamlfind ..." or "sed -i.orig -e 's|ocamlfind ..."
or "sed -i 's|ocamlfind ..." with no -e (since an -e is inferred when only one command expression is supplied.)

That said, this error is harmless because sed is assuming no -e is present, which it happily accepts. And creating a backup file "Makefilee" isn't hurting anyone.

But I thought I should point it out because this mistake might bite the maintainer another time.

Anonymous comment on 2010-04-07 07:39

Disowned.