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 docker image with alpine 3.9 and tarantool 1.x #217

Open
ylobankov opened this issue Dec 7, 2021 · 1 comment
Open

Cannot build docker image with alpine 3.9 and tarantool 1.x #217

ylobankov opened this issue Dec 7, 2021 · 1 comment
Labels
5856 bug Something isn't working

Comments

@ylobankov
Copy link
Member

ylobankov commented Dec 7, 2021

Host: Ubuntu 20.04

$ OS=alpine DIST=3.9 VER=1.x TAG=1 PORT=5200 make -f .gitlab.mk build

<cropped>

+ : '---------- luarocks ----------'
+ : ldoc
+ tarantoolctl rocks install ldoc
Warning: Failed searching manifest: Failed fetching manifest for http://rocks.tarantool.org/ - Failed downloading http://rocks.tarantool.org/manifest - /root/.cache/luarocks/http___rocks.tarantool.org_/manifest
Warning: Failed searching manifest: Failed fetching manifest for http://luarocks.org/repositories/rocks - Failed downloading http://luarocks.org/repositories/rocks/manifest - /root/.cache/luarocks/http___luarocks.org_repositories_rocks/manifest
Warning: Failed searching manifest: Failed fetching manifest for http://rocks.tarantool.org/ - Failed downloading http://rocks.tarantool.org/manifest - /root/.cache/luarocks/http___rocks.tarantool.org_/manifest
Warning: Failed searching manifest: Failed fetching manifest for http://luarocks.org/repositories/rocks - Failed downloading http://luarocks.org/repositories/rocks/manifest - /root/.cache/luarocks/http___luarocks.org_repositories_rocks/manifest
Warning: Failed searching manifest: Failed fetching manifest for http://rocks.tarantool.org/ - Failed downloading http://rocks.tarantool.org/manifest - /root/.cache/luarocks/http___rocks.tarantool.org_/manifest
Warning: Failed searching manifest: Failed fetching manifest for http://luarocks.org/repositories/rocks - Failed downloading http://luarocks.org/repositories/rocks/manifest - /root/.cache/luarocks/http___luarocks.org_repositories_rocks/manifest

Error: No results matching query were found.
The command '/bin/sh -c set -x     && apk add --no-cache --virtual .run-deps.2         mariadb-connector-c-dev         libpq         cyrus-sasl         mosquitto-libs         libev     && apk add --no-cache --virtual .build-deps.2         git         cmake         make         coreutils         gcc         g++         postgresql-dev         lua-dev         musl-dev         cyrus-sasl-dev         mosquitto-dev         libev-dev         wget         unzip     && mkdir -p /rocks     && : "---------- proj (for gis module) ----------"     && wget -O proj.tar.gz http://download.osgeo.org/proj/proj-4.9.3.tar.gz     && mkdir -p /usr/src/proj     && tar -xzf proj.tar.gz -C /usr/src/proj --strip-components=1     && (cd /usr/src/proj;         ./configure;         make -j ${NPROC};         make install)     && rm -r /usr/src/proj     && rm -rf /usr/src/proj     && rm -rf /proj.tar.gz     && : "---------- geos (for gis module) ----------"     && wget -O geos.tar.bz2 http://download.osgeo.org/geos/geos-3.6.0.tar.bz2     && mkdir -p /usr/src/geos     && tar -xjf geos.tar.bz2 -C /usr/src/geos --strip-components=1     && (cd /usr/src/geos;         ./configure;         make -j ${NPROC};         make install)     && rm -r /usr/src/geos     && rm -rf /usr/src/geos     && rm -rf /geos.tar.bz2     && : "---------- luarocks ----------"     && : "ldoc"     && ${ROCKS_INSTALLER} install ldoc     && : "lua-term"     && ${ROCKS_INSTALLER} install lua-term     && : "avro"     && ${ROCKS_INSTALLER} install avro-schema $LUAROCK_AVRO_SCHEMA_VERSION     && : "expirationd"     && ${ROCKS_INSTALLER} install expirationd $LUAROCK_EXPERATIOND_VERSION     && : "queue"     && ${ROCKS_INSTALLER} install queue $LUAROCK_QUEUE_VERSION     && : "connpool"     && ${ROCKS_INSTALLER} install connpool $LUAROCK_CONNPOOL_VERSION     && : "vshard"     && ${ROCKS_INSTALLER} install vshard $LUAROCK_VSHARD_VERSION     && : "http"     && ${ROCKS_INSTALLER} install http $LUAROCK_HTTP_VERSION     && : "pg"     && ${ROCKS_INSTALLER} install pg $LUAROCK_TARANTOOL_PG_VERSION     && : "mysql"     && ${ROCKS_INSTALLER} install mysql $LUAROCK_TARANTOOL_MYSQL_VERSION     && : "memcached"     && ${ROCKS_INSTALLER} install memcached $LUAROCK_MEMCACHED_VERSION     && : "metrics"     && ${ROCKS_INSTALLER} install metrics $LUAROCK_METRICS_VERSION     && : "prometheus"     && ${ROCKS_INSTALLER} install prometheus $LUAROCK_TARANTOOL_PROMETHEUS_VERSION     && : "mqtt"     && ${ROCKS_INSTALLER} install mqtt $LUAROCK_TARANTOOL_MQTT_VERSION     && : "gis"     && ${ROCKS_INSTALLER} install gis $LUAROCK_TARANTOOL_GIS_VERSION     && : "gperftools"     && ${ROCKS_INSTALLER} install gperftools $LUAROCK_TARANTOOL_GPERFTOOLS_VERSION     && : "---------- remove build deps ----------"     && apk del .build-deps.2' returned a non-zero code: 1
make: *** [.gitlab.mk:9: build] Error 1

But OS=alpine DIST=3.9 VER=2.x TAG=2 PORT=5200 make -f .gitlab.mk build - OK.

@ylobankov
Copy link
Member Author

However, ROCKS_INSTALLER=luarocks OS=alpine DIST=3.9 VER=1.x TAG=1 PORT=5200 make -f .gitlab.mk build - OK.

@kyukhin kyukhin added bug Something isn't working teamQ 5856 labels Dec 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5856 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants