In cryptsetup-1.0.5, the header libcryptsetup.h refers to the function crypt_luksInit(). The library files libcryptsetup.a and libcryptsetup.so do not contain crypt_luksInit(). crypt_luksInit() seems to be renamed to crypt_luksFormat(). The library does have crypt_luksFormat(), but the change was not made in the header. Original bugreport is from: https://bugzilla.redhat.com/show_bug.cgi?id=215349 And there is already a patch: diff -ru cryptsetup-1.0.5.orig/lib/libcryptsetup.h cryptsetup-1.0.5/lib/libcryptsetup.h --- cryptsetup-1.0.5.orig/lib/libcryptsetup.h 2006-11-21 10:06:47.000000000 +0100 +++ cryptsetup-1.0.5/lib/libcryptsetup.h 2007-07-26 18:52:20.267303000 +0200 @@ -39,7 +39,7 @@ int crypt_resize_device(struct crypt_options *options); int crypt_query_device(struct crypt_options *options); int crypt_remove_device(struct crypt_options *options); -int crypt_luksInit(struct crypt_options *options); +int crypt_luksFormat(struct crypt_options *options); int crypt_luksOpen(struct crypt_options *options); int crypt_luksDelKey(struct crypt_options *options); int crypt_luksAddKey(struct crypt_options *options); Reproducible: Always
Created attachment 133139 [details, diff] patch for libcryptsetup.h
I'll see if upstream fixes this within a day or so, if not I'll patch ours.
Reassigning back to herd since Benjamin has retired as a Gentoo developer (#89719).
this is fixed with version 1.0.6