Calling duplicity has recently started reporting a Python import error: $ /usr/bin/duplicity Traceback (most recent call last): File "/usr/bin/duplicity", line 31, in <module> from future import standard_library ModuleNotFoundError: No module named 'future' I have various Python implementations on the server in question, but Python 3.6 is the default and should be supported by duplicity: $ eselect python list Available Python interpreters, in order of preference: [1] python3.6 [2] python3.7 [3] python3.8 [4] python2.7 (fallback) $ equery u duplicity [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for app-backup/duplicity-0.8.09: U I + + python_targets_python2_7 : Build with Python 2.7 + + python_targets_python3_6 : Build with Python 3.6 - - s3 : Support for backing up to the Amazon S3 system - - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
Can you try again after doing "emerge -1 dev-python/future" I'm pretty sure this is just a missing dep, but I want to see if there are any others I can fix at the same time since you seem to have a fairly clean python3 install.
(In reply to Richard Freeman from comment #1) > Can you try again after doing "emerge -1 dev-python/future" Duplicity works again after emerging dev-python/future. Emerge printed in the following messages, just in case you're interested: >>> Installing (1 of 1) dev-python/future-0.18.2::gentoo * Messages for package dev-python/future-0.18.2: * DISTUTILS_USE_SETUPTOOLS value is probably incorrect * value: DISTUTILS_USE_SETUPTOOLS=bdepend (default?) * expected: DISTUTILS_USE_SETUPTOOLS=rdepend
(In reply to Ralph Seichter from comment #2) > (In reply to Richard Freeman from comment #1) > > > Can you try again after doing "emerge -1 dev-python/future" > Duplicity works again after emerging dev-python/future. Emerge printed in > the following messages, just in case you're interested: > > >>> Installing (1 of 1) dev-python/future-0.18.2::gentoo > * Messages for package dev-python/future-0.18.2: > * DISTUTILS_USE_SETUPTOOLS value is probably incorrect > * value: DISTUTILS_USE_SETUPTOOLS=bdepend (default?) > * expected: DISTUTILS_USE_SETUPTOOLS=rdepend Without looking at it more closely I couldn't tell you whether it is an issue, but feel free to file a new bug for the future package. It isn't related to duplicity. I'll be resolving this bug shortly...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6a1b2d78796849837ef8f1942bbca431bd6b58e commit d6a1b2d78796849837ef8f1942bbca431bd6b58e Author: Richard Freeman <rich0@gentoo.org> AuthorDate: 2020-01-20 02:24:18 +0000 Commit: Richard Freeman <rich0@gentoo.org> CommitDate: 2020-01-20 02:24:18 +0000 app-backup/duplicity: fix missing future dep Closes: https://bugs.gentoo.org/705726 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Richard Freeman <rich0@gentoo.org> app-backup/duplicity/duplicity-0.8.09-r1.ebuild | 50 ++++++++++++++++++++++ .../files/duplicity-0.8.09-fix-docs.patch | 15 +++++++ 2 files changed, 65 insertions(+)
(In reply to Richard Freeman from comment #3) > feel free to file a new bug for the future package. Done, please see https://bugs.gentoo.org/705958 .