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

make_deb.sh invalid invokation in make ubuntu #151

Open
gvfnix opened this issue May 29, 2020 · 0 comments
Open

make_deb.sh invalid invokation in make ubuntu #151

gvfnix opened this issue May 29, 2020 · 0 comments
Assignees

Comments

@gvfnix
Copy link

gvfnix commented May 29, 2020

Hi. When I run commands from build-linux/howto.md, make ubuntu command fails:

$ unzip ~/Downloads/pdagent-master.zip
$ cd pdagent-master/
$ gpg --homedir=build-linux/gnupg --gen-key
$ make ubuntu
...
Successfully tagged pdagent-ubuntu:latest
docker run \
	-v `pwd`:/usr/share/pdagent \
	-it pdagent-ubuntu \
		/bin/sh -c "/bin/sh build-linux/make_deb.sh /usr/share/pdagent/build-linux/gpg-deb /usr/share/pdagent/target"
Usage: build-linux/make_deb.sh {path-to-gpg-home} {path-to-package-installation-root}
Makefile:34: recipe for target 'target/deb' failed
make: *** [target/deb] Error 2

I believe that this happens due to incorrect naming of gpg-home directory. While gpg setup offers creating of build-linux/gnupg directory, make ubuntu uses build-linux/gpg-deb.
So I presume that build-linux/howto.md should be edited.

@dobs dobs self-assigned this Jun 22, 2020
dobs added a commit that referenced this issue Jun 22, 2020
Notably this should help resolve:

* Issues related to using `python` and `pycompile` rather than their
Python 3 variants (see:
#152).
* Updated HOWTO with new gnupg paths (see:
#151).
* Issues attempting to install to `/lib/systemd/system` when not
available.
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