Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697700 - sys-fs/ecryptfs-utils does not build with openssl 1.1
Summary: sys-fs/ecryptfs-utils does not build with openssl 1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on: 595264
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2019-10-14 13:23 UTC by onkobu
Modified: 2019-10-16 19:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description onkobu 2019-10-14 13:23:23 UTC
When compiling (even version 111 from source tarball) the same error occurs always:

ecryptfs_key_mod_openssl.c: In Funktion »ecryptfs_openssl_generate_signature«:
ecryptfs_key_mod_openssl.c:155:25: Fehler: Dereferenzierung eines Zeigers auf unvollständigen Typen »RSA« {alias »struct rsa_st«}
  nbits = BN_num_bits(key->n);


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2019-10-14 15:08:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8d52e5c7308ae8eb0b87cc373289b0385d896a9

commit c8d52e5c7308ae8eb0b87cc373289b0385d896a9
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2019-10-14 15:06:01 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2019-10-14 15:07:49 +0000

    sys-fs/ecryptfs-utils: bump to new snapshot
    
    Version bump bug has been open over 3 years with no known blocking
    problems.  I'm doing a non-maintainer bump to fix several outstanding
    issues.
    
    Bug: https://bugs.gentoo.org/572500
    Closes: https://bugs.gentoo.org/595264
    Closes: https://bugs.gentoo.org/697700
    Closes: https://bugs.gentoo.org/694104
    Closes: https://github.com/gentoo/gentoo/pull/12464
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 sys-fs/ecryptfs-utils/Manifest                     |  1 +
 .../ecryptfs-utils-111_p20170609.ebuild            | 94 ++++++++++++++++++++++
 2 files changed, 95 insertions(+)
Comment 2 onkobu 2019-10-15 07:19:29 UTC
The tar ball could not be fetched from the mirror I use normally (404) and distfiles also doesn't provide it (404). The fallback to launchpad returns unreliable sizes:

>>> Downloading 'https://bazaar.launchpad.net/~ecryptfs/ecryptfs/trunk/tarball/894'
[…]
!!! Fetched file: ecryptfs-utils-111_p20170609.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      1433717
!!! Expected: 1433722

With every new fetch the file size differs by a few bytes but stays above 1433700 bytes.
Comment 3 Ben Kohler gentoo-dev 2019-10-15 13:48:47 UTC
Sorry about that, I've added a stable tarball to gentoo servers, can you sync and try again?
Comment 4 Thomas Bettler 2019-10-15 17:08:02 UTC
works like a charm here
Comment 5 onkobu 2019-10-16 19:43:33 UTC
I can also confirm successful install and unlocking of different encrypted filesystems. Thanks for resolving that fast.