Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611624 - net-fs/s3ql: support dev-python/pycryptodome
Summary: net-fs/s3ql: support dev-python/pycryptodome
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: pycryptodome-tracker
  Show dependency tree
 
Reported: 2017-03-03 23:17 UTC by Michał Górny
Modified: 2019-01-14 01:11 UTC (History)
2 users (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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-03 23:17:30 UTC
See tracker.
Comment 1 Daniel Robbins 2017-12-23 01:01:42 UTC
s3ql makes just a little use of AES encryption and does so in a pycryptodome-compatible way. Simply updating ebuild deps should allow for a smooth transition over to pycryptodome.
Comment 2 Larry the Git Cow gentoo-dev 2018-12-30 09:12:39 UTC
The bug has been closed via the following commit(s):

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

commit c6ca15c4b65c6a71111e50e37a3e1b0393e6a35b
Author:     Tim Harder <radhermit@gentoo.org>
AuthorDate: 2018-12-30 09:11:11 +0000
Commit:     Tim Harder <radhermit@gentoo.org>
CommitDate: 2018-12-30 09:11:11 +0000

    net-fs/s3ql: version bump to 2.33
    
    Closes: https://bugs.gentoo.org/611624
    
    Signed-off-by: Tim Harder <radhermit@gentoo.org>

 net-fs/s3ql/Manifest         |  1 +
 net-fs/s3ql/s3ql-2.33.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)
Comment 3 redneb 2019-01-14 01:11:34 UTC
Is this supposed to work out of the box? Because it doesn't seem to work on my system. After upgrading to the 2.33 ebuild that depends on pycryptodome, I get the following error and s3ql is unusable:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/mount.s3ql", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 3161, in <module>
    @_call_aside
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 3145, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 3174, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 666, in _build_master
    ws.require(__requires__)
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 984, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 870, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pycrypto' distribution was not found and is required by s3ql

I got it to work by manually editing /usr/lib64/python3.6/site-packages/s3ql-2.33-py3.6.egg-info/requires.txt. Maybe this file should be patched by the ebuild?