Replies: 2 comments 1 reply
-
|
Update: Trying to compile pam_zfscrypt against previous versions of zfs (v2.2.7, v2.3.0, v2.3.1) to see if they also had those warnings I learned that they (now) even have the error. To me that means that those messages come from the "compiler" (gnu_makefile?) rather than zfs, because I was able to build pam_zfscrypt against zfs in February of this year - when zfs v2.3.0 was current. However, "make" (assuming that is used for gnu_makefile build_syle)) hasn't changed on void since 2023. So, I'm not sure what to make of it. |
Beta Was this translation helpful? Give feedback.
-
|
I'll close this for now - until I encounter an issue I can't fix myself in the future and have to resurrect this one... :-) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As suspected in the past, there would come a day when pam_zfscrypt might stop compiling against a newer zfs version....
Well, that day has come with zfs 2.3.2, apparently.
Now, the pam_zfscrypt version I have installed already seems to work with zfs v2.3.2 (I can use the system without apparent problems - I would assume, if the package wouldn't work anymore, I shouldn't be able to login as the package would not be able to decrypt and mount my home directory (unless some other void package does the same...?)), but just to be sure, I wanted to build the package against the v2.3.2 anew.
Trying to compile, I get the following error message(s) (bold doesn't seem to work within "code", so I isolated the lines in question by adding empty lines before and after):
Now, I'm not a programmer, so all I can do is read the error message and the try to figure out what I can do to overcome an error.
So, I tested compiling the package again after changing
err = nvlist_lookup_string(prop, ZPROP_VALUE, (char **) user);to
err = nvlist_lookup_string(prop, ZPROP_VALUE, (const char **) user);in line 149 of void-packages/masterdir-x86_64/builddir/pam_zfscrypt-0.2.0/src/zfscrypt_dataset.c.
After that little change the build process runs through and the packages is build.
My questions would be:
Thank you very much for your help!
Beta Was this translation helpful? Give feedback.
All reactions