Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install in Ubuntu 20.04 #519

Open
ccrvlh opened this issue Mar 29, 2022 · 0 comments
Open

Can't install in Ubuntu 20.04 #519

ccrvlh opened this issue Mar 29, 2022 · 0 comments

Comments

@ccrvlh
Copy link

ccrvlh commented Mar 29, 2022

Hi all.
Not sure this is a specific configuration problem on my end, but I've been facing a few problems trying to run this on a Ubuntu 20.04 machine.

Cloned the repo, make deb gives me a dch issue, so I installed devscripts.
Tried make deb again, and it seems there a bunch of dependencies missing in my end:

error: Unmet build dependencies:
debhelper (>= 8)
dh-python
python3-all (>= 3.3)
python3-flake8
python3-pytest
python3-paramiko
python3-snappy

I though a couple of them wouldn't be needed if I wasn't using some feature (flake8, pytest for example are dev dependencies). Installed all of them, run make deb again and I get an error while linting the project:

make[2]: Entering directory '/home/ubuntu/pghoard'
/usr/bin/make lint unittest
make[3]: Entering directory '/home/ubuntu/pghoard'
python3 -m pylint --rcfile .pylintrc pghoard/ test/
/usr/bin/python3: No module named pylint
make[3]: *** [Makefile:17: lint] Error 1

Installed pylint with apt, linting runs, but than the build fails:

-----------------------------------
Your code has been rated at 9.76/10

make[3]: *** [Makefile:17: lint] Error 18
make[3]: Leaving directory '/home/ubuntu/pghoard'
make[2]: *** [debian/rules:16: override_dh_auto_test] Error 2
make[2]: Leaving directory '/home/ubuntu/pghoard'
make[1]: *** [debian/rules:6: build-indep] Error 2
make[1]: Leaving directory '/home/ubuntu/pghoard'
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
make: *** [Makefile:49: deb] Error 2

Tried to disable the test suite (found somewhere: DEB_BUILD_OPTIONS=nocheck), also nothing.
So couldn't quite make it work.
I imagine this must be specific for Ubuntu?
Tried to checkout to latest relase git checkout 469e75f same result.
Tried changing the permissions to chmod 700 (bad), also same result.

I guess I'm probably doing something wrong, but couldn't find any hint in the documentation.
Any ideas?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant