Package Details: ocaml-pcre 7.2.3-2

Git Clone URL: (read-only)
Package Base: ocaml-pcre
Description: Perl compatible regular expressions for OCaml
Upstream URL:
Licenses: LGPL
Conflicts: pcre-ocaml
Replaces: pcre-ocaml
Submitter: None
Maintainer: J5lx
Last Packager: J5lx
Votes: 65
Popularity: 0.620687
First Submitted: 2011-09-17 10:16
Last Updated: 2017-10-12 14:04

Latest Comments

radek_r commented on 2017-09-30 12:16

Please add achitecture "armv7h" to the PKGBUILD.

J5lx commented on 2016-11-05 08:51

You're right. However, when I last updated this package, ocamlbuild was still included in the ocaml package. I have now updated the dependencies accordingly.

eduardomezencio commented on 2016-11-01 03:03

shouldn't ocamlbuild be a dependendy? I was not able to build without installing it.

J5lx commented on 2015-12-01 08:23


Seemingly this bug is caused by hardening-wrapper. After removing the hardening wrapper from $PATH building ocaml packages works just fine (uninstalling should do, too, of course). However, I haven't yet looked into the -runtime-variant _pic option. As soon as I have time again I'll check that out and update the package accordingly if it works (as well as my 68 other ocaml packages :P).

J5lx commented on 2015-12-01 08:11

Since a few weeks I'm getting those errors as well when building OCaml packages. In those cases I was always able to build the package using `extra-x86_64-build`, so it’s probably some kind of a configuration error or something. However, playing with the make -j parameter like @oriba suggested did not help (at least not for me).

oriba commented on 2015-11-30 12:08

It builds here with OCaml version 4.02.3.

Maybe MAKEFLAGS, -j parameter set to parallel compilation
might be problematic. ( /etc/makepkg.conf )

bidulock commented on 2015-11-30 12:01

Won't compile with a current version of ocaml. Anyone know what the problem is?

+ /usr/bin/ocamlopt.opt unix.cmxa -I /usr/lib/ocaml/ocamlbuild /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa /usr/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
/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: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
E: Failure("Command ''/usr/bin/ocamlbuild' lib/libpcre_stubs.a lib/ lib/pcre.cma lib/pcre.cmxa lib/pcre.a lib/pcre.cmxs examples/cloc/cloc.native examples/count_hash/count_hash.native examples/pcregrep/pcregrep.native examples/subst/subst.native' terminated with error code 10")
Makefile:16: recipe for target 'all' failed
make: *** [all] Error 1
==> ERROR: A failure occurred in build().

leonardder commented on 2014-07-16 06:59

Thanks for the info. Updated accordingly

rafaelff commented on 2014-07-16 02:22

New version 7.1.1

Also 'url' and 'source' changed (bitbucket -> github):


oriba commented on 2014-01-06 17:26

Get pcre-ocaml-7.0.4.tar.gz (83.0 KB).

All comments