-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Simply running the command
mvn clean install -DskipTests
I get the following errors
The command '/bin/sh -c curl -sL https://releases.llvm.org/$CLANG_VER/clang%2bllvm-$CLANG_VER-x86_64-linux-gnu-ubuntu-14.04.tar.tar: openmp-9.0.0.src/libomptarget/deviceRTLs/nvptx/test: Cannot change ownership to uid 107418, gid 89939: Invalid argxz -o clang.tar.xz && tar -C /usr/local -xf clang.tar.xz --strip 1 && curl -sL https://releases.llvm.org/$CLANG_VER/openmp-$CLument
tar: openmp-9.0.0.src/libomptarget/deviceRTLs/nvptx/docs/ReductionDesign.txt: Cannot change ownership to uid 107418, giANG_VER.src.tar.xz -o openmp.tar.xz && tar -xf openmp.tar.xz && cd openmp-$CLANG_VER.src && mkdir build && cd build && cmakd 89939: Invalid argument
e -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang .. && make && make install && echo /usr/local/lib > /etc/ld.so.conf.dtar: openmp-9.0.0.src/libomptarget/deviceRTLs/nvptx/docs: Cannot change ownership to uid 107418, gid 89939: Invalid argument
/openmp.conf && ldconfig && cd ../.. && rm clang.tar.xz && rm openmp.tar.xz && rm -rf openmp-$CLANG_VER.src' returned a nontar: openmp-9.0.0.src/libomptarget/deviceRTLs/nvptx/CMakeLists.txt: Cannot change ownership to uid 107418, gid 89939: I-zero code: 2
nvalid argument
I worked around the issue by simply adding the --no-same-owner to the tar command in the docker file projects-open-source/feedzai-openml-java/openml-lightgbm/lightgbm-builder/make-lightgbm/docker/lightgbm-ci-build-env/Dockerfile
like this: tar -xf openmp.tar.xz --no-same-owner
Environment:
Docker version 20.10.14, build a224086
Host OS: Ubuntu 20.04.4 LTS (64-bit)
Host Kernel: 5.13.0-44-generic
Metadata
Metadata
Assignees
Labels
No labels