Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[openblas] Build error on x64-linux #39447

Closed
pkbpawan opened this issue Jun 22, 2024 · 1 comment
Closed

[openblas] Build error on x64-linux #39447

pkbpawan opened this issue Jun 22, 2024 · 1 comment
Labels
category:question This issue is a question

Comments

@pkbpawan
Copy link

ERROR [ 9/10] RUN /vcpkg/vcpkg install dlib 200.3s


[ 9/10] RUN /vcpkg/vcpkg install dlib:
#12 0.866 Computing installation plan...
#12 2.126 The following packages will be built and installed:
#12 2.126 * blas:x64-linux@2023-04-14#1
#12 2.126 dlib[core,fftw3,sqlite3]:x64-linux@19.24#4
#12 2.126 * fftw3:x64-linux@3.3.10#8
#12 2.126 * lapack:x64-linux@2023-06-10#2
#12 2.126 * lapack-reference[blas-select,core,noblas]:x64-linux@3.11.0#6
#12 2.126 * libjpeg-turbo:x64-linux@3.0.2#1
#12 2.126 * libpng:x64-linux@1.6.43#2
#12 2.126 * openblas:x64-linux@0.3.27#1
#12 2.126 * pthread:x64-linux@3.0.0#2
#12 2.126 * pthreads:x64-linux@3.0.0#14
#12 2.126 * sqlite3[core,json1]:x64-linux@3.46.0#1
#12 2.126 * vcpkg-cmake:x64-linux@2024-04-23
#12 2.126 * vcpkg-cmake-config:x64-linux@2024-05-23
#12 2.126 * zlib:x64-linux@1.3.1
#12 2.126 Additional packages (*) will be modified to complete this operation.
#12 2.126 Detecting compiler hash for triplet x64-linux...
#12 6.251 Compiler found: /usr/bin/c++
#12 6.286 Restored 0 package(s) from /root/.cache/vcpkg/archives in 2.74 ms. Use --debug to see more details.
#12 6.286 Installing 1/14 vcpkg-cmake-config:x64-linux@2024-05-23...
#12 6.286 Building vcpkg-cmake-config:x64-linux@2024-05-23...
#12 6.432 -- Installing: /vcpkg/packages/vcpkg-cmake-config_x64-linux/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake
#12 6.433 -- Installing: /vcpkg/packages/vcpkg-cmake-config_x64-linux/share/vcpkg-cmake-config/vcpkg-port-config.cmake
#12 6.434 -- Installing: /vcpkg/packages/vcpkg-cmake-config_x64-linux/share/vcpkg-cmake-config/copyright
#12 6.476 -- Skipping post-build validation due to VCPKG_POLICY_EMPTY_PACKAGE
#12 6.490 Stored binaries in 1 destinations in 11.5 ms.
#12 6.490 Elapsed time to handle vcpkg-cmake-config:x64-linux: 204 ms
#12 6.490 vcpkg-cmake-config:x64-linux package ABI: e94ddb7ba60de311f79a8b8dbe0242a7265c49d1684cd27ad087388d6426189d
#12 6.490 Installing 2/14 pthreads:x64-linux@3.0.0#14...
#12 6.490 Building pthreads:x64-linux@3.0.0#14...
#12 6.646 -- Skipping post-build validation due to VCPKG_POLICY_EMPTY_PACKAGE
#12 6.655 Stored binaries in 1 destinations in 6.83 ms.
#12 6.655 Elapsed time to handle pthreads:x64-linux: 166 ms
#12 6.655 pthreads:x64-linux package ABI: 61171174b97ca85aecda99c802554cdf55a9aabe6a990e316d96ff67362f9963
#12 6.655 Installing 3/14 pthread:x64-linux@3.0.0#2...
#12 6.655 Building pthread:x64-linux@3.0.0#2...
#12 6.804 -- Skipping post-build validation due to VCPKG_POLICY_EMPTY_PACKAGE
#12 6.811 Stored binaries in 1 destinations in 5.09 ms.
#12 6.811 Elapsed time to handle pthread:x64-linux: 156 ms
#12 6.811 pthread:x64-linux package ABI: 570290e764560d6747005baa8c45c8b42ced3c56d0be327c61dcc636c9efdf9b
#12 6.811 Installing 4/14 vcpkg-cmake:x64-linux@2024-04-23...
#12 6.811 Building vcpkg-cmake:x64-linux@2024-04-23...
#12 6.965 -- Installing: /vcpkg/packages/vcpkg-cmake_x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake
#12 6.965 -- Installing: /vcpkg/packages/vcpkg-cmake_x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake
#12 6.967 -- Installing: /vcpkg/packages/vcpkg-cmake_x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake
#12 6.968 -- Installing: /vcpkg/packages/vcpkg-cmake_x64-linux/share/vcpkg-cmake/vcpkg-port-config.cmake
#12 6.968 -- Installing: /vcpkg/packages/vcpkg-cmake_x64-linux/share/vcpkg-cmake/copyright
#12 6.999 -- Performing post-build validation
#12 7.010 Stored binaries in 1 destinations in 7.68 ms.
#12 7.010 Elapsed time to handle vcpkg-cmake:x64-linux: 199 ms
#12 7.010 vcpkg-cmake:x64-linux package ABI: eaf07d6cedd1110fd1968a6b3cc5fe8b632130d76434e5862017b9a3db5b1589
#12 7.010 Installing 5/14 openblas:x64-linux@0.3.27#1...
#12 7.010 Building openblas:x64-linux@0.3.27#1...
#12 7.195 -- Downloading https://github.com/OpenMathLib/OpenBLAS/archive/v0.3.27.tar.gz -> OpenMathLib-OpenBLAS-v0.3.27.tar.gz...
#12 12.54 -- Extracting source /vcpkg/downloads/OpenMathLib-OpenBLAS-v0.3.27.tar.gz
#12 28.25 -- Applying patch uwp.patch
#12 28.27 -- Applying patch fix-redefinition-function.patch
#12 28.28 -- Applying patch install-tools.patch
#12 28.28 -- Applying patch gcc14.patch
#12 28.29 -- Using source at /vcpkg/buildtrees/openblas/src/v0.3.27-2f0a3701cf.clean
#12 28.31 -- Configuring x64-linux
#12 33.73 -- Building x64-linux-dbg
#12 92.43 -- Building x64-linux-rel
#12 198.2 -- Fixing pkgconfig file: /vcpkg/packages/openblas_x64-linux/lib/pkgconfig/openblas.pc
#12 198.2 CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:166 (message):
#12 198.2 Could not find pkg-config. Please install it via your package manager:
#12 198.2
#12 198.2 sudo apt-get install pkg-config
#12 198.2 Call Stack (most recent call first):
#12 198.2 scripts/cmake/vcpkg_fixup_pkgconfig.cmake:193 (vcpkg_find_acquire_program)
#12 198.2 ports/openblas/portfile.cmake:101 (vcpkg_fixup_pkgconfig)
#12 198.2 scripts/ports.cmake:191 (include)
#12 198.2
#12 198.2
#12 199.0 error: building openblas:x64-linux failed with: BUILD_FAILED
#12 199.0 Elapsed time to handle openblas:x64-linux: 3.2 min
#12 199.1 Please ensure you're using the latest port files with git pull and vcpkg update.
#12 199.1 Then check for known issues at:
#12 199.1 https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+openblas
#12 199.1 You can submit a new issue at:
#12 199.1 https://github.com/microsoft/vcpkg/issues/new?title=[openblas]+Build+error+on+x64-linux&body=Copy+issue+body+from+%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
#12 199.1


executor failed running [/bin/sh -c /vcpkg/vcpkg install dlib]: exit code: 1

@github-actions github-actions bot added the category:question This issue is a question label Jun 22, 2024
Copy link

From the log:

#12 198.2   Could not find pkg-config.  Please install it via your package manager:
#12 198.2
#12 198.2       sudo apt-get install pkg-config
#12 198.2 ```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

1 participant