-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
-
-
ARM images for PostgreSQL (Debian-based) fails with
#8 [linux/arm64 stage-1 2/6] RUN apt-get update && apt-get install -f -y --no-install-recommends software-properties-common && if [ "$USE_POSTGIS" != "false" ]; then apt-get install -f -y --no-install-recommends postgresql-15-postgis-3 postgresql-15-postgis-3-scripts postgis; fi && if [ "$USE_PGVECTOR" != "false" ]; then apt-get install -f -y --no-install-recommends postgresql-15-pgvector; fi && add-apt-repository "deb http://ftp.debian.org/debian testing main contrib" && apt-get update && apt-get install -f -y --no-install-recommends libprotobuf-c1 && rm -rf /var/lib/apt/lists/* #8 168.8 0 added, 0 removed; done. #8 168.8 Running hooks in /etc/ca-certificates/update.d... #8 168.9 done. #8 169.0 Errors were encountered while processing: #8 169.0 libc-bin #8 169.1 E: Sub-process /usr/bin/dpkg returned an error code (1) #8 ERROR: process "/bin/sh -c apt-get update && apt-get install -f -y --no-install-recommends software-properties-common && if [ \"$USE_POSTGIS\" != \"false\" ]; then apt-get install -f -y --no-install-recommends postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION-scripts postgis; fi && if [ \"$USE_PGVECTOR\" != \"false\" ]; then apt-get install -f -y --no-install-recommends postgresql-$PG_MAJOR-pgvector; fi && add-apt-repository \"deb http://ftp.debian.org/debian testing main contrib\" && apt-get update && apt-get install -f -y --no-install-recommends libprotobuf-c1 && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100 #10 [linux/arm64 build 2/3] RUN apt-get update && apt-get install -f -y --no-install-recommends software-properties-common build-essential pkg-config git clang-11 llvm-11 postgresql-server-dev-15 && add-apt-repository "deb http://ftp.debian.org/debian testing main contrib" && apt-get update && apt-get install -f -y --no-install-recommends libprotobuf-c-dev=1.5.* && rm -rf /var/lib/apt/lists/* #10 CANCELED ------ > [linux/arm64 stage-1 2/6] RUN apt-get update && apt-get install -f -y --no-install-recommends software-properties-common && if [ "$USE_POSTGIS" != "false" ]; then apt-get install -f -y --no-install-recommends postgresql-15-postgis-3 postgresql-15-postgis-3-scripts postgis; fi && if [ "$USE_PGVECTOR" != "false" ]; then apt-get install -f -y --no-install-recommends postgresql-15-pgvector; fi && add-apt-repository "deb http://ftp.debian.org/debian testing main contrib" && apt-get update && apt-get install -f -y --no-install-recommends libprotobuf-c1 && rm -rf /var/lib/apt/lists/*: 146.0 Segmentation fault (core dumped) 146.0 dpkg: error processing package libc-bin (--configure): 146.0 installed libc-bin package post-installation script subprocess returned error exit status 139 146.0 Processing triggers for ca-certificates (20210119) ... 146.2 Updating certificates in /etc/ssl/certs... 168.8 0 added, 0 removed; done. 168.8 Running hooks in /etc/ca-certificates/update.d... 168.9 done. 169.0 Errors were encountered while processing: : Sub-process /usr/bin/dpkg returned an error code (1) ------ Dockerfile:36 -------------------- 35 | 36 | >>> RUN apt-get update \ 37 | >>> && apt-get install -f -y --no-install-recommends \ 38 | >>> software-properties-common \ 39 | >>> && if [ "$USE_POSTGIS" != "false" ]; then apt-get install -f -y --no-install-recommends \ 40 | >>> postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION \ 41 | >>> postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION-scripts \ 42 | >>> postgis; \ 43 | >>> fi \ 44 | >>> && if [ "$USE_PGVECTOR" != "false" ]; then apt-get install -f -y --no-install-recommends \ 45 | >>> postgresql-$PG_MAJOR-pgvector; \ 46 | >>> fi \ 47 | >>> && add-apt-repository "deb http://ftp.debian.org/debian testing main contrib" \ 48 | >>> && apt-get update && apt-get install -f -y --no-install-recommends \ 49 | >>> libprotobuf-c1 \ 50 | >>> && rm -rf /var/lib/apt/lists/* 51 | -------------------- ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install -f -y --no-install-recommends software-properties-common && if [ \"$USE_POSTGIS\" != \"false\" ]; then apt-get install -f -y --no-install-recommends postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION-scripts postgis; fi && if [ \"$USE_PGVECTOR\" != \"false\" ]; then apt-get install -f -y --no-install-recommends postgresql-$PG_MAJOR-pgvector; fi && add-apt-repository \"deb http://ftp.debian.org/debian testing main contrib\" && apt-get update && apt-get install -f -y --no-install-recommends libprotobuf-c1 && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100 [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] }
The images will not be built until the underlying issue is resolved.