Package Details: dcfldd 1.9.3-1

Git Clone URL: https://aur.archlinux.org/dcfldd.git (read-only, click to copy)
Package Base: dcfldd
Description: DCFL (DoD Computer Forensics Lab) dd replacement with hashing
Upstream URL: https://github.com/resurrecting-open-source-projects/dcfldd/
Licenses: GPL
Submitter: arojas
Maintainer: marcs
Last Packager: marcs
Votes: 12
Popularity: 0.38
First Submitted: 2020-05-01 18:26 (UTC)
Last Updated: 2025-06-15 09:27 (UTC)

Dependencies (1)

Required by (2)

Sources (1)

Latest Comments

blenderfox commented on 2025-05-31 16:00 (UTC)

@marcs

Last commit (from December 2024 works), so we can lock to that, or leave it to get the latest commit by itself (but that itself could have its own issues)

marcs commented on 2025-05-31 15:57 (UTC) (edited on 2025-05-31 15:58 (UTC) by marcs)

If someone can find which commit solves the build error I will add a patch. Or hopefully the owner of the git repository will publish a new release soon.

blenderfox commented on 2025-05-31 15:37 (UTC)

Good spot, @mpolishchuck

Hacking the PKGBUILD to pull from the git source instead of the the release this worked

mpolishchuck commented on 2025-05-31 15:10 (UTC)

The lastest version from github works, however there is no new release there, so manual patching is required.

blenderfox commented on 2025-05-18 07:34 (UTC) (edited on 2025-05-18 07:34 (UTC) by blenderfox)

Package no longer builds. Multiple errors

==> Starting build()...
...

sys2.h:297:7: error: conflicting types for 'ttyname'; have 'char *(void)'
  297 | char *ttyname ();
      |       ^~~~~~~
In file included from system.h:33:
/usr/include/unistd.h:799:14: note: previous declaration of 'ttyname' with type 'char *(int)'
  799 | extern char *ttyname (int __fd) __THROW;
      |              ^~~~~~~
In file included from system.h:268,
                 from dcfldd.h:42,
                 from dcfldd.c:33:
sys2.h:297:7: error: conflicting types for 'ttyname'; have 'char *(void)'
  297 | char *ttyname ();
      |       ^~~~~~~
In file included from system.h:33:
/usr/include/unistd.h:799:14: note: previous declaration of 'ttyname' with type 'char *(int)'
  799 | extern char *ttyname (int __fd) __THROW;
      |              ^~~~~~~
md5.c: In function 'MD5Init':
md5.c:83:6: warning: old-style function definition [-Wold-style-definition]
   83 | void MD5Init (mdContext)
      |      ^~~~~~~
md5.c: In function 'MD5Update':
md5.c:96:6: warning: old-style function definition [-Wold-style-definition]
   96 | void MD5Update (mdContext, inBuf, inLen)
      |      ^~~~~~~~~
md5.c:125:7: error: too many arguments to function 'Transform'; expected 0, have 2
  125 |       Transform (mdContext->buf, in);
      |       ^~~~~~~~~  ~~~~~~~~~~~~~~
md5.c:38:13: note: declared here
   38 | static void Transform ();
      |             ^~~~~~~~~
md5.c: In function 'MD5Final':
md5.c:131:6: warning: old-style function definition [-Wold-style-definition]
  131 | void MD5Final (mdContext, buf)
      |      ^~~~~~~~
md5.c:157:3: error: too many arguments to function 'Transform'; expected 0, have 2
  157 |   Transform (mdContext->buf, in);
      |   ^~~~~~~~~  ~~~~~~~~~~~~~~
md5.c:38:13: note: declared here
   38 | static void Transform ();
      |             ^~~~~~~~~
md5.c: In function 'MD5Sprint':
md5.c:175:6: warning: old-style function definition [-Wold-style-definition]
  175 | void MD5Sprint (mdContext, buf)
      |      ^~~~~~~~~
md5.c: In function 'Transform':
md5.c:187:13: warning: old-style function definition [-Wold-style-definition]
  187 | static void Transform (buf, in)
      |             ^~~~~~~~~
dcfldd.c: In function 'print_stats':
dcfldd.c:229:13: error: too many arguments to function 'human_readable'; expected 0, have 4
  229 |             human_readable (r_full, buf[0], 1, 1),
      |             ^~~~~~~~~~~~~~  ~~~~~~
In file included from dcfldd.c:60:
human.h:33:7: note: declared here
   33 | char *human_readable PARAMS ((uintmax_t, char *, int, int));
      |       ^~~~~~~~~~~~~~
dcfldd.c:230:13: error: too many arguments to function 'human_readable'; expected 0, have 4
  230 |             human_readable (r_partial, buf[1], 1, 1));
      |             ^~~~~~~~~~~~~~  ~~~~~~~~~
human.h:33:7: note: declared here
   33 | char *human_readable PARAMS ((uintmax_t, char *, int, int));
      |       ^~~~~~~~~~~~~~
dcfldd.c:232:13: error: too many arguments to function 'human_readable'; expected 0, have 4
  232 |             human_readable (w_full, buf[0], 1, 1),
      |             ^~~~~~~~~~~~~~  ~~~~~~
human.h:33:7: note: declared here
   33 | char *human_readable PARAMS ((uintmax_t, char *, int, int));
      |       ^~~~~~~~~~~~~~
dcfldd.c:233:13: error: too many arguments to function 'human_readable'; expected 0, have 4
  233 |             human_readable (w_partial, buf[1], 1, 1));
      |             ^~~~~~~~~~~~~~  ~~~~~~~~~
human.h:33:7: note: declared here
   33 | char *human_readable PARAMS ((uintmax_t, char *, int, int));
      |       ^~~~~~~~~~~~~~
dcfldd.c:236:17: error: too many arguments to function 'human_readable'; expected 0, have 4
  236 |                 human_readable (r_truncate, buf[0], 1, 1),
      |                 ^~~~~~~~~~~~~~  ~~~~~~~~~~
human.h:33:7: note: declared here
   33 | char *human_readable PARAMS ((uintmax_t, char *, int, int));
      |       ^~~~~~~~~~~~~~
dcfldd.c: In function 'parse_integer':
dcfldd.c:388:20: error: too many arguments to function 'xstrtoumax'; expected 0, have 5
  388 | #  define __strtol xstrtoumax
      |                    ^~~~~~~~~~
dcfldd.c:401:27: note: in expansion of macro '__strtol'
  401 |     enum strtol_error e = __strtol(str, &suffix, 10, &n, "bcEGkMPTwYZ0");
      |                           ^~~~~~~~
...