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

Building package qt5-base:x64-linux failed with: BUILD_FAILED #4804

Closed
IgorAnohin opened this issue Nov 23, 2018 · 10 comments
Closed

Building package qt5-base:x64-linux failed with: BUILD_FAILED #4804

IgorAnohin opened this issue Nov 23, 2018 · 10 comments
Labels
category:port-bug The issue is with a library, which is something the port should already support requires:repro The issue is not currently repro-able

Comments

@IgorAnohin
Copy link

IgorAnohin commented Nov 23, 2018

Hi all!
I was trying to install qt5-base and got the following error:

The following packages will be built and installed:
    qt5-base[core]:x64-linux
Starting package 1/1: qt5-base:x64-linux
Building package qt5-base[core]:x64-linux... 
-- Using cached /home/igor-emlid/Documents/vcpkg/downloads/qtbase-everywhere-src-5.11.2.tar.xz
-- Using source at /home/igor-emlid/Documents/vcpkg/buildtrees/qt5-base/src/5.11.2-86acb4d0f7
-- Configuring x64-linux-dbg
-- Configuring x64-linux-dbg done
-- Configuring x64-linux-rel
-- Configuring x64-linux-rel done
-- Package x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
    Command failed: /usr/bin/make;-j4
    Working Directory: /home/igor-emlid/Documents/vcpkg/buildtrees/qt5-base/x64-linux-dbg
    See logs for more information:
      /home/igor-emlid/Documents/vcpkg/buildtrees/qt5-base/build-x64-linux-dbg-out.log
      /home/igor-emlid/Documents/vcpkg/buildtrees/qt5-base/build-x64-linux-dbg-err.log

Call Stack (most recent call first):
  ports/qt5-base/install_qt.cmake:33 (vcpkg_execute_required_process)
  ports/qt5-base/portfile.cmake:121 (install_qt)
  scripts/ports.cmake:71 (include)


Error: Building package qt5-base:x64-linux 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-linux
  Vcpkg version: 2018.10.20-unknownhash

Logs

build-x64-linux-dbg-err.log
build-x64-linux-dbg-out.log
config-x64-linux-dbg-err.log
config-x64-linux-dbg-out.log
config-x64-linux-rel-err.log
config-x64-linux-rel-out.log

P.s.

Looks like Qt have problem with handleMouseEvent function (build-x64-linux-dbg-err.log).
Does someone have the same situation in Linux?
I don't need exactly Qt5.11. Which commit can I use to get successful build(Qt5.9, 5.10, etc)?

Thanks in advance for any help.

@bawalou
Copy link

bawalou commented Dec 14, 2018

The error doesn't come from handleMouseEvent, this is just a warning. The error comes from the fact that it tries to compile sqlite3.c but it's missing. I was facing the same issue, and realized that in ports/qt5-base/portfile.cmake , the sqlite dependency folder is removed (see line 34).

For me, commenting this line fixed the issue, but I am not sure this is the correct way to fix this.

Hope this helps !

@ghost
Copy link

ghost commented Dec 15, 2018

Confirmed on Debian 9. As was reported here: #4755

Commenting that foreach allows the port to build but doesn't link to the sqlite3 libs it installed as part of the dependencies.

@NancyLi1013 NancyLi1013 added the category:port-bug The issue is with a library, which is something the port should already support label Jan 23, 2019
@JackBoosY
Copy link
Contributor

Hi everyone,
Qt5 has been upgraded to 5.12.3, I can't reproduce this issue on my machine, please update vcpkg, rebuild qt5-base and recheck this issue.

Thanks.

@JackBoosY JackBoosY added the requires:repro The issue is not currently repro-able label Jun 21, 2019
@PhoebeHui
Copy link
Contributor

Looks this issue fixed, please reopen this issue if it still be an problem for you.

@zweistein22
Copy link

config.log
Cannot compile qt 5 on a linux system (ubuntu 18.04 and WSL)
Latest vcpkg etc...
Error is
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):

@zweistein22
Copy link

It also says

ERROR: Feature 'openssl-linked' was enabled, but the pre-condition '!features.securetransport && libs.openssl' failed.

config-x64-linux-dbg-err.log

@JackBoosY
Copy link
Contributor

@Neumann-A Could you have a look? This error seems fixed on your PR.

Thanks.

@Neumann-A
Copy link
Contributor

The original issue was probably closed by the update to 5.12.5 while the new issue should be fix by my PR. (There is another open issue about the openssl issue on linux )

@zweistein-frm2
Copy link

Hello @Neumann-A

with PR do you mean your branch @ https://github.com/Neumann-A/vcpkg/ ?

I tried it also but the same error on qt5-base on linux build as described above (from zweistein22 account)

Any ideas how to proceed? I would just like to habe this qt5 linux with vcpkg. With windows all working fine.

Regards
Andreas

@Neumann-A
Copy link
Contributor

@zweistein-frm2: This one: #9260

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 requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

8 participants