-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Build: CMakeCMake based build issueCMake based build issueDependenciesPull requests that update a dependency filePull requests that update a dependency fileHelp NeededModeling/Usage problemModeling/Usage problemOS: WindowsWindows OSWindows OS
Milestone
Description
What version of OR-Tools and what language are you using?
Version: main/stable
Language: C#
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
What operating system (Linux, Windows, ...) and version?
Windows 11
What did you do?
Steps to reproduce the behavior:
git clone https://github.com/google/or-tools.gitcd or-toolscmake -S . -B build -DBUILD_DEPS=ON -DBUILD_DOTNET=ON- See error
What did you expect to see
The build system configured successfully.
What did you see instead?
Performing download step (download, verify and extract) for 'boost-populate'
-- File already exists but no hash specified (use URL_HASH):
file='D:/Source/GitHub/aetos382/or-tools/build/_deps/boost-subbuild/boost-populate-prefix/src/boost-1.87.0-cmake.tar.gz'
Old file will be removed and new file downloaded from URL.
-- Downloading...
dst='D:/Source/GitHub/aetos382/or-tools/build/_deps/boost-subbuild/boost-populate-prefix/src/boost-1.87.0-cmake.tar.gz'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/boostorg/boost/releases/download/boost-1.87.0/boost-1.87.0-cmake.tar.gz'
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
...
-- [download 99% complete]
-- [download 100% complete]
-- Downloading... done
-- extracting...
src='D:/Source/GitHub/aetos382/or-tools/build/_deps/boost-subbuild/boost-populate-prefix/src/boost-1.87.0-cmake.tar.gz'
dst='D:/Source/GitHub/aetos382/or-tools/build/_deps/boost-src'
-- extracting... [tar xfz]
CUSTOMBUILD : CMake error : Problem with archive_write_header(): Invalid empty pathname [D:\Source\GitHub\aetos382\or-tools\build\_deps\boost-subbuild\boost-populate.vcxproj]
-- extracting... [error clean up]
CUSTOMBUILD : CMake error : Current file: [D:\Source\GitHub\aetos382\or-tools\build\_deps\boost-subbuild\boost-populate.vcxproj]
CUSTOMBUILD : CMake error : Problem extracting tar: D:/Source/GitHub/aetos382/or-tools/build/_deps/boost-subbuild/boost-populate-prefix/src/boost-1.87.0-cmake.tar.gz [D:\Source\GitHub\aetos382\or-tools\build\_deps\boost-subbuild\boost-populate.vcxproj]
CMake Error at boost-subbuild/boost-populate-prefix/src/boost-populate-stamp/extract-boost-populate.cmake:40 (message):
Extract of
'D:/Source/GitHub/aetos382/or-tools/build/_deps/boost-subbuild/boost-populate-prefix/src/boost-1.87.0-cmake.tar.gz'
failedAnything else we should know about your project / environment
I am using the latest VC++ 2022 and the tar preinstalled on Windows 11.
The output of tar --version is as follows
bsdtar 3.7.7 - libarchive 3.7.7 zlib/1.2.13.1-motley liblzma/5.4.3 bz2lib/1.0.8 libzstd/1.5.5
Also, I get an error when I try to extract boost-1.87.0-cmake.tar.gz with tar.
> tar -xzf boost-1.87.0-cmake.tar.gz
boost-1.87.0/libs/wave/test/testwave/testfiles/utf8-test-テ淞オ邃「竏・: Invalid empty pathname: Unknown error
boost-1.87.0/libs/wave/test/testwave/testfiles/utf8-test-テ淞オ邃「竏・file.hpp: Invalid empty pathname: Unknown error
tar.exe: Error exit delayed from previous errors.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Build: CMakeCMake based build issueCMake based build issueDependenciesPull requests that update a dependency filePull requests that update a dependency fileHelp NeededModeling/Usage problemModeling/Usage problemOS: WindowsWindows OSWindows OS