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

vcpkg install qt5:x64-windows #5881

Closed
liangshoulong opened this issue Mar 31, 2019 · 5 comments
Closed

vcpkg install qt5:x64-windows #5881

liangshoulong opened this issue Mar 31, 2019 · 5 comments
Labels
requires:repro The issue is not currently repro-able

Comments

@liangshoulong
Copy link

CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
Command failed: PYTHON2-NOTFOUND;D:/src/vcpkg/installed/x64-windows/share/qt5modularscripts/fixcmake.py;qt5-datavis3d
Working Directory: D:/src/vcpkg/buildtrees/qt5-datavis3d/x64-windows-rel/lib/cmake
See logs for more information:

Call Stack (most recent call first):
installed/x64-windows/share/qt5modularscripts/qt_modular_library.cmake:51 (vcpkg_execute_required_process)
ports/qt5-datavis3d/portfile.cmake:5 (qt_modular_library)
scripts/ports.cmake:71 (include)

Error: Building package qt5-datavis3d: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-datavis3d:x64-windows
Vcpkg version: 2018.11.23-nohash

@LilyWangL LilyWangL added the requires:repro The issue is not currently repro-able label Apr 1, 2019
@PhoebeHui
Copy link
Contributor

@liangshoulong, thank you for posting this issue!

I can't reproduce this issue locally, does the issue persist? can you try vcpkg latest revision? and check if python2 download and correctly place at .\downloads\tools\python\python2?

@chen610620
Copy link

I have this error again.
.\vcpkg.exe install qt5:x64-windows-static
this is error info:

Starting package 1/28: qt5-declarative:x64-windows-static
Building package qt5-declarative[core]:x64-windows-static...
-- Using cached E:/github/vcpkg/downloads/qtdeclarative-everywhere-src-5.12.1.tar.xz
-- Using source at E:/github/vcpkg/buildtrees/qt5-declarative/src/5.12.1-1f64885d6f
-- Configuring x64-windows-static-rel
-- Configuring x64-windows-static-rel done
-- Configuring x64-windows-static-dbg
-- Configuring x64-windows-static-dbg done
-- Package makefiles-x64-windows-static-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
    Command failed: E:/github/vcpkg/downloads/tools/jom/jom-1.1.2/jom.exe;qmake_all
    Working Directory: E:/github/vcpkg/buildtrees/qt5-declarative/x64-windows-static-dbg
    Error code: 2
    See logs for more information:
      E:\github\vcpkg\buildtrees\qt5-declarative\package-makefiles-x64-windows-static-dbg-out.log
      E:\github\vcpkg\buildtrees\qt5-declarative\package-makefiles-x64-windows-static-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_qmake.cmake:38 (vcpkg_execute_required_process)
  scripts/cmake/vcpkg_build_qmake.cmake:52 (run_jom)
  installed/x64-windows-static/share/qt5modularscripts/qt_modular_library.cmake:56 (vcpkg_build_qmake)
  installed/x64-windows-static/share/qt5modularscripts/qt_modular_library.cmake:150 (qt_modular_build_library)
  ports/qt5-declarative/portfile.cmake:5 (qt_modular_library)
  scripts/ports.cmake:71 (include)


Error: Building package qt5-declarative:x64-windows-static 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-declarative:x64-windows-static
  Vcpkg version: 2018.11.23-nohash

I hava the last version of vcpkg.
vcpkg commit id : 6f0923ae93d28287d21219c57a6c8cd3e249bdd4
In the $(vcpkgPath)\buildtrees\qt5-declarative\package-makefiles-x64-windows-static-dbg-err.log file. the error msg:

jom 1.1.2 - empower your cores

'E:\github\vcpkg\buildtrees\qt5-declarative\x64-windows-static-dbg\bin\qmlimportscanner.exe' is not recognized as an internal or external command,
operable program or batch file.
'E:\github\vcpkg\buildtrees\qt5-declarative\x64-windows-static-dbg\bin\qmlimportscanner.exe' is not recognized as an internal or external command,
operable program or batch file.
E:/github/vcpkg/installed/x64-windows-static/share/qt5/debug/mkspecs/features/qt.prf:299: Error parsing JSON at 1:1: illegal value
Project ERROR: Failed to parse qmlimportscanner output.
E:/github/vcpkg/installed/x64-windows-static/share/qt5/debug/mkspecs/features/qt.prf:299: Error parsing JSON at 1:1: illegal value
Project ERROR: Failed to parse qmlimportscanner output.
jom: E:\github\vcpkg\buildtrees\qt5-declarative\x64-windows-static-dbg\tools\Makefile [sub-qml-qmake_all] Error 3
jom: E:\github\vcpkg\buildtrees\qt5-declarative\x64-windows-static-dbg\tools\Makefile [sub-qmleasing-qmake_all] Error 3
jom: E:\github\vcpkg\buildtrees\qt5-declarative\x64-windows-static-dbg\Makefile [sub-tools-qmake_all] Error 2

the directory of $(vcpkgPath)\buildtrees\qt5-declarative\x64-windows-static-dbg\bin is empty.

@JackBoosY
Copy link
Contributor

Hi @liangshoulong @chen610620, thanks for reporting this issue.
Since qt has been upgrade to 5.12.4, we fixed this issue. Please update vcpkg and rebuild qt5.

Thanks.

@Playerfff
Copy link

no, it merged again on my PC. qt5 version is 5.15.11 and my vcpkg is downloaded just now. while i am using the command: ./vcpkg install qt5:x64-windows-static

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

7 participants
@liangshoulong @chen610620 @PhoebeHui @JackBoosY @LilyWangL @Playerfff and others