8000 Unable to build release image with --build-arg enable=hdfs · Issue #37 · TileDB-Inc/archived-Dockerfiles · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.
This repository was archived by the owner on Sep 9, 2024. It is now read-only.
Unable to build release image with --build-arg enable=hdfs #37
Open
@CloudNiner

Description

@CloudNiner

I run the following steps:

docker build -t tiledb:base base
docker build --build-arg enable=hdfs -t tiledb:release release

And the release image build fails with:

-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- searching for catch in /home/tiledb/TileDB-1.6.3/build/externals/src
-- Found Catch: /home/tiledb/TileDB-1.6.3/build/externals/src/ep_catch/single_include  
-- Configuring done
CMake Error at test/CMakeLists.txt:137 (add_executable):
  Target "tiledb_unit" links to target "LibJVM::libjvm" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at test/CMakeLists.txt:137 (add_executable):
  Target "tiledb_unit" links to target "LibJVM::libjsig" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


-- Generating done
-- Build files have been written to: /home/tiledb/TileDB-1.6.3/build/tiledb
make[2]: *** [tiledb-prefix/src/tiledb-stamp/tiledb-configure] Error 1
make[1]: *** [CMakeFiles/tiledb.dir/all] Error 2
make: *** [all] Error 2
The command '/bin/sh -c wget -P /home/tiledb https://github.com/TileDB-Inc/TileDB/archive/${version}.tar.gz     && tar xzf /home/tiledb/${version}.tar.gz -C /home/tiledb     && rm /home/tiledb/${version}.tar.gz     && cd /home/tiledb/TileDB-${version}     && mkdir build     && cd build     && ../bootstrap --prefix=/usr/local --enable-s3 --enable-serialization --enable=${enable}     && make -j$(nproc)     && make -j$(nproc) examples     && make install-tiledb     && rm -rf /home/tiledb/TileDB-${version}' returned a non-zero code: 2

MacOS Docker Desktop 2.2.0.0. Building the release without the enable=hdfs call, e.g. docker build -t tiledb:release release succeeds.

This is on the HEAD of master, 36ec5a5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0