Package Details: dislocker-git 0.7.3.r37.g845e20c-1

Git Clone URL: https://aur.archlinux.org/dislocker-git.git (read-only, click to copy)
Package Base: dislocker-git
Description: FUSE driver to read/write Windows' BitLocker-ed volumes
Upstream URL: https://github.com/Aorimn/dislocker
Licenses: GPL2
Conflicts: dislocker
Provides: dislocker
Submitter: K5HV
Maintainer: agowa
Last Packager: agowa
Votes: 9
Popularity: 0.001420
First Submitted: 2016-01-11 19:19 (UTC)
Last Updated: 2024-01-15 01:27 (UTC)

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

MarsSeed commented on 2023-10-23 20:16 (UTC)

This should depend on mbedtls, not on its abandoned, outdated duplicate, 'aur-mbedtls'.

pino commented on 2023-06-20 23:04 (UTC)

Include this line in the BUILDPKG's build() function and will do the trick

sed -i 's/^#include "mbedtls\/config.h"/#include "mbedtls\/mbedtls_config.h"/;s/# define SHA256(input, len, output) mbedtls_sha256_ret(input, len, output, 0)/# define SHA256(input, len, output) mbedtls_sha256(input, len, output, 0)/' include/dislocker/ssl_bindings.h

korimitsu commented on 2023-05-07 11:56 (UTC)

Still fails:

[ 34%] Building C object src/CMakeFiles/dislocker.dir/accesses/stretch_key.c.o
In file included from /home/user/.cache/paru/clone/dislocker-git/src/dislocker/include/dislocker/accesses/stretch_key.h:29,
                 from /home/user/.cache/paru/clone/dislocker-git/src/dislocker/src/accesses/stretch_key.c:25:
/home/user/.cache/paru/clone/dislocker-git/src/dislocker/include/dislocker/ssl_bindings.h:29:10: fatal error: mbedtls/config.h: No such file or directory
   29 | #include "mbedtls/config.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/dislocker.dir/build.make:244: src/CMakeFiles/dislocker.dir/accesses/stretch_key.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:136: src/CMakeFiles/dislocker.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'dislocker-git-0.7.3.r33.g1e92c11-1': 
error: packages failed to build: dislocker-git-0.7.3.r33.g1e92c11-1

korimitsu commented on 2023-04-23 18:20 (UTC)

Fails to build:

$ pamac build dislocker-git
Preparing...
Cloning dislocker-git build files...
Generating dislocker-git information...
Checking dislocker-git dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  dislocker-git  0.7.3.r35.g179c51b-1  (0.7.3.r26.g3a8f757-1)  AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] y

==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: user
Password: 
==== AUTHENTICATION COMPLETE ====

Building dislocker-git...
==> Making package: dislocker-git 0.7.3.r35.g179c51b-1
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating dislocker git repo...
==> Validating source files with sha512sums...
    dislocker ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of dislocker git repo...
Cloning into 'dislocker'...
done.
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:20 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 12.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found POLARSSL: /usr/include  
PolarSSL/mbedTLS version: 3.4.0
Ruby_FIND_VERSION=1.8.0
Ruby_FIND_VERSION_MAJOR=1
Ruby_FIND_VERSION_MINOR=8
Ruby_FIND_VERSION_PATCH=0
_Ruby_POSSIBLE_EXECUTABLE_NAMES=ruby;ruby2.7;ruby27;ruby2.6;ruby26;ruby2.5;ruby25;ruby2.4;ruby24;ruby2.3;ruby23;ruby2.2;ruby22;ruby2.1;ruby21;ruby2.0;ruby20;ruby1.9;ruby19;ruby1.8;ruby18
_Ruby_FIND_VIRTUALENV=STANDARD
_Ruby_FIND_VIRTUALENV doesn't match: STANDARD
-- --------FindRuby.cmake debug------------
-- _Ruby_POSSIBLE_EXECUTABLE_NAMES: ruby;ruby2.7;ruby27;ruby2.6;ruby26;ruby2.5;ruby25;ruby2.4;ruby24;ruby2.3;ruby23;ruby2.2;ruby22;ruby2.1;ruby21;ruby2.0;ruby20;ruby1.9;ruby19;ruby1.8;ruby18
-- _Ruby_POSSIBLE_LIB_NAMES: ruby;ruby-static;ruby3.0;ruby30;ruby-3.0;ruby-3.0.5
-- Ruby_ARCH_DIR: /usr/lib/ruby/3.0.0/x86_64-linux
-- Ruby_HDR_DIR: /usr/include/ruby-3.0.0
-- Ruby_POSSIBLE_LIB_DIR: /usr/lib
-- Found Ruby_VERSION: "3.0.5" , short: "3.0", nodot: "30"
-- _Ruby_REQUIRED_VARS: Ruby_EXECUTABLE;Ruby_INCLUDE_DIR;Ruby_LIBRARY;Ruby_CONFIG_INCLUDE_DIR
-- Ruby_EXECUTABLE: /usr/bin/ruby
-- Ruby_LIBRARY: /usr/lib/libruby.so
-- Ruby_INCLUDE_DIR: /usr/include/ruby-3.0.0
-- Ruby_CONFIG_INCLUDE_DIR: /usr/include/ruby-3.0.0/x86_64-linux
-- --------------------
-- Found Ruby: /usr/bin/ruby (found suitable version "3.0.5", minimum required is "1.8.0") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
-- Checking for module 'fuse'
--   Found fuse, version 2.9.9
-- Configuring done (1.1s)
-- Generating done (0.0s)
-- Build files have been written to: /var/tmp/pamac-build-user/dislocker-git/src/dislocker
[  2%] Building C object src/CMakeFiles/dislocker.dir/dislocker.c.o
In file included from /var/tmp/pamac-build-user/dislocker-git/src/dislocker/include/dislocker/metadata/datums.h:27,
                 from /var/tmp/pamac-build-user/dislocker-git/src/dislocker/src/dislocker.c:37:
