Package Details: hivex 1.3.14-3

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: 19
Popularity: 1.426914
First Submitted: 2015-08-15 21:02
Last Updated: 2017-09-05 17:55

Dependencies (11)

Required by (4)

Sources (1)

Latest Comments

snak3xe commented on 2017-07-20 13:12

Update:
Sorry, builds fine without the hardening-wrapper. Do "pacman -Rs hardening-wrapper" before to launch the compilation.

broken build

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[])

How to fix ?

bidulock commented on 2017-06-28 21:49

I think hardening-wrapper is interfering with the test for caml_raise_with_args from configure.ac. Without the wrapper, the library function is detected fine; with, it fails. I would say this is a hardening-wrapper issue and not a hivex issue.

bidulock commented on 2017-06-28 19:19

1.3.14-2 builds fine in a clean chroot.

jskier commented on 2017-06-28 19:02

@MilanKnizek, that worked. Apologies, I should have caught this by looking down.

I agree with @grwaity, fix should be done during compilation (not remove package or conflict with it).

@bidulock, something like this: https://pastebin.com/uAYLQJA7

MilanKnizek commented on 2017-06-28 17:55

@jskier: "pacman -Rs hardening-wrapper" works for me.

jskier commented on 2017-06-14 13:50

Latest version doesn't compile:
https://pastebin.com/xBCDDszc

grawity commented on 2017-04-01 13:31

Instead of removing hardening-wrapper globally, it should be enough to export:

HARDENING_PIE=0

Maybe this should be done in build().

jamesan commented on 2017-03-03 01:48

@vonpupp: I just resolved the same error you're encountering: "Only one of PREFIX or INSTALL_BASE can be given. Not both." You may have set up the perl-local-lib package, which defines environment variables that obstruct this build process. The perl-local-lib package sets up a local lib/ folder under your home directory for your specific user by overriding paths used to install perl modules system-wide using environment variables.

Check if PERL_MM_OPT is set. If it is, unset it and try to makepkg this PKGBUILD again. If that fails, try:

unset PERL5LIB PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1

This is pulled from the ArchWiki Perl packaging guidelines: https://wiki.archlinux.org/index.php/Perl_package_guidelines#PKGBUILD_Examples

vonpupp commented on 2016-11-25 22:04

I tried `pacman -Rs hardening-wrapper` as @mickours said but it didn't work for me.

I am having this problem:
ocamlfind ocamlc -package unix -c t/hivex_200_write.ml -o t/hivex_200_write.cmo
File "t/hivex_200_write.ml", line 58, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "t/hivex_200_write.ml", line 60, characters 6-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "t/hivex_200_write.ml", line 61, characters 6-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "t/hivex_200_write.ml", line 63, characters 4-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "t/hivex_200_write.ml", line 64, characters 4-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
/bin/sh ../libtool --mode=execute -dlopen ../lib/libhivex.la \
ocamlfind ocamlc -dllpath /tmp/yaourt-tmp-av/aur-hivex/src/hivex-1.3.13/ocaml -package unix \
-linkpkg mlhivex.cma t/hivex_200_write.cmo -o t/hivex_200_write
mkdir -p `dirname t/hivex_300_fold.cmo`
ocamlfind ocamlc -package unix -c t/hivex_300_fold.ml -o t/hivex_300_fold.cmo
/bin/sh ../libtool --mode=execute -dlopen ../lib/libhivex.la \
ocamlfind ocamlc -dllpath /tmp/yaourt-tmp-av/aur-hivex/src/hivex-1.3.13/ocaml -package unix \
-linkpkg mlhivex.cma t/hivex_300_fold.cmo -o t/hivex_300_fold
rm t/hivex_005_load.cmo t/hivex_100_errors.cmo t/hivex_300_fold.cmo t/hivex_020_root.cmo t/hivex_120_rlenvalue.cmo t/hivex_010_open.cmo t/hivex_200_write.cmo t/hivex_110_gc_handle.cmo
make[2]: Leaving directory '/tmp/yaourt-tmp-av/aur-hivex/src/hivex-1.3.13/ocaml'
Making all in perl
make[2]: Entering directory '/tmp/yaourt-tmp-av/aur-hivex/src/hivex-1.3.13/perl'
[ . != . ] && cp -rsu /tmp/yaourt-tmp-av/aur-hivex/src/hivex-1.3.13/perl/. ./.
make[2]: [Makefile:1632: Makefile-pl] Error 1 (ignored)
perl Makefile.PL INSTALLDIRS=site PREFIX=/usr
Only one of PREFIX or INSTALL_BASE can be given. Not both.
make[2]: *** [Makefile:1633: Makefile-pl] Error 2
make[2]: Leaving directory '/tmp/yaourt-tmp-av/aur-hivex/src/hivex-1.3.13/perl'
make[1]: *** [Makefile:1275: all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-av/aur-hivex/src/hivex-1.3.13'
make: *** [Makefile:1182: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build hivex.

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

All comments