Package Details: ddrutility 2.8-1

Git Clone URL: (read-only)
Package Base: ddrutility
Description: Set of utilities for use with GNU ddrescue to aid with data recovery
Upstream URL:
Licenses: GPL3
Submitter: net147
Maintainer: net147
Last Packager: net147
Votes: 13
Popularity: 1.300123
First Submitted: 2014-05-19 13:30
Last Updated: 2017-01-15 03:33

Latest Comments

probackup-nl commented on 2018-08-03 15:14

2 warnings:

[code] gcc -Wall -W ddrutility.c -o ddrutility gcc -Wall -W ddru_ntfscommon.c ddru_ntfsbitmap.c -o ddru_ntfsbitmap ddru_ntfsbitmap.c: In function 'processdata': ddru_ntfsbitmap.c:1174:46: warning: '%s' directive writing up to 254 bytes into a region of size between 221 and 240 [-Wformat-overflow=] sprintf (command, "truncate -s %lld \'%s\'", (long long)ntfs_attribute.items.Attr.NonResident.n64RealSize, destination_file); ^~ ~~~~~~~~~~~~~~~~ ddru_ntfsbitmap.c:1174:8: note: 'sprintf' output between 17 and 290 bytes into a destination of size 255 sprintf (command, "truncate -s %lld \'%s\'", (long long)ntfs_attribute.items.Attr.NonResident.n64RealSize, destination_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -W ddru_ntfscommon.c ddru_ntfsfindbad.c -o ddru_ntfsfindbad gcc -Wall -W ddru_diskutility.c -o ddru_diskutility ddru_diskutility.c: In function 'readsector': ddru_diskutility.c:788:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ ddru_diskutility.c:790:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' scsi_cmd[15] = 0; ^~~~~~~~ [/code]

net147 commented on 2017-01-15 03:33

@jamesan Updated

jamesan commented on 2017-01-14 20:02

The build process has changed in this latest release, v2.8; namely Autotools is no longer used, so there is no <pre>./configure</pre> script to run and no aclocal folder to remove at the end of the <pre>package()</pre> function. We can resort to manually modifying the makefile to remove the local folder (as in change <pre>/usr/local</pre> paths to <pre>/usr</pre>):

prepare() {
cd "$pkgname-$pkgver"
sed --in-place 's/usr\/local/usr/g' makefile

build() {
cd "$pkgname-$pkgver"

package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install

I've also removed references to $srcdir as each PKGBUILD function begins with $srcdir as its working directory.

akovia commented on 2014-12-24 15:14

Looks like this has been updated to 2.6 so the download fails for 2.5

==> ERROR: Failure while downloading ddrutility-2.5.tar.gz

DaveCode commented on 2014-06-13 04:10

Voted, nice addition. No pkg 'sh' exists, and AUR assumes base stuff implicitly, so 'sh' can drop. While I'm not familiar with this utility, wouldn't 'extra/ddrescue' be a dependency, or at least an optdepends? Thanks.