/var/tmp/pamac-build-user/dislocker-git/src/dislocker/include/dislocker/common.h:36: warning: "TRUE" redefined
   36 | #define TRUE 1
      | 
In file included from /usr/include/ruby-3.0.0/ruby/defines.h:74,
                 from /usr/include/ruby-3.0.0/ruby/ruby.h:23,
                 from /usr/include/ruby-3.0.0/ruby.h:38,
                 from /var/tmp/pamac-build-user/dislocker-git/src/dislocker/include/dislocker/ruby.h:40,
                 from /var/tmp/pamac-build-user/dislocker-git/src/dislocker/include/dislocker/accesses/accesses.h:38,
                 from /var/tmp/pamac-build-user/dislocker-git/src/dislocker/src/dislocker.c:36:
/usr/include/ruby-3.0.0/ruby/backward/2/bool.h:32: note: this is the location of the previous definition
   32 | # define TRUE true
      | 
/var/tmp/pamac-build-user/dislocker-git/src/dislocker/include/dislocker/common.h:37: warning: "FALSE" redefined
   37 | #define FALSE 0
      | 
/usr/include/ruby-3.0.0/ruby/backward/2/bool.h:26: note: this is the location of the previous definition
   26 | # define FALSE false
      | 
[  5%] Building C object src/CMakeFiles/dislocker.dir/common.c.o
[  7%] Building C object src/CMakeFiles/dislocker.dir/config.c.o
[ 10%] Building C object src/CMakeFiles/dislocker.dir/xstd/xstdio.c.o
[ 13%] Building C object src/CMakeFiles/dislocker.dir/xstd/xstdlib.c.o
[ 15%] Building C object src/CMakeFiles/dislocker.dir/metadata/datums.c.o
[ 18%] Building C object src/CMakeFiles/dislocker.dir/metadata/metadata.c.o
[ 21%] Building C object src/CMakeFiles/dislocker.dir/metadata/vmk.c.o
[ 23%] Building C object src/CMakeFiles/dislocker.dir/metadata/fvek.c.o
[ 26%] Building C object src/CMakeFiles/dislocker.dir/metadata/extended_info.c.o
[ 28%] Building C object src/CMakeFiles/dislocker.dir/metadata/guid.c.o
[ 31%] Building C object src/CMakeFiles/dislocker.dir/metadata/print_metadata.c.o
[ 34%] Building C object src/CMakeFiles/dislocker.dir/accesses/stretch_key.c.o
In file included from /var/tmp/pamac-build-user/dislocker-git/src/dislocker/include/dislocker/accesses/stretch_key.h:29,
                 from /var/tmp/pamac-build-user/dislocker-git/src/dislocker/src/accesses/stretch_key.c:25:
/var/tmp/pamac-build-user/dislocker-git/src/dislocker/include/dislocker/ssl_bindings.h:29:10: fatal error: mbedtls/config.h: No such file or directory
   29 | #include "mbedtls/config.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/dislocker.dir/build.make:244: src/CMakeFiles/dislocker.dir/accesses/stretch_key.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:136: src/CMakeFiles/dislocker.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

korimitsu commented on 2022-11-25 06:40 (UTC)

Please add to PKGBUILD:

optdepends=('ntfs-3g: NTFS file system support')