Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

'scripts/set-webcam-format.sh': No such file or directory #19

Open
pietrushnic opened this issue Jun 10, 2021 · 3 comments
Open

'scripts/set-webcam-format.sh': No such file or directory #19

pietrushnic opened this issue Jun 10, 2021 · 3 comments
Labels
question Further information is requested

Comments

@pietrushnic
Copy link

Clone repo and try:

$ tar czvf qubes-video-companion_1.0.0.orig.tar.gz qubes-video-companion
$ cd qubes-video-companion
$ dpkg-source --before-build .
$ dpkg-buildpackage -us -uc

Result:

(...)
make[1]: Entering directory '/home/debian/qubes/qubes-video-companion'
make install-vm DESTDIR=/home/debian/qubes/qubes-video-companion/debian/qubes-video-companion
make[2]: Entering directory '/home/debian/qubes/qubes-video-companion'
install -d /home/debian/qubes/qubes-video-companion/debian/qubes-video-companion/etc/qubes-rpc
install -D qubes-rpc/services/qvc.Webcam qubes-rpc/services/qvc.ScreenShare /home/debian/qubes/qubes-video-companion/debian/qubes-video-companion/etc/qubes-rpc
install -d /home/debian/qubes/qubes-video-companion/debian/qubes-video-companion/usr/share/qubes-video-companion/ui
install -D ui/*.py ui/*.sh /home/debian/qubes/qubes-video-companion/debian/qubes-video-companion/usr/share/qubes-video-companion/ui
install -d /home/debian/qubes/qubes-video-companion/debian/qubes-video-companion/usr/share/qubes-video-companion/scripts
install -D scripts/set-webcam-format.sh /home/debian/qubes/qubes-video-companion/debian/qubes-video-companion/usr/share/qubes-video-companion/scripts
install: cannot stat 'scripts/set-webcam-format.sh': No such file or directory
make[2]: *** [Makefile:45: install-both] Error 1
make[2]: Leaving directory '/home/debian/qubes/qubes-video-companion'
make[1]: *** [debian/rules:7: override_dh_auto_install] Error 2
make[1]: Leaving directory '/home/debian/qubes/qubes-video-companion'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

Of course removing reference to that script in Makefile leads to successful package build.

@ElliotKillick ElliotKillick added the question Further information is requested label Jun 21, 2021
@ElliotKillick
Copy link
Owner

The reason you're getting that error is because we have deleted that file on the HEAD and that Makefile was only suited to v1.0.4. However, since v1.0.4 there have been a series of critical changes and so for that reason until a new version is released building off of it and reconciling any small problems with the Makefile/package configuration is what I would recommend.

After that, you can install it for Debian with sudo apt install ./<.deb package>

In not all too long now, this repo should be making its way into the official Qubes OS repository and installation will become a lot simpler.

@ElliotKillick
Copy link
Owner

ElliotKillick commented Jun 21, 2021

Note that your issue just reminded me that I have to update the version 1.0.0 specified in the package configuration which is incorrect (although it shouldn't affect successful building of it). I will update this when the PR from @DemiMarie is merged as to not create any merge conflicts.

As it says in the GitHub description, this project is still in "development & testing" so please bare with me. Let me know if you have anymore questions

Update: The build is now automated, see here: https://github.com/elliotkillick/qubes-video-companion/tree/master/build

@ElliotKillick ElliotKillick reopened this Jun 21, 2021
@pietrushnic
Copy link
Author

Thanks for that. I'm getting back to this project for the weekend.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants