Debian build failing
Ubuntu 20.04 Python 3.8.5
I've installed the package from the normal ubuntu repo and it is the version with the old protocol:
gplaycli 3.27
[ERROR] Unknown error: New version of protocol release. Update gplaycli and check https://github.com/matlink/gplaycli
Downloaded latest release source and have it down to a compilation error:
dpkg-checkbuilddeps: error: Unmet build dependencies: python3-matlink-gpapi (>= 0.4.4.4)
I am pretty sure I do actually have the library installed:
matthew@matthew-workstation:~/Downloads/gplaycli-3.29$ locate matlink
/home/matthew/.local/lib/python3.8/site-packages/matlink_gpapi-0.4.4.5.dist-info
/home/matthew/.local/lib/python3.8/site-packages/matlink_gpapi-0.4.4.5.dist-info/INSTALLER
/home/matthew/.local/lib/python3.8/site-packages/matlink_gpapi-0.4.4.5.dist-info/LICENSE.md
/home/matthew/.local/lib/python3.8/site-packages/matlink_gpapi-0.4.4.5.dist-info/METADATA
/home/matthew/.local/lib/python3.8/site-packages/matlink_gpapi-0.4.4.5.dist-info/RECORD
/home/matthew/.local/lib/python3.8/site-packages/matlink_gpapi-0.4.4.5.dist-info/WHEEL
/home/matthew/.local/lib/python3.8/site-packages/matlink_gpapi-0.4.4.5.dist-info/top_level.txt
I haven't made it to auth method yet. Seems like I'm hitting another stumbling block. Thanks in advance!
When I attempt to run the build.sh, this is the output:
matthew@matthew-workstation:~/Downloads/gplaycli-3.29$ bash debian/build.sh
--- Cleaning Build Directories ---
--- Building Python Package ---
running sdist
running egg_info
creating gplaycli.egg-info
writing gplaycli.egg-info/PKG-INFO
writing dependency_links to gplaycli.egg-info/dependency_links.txt
writing entry points to gplaycli.egg-info/entry_points.txt
writing requirements to gplaycli.egg-info/requires.txt
writing top-level names to gplaycli.egg-info/top_level.txt
writing manifest file 'gplaycli.egg-info/SOURCES.txt'
reading manifest file 'gplaycli.egg-info/SOURCES.txt'
writing manifest file 'gplaycli.egg-info/SOURCES.txt'
running check
creating gplaycli-3.29
creating gplaycli-3.29/gplaycli
creating gplaycli-3.29/gplaycli.egg-info
copying files to gplaycli-3.29...
copying README.md -> gplaycli-3.29
copying gplaycli.conf -> gplaycli-3.29
copying setup.cfg -> gplaycli-3.29
copying setup.py -> gplaycli-3.29
copying gplaycli/__init__.py -> gplaycli-3.29/gplaycli
copying gplaycli/__main__.py -> gplaycli-3.29/gplaycli
copying gplaycli/gplaycli.py -> gplaycli-3.29/gplaycli
copying gplaycli/hooks.py -> gplaycli-3.29/gplaycli
copying gplaycli/util.py -> gplaycli-3.29/gplaycli
copying gplaycli.egg-info/PKG-INFO -> gplaycli-3.29/gplaycli.egg-info
copying gplaycli.egg-info/SOURCES.txt -> gplaycli-3.29/gplaycli.egg-info
copying gplaycli.egg-info/dependency_links.txt -> gplaycli-3.29/gplaycli.egg-info
copying gplaycli.egg-info/entry_points.txt -> gplaycli-3.29/gplaycli.egg-info
copying gplaycli.egg-info/requires.txt -> gplaycli-3.29/gplaycli.egg-info
copying gplaycli.egg-info/top_level.txt -> gplaycli-3.29/gplaycli.egg-info
Writing gplaycli-3.29/setup.cfg
creating dist
Creating tar archive
removing 'gplaycli-3.29' (and everything under it)
--- Building Debian Package ---
gplaycli-3.29/
gplaycli-3.29/PKG-INFO
gplaycli-3.29/README.md
gplaycli-3.29/gplaycli/
gplaycli-3.29/gplaycli/__init__.py
gplaycli-3.29/gplaycli/__main__.py
gplaycli-3.29/gplaycli/gplaycli.py
gplaycli-3.29/gplaycli/hooks.py
gplaycli-3.29/gplaycli/util.py
gplaycli-3.29/gplaycli.conf
gplaycli-3.29/gplaycli.egg-info/
gplaycli-3.29/gplaycli.egg-info/PKG-INFO
gplaycli-3.29/gplaycli.egg-info/SOURCES.txt
gplaycli-3.29/gplaycli.egg-info/dependency_links.txt
gplaycli-3.29/gplaycli.egg-info/entry_points.txt
gplaycli-3.29/gplaycli.egg-info/requires.txt
gplaycli-3.29/gplaycli.egg-info/top_level.txt
gplaycli-3.29/setup.cfg
gplaycli-3.29/setup.py
dpkg-buildpackage: warning: debian/changelog(l10): unrecognized line
LINE: gplaycli (3.28-1) unstable; urgency=low
dpkg-buildpackage: info: source package gplaycli
dpkg-buildpackage: info: source version 3.29-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Matlink <[email protected]>
dpkg-buildpackage: info: host architecture amd64
dpkg-buildpackage: warning: debian/rules is not executable; fixing that
dpkg-source --before-build .
dpkg-source: warning: gplaycli_3.29/debian/changelog(l10): unrecognized line
LINE: gplaycli (3.28-1) unstable; urgency=low
dpkg-checkbuilddeps: error: Unmet build dependencies: python3-matlink-gpapi (>= 0.4.4.4)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
You're probably better off finding an ubuntu ppa with a backport of this. I had to work around the gpapi fork and rename in the debian packages (that is, the packages at are in debian/ubuntu, not the debian packages that gplaycli can build).