Package Details: opam 1.2.2-1

Git Clone URL: https://aur.archlinux.org/opam.git (read-only)
Package Base: opam
Description: OCaml Package Manager
Upstream URL: http://opam.ocaml.org
Licenses: GPL
Submitter: zhehao
Maintainer: vbmithr
Last Packager: vbmithr
Votes: 76
Popularity: 2.774952
First Submitted: 2012-08-19 15:24
Last Updated: 2015-06-27 07:51

Latest Comments

pandeiro commented on 2016-03-26 18:19

OK, I got it working. However there's another small issue: Running `opam init` fails if the unzip package isn't installed. Should unzip be considered a dependency?

vbmithr commented on 2016-03-03 23:47

Cannot repro…

pandeiro commented on 2016-03-03 17:17

Perhaps worth noting the alternative that I used, since I couldn't install OPAM this way:

http://opam.ocaml.org/doc/Install.html#Binarydistribution

pandeiro commented on 2016-03-02 21:46

I can't build this. Here's the last bit of output from `makepkg -s`:

[...]
ocamldep -I ../src_ext/lib -I core -I solver -I repositories -I client -I client/ client/opamGitVersion.ml > ._d/client/opamGitVersion.d
ocamlopt.opt -c -g -w +a-4-9-32-41-44-45-48 -bin-annot -short-paths -safe-string -I ../src_ext/lib -I core -I solver -I repositories -I client -I client/
client/opamGitVersion.ml
ocamlopt.opt -c -g -w +a-4-9-32-41-44-45-48 -bin-annot -short-paths -safe-string -I ../src_ext/lib -I core -I solver -I repositories -I client -I client/ client/opamArg.ml
ocamlopt.opt -c -g -w +a-4-9-32-41-44-45-48 -bin-annot -short-paths -safe-string -I ../src_ext/lib -I core -I solver -I repositories -I client -I client/
client/opamMain.ml
ocamlopt.opt \
\
-I ../src_ext/lib -I core -I solver -I repositories -I client -I client/ -g -w +a-4-9-32-41-44-45-48 -bin-annot -safe-string -ccopt
-Wl,-O1,--sort-common,--as-needed,-z,relro -ccopt -Lclient/ unix.cmxa extlib.cmxa re.cmxa cmdliner.cmxa graph.cmxa cudf.cmxa dose_common.cmxa dose_debian.cmxa
dose_algo.cmxa uutf.cmxa jsonm.cmxa ./opam-core.cmxa ./opam-solver.cmxa ./opam-repositories.cmxa ./opam-client.cmxa -o opam \
client/opamGitVersion.cmx client/opamArg.cmx client/opamMain.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: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
../OCamlMakefile:952: recipe for target 'opam' failed
make[4]: *** [opam] Error 2
make[4]: Leaving directory '/home/mu/opam/src/opam-full-1.2.2/src'
../OCamlMakefile:777: recipe for target 'native-code' failed
make[3]: *** [native-code] Error 2
make[3]: Leaving directory '/home/mu/opam/src/opam-full-1.2.2/src'
../OCamlMakefile:1226: recipe for target 'subproj_opam' failed
make[2]: *** [subproj_opam] Error 2
make[2]: Leaving directory '/home/mu/opam/src/opam-full-1.2.2/src'
Makefile:203: recipe for target 'opam' failed
make[1]: *** [opam] Error 2
make[1]: Leaving directory '/home/mu/opam/src/opam-full-1.2.2/src'
Makefile:26: recipe for target 'opam' failed
make: *** [opam] Error 2
==> ERROR: A failure occurred in build().
Aborting...

StatelessCat commented on 2016-01-15 21:40

Cannot build it anymore, error logs: http://ix.io/nsc .
As mentioned here https://bugs.archlinux.org/task/42748 We need to compile Ocaml with -fPIC compiler flag.
Is there any workaround to avoid the need to recompile Ocaml ?

=== update ===
After removing 'hardening-wrapper', everything is fine. I don't understand why.

orbifx commented on 2015-09-26 13:39

Also opam has run-time dependency of `unzip`.

vbmithr commented on 2015-09-26 13:24

Yes, let me fix this.

orbifx commented on 2015-09-26 13:23

This package failed to build because I didn't have `patch` available. Should it be added to the dependencies?

vbmithr commented on 2015-06-03 12:42

You just did. Updated. Thanks.

malina commented on 2015-06-03 12:28

There is another problem: the name of the source library is no longer included the -rc2 (currently ocaml-1.2.2-rc2, but not)

I hope I could help

All comments