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

[opencv4] build failure #32832

Closed
Q3B0 opened this issue Jul 30, 2023 · 2 comments
Closed

[opencv4] build failure #32832

Q3B0 opened this issue Jul 30, 2023 · 2 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@Q3B0
Copy link

Q3B0 commented Jul 30, 2023

Operating system

Ubuntu 22.04LTS(WSL2)

Compiler

GCC

Steps to reproduce the behavior

./vcpkg install opencv4

Failure logs

Computing installation plan...
The following packages will be built and installed:
  * at-spi2-atk:x64-linux -> 2.38.0
  * at-spi2-core:x64-linux -> 2.44.1#2
  * atk:x64-linux -> 2.38.0#7
  * brotli:x64-linux -> 1.0.9#5
  * cairo[core,fontconfig,freetype,gobject,x11]:x64-linux -> 1.17.8#3
  * egl-registry:x64-linux -> 2022-09-20
  * expat:x64-linux -> 2.5.0#3
  * fontconfig:x64-linux -> 2.14.2
  * freetype[brotli,bzip2,core,png,zlib]:x64-linux -> 2.12.1#3
  * fribidi:x64-linux -> 1.0.12#1
  * gdk-pixbuf:x64-linux -> 2.42.10#1
  * getopt:x64-linux -> 0#3
  * gperf:x64-linux -> 3.1#5
  * gtk3:x64-linux -> 3.24.38
  * harfbuzz:x64-linux -> 8.0.0
  * libepoxy:x64-linux -> 1.5.10#2
  * libjpeg-turbo:x64-linux -> 2.1.5.1#2
  * liblzma:x64-linux -> 5.4.3#1
  * libpng:x64-linux -> 1.6.39#1
  * libuuid:x64-linux -> 1.0.3#14
  * libwebp[core,libwebpmux,nearlossless,simd]:x64-linux -> 1.3.1
  * libxml2[core,iconv,lzma,zlib]:x64-linux -> 2.10.3#1
  * lzo:x64-linux -> 2.10#9
    opencv4[core,default-features,dnn,gtk,jpeg,png,quirc,tiff,webp]:x64-linux -> 4.7.0#6
  * pango:x64-linux -> 1.50.14#3
  * pixman:x64-linux -> 0.42.2#2
  * protobuf:x64-linux -> 3.21.12
  * pthread:x64-linux -> 3.0.0#2
  * pthreads:x64-linux -> 3.0.0#14
  * quirc:x64-linux -> 1.1#3
  * tiff[core,jpeg,lzma,zip]:x64-linux -> 4.5.1#2
  * vcpkg-get-python-packages:x64-linux -> 2022-06-30
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-linux...
Restored 0 package(s) from /root/.cache/vcpkg/archives in 37.1 us. Use --debug to see more details.
Installing 1/32 at-spi2-core:x64-linux...
Building at-spi2-core:x64-linux...
-- at-spi2-core currently requires the following libraries from the system package manager:
    libdbus-1-dev
    libxi-dev
    libxtst-dev

These can be installed on Ubuntu systems via apt-get install libdbus-1-dev libxi-dev libxtst-dev
-- Using cached GNOME-at-spi2-core-AT_SPI2_CORE_2_44_1.tar.gz.
-- Cleaning sources at /home/zhanliang/vcpkg/buildtrees/at-spi2-core/src/ORE_2_44_1-fa40e2a5ad.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/zhanliang/vcpkg/downloads/GNOME-at-spi2-core-AT_SPI2_CORE_2_44_1.tar.gz
-- Using source at /home/zhanliang/vcpkg/buildtrees/at-spi2-core/src/ORE_2_44_1-fa40e2a5ad.clean
-- Getting CMake variables for x64-linux-dbg
-- Getting CMake variables for x64-linux-rel
-- Configuring x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/bin/python3 /home/zhanliang/vcpkg/installed/x64-linux/tools/meson/meson.py -Dintrospection=no --buildtype plain --backend ninja --wrap-mode nodownload --libdir lib --native /home/zhanliang/vcpkg/buildtrees/at-spi2-core/meson-x64-linux-dbg.log -Ddebug=true --prefix /home/zhanliang/vcpkg/packages/at-spi2-core_x64-linux/debug --includedir ../include -Dcmake_prefix_path=['/home/zhanliang/vcpkg/installed/x64-linux/debug','/home/zhanliang/vcpkg/installed/x64-linux'] /home/zhanliang/vcpkg/buildtrees/at-spi2-core/src/ORE_2_44_1-fa40e2a5ad.clean
    Working Directory: /home/zhanliang/vcpkg/buildtrees/at-spi2-core/x64-linux-dbg
    Error code: 1
    See logs for more information:
      /home/zhanliang/vcpkg/buildtrees/at-spi2-core/config-x64-linux-dbg-meson-log.txt.log
      /home/zhanliang/vcpkg/buildtrees/at-spi2-core/config-x64-linux-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_meson.cmake:431 (vcpkg_execute_required_process)
  ports/at-spi2-core/portfile.cmake:13 (vcpkg_configure_meson)
  scripts/ports.cmake:147 (include)


error: building at-spi2-core:x64-linux failed with: BUILD_FAILED
Elapsed time to handle at-spi2-core:x64-linux: 1.1 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+at-spi2-core
You can submit a new issue at:
    https://github.com/microsoft/vcpkg/issues/new?title=[at-spi2-core]+Build+error&body=Copy+issue+body+from+%2Fhome%2Fzhanliang%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

config-x64-linux-dbg-out.log

Additional context

No response

@Q3B0 Q3B0 added the category:port-bug The issue is with a library, which is something the port should already support label Jul 30, 2023
@Q3B0 Q3B0 changed the title [<port name>] build failure [opencv4] build failure Jul 30, 2023
@LilyWangLL LilyWangLL self-assigned this Jul 31, 2023
@LilyWangLL LilyWangLL added requires:repro The issue is not currently repro-able and removed category:port-bug The issue is with a library, which is something the port should already support labels Jul 31, 2023
@LilyWangLL
Copy link
Contributor

Thanks for posting this issue. Did you install the following system libraries?

-- at-spi2-core currently requires the following libraries from the system package manager:
    libdbus-1-dev
    libxi-dev
    libxtst-dev

@LilyWangLL
Copy link
Contributor

Thanks for posting this issue. Please reopen this issue if this is still a problem for you.

@LilyWangLL LilyWangLL closed this as not planned Won't fix, can't repro, duplicate, stale Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

2 participants