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

"debuild -i -us -uc -b" gives errors on debian 11 #185

Open
axellettieri opened this issue Jun 16, 2023 · 1 comment
Open

"debuild -i -us -uc -b" gives errors on debian 11 #185

axellettieri opened this issue Jun 16, 2023 · 1 comment

Comments

@axellettieri
Copy link

Hi,
Following "Build steps" I obtain a working client on a Debian11 machine (tried with differente kernels, no issues).
Unfortunately the problems came if I try to build a Debian package with "debuild -i -us -uc -b". These the errors:

make[1]: *** [Makefile:104: install] Error 1 make[1]: Leaving directory '/home/user/tmp/console-client/pCloudCC' dh_auto_install: error: make -j1 install DESTDIR=/home/user/tmp/console-client/pCloudCC/debian/pcloudcc AM_UPDATE_INFO_DIR=no returned exit code 2 make: *** [debian/rules:11: binary] Error 25 dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2 debuild: fatal error at line 1182: dpkg-buildpackage -us -uc -ui -i -b failed

@StudioLE
Copy link

StudioLE commented Aug 11, 2023

I suspect the issue might be related to dh_usrlocal.

If so you can resolve it by adding the following to pCloudCC/debian/rules:

override_dh_usrlocal:

See:
4083656
#110 (comment)

I've managed to set up a GitHub Actions release workflow that's building the .deb to GitHub releases here:
https://github.com/StudioLE/pcloudcc/releases

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

2 participants