Opened 8 years ago

Closed 8 years ago

#52645 closed defect (duplicate)

qt5-qtbase build problem

Reported by: cederom (CeDeROM) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mkae (Marko Käning)
Port: qt5-qtbase

Description

Fresh MacPorts, for some time QT5 (also the QT4) build fails leaving lots of unmet dependencies, clean does not help, selfupdate does not help..

Version: 2.3.4

port install qt5
--->  Computing dependencies for qt5
--->  Fetching archive for qt5
--->  Attempting to fetch qt5-5.6.1_0.darwin_16.noarch.tbz2 from https://packages.macports.org/qt5
--->  Attempting to fetch qt5-5.6.1_0.darwin_16.noarch.tbz2.rmd160 from https://packages.macports.org/qt5
--->  Installing qt5 @5.6.1_0
--->  Activating qt5 @5.6.1_0
--->  Cleaning qt5
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  Found 9 broken file(s), matching files to ports
--->  Found 4 broken port(s), determining rebuild order
--->  Rebuilding in order
     qt5-qtbase @5.6.1
     python34 @3.4.5
     botan @1.10.9
     qt4-mac @4.8.7
--->  Computing dependencies for qt5-qtbase
--->  Cleaning qt5-qtbase
--->  Computing dependencies for python34
--->  Cleaning python34
--->  Computing dependencies for botan
--->  Cleaning botan
--->  Computing dependencies for qt4-mac
--->  Cleaning qt4-mac
--->  Scanning binaries for linking errors
--->  Found 9 broken file(s), matching files to ports
--->  Found 4 broken port(s), determining rebuild order
--->  Rebuilding in order
     qt5-qtbase @5.6.1
     python34 @3.4.5
     botan @1.10.9
     qt4-mac @4.8.7
--->  Computing dependencies for qt5-qtbase
--->  Fetching distfiles for qt5-qtbase
Warning: OS X subsequent to 10.10 (Yosemite) is not a Reference Configuration for Qt.
Warning: See http://doc.qt.io/qt-5/supported-platforms.html#reference-configurations
--->  Verifying checksums for qt5-qtbase
--->  Extracting qt5-qtbase
--->  Applying patches to qt5-qtbase
--->  Configuring qt5-qtbase
--->  Building qt5-qtbase
Error: org.macports.build for port qt5-qtbase returned: command execution failed
Please see the log file for port qt5-qtbase for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtbase/main.log
Error: Unable to upgrade port: 1
Error rebuilding qt5-qtbase
    while executing
"error "Error rebuilding $portname""
    (procedure "revupgrade_scanandrebuild" line 395)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    (procedure "macports::revupgrade" line 5)
    invoked from within
"macports::revupgrade $opts"
    (procedure "action_revupgrade" line 2)
    invoked from within
"action_revupgrade $action $portlist $opts"
    (procedure "action_target" line 96)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 103)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 5268)

Attachments (1)

main.log (1.9 MB) - added by cederom (CeDeROM) 8 years ago.

Download all attachments as: .zip

Change History (10)

Changed 8 years ago by cederom (CeDeROM)

Attachment: main.log added

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Priority: HighNormal

The Priority field is for use by Macports team members only.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Keywords: QT QT5 removed
Owner: changed from macports-tickets@… to mcalhoun@…
Port: qt5-qtbase added; qt5-base removed

In the future, please Cc the port maintainers (port info --maintainers qt5-qtbase), if any.

comment:3 Changed 8 years ago by cederom (CeDeROM)

Cc: cederom@… added

Cc Me!

comment:4 Changed 8 years ago by cederom (CeDeROM)

Sorry I am new to MacPorts Trac. However, used FreeBSD for years, even created some ports myself :-)

How can I edit my request?

  1. Title should be QT5 build problems.
  2. Maintainers are: mcalhoun and openmaintainer at macports.org.

In general I have no QT5 nor QT4 at the moment. This sux :-(

comment:5 Changed 8 years ago by mf2k (Frank Schima)

Cc: cederom@… removed
Summary: qt5-base build problem in 2.3.4qt5-qtbase build problem

Unfortunately, the reporter currently cannot edit tickets.

I had already assigned the ticket to the maintainer. openmaintainer is not a real person and is not Cc'ed. As reporter, you do not need to Cc yourself.

I have modified the summary to correct the Port name that is failing.

comment:6 Changed 8 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:7 Changed 8 years ago by mkae (Marko Käning)

Version: 2.3.4

comment:8 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Are you by chance using libressl?

info:build ssl/qsslcontext_openssl.cpp:349:33: error: use of undeclared identifier 'SSL_CTRL_SET_CURVES'
:info:build                                 SSL_CTRL_SET_CURVES,
:info:build                                 ^
:info:build 1 error generated.
:info:build make[2]: *** [.obj/qsslcontext_openssl.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....

If so, Qt does not support it.
The same error can be found in #51358.
There was talk of creating a backend to support libressl, but I can not find any current information about it.
Gentoo apparently has patches to make Qt work with libressl, but I am not sure we want to support something that upstream has rejected.

comment:9 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: duplicate
Status: newclosed

Email verification that is the same issue as #51358.
Closing as duplicate.

Note: See TracTickets for help on using tickets.