marin-ma opened a new issue, #5924:
URL: https://github.com/apache/incubator-gluten/issues/5924
### Backend
VL (Velox)
### Bug description
OS: 5.19.0-32-generic #33~22.04.1-Ubuntu
gcc: gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
command:
```
cd gluten
source dev/vcpkg/env.sh
```
Error log:
```
-- Building x64-linux-avx-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed:
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake --build . --config
Release --target install -- -v -j193
Working Directory:
/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/x64-linux-avx-rel
See logs for more information:
/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/install-x64-linux-avx-rel-out.log
Call Stack (most recent call first):
/home/sparkuser/gluten/dev/vcpkg/vcpkg_installed/x64-linux-avx/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74
(vcpkg_execute_build_process)
/home/sparkuser/gluten/dev/vcpkg/vcpkg_installed/x64-linux-avx/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16
(vcpkg_cmake_build)
/home/sparkuser/gluten/dev/vcpkg/ports/folly/portfile.cmake:75
(vcpkg_cmake_install)
scripts/ports.cmake:168 (include)
error: building folly:x64-linux-avx failed with: BUILD_FAILED
Elapsed time to handle folly:x64-linux-avx: 30 s
Please ensure you're using the latest port files with `git pull` and `vcpkg
update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+folly
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[folly]+Build+error&body=Copy+issue+body+from+%2Fhome%2Fsparkuser%2Fgluten%2Fdev%2Fvcpkg%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
```
Error in
`/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/install-x64-linux-avx-rel-out.log`
```
[49/324] /bin/c++
-DFOLLY_XLOG_STRIP_PREFIXES=\"/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.04.01.00-7bc1df4ad5.clean:/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/x64-linux-avx-rel\"
-DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT
-I/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.04.01.00-7bc1df4ad5.clean
-I/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/x64-linux-avx-rel
-I/home/sparkuser/gluten/dev/vcpkg/vcpkg_installed/x64-linux-avx/include
-I/usr/include/libdwarf -fPIC -mavx2 -mfma -mavx -mf16c -mlzcnt -std=c++17
-mbmi2 -O3 -DNDEBUG -g -Wall -Wextra -O3 -std=gnu++17 -fcoroutines -g
-finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated
-Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized
-Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type
-faligned-new -fopenmp -MD -MT
CMakeFiles/folly_base.dir/folly/experimental/JemallocHugePageAllocator.cpp.o
-MF CMakeFiles/folly_base.dir/f
olly/experimental/JemallocHugePageAllocator.cpp.o.d -o
CMakeFiles/folly_base.dir/folly/experimental/JemallocHugePageAllocator.cpp.o -c
/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.04.01.00-7bc1df4ad5.clean/folly/experimental/JemallocHugePageAllocator.cpp
FAILED:
CMakeFiles/folly_base.dir/folly/experimental/JemallocHugePageAllocator.cpp.o
/bin/c++
-DFOLLY_XLOG_STRIP_PREFIXES=\"/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.04.01.00-7bc1df4ad5.clean:/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/x64-linux-avx-rel\"
-DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT
-I/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.04.01.00-7bc1df4ad5.clean
-I/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/x64-linux-avx-rel
-I/home/sparkuser/gluten/dev/vcpkg/vcpkg_installed/x64-linux-avx/include
-I/usr/include/libdwarf -fPIC -mavx2 -mfma -mavx -mf16c -mlzcnt -std=c++17
-mbmi2 -O3 -DNDEBUG -g -Wall -Wextra -O3 -std=gnu++17 -fcoroutines -g
-finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated
-Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized
-Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type
-faligned-new -fopenmp -MD -MT
CMakeFiles/folly_base.dir/folly/experimental/JemallocHugePageAllocator.cpp.o
-MF CMakeFiles/folly_base.dir/folly/expe
rimental/JemallocHugePageAllocator.cpp.o.d -o
CMakeFiles/folly_base.dir/folly/experimental/JemallocHugePageAllocator.cpp.o -c
/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.04.01.00-7bc1df4ad5.clean/folly/experimental/JemallocHugePageAllocator.cpp
/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.04.01.00-7bc1df4ad5.clean/folly/experimental/JemallocHugePageAllocator.cpp:52:8:
error: redefinition of ‘struct extent_hooks_s’
52 | struct extent_hooks_s {
| ^~~~~~~~~~~~~~
In file included from
/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.04.01.00-7bc1df4ad5.clean/folly/portability/Malloc.h:36,
from
/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.04.01.00-7bc1df4ad5.clean/folly/memory/Malloc.h:31,
from
/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.04.01.00-7bc1df4ad5.clean/folly/experimental/JemallocHugePageAllocator.h:22,
from
/home/sparkuser/gluten/dev/vcpkg/.vcpkg/buildtrees/folly/src/4.04.01.00-7bc1df4ad5.clean/folly/experimental/JemallocHugePageAllocator.cpp:17:
/home/sparkuser/gluten/dev/vcpkg/vcpkg_installed/x64-linux-avx/include/jemalloc/jemalloc.h:382:8:
note: previous definition of ‘struct extent_hooks_s’
382 | struct extent_hooks_s {
| ^~~~~~~~~~~~~~
```
### Spark version
None
### Spark configurations
_No response_
### System information
_No response_
### Relevant logs
_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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]