Package Details: dislocker 0.7.3-6

Git Clone URL: https://aur.archlinux.org/dislocker.git (read-only, click to copy)
Package Base: dislocker
Description: Read/write BitLocker-encrypted volumes
Upstream URL: https://github.com/Aorimn/dislocker
Licenses: GPL2
Conflicts: dislocker-git
Submitter: mrxx
Maintainer: mrxx
Last Packager: mrxx
Votes: 35
Popularity: 0.119582
First Submitted: 2014-06-02 17:25 (UTC)
Last Updated: 2025-04-03 21:42 (UTC)

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

korimitsu commented on 2025-05-06 21:01 (UTC)

Does not compile:

$ paru -S dislocker
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (1) dislocker-0.7.3-6

:: Proceed to review? [Y/n]: 

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: dislocker 0.7.3-6 (Tue 06 May 2025 10:57:00 PM)
==> Retrieving sources...
  -> Downloading v0.7.3.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  108k    0  108k    0     0   142k      0 --:--:-- --:--:-- --:--:--  142k
==> Validating source files with sha1sums...
    v0.7.3.tar.gz ... Passed
==> Making package: dislocker 0.7.3-6 (Tue 06 May 2025 10:57:02 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v0.7.3.tar.gz
==> Validating source files with sha1sums...
    v0.7.3.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting v0.7.3.tar.gz with bsdtar
==> Sources are ready.
dislocker-0.7.3-6: parsing pkg list...
==> Making package: dislocker 0.7.3-6 (Tue 06 May 2025 10:57:04 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.


CMake Error at CMakeLists.txt:20 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'dislocker-0.7.3-6': 
error: packages failed to build: dislocker-0.7.3-6

clfarron4 commented on 2025-04-29 22:41 (UTC) (edited on 2025-04-29 22:43 (UTC) by clfarron4)

CMake Error at CMakeLists.txt:20 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.

I think we might need to go upstream to inform them that cmake 4 introduces some big changes, and so changes will need to be made to upstream to ensure that it works with cmake 4.

While I'm thinking about upstream, dislocker might need additional changes for fuse 3 as well.

dartfira commented on 2025-04-28 07:28 (UTC) (edited on 2025-04-28 07:28 (UTC) by dartfira)

There's a problem during installation:

CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases.

CMake Error at CMakeLists.txt:20 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

-- Configuring incomplete, errors occurred!

mrxx commented on 2025-04-03 21:43 (UTC)

Thank you, gtarch. I've added your fix to the PKGBUILD.

gtarch commented on 2025-04-02 18:42 (UTC)

Build on an up-to-date Arch fails with error Compatibility with CMake < 3.5 has been removed from CMake.

The following patch fixes it:

diff --git a/PKGBUILD b/PKGBUILD
index 986dde7..148e7dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,6 +21,7 @@ build() {
   sed -i 's/true/trueval/g' src/config.c

   cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
         -Dlibdir=/usr/lib \
         -DC_INCLUDE_PATH="$C_INCLUDE_PATH:/usr/include/ruby-3.3.5/" \
         -D WARN_FLAGS:STRING="-Wall -Wextra" \

mrxx commented on 2025-02-10 16:12 (UTC)

Added aarch64 to the supported architectures.

dwhinham commented on 2025-02-09 22:40 (UTC)

Could we get aarch64 added to the 'arch' list, please?

I've been compiling + using this tool just fine on Arch Linux ARM on a Windows-on-ARM laptop as it allows me to access the factory Windows installation.

Thank you!

mrxx commented on 2025-01-15 18:16 (UTC)

Setting the included ruby version to 3.3.5 has fixed the problem.

Kudos to dosenpils for providing the solution.

dosenpils commented on 2025-01-15 16:24 (UTC) (edited on 2025-01-15 16:25 (UTC) by dosenpils)

In case you're running dislocker v0.7.3-5 and facing the following error: "dislocker: error while loading shared libraries: libruby.so.3.2: cannot open shared object file: No such file or directory"

Workaround:

git clone https://aur.archlinux.org/dislocker.git
cd ./dislocker
$EDITOR PKGBUILD
# in line 25 change from:
-DC_INCLUDE_PATH="$C_INCLUDE_PATH:/usr/include/ruby-3.0.0/" \
# to:
-DC_INCLUDE_PATH="$C_INCLUDE_PATH:/usr/include/ruby-3.3.5/" \
makepkg -sirc

dartfira commented on 2025-01-11 09:38 (UTC)

Hello all, it's been some weeks that I cant mount win-bitlocker partition. I'm using dislocker 0.7.3-5 on Archlinux - Kernel 6.12.8.

That's what I get from terminal sudo dislocker -V /dev/nvme0n1p3 --recovery Tue Jan 7 16:00:19 2025 [CRITICAL] Unable to compute regions. Abort.

I've updated my Windows 11 with the latest package, is something change also in BL?