Package Details: tahoe-lafs-git 6179.98732cd-1

Git Clone URL: https://aur.archlinux.org/tahoe-lafs-git.git (read-only)
Package Base: tahoe-lafs-git
Description: A secure, decentralized, fault-tolerant file store (git version)
Upstream URL: https://tahoe-lafs.org/
Licenses: GPL
Conflicts: tahoe-lafs
Provides: tahoe-lafs
Submitter: mutantmonkey
Maintainer: mutantmonkey
Last Packager: mutantmonkey
Votes: 2
Popularity: 0.000000
First Submitted: 2015-01-18 23:59
Last Updated: 2015-10-28 04:10

Latest Comments

needle8420 commented on 2018-10-15 17:45

spoiler: see below for solution

pikaur -S tahoe-lafs-git
:: error: Dependencies missing for tahoe-lafs-git
:: warning: Following package cannot be found in AUR:
twisted

not in AUR, but as 'split package' group in the main repo.
pkgbase = twisted, pkgname = python2-twisted, python-twisted

who to blame? pikaur? makepkg? pacman?

seems we must edit PKGBUILD
replace 'twisted'
with 'python2-twisted'

error 2:
==> Starting check()...
running test
ERROR: Please use 'tox' to run the test suite.

cos check() calls
python2 setup.py test
which should be
tox2
with tox2 from python2-tox

error 3:
py27 runtests: commands[0] | tahoe --version
pkg_resources.DistributionNotFound: The 'magic-wormhole>=0.10.2' distribution was not found and is required by tahoe-lafs

cos magic-wormhole from AUR is not installed for python2 = py2
even if /usr/bin/python points to python2
looks like magic-wormhole should be a 'split package'
with python2-magic-wormhole and python-magic-wormhole
request was posted to
https://aur.archlinux.org/packages/magic-wormhole/#comment-666874

error 4:
py27 runtests: commands[0] | tahoe --version
pkg_resources.DistributionNotFound: The 'magic-wormhole>=0.10.2' distribution was not found and is required by tahoe-lafs

now im confused.
magic-wormhole is installed for py2, but not found by tox2.
paradox solution: use tox3 from python-tox
why does a py2 program need tox3 for testing?

error 5:
pkg_resources.DistributionNotFound: The 'PyYAML>=3.11' distribution was not found and is required by tahoe-lafs

pacman -S python2-pyaml

--

quickfix:

  1. install magic-wormhole for python2 using pip2
  2. install python2-twisted, python-tox, python2-pyaml
  3. install all dependencies of tahoe-lafs-git except twisted
  4. install tahoe-lafs-git without dependencies

4a. edit PKGBUILD, look for depends=
replace
'twisted'
with
'python2-twisted'
[keep 'python2-twisted' in the first depends= line]

4b. edit PKGBUILD, look for check()
replace
  python2 setup.py test
with
  tox3
[indent with two spaces]

--

ready for copy paste:

sudo pacman -S python2-pip
sudo pip2 install magic-wormhole

pikaur -S python2-twisted python-tox python2-pyaml \
$(pikaur -S --info tahoe-lafs-git | grep ^depends \
| cut -d: -f2 | tr -d , | sed 's/ twisted/ /')

pikaur -S --ignoregroup twisted tahoe-lafs-git

# see above, items 4a and 4b

seylerius commented on 2015-07-27 23:29

I've fixed the PKGBUILD for python2-foolscap, and will be submitting that to the mailing list. That seems to be the only missing piece for this working properly.