Package Details: ocaml-pcre 7.5.0-3

Git Clone URL: https://aur.archlinux.org/ocaml-pcre.git (read-only, click to copy)
Package Base: ocaml-pcre
Description: Perl compatible regular expressions for OCaml
Upstream URL: http://mmottl.github.io/pcre-ocaml
Keywords: ocaml pcre perl regexp
Licenses: custom:LGPL2.1 with linking exception
Conflicts: pcre-ocaml
Provides: pcre-ocaml
Replaces: pcre-ocaml
Submitter: None
Maintainer: fungible
Last Packager: fungible
Votes: 74
Popularity: 0.000000
First Submitted: 2011-09-17 10:16 (UTC)
Last Updated: 2022-11-14 05:12 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

Kunda commented on 2018-07-02 10:22 (UTC)

==> Making package: ocaml-base 0.11.0-2 (Mon 02 Jul 2018 06:21:15 AM EDT)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> ocaml-sexplib0
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

radek_r commented on 2017-09-30 12:16 (UTC)

Please add achitecture "armv7h" to the PKGBUILD.

J5lx commented on 2016-11-05 08:51 (UTC)

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 (UTC)

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

J5lx commented on 2015-12-01 08:23 (UTC) (edited on 2015-12-01 14:52 (UTC) by J5lx)

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 (UTC)

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 (UTC) (edited on 2015-11-30 12:08 (UTC) by oriba)

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 (UTC)

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 (UTC)

Thanks for the info. Updated accordingly

rafaelff commented on 2014-07-16 02:22 (UTC)

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