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

Add keys.openpgp.org as the keyserver #5

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

hiroyuki-sato
Copy link

Purpose

gosu ビルド時のkeyserverにkeys.openpgp.orgを追加する。

ceb9573

下記のようにビルドに失敗する。

https://github.com/tianon/gosu?tab=readme-ov-file#installation にも

  1. fetch my public key (to verify your download): gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4

とある。

89.27 Unpacking libshine3:amd64 (3.1.1-2) ...
  30 | >>>         # convert .step to jsc3d-compatible format
  31 | >>>         freecad \
  32 | >>>         # pspp dependencies
  33 | >>>         pspp \
  34 | >>>         # unoconv dependencies
  35 | >>>         libreoffice \
  36 | >>>         # gosu dependencies
  37 | >>>         curl \
  38 | >>>         gnupg2 \
  39 | >>>     # gosu
  40 | >>>     && export GOSU_VERSION='1.10' \
  41 | >>>     && mkdir ~/.gnupg && chmod 600 ~/.gnupg && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \
  42 | >>>     && for server in hkp://ipv4.pool.sks-keyservers.net:80 \
  43 | >>>                      hkp://ha.pool.sks-keyservers.net:80 \
  44 | >>>                      hkp://pgp.mit.edu:80 \
  45 | >>>                      hkp://keyserver.pgp.com:80 \
  46 | >>>     ; do \
  47 | >>>       gpg --keyserver "$server" --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && break || echo "Trying new server..." \
  48 | >>>     ; done \
  49 | >>>     && curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" \
  50 | >>>      && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" \
  51 | >>>      && gpg --verify /usr/local/bin/gosu.asc \
  52 | >>>      && rm /usr/local/bin/gosu.asc \
  53 | >>>      && chmod +x /usr/local/bin/gosu \
  54 | >>>     # /gosu
  55 | >>>     && apt-get clean \
  56 | >>>     && apt-get autoremove -y \
  57 | >>>         curl \
  58 | >>>         gnupg2 \
  59 | >>>     && rm -rf /var/lib/apt/lists/* \
  60 | >>>     && pip install -U pip \
  61 | >>>     && pip install setuptools==37.0.0 \
  62 | >>>     && mkdir -p /code \
  63 | >>>     && pip install unoconv==0.8.2
  64 |
--------------------
ERROR: failed to solve: process "/bin/sh -c usermod -d /home www-data     && chown www-data:www-data /home     && mkdir -p /usr/share/man/man1     && apt-get update     && apt-get install -y ca-certificates-java     && apt-get install -y         git         make         gcc         build-essential         gfortran         r-base         libblas-dev         libevent-dev         libfreetype6-dev         libjpeg-dev         libpng-dev         libtiff5-dev         libxml2-dev         libxslt1-dev         zlib1g-dev         freecad         pspp         libreoffice         curl         gnupg2     && export GOSU_VERSION='1.10'     && mkdir ~/.gnupg && chmod 600 ~/.gnupg && echo \"disable-ipv6\" >> ~/.gnupg/dirmngr.conf     && for server in hkp://ipv4.pool.sks-keyservers.net:80                      hkp://ha.pool.sks-keyservers.net:80                      hkp://pgp.mit.edu:80                      hkp://keyserver.pgp.com:80     ; do       gpg --keyserver \"$server\" --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && break || echo \"Trying new server...\"     ; done     && curl -o /usr/local/bin/gosu -SL \"https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)\"   \t&& curl -o /usr/local/bin/gosu.asc -SL \"https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc\"   \t&& gpg --verify /usr/local/bin/gosu.asc   \t&& rm /usr/local/bin/gosu.asc   \t&& chmod +x /usr/local/bin/gosu     && apt-get clean     && apt-get autoremove -y         curl         gnupg2     && rm -rf /var/lib/apt/lists/*     && pip install -U pip     && pip install setuptools==37.0.0     && mkdir -p /code     && pip install unoconv==0.8.2" did not complete successfully: exit code: 2

最小のテストコード

#!/bin/sh
for server in hkp://ipv4.pool.sks-keyservers.net:80 \
              hkp://ha.pool.sks-keyservers.net:80 \
              hkp://pgp.mit.edu:80 \
              hkp://keyserver.pgp.com:80
do
	echo "*** $server ***"

	gpg --keyserver "$server" --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && break || echo "Trying new server..."
done

実行結果

*** hkp://ipv4.pool.sks-keyservers.net:80 ***
gpg: keyserver receive failed: No keyserver available
Trying new server...
*** hkp://ha.pool.sks-keyservers.net:80 ***
gpg: keyserver receive failed: No keyserver available
Trying new server...
*** hkp://pgp.mit.edu:80 ***
gpg: keyserver receive failed: No keyserver available
Trying new server...
*** hkp://keyserver.pgp.com:80 ***
gpg: keyserver receive failed: No keyserver available
Trying new server...

Changes

Ticket

Purpose

Changes

Side effects

QA Notes

Deployment Notes

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

Successfully merging this pull request may close these issues.

1 participant