DALI icon indicating copy to clipboard operation
DALI copied to clipboard

Sorry, bash build_helper.sh show error

Open mathpopo opened this issue 3 years ago • 6 comments

(base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI/docker$ git submodule sync --recursive 为 '../third_party/benchmark' 同步子模组 url 为 '../third_party/boost/preprocessor' 同步子模组 url 为 '../third_party/cocoapi' 同步子模组 url 为 '../third_party/cutlass' 同步子模组 url 为 '../third_party/dlpack' 同步子模组 url 为 '../third_party/ffts' 同步子模组 url 为 '../third_party/googletest' 同步子模组 url 为 '../third_party/libcudacxx' 同步子模组 url 为 '../third_party/pybind11' 同步子模组 url 为 '../third_party/rapidjson' 同步子模组 url (base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI/docker$ git submodule update --init --recursive fatal: detected dubious ownership in repository at '/home/chenxin/disk1/github/DALI/third_party/boost/preprocessor' To add an exception for this directory, call:

git config --global --add safe.directory /home/chenxin/disk1/github/DALI/third_party/boost/preprocessor

无法在子模组路径 '../third_party/boost/preprocessor' 中找到当前版本 (base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI/docker$

mathpopo avatar Sep 07 '22 03:09 mathpopo

fatal: detected dubious ownership in repository at '/home/chenxin/disk1/github/DALI/third_party/benchmark' To add an exception for this directory, call:

git config --global --add safe.directory /home/chenxin/disk1/github/DALI/third_party/benchmark

无法在子模组路径 'third_party/benchmark' 中获取,尝试直接获取 361e8d1cfe0c6c36d30b39f1b61302ece5507320: fatal: detected dubious ownership in repository at '/home/chenxin/disk1/github/DALI/third_party/benchmark' To add an exception for this directory, call:

git config --global --add safe.directory /home/chenxin/disk1/github/DALI/third_party/benchmark

fatal: detected dubious ownership in repository at '/home/chenxin/disk1/github/DALI/third_party/benchmark' To add an exception for this directory, call:

git config --global --add safe.directory /home/chenxin/disk1/github/DALI/third_party/benchmark

获取了子模组路径 'third_party/benchmark',但是它没有包含 361e8d1cfe0c6c36d30b39f1b61302ece5507320。直接获取该提交失败。

mathpopo avatar Sep 07 '22 03:09 mathpopo

Hi @mathpopo,

It seems the issue is related to your git environment and not DALI build system. You can find more info about this in many forum conversations, for example this one.

JanuszL avatar Sep 07 '22 07:09 JanuszL

@JanuszL thank you for your help

i use : 2006 git config --global --add safe.directory '*' 2007 git submodule sync --recursive 2008 git submodule update --init --recursive

(base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI$ git submodule sync --recursive 为 'third_party/benchmark' 同步子模组 url 为 'third_party/boost/preprocessor' 同步子模组 url 为 'third_party/cocoapi' 同步子模组 url 为 'third_party/cutlass' 同步子模组 url 为 'third_party/dlpack' 同步子模组 url 为 'third_party/ffts' 同步子模组 url 为 'third_party/googletest' 同步子模组 url 为 'third_party/libcudacxx' 同步子模组 url 为 'third_party/pybind11' 同步子模组 url 为 'third_party/rapidjson' 同步子模组 url (base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI$ git submodule update --init --recursive 子模组路径 'third_party/boost/preprocessor':检出 'd4e82d7d3f2e2adbe280966ac51ce8f9372f5a44' 子模组路径 'third_party/cutlass':检出 'e45e77343693e261f9285ee05be4f0498848e5a5' 子模组路径 'third_party/googletest':检出 '58d77fa8070e8cec2dc1ed015d66b454c8d78850' 子模组路径 'third_party/libcudacxx':检出 '67624c5f336947192103715348786eb234a4f393' 子模组路径 'third_party/pybind11':检出 'aa304c9c7d725ffb9d10af08a3b34cb372307020' 子模组路径 'third_party/rapidjson':检出 '27c3a8dc0e2c9218fe94986d249a12b5ed838f1d' 子模组 'thirdparty/gtest'(https://github.com/google/googletest.git)已对路径 'third_party/rapidjson/thirdparty/gtest' 注册 正克隆到 '/home/chenxin/disk1/github/DALI/third_party/rapidjson/thirdparty/gtest'... 子模组路径 'third_party/rapidjson/thirdparty/gtest':检出 'ba96d0b1161f540656efdaed035b3c062b60e006'

mathpopo avatar Sep 07 '22 12:09 mathpopo

CMake Error at cmake/Utils.cmake:93 (message): File /home/chenxin/disk1/github/DALI/third_party/ffts/CMakeLists.txt not found. Did you forget to git clone --recursive? Try this:

cd /home/chenxin/disk1/github/DALI && \
git submodule sync --recursive && \
git submodule update --init --recursive && \
cd -

Call Stack (most recent call first): cmake/Dependencies.common.cmake:198 (check_and_add_cmake_submodule) cmake/Dependencies.cmake:105 (include) CMakeLists.txt:201 (include)

-- Configuring incomplete, errors occurred! See also "/home/chenxin/disk1/github/DALI/docker/CMakeFiles/CMakeOutput.log". See also "/home/chenxin/disk1/github/DALI/docker/CMakeFiles/CMakeError.log". (base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI/docker$ sudo apt search nvJPEG2k 正在排序... 完成 全文搜索... 完成
(base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI/docker$ sudo apt search JPEG2k 正在排序... 完成 全文搜索... 完成
(base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI/docker$ sudo apt search nvJPEG2k 正在排序... 完成 全文搜索... 完成
(base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI/docker$ cd ../ (base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI$ l Acknowledgements.txt* conda/ dali/ dali.png* docs/ include/ qa/ third_party/ cmake/ CONTRIBUTING.md* DALI_DEPS_VERSION* dali_tf_plugin/ Doxyfile* LICENSE* README.rst* tools/ CMakeLists.txt* COPYRIGHT* DALI_EXTRA_VERSION* docker/ guided_contribution_tutorial.md* platforms/ STYLE_GUIDE.md* VERSION* (base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI$ git submodule update --init --recursive (base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI$ git submodule sync --recursive 为 'third_party/benchmark' 同步子模组 url 为 'third_party/boost/preprocessor' 同步子模组 url 为 'third_party/cocoapi' 同步子模组 url 为 'third_party/cutlass' 同步子模组 url 为 'third_party/dlpack' 同步子模组 url 为 'third_party/ffts' 同步子模组 url 为 'third_party/googletest' 同步子模组 url 为 'third_party/libcudacxx' 同步子模组 url 为 'third_party/pybind11' 同步子模组 url 为 'third_party/rapidjson' 同步子模组 url 为 'third_party/rapidjson/thirdparty/gtest' 同步子模组 url (base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI$ git submodule update --init --recursive (base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI$ cd third_party/ (base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI/third_party$ ls benchmark boost cocoapi cpplint.py cutlass dlpack ffts googletest libcudacxx opencv pybind11 rapidjson README.rst (base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI/third_party$ cd ffts/ (base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI/third_party/ffts$ ls (base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI/third_party/ffts$ (base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/DALI/third_party/ffts$

mathpopo avatar Sep 07 '22 12:09 mathpopo

@JanuszL i update thirdparty ,but have no info about ffts

mathpopo avatar Sep 07 '22 12:09 mathpopo

Hi @mathpopo,

As you can see here there is a reference to valid SHA from an FFTS fork. Can try again and clone the DALI repo once again?

JanuszL avatar Sep 07 '22 12:09 JanuszL

Closing as stalled.

JanuszL avatar Jan 24 '24 14:01 JanuszL