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

build command file #94

Open
aluciani opened this issue Jan 18, 2025 · 1 comment
Open

build command file #94

aluciani opened this issue Jan 18, 2025 · 1 comment

Comments

@aluciani
Copy link

Describe the bug
A clear and concise description of what the bug is.
Hi. First of all, thank you for putting together this project and sharing it with the community. So I was trying to run the build/linux/debianWrapper.sh script to build the project. But I had 2 issues.
The first one is a file signature that can't be retrieve https://files.pythonhosted.org/packages/7b/5b/6666ed5a0d3ce4d5444af62e373d5ba8ab253a03487c86f2f9f1078e7c31/python_gnupg-0.5.4-py2.py3-none-any.whl.asc

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://github.com/BusKill/buskill-app'
  2. Clone the repo
  3. Run the build/linux/debianWrapper.sh script
  4. See error

Expected behavior
I was expecting to have the application built

Screenshots
If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

LOG :

$ sudo build/linux/debianWrapper.sh
...
Successfully installed Kivy-1.11.1 Kivy-Garden-0.1.4 certifi-2020.6.20 chardet-3.0.4 docutils-0.16 idna-2.10 pygments-2.6.1 requests-2.24.0 urllib3-1.25.9
++ mktemp -d
+ tmpDir=/tmp/tmp.BzvNPHmDp0
+ chown _apt:root /tmp/tmp.BzvNPHmDp0
+ chmod 0770 /tmp/tmp.BzvNPHmDp0
+ pushd /tmp/tmp.BzvNPHmDp0
+ /bin/su _apt -s /bin/bash -c '/tmp/kivy_appdir/AppRun -m pip download python-gnupg'
/tmp/tmp.BzvNPHmDp0 ~/buskill-app
WARNING: The directory '/nonexistent/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting python-gnupg
  Downloading python_gnupg-0.5.4-py2.py3-none-any.whl (21 kB)
  Saved ./python_gnupg-0.5.4-py2.py3-none-any.whl
Successfully downloaded python-gnupg
WARNING: You are using pip version 20.1.1; however, version 24.0 is available.
You should consider upgrading via the '/tmp/kivy_appdir/opt/python3.7/bin/python3.7 -m pip install --upgrade pip' command.
++ ls -1
++ head -n1
+ filename=python_gnupg-0.5.4-py2.py3-none-any.whl
++ /bin/su _apt -s /bin/bash -c 'curl -s https://pypi.org/simple/python-gnupg/'
++ grep -oE 'https://.*python_gnupg-0.5.4-py2.py3-none-any.whl#'
++ sed s/#/.asc/
+ signature_url=https://files.pythonhosted.org/packages/7b/5b/6666ed5a0d3ce4d5444af62e373d5ba8ab253a03487c86f2f9f1078e7c31/python_gnupg-0.5.4-py2.py3-none-any.whl.asc
+ /bin/su _apt -s /bin/bash -c 'wget "https://files.pythonhosted.org/packages/7b/5b/6666ed5a0d3ce4d5444af62e373d5ba8ab253a03487c86f2f9f1078e7c31/python_gnupg-0.5.4-py2.py3-none-any.whl.asc"'
--2025-01-18 08:50:06--  https://files.pythonhosted.org/packages/7b/5b/6666ed5a0d3ce4d5444af62e373d5ba8ab253a03487c86f2f9f1078e7c31/python_gnupg-0.5.4-py2.py3-none-any.whl.asc
Resolving files.pythonhosted.org (files.pythonhosted.org)... 146.75.120.223, 2a04:4e42:8e::223
Connecting to files.pythonhosted.org (files.pythonhosted.org)|146.75.120.223|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2025-01-18 08:50:06 ERROR 404: Not Found.

+ mkdir gnupg
+ chmod 0700 gnupg
+ popd
+ gpg --homedir /tmp/tmp.BzvNPHmDp0/gnupg --import build/deps/python-gnupg.asc
~/buskill-app
gpg: keybox '/tmp/tmp.BzvNPHmDp0/gnupg/pubring.kbx' created
gpg: /tmp/tmp.BzvNPHmDp0/gnupg/trustdb.gpg: trustdb created
gpg: key 9147B477339A9B86: public key "Vinay Sajip (CODE SIGNING KEY) <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
+ gpgv --homedir /tmp/tmp.BzvNPHmDp0/gnupg --keyring /tmp/tmp.BzvNPHmDp0/gnupg/pubring.kbx /tmp/tmp.BzvNPHmDp0/python_gnupg-0.5.4-py2.py3-none-any.whl.asc /tmp/tmp.BzvNPHmDp0/python_gnupg-0.5.4-py2.py3-none-any.whl
gpgv: can't open '/tmp/tmp.BzvNPHmDp0/python_gnupg-0.5.4-py2.py3-none-any.whl.asc': No such file or directory
gpgv: verify signatures failed: No such file or directory
+ [[ 2 -ne 0 ]]
+ echo 'ERROR: Invalid PGP signature!'
+ exit 1
ERROR: Invalid PGP signature!
+ chown -R alu dist
chown: cannot access 'dist': No such file or directory
+ exit 0
+ exit 0
@maltfield
Copy link
Member

@aluciani Yeah, PyPi killed PGP signatures because apparently they don't care about security.

Can you please try again using the dev branch? That's the latest version.

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