zalando / spilo

Highly available elephant herd: HA PostgreSQL cluster using Docker
Apache License 2.0
1.55k stars 385 forks source link

Spilo Image Building failed for s390x arch due to Failing Packages "postgresql-10-hll, postgresql-10-postgis-3" #888

Closed Chandrababu-nagilli closed 1 year ago

Chandrababu-nagilli commented 1 year ago

Image building for s390x

Failing Packages in base.sh file.

postgresql-10-hll postgresql-10-postgis-3

        EXTRAS=("postgresql-pltcl-${version}"
                "postgresql-${version}-dirtyread"
                "postgresql-${version}-extra-window-functions"
                "postgresql-${version}-first-last-agg"
                "postgresql-${version}-hll"                                              ------>> ## Failing
                "postgresql-${version}-hypopg"
                "postgresql-${version}-plproxy"
                "postgresql-${version}-partman"
                "postgresql-${version}-pgaudit"
                "postgresql-${version}-pldebugger"
                "postgresql-${version}-pglogical"
                "postgresql-${version}-pglogical-ticker"
                "postgresql-${version}-plpgsql-check"
                "postgresql-${version}-pg-checksums"
                "postgresql-${version}-pgl-ddl-deploy"
                "postgresql-${version}-pgq-node"
                "postgresql-${version}-postgis-${POSTGIS_VERSION%.*}"   ----->>## Failing
                "postgresql-${version}-postgis-${POSTGIS_VERSION%.*}-scripts"
                "postgresql-${version}-repack"
                "postgresql-${version}-wal2json")

Image build Logs

#0 59.56 + EXTRAS=("postgresql-pltcl-${version}" "postgresql-server-dev-${version}" "postgresql-${version}-dirtyread" "postgresql-${version}-extra-window-functions" "postgresql-${version}-first-last-agg" "postgresql-${version}-hll" "postgresql-${version}-hypopg" "postgresql-${version}-plproxy" "postgresql-${version}-partman" "postgresql-${version}-pgaudit" "postgresql-${version}-pldebugger" "postgresql-${version}-pglogical" "postgresql-${version}-pglogical-ticker" "postgresql-${version}-plpgsql-check" "postgresql-${version}-pg-checksums" "postgresql-${version}-pgl-ddl-deploy" "postgresql-${version}-pgq-node" "postgresql-${version}-postgis-${POSTGIS_VERSION%.*}" "postgresql-${version}-postgis-${POSTGIS_VERSION%.*}-scripts" "postgresql-${version}-repack" "postgresql-${version}-wal2json")
#0 59.56 + '[' 10 '!=' 15 ']'
#0 59.56 + EXTRAS+=("postgresql-${version}-pllua")
#0 59.56 + '[' false = true ']'
#0 59.56 + '[' 10 -ge 10 ']'
#0 59.56 + EXTRAS+=("postgresql-${version}-decoderbufs")
#0 59.56 + '[' 10 -lt 11 ']'
#0 59.56 + EXTRAS+=("postgresql-${version}-amcheck")
#0 59.56 + apt-get install --allow-downgrades -y postgresql-10-cron postgresql-contrib-10 postgresql-10-pgextwlist postgresql-plpython3-10 postgresql-server-dev-10 postgresql-10-pgq3 postgresql-10-pg-stat-kcache postgresql-pltcl-10 postgresql-server-dev-10 postgresql-10-dirtyread postgresql-10-extra-window-functions postgresql-10-first-last-agg postgresql-10-hll postgresql-10-hypopg postgresql-10-plproxy postgresql-10-partman postgresql-10-pgaudit postgresql-10-pldebugger postgresql-10-pglogical postgresql-10-pglogical-ticker postgresql-10-plpgsql-check postgresql-10-pg-checksums postgresql-10-pgl-ddl-deploy postgresql-10-pgq-node postgresql-10-postgis-3 postgresql-10-postgis-3-scripts postgresql-10-repack postgresql-10-wal2json postgresql-10-pllua postgresql-10-decoderbufs postgresql-10-amcheck
#0 59.61 Reading package lists...
#0 60.30 Building dependency tree...
#0 60.37 Reading state information...
#0 60.38 Package postgresql-10-postgis-3 is not available, but is referred to by another package.
#0 60.38 This may mean that the package is missing, has been obsoleted, or
#0 60.38 is only available from another source
#0 60.38 
#0 60.38 W: Target Packages (main/binary-s390x/Packages) is configured multiple times in /etc/apt/sources.list.d/pgdg.list:1 and /etc/apt/sources.list.d/postgresql.list:1
#0 60.38 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/pgdg.list:1 and /etc/apt/sources.list.d/postgresql.list:1
#0 60.38 E: Unable to locate package postgresql-10-hll
#0 60.38 E: Package 'postgresql-10-postgis-3' has no installation candidate
------
Dockerfile:71
--------------------
  69 |     
  70 |     WORKDIR /builddeps
  71 | >>> RUN bash base.sh
  72 |     
  73 |     # Install wal-g
--------------------
ERROR: failed to solve: process "/bin/sh -c bash base.sh" did not complete successfully: exit code: 100
Chandrababu-nagilli commented 1 year ago

Hi @feikesteenbergen and @hughcapet any comments ^^

hughcapet commented 1 year ago

Spilo only supports arm or x86 arch builds