Package Details: hivex 1.3.13-1

Git Clone URL: https://aur.archlinux.org/hivex.git (read-only)
Package Base: hivex
Description: System for extracting the contents of Windows Registry.
Upstream URL: http://libguestfs.org
Licenses: LGPL2.1
Submitter: bidulock
Maintainer: bidulock
Last Packager: bidulock
Votes: 11
Popularity: 0.559092
First Submitted: 2015-08-15 21:02
Last Updated: 2016-06-06 10:47

Dependencies (11)

Required by (4)

Sources (1)

Latest Comments

mickours commented on 2016-06-13 08:59

It comes from the package hardening-wrapper:

The bug:
https://bugs.archlinux.org/task/42748

So do
pacman -Rs hardening-wrapper

And it works :)

bidulock commented on 2016-06-10 16:44

I show caml_raise_with_args defined in /usr/lib/ocaml/caml/fail.h which is owned by ocaml 4.02.3-2. Check yours.

bidulock commented on 2016-06-10 16:39

Nope. pacman -Qkk pacman says /etc/makepkg.conf is as shipped. When I compile, config.h defines HAVE_CAML_RAISE_WITH_ARGS so line 52 of hivex_c.c is not compiled. There is something the matter with your ocaml setup: try reinstalling ocaml as well as ocamlfind.

swiftgeek commented on 2016-06-10 10:38

@bidulock check your makepkg.conf, most likely it's heavily outdated

mickours commented on 2016-06-10 07:36

My system is up to date but hivex is still not compiling with the Ocaml bindings. Here is the error:

Making all in ocaml
make[2]: Entering directory 'src/hivex-1.3.13/ocaml'
gcc -I.. -I/usr/lib/ocaml -I../ocaml -I../lib -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -Wall -c hivex_c.c
hivex_c.c:52:1: error: static declaration of 'caml_raise_with_args' follows non-static declaration
caml_raise_with_args (value tag, int nargs, value args[])
^~~~~~~~~~~~~~~~~~~~
In file included from hivex_c.c:39:0:
/usr/lib/ocaml/caml/fail.h:32:17: note: previous declaration of 'caml_raise_with_args' was here
CAMLextern void caml_raise_with_args (value tag, int nargs, value arg[])
^~~~~~~~~~~~~~~~~~~~
hivex_c.c: In function 'raise_error':
hivex_c.c:1057:1: warning: 'noreturn' function does return
}
^
Makefile:1695: recipe for target 'hivex_c.o' failed
make[2]: *** [hivex_c.o] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-mercierm/aur-hivex/src/hivex-1.3.13/ocaml'
Makefile:1275: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-mercierm/aur-hivex/src/hivex-1.3.13'
Makefile:1182: recipe for target 'all' failed
make: *** [all] Error 2

bidulock commented on 2016-06-09 03:01

I still have no problems building 1.3.13-1 on an up to date system.

swiftgeek commented on 2016-06-08 17:30

Disabling ocaml bindings ( --disable-ocaml ) helped with compiling it.

Making all in ocaml
make[2]: Entering directory '/tmp/yaourt-tmp-swiftgeek/aur-hivex/src/hivex-1.3.13/ocaml'
gcc -I.. -I/usr/lib/ocaml -I../ocaml -I../lib -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -c hivex_c.c
hivex_c.c:52:1: error: static declaration of 'caml_raise_with_args' follows non-static declaration
caml_raise_with_args (value tag, int nargs, value args[])
^~~~~~~~~~~~~~~~~~~~
In file included from hivex_c.c:39:0:
/usr/lib/ocaml/caml/fail.h:32:13: note: previous declaration of 'caml_raise_with_args' was here
CAMLextern void caml_raise_with_args (value tag, int nargs, value arg[])
^~~~~~~~~~~~~~~~~~~~
hivex_c.c: In function 'raise_error':
hivex_c.c:1057:1: warning: 'noreturn' function does return
}
^
Makefile:1695: recipe for target 'hivex_c.o' failed

bidulock commented on 2016-06-05 21:38

I have no problems building on up-to-date system.

jyantis commented on 2016-06-05 17:06

Failed to Install:
Makefile:1602: recipe for target 'Makefile-pl' failed
make[2]: [Makefile-pl] Error 1 (ignored)
perl Makefile.PL INSTALLDIRS=site PREFIX=/usr
Only one of PREFIX or INSTALL_BASE can be given. Not both.
Makefile:1602: recipe for target 'Makefile-pl' failed

djmattyg007 commented on 2016-04-09 10:11

I'm pretty sure ruby and python2 should only be listed as make dependencies. Hivex doesn't actually depend on them, but it will generate bindings for those languages if they're installed at compile-time.

andreas_baumann commented on 2016-02-18 07:24

PATH=/usr/bin/core_perl/:${PATH} solves the issue.

andreas_baumann commented on 2016-02-18 07:22

Upstream issue:

Seems to be missing in Perl, see https://bugs.archlinux.org/task/41072

andreas_baumann commented on 2016-02-18 07:21

I have a dependency on 'pod2man':

configure: error: pod2man must be installed

aurdelkind commented on 2015-10-26 01:43

Since some users may have set INSTALL_BASE in PERL_MM_OPT, you should consider adding 'unset PERL_MM_OPT' before configuring.