Package Details: ocaml-pcre 7.2.3-2

Git Clone URL: https://aur.archlinux.org/ocaml-pcre.git (read-only)
Package Base: ocaml-pcre
Description: Perl compatible regular expressions for OCaml
Upstream URL: http://mmottl.github.io/pcre-ocaml
Licenses: LGPL
Conflicts: pcre-ocaml
Replaces: pcre-ocaml
Submitter: None
Maintainer: J5lx
Last Packager: J5lx
Votes: 58
Popularity: 1.213900
First Submitted: 2011-09-17 10:16
Last Updated: 2016-11-05 08:49

Latest Comments

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

EUREKA! https://bugs.archlinux.org/task/42748

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 myocamlbuild.ml /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/dllpcre_stubs.so 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().
Aborting...

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):

pkgver=7.1.1
url="http://mmottl.github.io/pcre-ocaml"
source=("https://github.com/mmottl/pcre-ocaml/releases/download/v$pkgver/pcre-ocaml-$pkgver.tar.gz")
md5sums=('7e5193553778803af71cc6a3cea242cc')

oriba commented on 2014-01-06 17:26

Get pcre-ocaml-7.0.4.tar.gz (83.0 KB).
2013-12-16
https://bitbucket.org/mmottl/pcre-ocaml

oriba commented on 2014-01-05 22:56

If staticlibs-option is, what you want to add, then it would be this line, that is needed:

options=('!strip' 'staticlibs')

All comments