Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841704 - app-backup/borgbackup missing dependency for Fuse mount support - needs dev-python/llfuse
Summary: app-backup/borgbackup missing dependency for Fuse mount support - needs dev-p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-29 14:51 UTC by genBTC
Modified: 2022-06-19 14:33 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 genBTC 2022-04-29 14:51:12 UTC
FAILURES
----------

[2]genr8too / # borg mount /mnt/borg/gentoo-nvme1n1p7 /mnt/gentoo2/
borg mount not available: no FUSE support, BORG_FUSE_IMPL=pyfuse3,llfuse.

[2]genr8too / # borgfs /mnt/borg/gentoo-nvme1n1p7::2022-04-27 /mnt/gentoo2/
borg mount not available: no FUSE support, BORG_FUSE_IMPL=pyfuse3,llfuse.

[2]genr8too / # mount -t fuse.borgfs /mnt/borg/gentoo-nvme1n1p7::2022-04-27 /mnt/gentoo2/
borg mount not available: no FUSE support, BORG_FUSE_IMPL=pyfuse3,llfuse.

app-backup/borgbackup-1.2.0::gentoo was built with the following:
USE="" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"
dev-python/pyfuse3-3.2.1::gentoo was built with the following:
USE="-test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"

WORKAROUND
-----------

[2]genr8too / # emerge -u1 dev-python/llfuse

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N     ] dev-python/llfuse-1.4.1::gentoo  USE="-doc -examples -test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9" 757 KiB

Total: 1 package (1 new), Size of downloads: 757 KiB

Would you like to merge these packages? [Yes/No] Y

dev-python/llfuse-1.4.1::gentoo was built with the following:
USE="-doc -examples -test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9"

SUCCESS!
---------

genr8too / # mount -t fuse.borgfs /mnt/borg/gentoo-nvme1n1p7::2022-04-27 /mnt/gentoo2/
Enter passphrase for key /mnt/borg/gentoo-nvme1n1p7:
genr8too / #

Reproducible: Always



Expected Results:  
the .ebuild for borgbackup has DEPENDS on dev-python/pyfuse3 but it also apparently needs DEPEND on dev-python/llfuse for the mounting to actually work.
Comment 1 Michael Egger 2022-06-16 14:02:29 UTC
Same here, manually installing dev-python/llfuse helps as suggested
Comment 2 Piotr Karbowski (RETIRED) gentoo-dev 2022-06-19 13:59:34 UTC
We did switched to pyfuse3 as per borg recommendation and it should work there. Looking into it.
Comment 3 Piotr Karbowski (RETIRED) gentoo-dev 2022-06-19 14:04:06 UTC
It is related to pyfuse3 being currently broken with Python 3.10

>>> import pyfuse3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/lib/python3.10/site-packages/pyfuse3.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyGen_Send

And is not, in fact, borg problem. You might as fallback install dev-python/llfuse unit its resolved or call borg with Python other than 3.10.
Comment 4 Larry the Git Cow gentoo-dev 2022-06-19 14:33:01 UTC
The bug has been closed via the following commit(s):

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

commit aa05edaa74db2238d30a6317206d2e334c699db2
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2022-06-19 14:24:32 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2022-06-19 14:32:58 +0000

    dev-python/pyfuse3: 3.2.1-r1: fix Python 3.10 support.
    
    Closes: https://bugs.gentoo.org/841704
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 .../pyfuse3/{pyfuse3-3.2.1.ebuild => pyfuse3-3.2.1-r1.ebuild}      | 7 +++++++
 1 file changed, 7 insertions(+)