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

cannot build PYTHON_VERSION=3.7.0 --> gpg: no valid OpenPGP data found. #7

Closed
kbrown opened this issue Aug 16, 2018 · 3 comments
Closed

Comments

@kbrown
Copy link

kbrown commented Aug 16, 2018

I know y'all pushed a revolutionsystems/python:3.7.0-wee-optimized-lto image to dockerhub but I can't reproduce the build with the code in this repo.

Details:

Winebook:optimized-python-docker kevin$ env
PYTHON_VERSION=3.7.0

docker build .

[...]

Step 11/44 : RUN curl -L -o /python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" && curl -L -o /python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" && gpg --keyserver ha.pool.sks-keyservers.net --refresh-keys 2>&1 | egrep -v 'requesting key|not changed' && gpg --batch --verify /python.tar.xz.asc /python.tar.xz && mkdir -p /usr/src/python && tar -xJC /usr/src/python --strip-components=1 -f /python.tar.xz
---> Running in 59c774495749
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 162 100 162 0 0 1024 0 --:--:-- --:--:-- --:--:-- 1031
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 162 100 162 0 0 1034 0 --:--:-- --:--:-- --:--:-- 1038
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: key CA57AD7C: invalid direct key signature removed
gpg: key CA57AD7C: invalid direct key signature removed
gpg: key CA57AD7C: "PGP Global Directory Verification Key" 2 signatures cleaned
gpg: Total number processed: 1
gpg: signatures cleaned: 2
gpg: refreshing 21 keys from hkp://ha.pool.sks-keyservers.net
gpg: key AA65421D: "Ned Deily (Python release signing key) [email protected]" 12 new signatures
gpg: key 18ADD4FF: "Benjamin Peterson [email protected]" 3 new signatures
gpg: key 6F5E1540: "Ned Deily [email protected]" 2 new signatures
gpg: key CAC5C305: "Alex Vandiver [email protected]" 4 new signatures
gpg: key 8EFE0655: "Zev Benjamin [email protected]" 4 new signatures
gpg: key A4135B38: "Benjamin Peterson [email protected]" 1 new signature
gpg: key 830F6F7E: "Ernest W. Durbin III [email protected]" 1 new user ID
gpg: key 830F6F7E: "Ernest W. Durbin III [email protected]" 5 new signatures
gpg: key 498C1579: "Benjamin W. Smith (The Groundwork) [email protected]" 4 new signatures
gpg: Total number processed: 21
gpg: unchanged: 13
gpg: new user IDs: 1
gpg: new signatures: 35
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 3 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 3 signed: 6 trust: 3-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2018-09-21
gpg: no valid OpenPGP data found.
gpg: the signature could not be verified.
Please remember that the signature file (.sig or .asc)
should be the first file given on the command line.
The command '/bin/sh -c curl -L -o /python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" && curl -L -o /python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" && gpg --keyserver ha.pool.sks-keyservers.net --refresh-keys 2>&1 | egrep -v 'requesting key|not changed' && gpg --batch --verify /python.tar.xz.asc /python.tar.xz && mkdir -p /usr/src/python && tar -xJC /usr/src/python --strip-components=1 -f /python.tar.xz' returned a non-zero code: 2

@frankwiles
Copy link
Member

Ah probably a bug that didn't get pushed to the repo. Thanks for reporting it to us!

@gladiatr72 can you take a look at this in the near future?

@gladiatr72
Copy link
Contributor

gladiatr72 commented Sep 5, 2018

Ugh. Near future---far future :) On it. Thank you for the report, @kbrown!

@gladiatr72
Copy link
Contributor

@kbrown Hey there. Finally got a chance to look at this--what you were seeing was a failure looking up public gpg keys on the sks-keyserver.net key server. It's f*g amazing in how it's a free service that is only slightly wobbly, but, alas, it is a little wobbly.

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

3 participants