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

[qt5-base] build failure #10801

Closed
indianakernick opened this issue Apr 13, 2020 · 3 comments
Closed

[qt5-base] build failure #10801

indianakernick opened this issue Apr 13, 2020 · 3 comments
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@indianakernick
Copy link

indianakernick commented Apr 13, 2020

Host Environment

  • OS: Windows 10
  • Compiler: Microsoft (R) C/C++ Optimizing Compiler Version 19.25.28612 for x64

To Reproduce
Steps to reproduce the behavior:
./vcpkg install qt5-base[latest]:x64-windows

Failure logs

Building package qt5-base[core,latest]:x64-windows...
-- Figuring out qt target mkspec. Target arch x64
-- Target mkspec set to: win32-msvc
-- Host mkspec not set. Qt's own buildsystem will try to figure out the host system
-- Downloading http://download.qt.io/official_releases/qt/5.13/5.13.1/submodules/qtbase-everywhere-src-5.13.1.tar.xz...
-- Extracting source C:/src/vcpkg/downloads/qtbase-everywhere-src-5.13.1.tar.xz
-- Applying patch patches/winmain_pro.patch
-- Applying patch patches/windows_prf.patch
-- Applying patch patches/qt_app.patch
-- Applying patch patches/gui_configure.patch
-- Applying patch patches/icu.patch
-- Applying patch patches/Qt5BasicConfig.patch
CMake Error at scripts/cmake/vcpkg_apply_patches.cmake:51 (message):
  Applying patch failed.  Checking patch
  mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in...

  Hunk #1 succeeded at 124 (offset 71 lines).

  error: while searching for:

      )



  !!IF !isEmpty(CMAKE_WINDOWS_BUILD)

  !!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)

      set(imported_implib \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")

  !!ELSE

      set(imported_implib \"IMPORTED_IMPLIB_${Configuration}\" \"$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")

  !!ENDIF



  error: patch failed: mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in:69

  error: mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in: patch does not
  apply

Call Stack (most recent call first):
  scripts/cmake/vcpkg_extract_source_archive_ex.cmake:134 (vcpkg_apply_patches)
  ports/qt5-base/cmake/qt_download_submodule.cmake:32 (vcpkg_extract_source_archive_ex)
  ports/qt5-base/portfile.cmake:35 (qt_download_submodule)
  scripts/ports.cmake:90 (include)


Error: Building package qt5-base:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: qt5-base:x64-windows
  Vcpkg version: 2020.02.04-nohash

Additionally, attach any relevant sections from the log files above.

Additional context
I know this isn't really "context" but I asked for the [latest] version and got 5.13.1. Did I do something wrong? I was expecting 5.14.2 because that's the latest version of Qt.

I noticed that a substantial change was recently made to the qt5-base port. Could that have introduced the problem I'm having?

@indianakernick indianakernick added the category:port-bug The issue is with a library, which is something the port should already support label Apr 13, 2020
@indianakernick indianakernick changed the title [q5-base] build failure [qt5-base] build failure Apr 13, 2020
@JackBoosY
Copy link
Contributor

Confirmed, @Neumann-A could you please fix this issue?

Thanks.

@Neumann-A
Copy link
Contributor

@JackBoosY: #9705 (comment) -> TL;DR merge #10644

@Kerndog73: If you want Qt 5.14.2 go for #10644

@Neumann-A
Copy link
Contributor

@JackBoosY: should be closed since #10644 is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

No branches or pull requests

3 participants