Summary: | app-crypt/truecrypt-6.2 exhibits problems with append-flags on amd64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ronny Cooper <dontdrinkanddrive> |
Component: | Current packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | ikelos |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log of TrueCrypt-6.2
Kernel-2.6.29.4 Config File |
Description
Ronny Cooper
2009-05-25 10:22:25 UTC
Created attachment 192393 [details]
build log of TrueCrypt-6.2
Created attachment 192394 [details]
Kernel-2.6.29.4 Config File
This error also occurs on gentoo-sources-2.6.27-r8, so I'm not sure if this is kernel related... (In reply to comment #3) > This error also occurs on gentoo-sources-2.6.27-r8, so I'm not sure if this is > kernel related... > hmm, but it worked on my old linux-2.6.28-gentoo-r5 kernel Ok, doing a little searching, it appears this requires a particular copy of some header files. Both of my troubled machines have pkcs11-helper installed, whereas both of my unaffected machines don't. Checking the ebuild there's: if has_version dev-libs/pkcs11-helper; then pkcs11_include_directory="/usr/include/pkcs11-helper-1.0" else pkcs11_include_directory="/usr/include/opensc" fi So my guess is that the pkcs11-helper files aren't quite up to scratch. Apparently these defines are just for error messages, so we've got a few possible solutions: 1) Try and get pkcs11-helper fixed upstream. 2) Try and get pkcs11-helper patched by Gentoo. 3) Patch out the required lines in truecrypt (see [1]) 4) Only rely on opensc for headers. 4 seems to be the easiest, with 1 being the cleanest... [1] http://penguinenclave.blogspot.com/2008/12/truecrypt-61-install-guide-for-fedora.html (In reply to comment #5) > Ok, doing a little searching, it appears this requires a particular copy of > some header files. Both of my troubled machines have pkcs11-helper installed, > whereas both of my unaffected machines don't. Checking the ebuild there's: > > if has_version dev-libs/pkcs11-helper; then > pkcs11_include_directory="/usr/include/pkcs11-helper-1.0" > else > pkcs11_include_directory="/usr/include/opensc" > fi > > So my guess is that the pkcs11-helper files aren't quite up to scratch. > Apparently these defines are just for error messages, so we've got a few > possible solutions: > > 1) Try and get pkcs11-helper fixed upstream. > 2) Try and get pkcs11-helper patched by Gentoo. > 3) Patch out the required lines in truecrypt (see [1]) > 4) Only rely on opensc for headers. > > 4 seems to be the easiest, with 1 being the cleanest... > > [1] > http://penguinenclave.blogspot.com/2008/12/truecrypt-61-install-guide-for-fedora.html > doesn't work with pkcs11-helper-1.07, but 3) works for me ;-) thnx and greetz R.C. Sorry Ronny, I think you misunderstood. Could you please check whether the machine(s) you're having the problem on have pkcs11-helper installed? My guess is that they do. The workaround for this would be to unmerge pkcs11-helper, then emerge truecrypt (and then if necessary, re-install pkcs11-helper)... Also, this bug should stay open, since the root cause hasn't been fixed, we've just found a workaround. sorry for that... pkcs11-helper-1.06 was running on the machine, before i updated to 1.07... unmerge pkcs11-helper and then emerge truecrypt doesn't work You're right, my bad, they've already worked around it in the ebuild by appending it to the flags sent to the compiler, but it seems under amd64 that just isn't working for some reason... After a little more digging this proves to be a duplicate of bug 271141. *** This bug has been marked as a duplicate of bug 271141 *** |