gaubert / gmvault

gmail backup software
http://www.gmvault.org
GNU Affero General Public License v3.0
3.58k stars 288 forks source link

Build fails on 2 separate Ubuntu 22.04 with pip and sudo python3 setup.py install #373

Open iconoclasthero opened 11 months ago

iconoclasthero commented 11 months ago
$ which python3 pip; python3 --version; pip --version
/usr/bin/python3
/bin/python3
/usr/bin/pip
/bin/pip
Python 3.10.12
pip 23.3.1 from $HOME/.local/lib/python3.10/site-packages/pip (python 3.10)

Here's the log of the machine on which it is intended to run. Also failed on a machine on which I reinstalled Ubuntu 22.04 < 12 hours ago.

gmvault-setup.py.log

Looks like it might have something to do with the egg (python3.10.12 installed, both machines) and/or setuptools:

$ pip show setuptools
Name: setuptools
Version: 59.6.0
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://github.com/pypa/setuptools
Author: Python Packaging Authority
Author-email: distutils-sig@python.org
License: UNKNOWN
Location: /usr/lib/python3/dist-packages
Requires: 
Required-by: setuptools-scm
iconoclasthero commented 11 months ago
$ pip show gmvault
Name: gmvault
Version: 1.9.1
Summary: Tool to backup and restore your Gmail emails at will. http://www.gmvault.org for more info
Home-page: http://www.gmvault.org
Author: Guillaume Aubert
Author-email: guillaume.aubert@gmail.com
License: AGPLv3
Location: /usr/local/lib/python3.10/dist-packages/gmvault-1.9.1-py3.10.egg
Requires: argparse, chardet, IMAPClient, Logbook
Required-by: 
iconoclasthero commented 11 months ago

Thought there was a link for static builds, found the line: "Github Repository (for developers, not for installing)"

which directly contradicts

gaubert/gmvault/README.md: "You can also install the software from the source from (github.com/gaubert/gmvault)."

Here's the cleaned log of that attempt. source_fail.log