You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "pchaganti (via GitHub)" <gi...@apache.org> on 2023/04/02 20:43:50 UTC
[GitHub] [arrow-datafusion] pchaganti opened a new issue, #5833: Unable to create Docker image
pchaganti opened a new issue, #5833:
URL: https://github.com/apache/arrow-datafusion/issues/5833
### Describe the bug
Trying to create a docker image for datafusion-cli.
```
FROM rust:latest
RUN apt-get update -qq \
&& apt-get dist-upgrade -y \
&& cargo install datafusion-cli
```
results in this error
```
error: failed to run custom build command for `libmimalloc-sys v0.1.31`
Caused by:
process didn't exit successfully: `/tmp/cargo-installpZyxdo/release/build/libmimalloc-sys-a6b98eff8b01d488/build-script-build` (exit status: 1)
--- stdout
OPT_LEVEL = Some("3")
TARGET = Some("aarch64-unknown-linux-gnu")
HOST = Some("aarch64-unknown-linux-gnu")
cargo:rerun-if-env-changed=CC_aarch64-unknown-linux-gnu
CC_aarch64-unknown-linux-gnu = None
cargo:rerun-if-env-changed=CC_aarch64_unknown_linux_gnu
CC_aarch64_unknown_linux_gnu = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = None
cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-linux-gnu
CFLAGS_aarch64-unknown-linux-gnu = None
cargo:rerun-if-env-changed=CFLAGS_aarch64_unknown_linux_gnu
CFLAGS_aarch64_unknown_linux_gnu = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("neon")
cargo:rerun-if-env-changed=CC_aarch64-unknown-linux-gnu
CC_aarch64-unknown-linux-gnu = None
cargo:rerun-if-env-changed=CC_aarch64_unknown_linux_gnu
CC_aarch64_unknown_linux_gnu = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = None
cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-linux-gnu
CFLAGS_aarch64-unknown-linux-gnu = None
cargo:rerun-if-env-changed=CFLAGS_aarch64_unknown_linux_gnu
CFLAGS_aarch64_unknown_linux_gnu = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("neon")
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "c_src/mimalloc/include" "-I" "c_src/mimalloc/src" "-Wall" "-Wextra" "-ftls-model=initial-exec" "-DMI_DEBUG=0" "-o" "/tmp/cargo-installpZyxdo/release/build/libmimalloc-sys-1bf998f9589adb05/out/c_src/mimalloc/src/static.o" "-c" "c_src/mimalloc/src/static.c"
cargo:warning=In file included from c_src/mimalloc/src/prim/prim.c:22,
cargo:warning= from c_src/mimalloc/src/static.c:37:
cargo:warning=c_src/mimalloc/src/prim/unix/prim.c: In function 'mi_prim_open':
cargo:warning=c_src/mimalloc/src/prim/unix/prim.c:82:32: error: 'mode' undeclared (first use in this function); did you mean 'mode_t'?
cargo:warning= 82 | return open(fpath,open_flags,mode);
cargo:warning= | ^~~~
cargo:warning= | mode_t
cargo:warning=c_src/mimalloc/src/prim/unix/prim.c:82:32: note: each undeclared identifier is reported only once for each function it appears in
cargo:warning=c_src/mimalloc/src/prim/unix/prim.c:83:1: warning: control reaches end of non-void function [-Wreturn-type]
cargo:warning= 83 | }
cargo:warning= | ^
exit status: 1
--- stderr
error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "c_src/mimalloc/include" "-I" "c_src/mimalloc/src" "-Wall" "-Wextra" "-ftls-model=initial-exec" "-DMI_DEBUG=0" "-o" "/tmp/cargo-installpZyxdo/release/build/libmimalloc-sys-1bf998f9589adb05/out/c_src/mimalloc/src/static.o" "-c" "c_src/mimalloc/src/static.c" with args "cc" did not execute successfully (status code exit status: 1).
warning: build failed, waiting for other jobs to finish...
error: failed to compile `datafusion-cli v21.0.0`, intermediate artifacts can be found at `/tmp/cargo-installpZyxdo`
The command '/bin/sh -c apt-get update -qq && apt-get dist-upgrade -y && cargo install datafusion-cli' returned a non-zero code: 101
```
Anyone have any pointers?
thanks!
### To Reproduce
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-datafusion] pchaganti closed issue #5833: Unable to create Docker image
Posted by "pchaganti (via GitHub)" <gi...@apache.org>.
pchaganti closed issue #5833: Unable to create Docker image
URL: https://github.com/apache/arrow-datafusion/issues/5833
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org