shenxn / protonmail-bridge-docker

ProtonMail IMAP/SMTP Bridge Docker container
GNU General Public License v3.0
382 stars 77 forks source link

Cannot compile build version with 3.11.0 #102

Closed florenthemmi closed 4 months ago

florenthemmi commented 5 months ago

Hello,

Please find below the log message. I think the issue is on ProtonMail side...

Should be a good idea to compile next time before bumping the version.

------
 > [protonmail 4/4] RUN bash install.sh:
0.802 ++ cat VERSION
0.802 + VERSION=3.11.0
0.802 + DEB_FILE=protonmail-bridge_3.11.0_amd64.deb
0.802 + apt-get update
1.119 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
1.145 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
1.145 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
1.390 Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8068 kB]
1.741 Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [271 kB]
2.062 Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
3.440 Fetched 8565 kB in 3s (3296 kB/s)
3.440 Reading package lists...
4.522 + apt-get install -y --no-install-recommends socat pass ca-certificates
4.548 Reading package lists...
5.453 Building dependency tree...
5.738 Reading state information...
6.075 The following additional packages will be installed:
6.078   dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
6.078   gpg-wks-server gpgconf gpgsm libassuan0 libksba8 libldap-2.4-2 libncursesw6
6.082   libnpth0 libreadline8 libsasl2-2 libsasl2-modules-db libsqlite3-0 libwrap0
6.090   openssl pinentry-curses readline-common tree
6.090 Suggested packages:
6.099   dbus-user-session libpam-systemd pinentry-gnome3 tor parcimonie xloadimage
6.102   scdaemon python python3 perl libxml-simple-perl ruby pinentry-doc
6.102   readline-doc
6.102 Recommended packages:
6.102   libldap-common libgpm2 libsasl2-modules git qrencode xclip
6.394 The following NEW packages will be installed:
6.394   ca-certificates dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent
6.404   gpg-wks-client gpg-wks-server gpgconf gpgsm libassuan0 libksba8
6.407   libldap-2.4-2 libncursesw6 libnpth0 libreadline8 libsasl2-2
6.408   libsasl2-modules-db libsqlite3-0 libwrap0 openssl pass pinentry-curses
6.414   readline-common socat tree
6.705 0 upgraded, 27 newly installed, 0 to remove and 2 not upgraded.
6.705 Need to get 10.8 MB of archives.
6.705 After this operation, 22.9 MB of additional disk space will be used.
6.705 Get:1 http://deb.debian.org/debian bullseye/main amd64 readline-common all 8.1-1 [73.7 kB]
6.717 Get:2 http://deb.debian.org/debian bullseye/main amd64 libreadline8 amd64 8.1-1 [169 kB]
6.724 Get:3 http://deb.debian.org/debian bullseye/main amd64 openssl amd64 1.1.1w-0+deb11u1 [859 kB]
6.759 Get:4 http://deb.debian.org/debian bullseye/main amd64 ca-certificates all 20210119 [158 kB]
6.759 Get:5 http://deb.debian.org/debian bullseye/main amd64 libassuan0 amd64 2.5.3-7.1 [50.5 kB]
6.762 Get:6 http://deb.debian.org/debian bullseye/main amd64 gpgconf amd64 2.2.27-2+deb11u2 [548 kB]
6.782 Get:7 http://deb.debian.org/debian bullseye/main amd64 libksba8 amd64 1.5.0-3+deb11u2 [123 kB]
6.789 Get:8 http://deb.debian.org/debian bullseye/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-2.1+deb11u1 [69.1 kB]
6.798 Get:9 http://deb.debian.org/debian bullseye/main amd64 libsasl2-2 amd64 2.1.27+dfsg-2.1+deb11u1 [106 kB]
6.803 Get:10 http://deb.debian.org/debian bullseye/main amd64 libldap-2.4-2 amd64 2.4.57+dfsg-3+deb11u1 [232 kB]
6.811 Get:11 http://deb.debian.org/debian bullseye/main amd64 libnpth0 amd64 1.6-3 [19.0 kB]
6.811 Get:12 http://deb.debian.org/debian bullseye/main amd64 dirmngr amd64 2.2.27-2+deb11u2 [763 kB]
6.829 Get:13 http://deb.debian.org/debian bullseye/main amd64 gnupg-l10n all 2.2.27-2+deb11u2 [1086 kB]
6.861 Get:14 http://deb.debian.org/debian bullseye/main amd64 gnupg-utils amd64 2.2.27-2+deb11u2 [905 kB]
6.891 Get:15 http://deb.debian.org/debian bullseye/main amd64 libsqlite3-0 amd64 3.34.1-3 [797 kB]
6.915 Get:16 http://deb.debian.org/debian bullseye/main amd64 gpg amd64 2.2.27-2+deb11u2 [928 kB]
6.951 Get:17 http://deb.debian.org/debian bullseye/main amd64 libncursesw6 amd64 6.2+20201114-2+deb11u2 [132 kB]
6.954 Get:18 http://deb.debian.org/debian bullseye/main amd64 pinentry-curses amd64 1.1.0-4 [64.9 kB]
6.955 Get:19 http://deb.debian.org/debian bullseye/main amd64 gpg-agent amd64 2.2.27-2+deb11u2 [669 kB]
6.981 Get:20 http://deb.debian.org/debian bullseye/main amd64 gpg-wks-client amd64 2.2.27-2+deb11u2 [524 kB]
7.005 Get:21 http://deb.debian.org/debian bullseye/main amd64 gpg-wks-server amd64 2.2.27-2+deb11u2 [516 kB]
7.022 Get:22 http://deb.debian.org/debian bullseye/main amd64 gpgsm amd64 2.2.27-2+deb11u2 [645 kB]
7.031 Get:23 http://deb.debian.org/debian bullseye/main amd64 gnupg all 2.2.27-2+deb11u2 [825 kB]
7.059 Get:24 http://deb.debian.org/debian bullseye/main amd64 libwrap0 amd64 7.6.q-31 [59.0 kB]
7.062 Get:25 http://deb.debian.org/debian bullseye/main amd64 tree amd64 1.8.0-1+b1 [49.6 kB]
7.075 Get:26 http://deb.debian.org/debian bullseye/main amd64 pass all 1.7.3-2 [39.2 kB]
7.086 Get:27 http://deb.debian.org/debian bullseye/main amd64 socat amd64 1.7.4.1-3 [370 kB]
7.345 debconf: delaying package configuration, since apt-utils is not installed
7.419 Fetched 10.8 MB in 1s (16.0 MB/s)
7.455 Selecting previously unselected package readline-common.
(Reading database ... 6670 files and directories currently installed.)
7.468 Preparing to unpack .../00-readline-common_8.1-1_all.deb ...
7.483 Unpacking readline-common (8.1-1) ...
7.562 Selecting previously unselected package libreadline8:amd64.
7.564 Preparing to unpack .../01-libreadline8_8.1-1_amd64.deb ...
7.607 Unpacking libreadline8:amd64 (8.1-1) ...
7.712 Selecting previously unselected package openssl.
7.715 Preparing to unpack .../02-openssl_1.1.1w-0+deb11u1_amd64.deb ...
7.726 Unpacking openssl (1.1.1w-0+deb11u1) ...
7.921 Selecting previously unselected package ca-certificates.
7.924 Preparing to unpack .../03-ca-certificates_20210119_all.deb ...
7.930 Unpacking ca-certificates (20210119) ...
8.068 Selecting previously unselected package libassuan0:amd64.
8.072 Preparing to unpack .../04-libassuan0_2.5.3-7.1_amd64.deb ...
8.079 Unpacking libassuan0:amd64 (2.5.3-7.1) ...
8.145 Selecting previously unselected package gpgconf.
8.146 Preparing to unpack .../05-gpgconf_2.2.27-2+deb11u2_amd64.deb ...
8.154 Unpacking gpgconf (2.2.27-2+deb11u2) ...
8.260 Selecting previously unselected package libksba8:amd64.
8.262 Preparing to unpack .../06-libksba8_1.5.0-3+deb11u2_amd64.deb ...
8.267 Unpacking libksba8:amd64 (1.5.0-3+deb11u2) ...
8.362 Selecting previously unselected package libsasl2-modules-db:amd64.
8.363 Preparing to unpack .../07-libsasl2-modules-db_2.1.27+dfsg-2.1+deb11u1_amd64.deb ...
8.369 Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
8.431 Selecting previously unselected package libsasl2-2:amd64.
8.432 Preparing to unpack .../08-libsasl2-2_2.1.27+dfsg-2.1+deb11u1_amd64.deb ...
8.442 Unpacking libsasl2-2:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
8.550 Selecting previously unselected package libldap-2.4-2:amd64.
8.555 Preparing to unpack .../09-libldap-2.4-2_2.4.57+dfsg-3+deb11u1_amd64.deb ...
8.559 Unpacking libldap-2.4-2:amd64 (2.4.57+dfsg-3+deb11u1) ...
8.663 Selecting previously unselected package libnpth0:amd64.
8.665 Preparing to unpack .../10-libnpth0_1.6-3_amd64.deb ...
8.670 Unpacking libnpth0:amd64 (1.6-3) ...
8.745 Selecting previously unselected package dirmngr.
8.747 Preparing to unpack .../11-dirmngr_2.2.27-2+deb11u2_amd64.deb ...
8.777 Unpacking dirmngr (2.2.27-2+deb11u2) ...
8.896 Selecting previously unselected package gnupg-l10n.
8.901 Preparing to unpack .../12-gnupg-l10n_2.2.27-2+deb11u2_all.deb ...
8.909 Unpacking gnupg-l10n (2.2.27-2+deb11u2) ...
9.112 Selecting previously unselected package gnupg-utils.
9.118 Preparing to unpack .../13-gnupg-utils_2.2.27-2+deb11u2_amd64.deb ...
9.126 Unpacking gnupg-utils (2.2.27-2+deb11u2) ...
9.321 Selecting previously unselected package libsqlite3-0:amd64.
9.324 Preparing to unpack .../14-libsqlite3-0_3.34.1-3_amd64.deb ...
9.332 Unpacking libsqlite3-0:amd64 (3.34.1-3) ...
9.474 Selecting previously unselected package gpg.
9.477 Preparing to unpack .../15-gpg_2.2.27-2+deb11u2_amd64.deb ...
9.484 Unpacking gpg (2.2.27-2+deb11u2) ...
9.688 Selecting previously unselected package libncursesw6:amd64.
9.698 Preparing to unpack .../16-libncursesw6_6.2+20201114-2+deb11u2_amd64.deb ...
9.703 Unpacking libncursesw6:amd64 (6.2+20201114-2+deb11u2) ...
9.843 Selecting previously unselected package pinentry-curses.
9.852 Preparing to unpack .../17-pinentry-curses_1.1.0-4_amd64.deb ...
9.863 Unpacking pinentry-curses (1.1.0-4) ...
9.967 Selecting previously unselected package gpg-agent.
9.973 Preparing to unpack .../18-gpg-agent_2.2.27-2+deb11u2_amd64.deb ...
9.977 Unpacking gpg-agent (2.2.27-2+deb11u2) ...
10.11 Selecting previously unselected package gpg-wks-client.
10.11 Preparing to unpack .../19-gpg-wks-client_2.2.27-2+deb11u2_amd64.deb ...
10.12 Unpacking gpg-wks-client (2.2.27-2+deb11u2) ...
10.21 Selecting previously unselected package gpg-wks-server.
10.23 Preparing to unpack .../20-gpg-wks-server_2.2.27-2+deb11u2_amd64.deb ...
10.23 Unpacking gpg-wks-server (2.2.27-2+deb11u2) ...
10.35 Selecting previously unselected package gpgsm.
10.35 Preparing to unpack .../21-gpgsm_2.2.27-2+deb11u2_amd64.deb ...
10.36 Unpacking gpgsm (2.2.27-2+deb11u2) ...
10.48 Selecting previously unselected package gnupg.
10.48 Preparing to unpack .../22-gnupg_2.2.27-2+deb11u2_all.deb ...
10.50 Unpacking gnupg (2.2.27-2+deb11u2) ...
10.69 Selecting previously unselected package libwrap0:amd64.
10.69 Preparing to unpack .../23-libwrap0_7.6.q-31_amd64.deb ...
10.70 Unpacking libwrap0:amd64 (7.6.q-31) ...
10.77 Selecting previously unselected package tree.
10.77 Preparing to unpack .../24-tree_1.8.0-1+b1_amd64.deb ...
10.78 Unpacking tree (1.8.0-1+b1) ...
10.87 Selecting previously unselected package pass.
10.89 Preparing to unpack .../25-pass_1.7.3-2_all.deb ...
10.92 Unpacking pass (1.7.3-2) ...
10.99 Selecting previously unselected package socat.
10.99 Preparing to unpack .../26-socat_1.7.4.1-3_amd64.deb ...
11.00 Unpacking socat (1.7.4.1-3) ...
11.14 Setting up libksba8:amd64 (1.5.0-3+deb11u2) ...
11.16 Setting up libsqlite3-0:amd64 (3.34.1-3) ...
11.18 Setting up libnpth0:amd64 (1.6-3) ...
11.20 Setting up libassuan0:amd64 (2.5.3-7.1) ...
11.24 Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
11.27 Setting up libwrap0:amd64 (7.6.q-31) ...
11.32 Setting up gnupg-l10n (2.2.27-2+deb11u2) ...
11.33 Setting up socat (1.7.4.1-3) ...
11.35 Setting up tree (1.8.0-1+b1) ...
11.38 Setting up libncursesw6:amd64 (6.2+20201114-2+deb11u2) ...
11.41 Setting up libsasl2-2:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
11.43 Setting up openssl (1.1.1w-0+deb11u1) ...
11.45 Setting up readline-common (8.1-1) ...
11.47 Setting up pinentry-curses (1.1.0-4) ...
11.52 Setting up libreadline8:amd64 (8.1-1) ...
11.54 Setting up libldap-2.4-2:amd64 (2.4.57+dfsg-3+deb11u1) ...
11.57 Setting up ca-certificates (20210119) ...
11.84 debconf: unable to initialize frontend: Dialog
11.84 debconf: (TERM is not set, so the dialog frontend is not usable.)
11.84 debconf: falling back to frontend: Readline
11.84 debconf: unable to initialize frontend: Readline
11.84 debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
11.84 debconf: falling back to frontend: Teletype
12.81 Updating certificates in /etc/ssl/certs...
14.05 129 added, 0 removed; done.
14.14 Setting up gpgconf (2.2.27-2+deb11u2) ...
14.16 Setting up gpg (2.2.27-2+deb11u2) ...
14.17 Setting up gnupg-utils (2.2.27-2+deb11u2) ...
14.19 Setting up gpg-agent (2.2.27-2+deb11u2) ...
15.31 Setting up gpgsm (2.2.27-2+deb11u2) ...
15.33 Setting up dirmngr (2.2.27-2+deb11u2) ...
15.63 Setting up gpg-wks-server (2.2.27-2+deb11u2) ...
15.65 Setting up gpg-wks-client (2.2.27-2+deb11u2) ...
15.67 Setting up gnupg (2.2.27-2+deb11u2) ...
15.69 Setting up pass (1.7.3-2) ...
15.72 Processing triggers for libc-bin (2.31-13+deb11u9) ...
15.75 Processing triggers for ca-certificates (20210119) ...
15.77 Updating certificates in /etc/ssl/certs...
17.02 0 added, 0 removed; done.
17.02 Running hooks in /etc/ca-certificates/update.d...
17.03 done.
17.10 + apt-get install -y wget binutils xz-utils
17.16 Reading package lists...
18.44 Building dependency tree...
18.78 Reading state information...
19.08 The following additional packages will be installed:
19.09   binutils-common binutils-x86-64-linux-gnu libbinutils libctf-nobfd0 libctf0
19.10   libpsl5 publicsuffix
19.10 Suggested packages:
19.10   binutils-doc
19.28 The following NEW packages will be installed:
19.28   binutils binutils-common binutils-x86-64-linux-gnu libbinutils libctf-nobfd0
19.28   libctf0 libpsl5 publicsuffix wget xz-utils
19.61 0 upgraded, 10 newly installed, 0 to remove and 2 not upgraded.
19.61 Need to get 6192 kB of archives.
19.61 After this operation, 31.1 MB of additional disk space will be used.
19.61 Get:1 http://deb.debian.org/debian bullseye/main amd64 libpsl5 amd64 0.21.0-1.2 [57.3 kB]
19.62 Get:2 http://deb.debian.org/debian bullseye/main amd64 wget amd64 1.21-1+deb11u1 [964 kB]
19.67 Get:3 http://deb.debian.org/debian bullseye/main amd64 xz-utils amd64 5.2.5-2.1~deb11u1 [220 kB]
19.68 Get:4 http://deb.debian.org/debian bullseye/main amd64 binutils-common amd64 2.35.2-2 [2220 kB]
19.83 Get:5 http://deb.debian.org/debian bullseye/main amd64 libbinutils amd64 2.35.2-2 [570 kB]
19.84 Get:6 http://deb.debian.org/debian bullseye/main amd64 libctf-nobfd0 amd64 2.35.2-2 [110 kB]
19.85 Get:7 http://deb.debian.org/debian bullseye/main amd64 libctf0 amd64 2.35.2-2 [53.2 kB]
19.85 Get:8 http://deb.debian.org/debian bullseye/main amd64 binutils-x86-64-linux-gnu amd64 2.35.2-2 [1809 kB]
19.91 Get:9 http://deb.debian.org/debian bullseye/main amd64 binutils amd64 2.35.2-2 [61.2 kB]
19.91 Get:10 http://deb.debian.org/debian bullseye/main amd64 publicsuffix all 20220811.1734-0+deb11u1 [127 kB]
20.57 debconf: delaying package configuration, since apt-utils is not installed
20.75 Fetched 6192 kB in 1s (10.1 MB/s)
20.89 Selecting previously unselected package libpsl5:amd64.
(Reading database ... 7409 files and directories currently installed.)
20.91 Preparing to unpack .../0-libpsl5_0.21.0-1.2_amd64.deb ...
20.96 Unpacking libpsl5:amd64 (0.21.0-1.2) ...
21.08 Selecting previously unselected package wget.
21.10 Preparing to unpack .../1-wget_1.21-1+deb11u1_amd64.deb ...
21.11 Unpacking wget (1.21-1+deb11u1) ...
21.86 Selecting previously unselected package xz-utils.
21.86 Preparing to unpack .../2-xz-utils_5.2.5-2.1~deb11u1_amd64.deb ...
21.89 Unpacking xz-utils (5.2.5-2.1~deb11u1) ...
22.02 Selecting previously unselected package binutils-common:amd64.
22.02 Preparing to unpack .../3-binutils-common_2.35.2-2_amd64.deb ...
22.03 Unpacking binutils-common:amd64 (2.35.2-2) ...
22.62 Selecting previously unselected package libbinutils:amd64.
22.62 Preparing to unpack .../4-libbinutils_2.35.2-2_amd64.deb ...
22.63 Unpacking libbinutils:amd64 (2.35.2-2) ...
22.79 Selecting previously unselected package libctf-nobfd0:amd64.
22.80 Preparing to unpack .../5-libctf-nobfd0_2.35.2-2_amd64.deb ...
22.81 Unpacking libctf-nobfd0:amd64 (2.35.2-2) ...
22.90 Selecting previously unselected package libctf0:amd64.
22.90 Preparing to unpack .../6-libctf0_2.35.2-2_amd64.deb ...
22.91 Unpacking libctf0:amd64 (2.35.2-2) ...
22.96 Selecting previously unselected package binutils-x86-64-linux-gnu.
22.96 Preparing to unpack .../7-binutils-x86-64-linux-gnu_2.35.2-2_amd64.deb ...
22.97 Unpacking binutils-x86-64-linux-gnu (2.35.2-2) ...
23.40 Selecting previously unselected package binutils.
23.40 Preparing to unpack .../8-binutils_2.35.2-2_amd64.deb ...
23.41 Unpacking binutils (2.35.2-2) ...
23.47 Selecting previously unselected package publicsuffix.
23.47 Preparing to unpack .../9-publicsuffix_20220811.1734-0+deb11u1_all.deb ...
23.48 Unpacking publicsuffix (20220811.1734-0+deb11u1) ...
23.55 Setting up libpsl5:amd64 (0.21.0-1.2) ...
23.56 Setting up wget (1.21-1+deb11u1) ...
23.59 Setting up binutils-common:amd64 (2.35.2-2) ...
23.60 Setting up libctf-nobfd0:amd64 (2.35.2-2) ...
23.61 Setting up xz-utils (5.2.5-2.1~deb11u1) ...
23.62 update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
23.64 Setting up libbinutils:amd64 (2.35.2-2) ...
23.65 Setting up publicsuffix (20220811.1734-0+deb11u1) ...
23.67 Setting up libctf0:amd64 (2.35.2-2) ...
23.69 Setting up binutils-x86-64-linux-gnu (2.35.2-2) ...
23.71 Setting up binutils (2.35.2-2) ...
23.73 Processing triggers for libc-bin (2.31-13+deb11u9) ...
23.80 + mkdir deb
23.81 + cd deb
23.81 + wget -q https://protonmail.com/download/bridge/protonmail-bridge_3.11.0_amd64.deb
24.30 + ar x -v protonmail-bridge_3.11.0_amd64.deb
24.30 ar: protonmail-bridge_3.11.0_amd64.deb: file format not recognized
------
failed to solve: process "/bin/sh -c bash install.sh" did not complete successfully: exit code: 1

Regards

przemub commented 4 months ago

Hi, isn't it because 3.11.0 isn't released yet, so there won't be a deb file? 404 page gets downloaded instead and ar rightfully freaks out. From what I see the deb version of the package is not bumped to 3.11.0, it's at 3.10.0-1.

florenthemmi commented 4 months ago

Oh my mistake!

I use the VERSION file of the build version (which is 3.11.0)
Indeed, you are correct, the VERSION of the deb file is still 3.10.0-1...