Opened 5 years ago

Closed 5 years ago

#59315 closed defect (fixed)

qt5-qtbase @5.12.5_3 +openssl: no binary and compilation failure on macos 10.12

Reported by: tenzap Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc:
Port: qt5-qtbase

Description

qt5-qtbase is a dependency of a new portfile I added (welle.io)

On one hand the binary is not available On the other hand, compilation from source fails

Log here: https://paste.macports.org/2d3c50a8f02c

Initial PR: https://github.com/macports/macports-ports/pull/5505

/Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -Os -std=c++1y  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=10.12 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Winconsistent-missing-override -Wobjc-interface-ivars -Wobjc-method-access -Wobjc-multiple-method-names -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_ACCESSIBILITY_SUPPORT_LIB -DQT_THEME_SUPPORT_LIB -DQT_FONTDATABASE_SUPPORT_LIB -DQT_GRAPHICS_SUPPORT_LIB -DQT_CLIPBOARD_SUPPORT_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../../include -I../../../../include/QtAccessibilitySupport -I../../../../include/QtAccessibilitySupport/5.12.5 -I../../../../include/QtAccessibilitySupport/5.12.5/QtAccessibilitySupport -I../../../../include/QtThemeSupport -I../../../../include/QtThemeSupport/5.12.5 -I../../../../include/QtThemeSupport/5.12.5/QtThemeSupport -I../../../../include/QtFontDatabaseSupport -I../../../../include/QtFontDatabaseSupport/5.12.5 -I../../../../include/QtFontDatabaseSupport/5.12.5/QtFontDatabaseSupport -I../../../../include/QtGraphicsSupport -I../../../../include/QtGraphicsSupport/5.12.5 -I../../../../include/QtGraphicsSupport/5.12.5/QtGraphicsSupport -I../../../../include/QtPrintSupport/5.12.5 -I../../../../include/QtPrintSupport/5.12.5/QtPrintSupport -I../../../../include/QtWidgets/5.12.5 -I../../../../include/QtWidgets/5.12.5/QtWidgets -I../../../../include/QtGui/5.12.5 -I../../../../include/QtGui/5.12.5/QtGui -I../../../../include/QtClipboardSupport -I../../../../include/QtClipboardSupport/5.12.5 -I../../../../include/QtClipboardSupport/5.12.5/QtClipboardSupport -I../../../../include/QtPrintSupport -I../../../../include/QtWidgets -I../../../../include/QtGui -I../../../../include/QtCore/5.12.5 -I../../../../include/QtCore/5.12.5/QtCore -I../../../../include/QtCore -I.moc -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I../../../../mkspecs/macx-clang -F/opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-src-5.12.5/lib -o .obj/qiosurfacegraphicsbuffer.o qiosurfacegraphicsbuffer.mm
qiosurfacegraphicsbuffer.mm:145:16: error: use of undeclared identifier 'kIOSurfaceSuccess'
    if (ret == kIOSurfaceSuccess)
               ^
qiosurfacegraphicsbuffer.mm:154:16: error: use of undeclared identifier 'kIOSurfaceSuccess'
    if (ret != kIOSurfaceSuccess) {
               ^
qiosurfacegraphicsbuffer.mm:167:72: error: use of undeclared identifier 'kIOSurfaceSuccess'
    bool success = IOSurfaceUnlock(m_surface, lockOptions, nullptr) == kIOSurfaceSuccess;
                                                                       ^
3 errors generated.

There is also a compilation issue (though different) with macos 10.11. See #59314

Attachments (1)

2d3c50a8f02c-xcode8.3.xz (281.9 KB) - added by tenzap 5 years ago.
logs

Download all attachments as: .zip

Change History (6)

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

Cc: MarcusCalhoun-Lopez removed
Keywords: sierra removed
Owner: changed from MarcusCalhoun-Lopez, to MarcusCalhoun-Lopez

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

Likely duplicate of #58378.

Changed 5 years ago by tenzap

Attachment: 2d3c50a8f02c-xcode8.3.xz added

logs

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

The problem seems to be that Xcode 9 is required.
Your options are to:

  • upgrade to Xcode 9
  • downgrade to Qt 5.11

I will try to write a better check in the Portfile.

comment:4 Changed 5 years ago by tenzap

Thank you.

Since this is on the automatic travis build system, I personaly have no hand on that.

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

Resolution: fixed
Status: assignedclosed

In 6581be86b7f12c37494716f381eda37cbe5ff1ab/macports-ports (master):

qt5: require at least Xcode 9

Fixes #59315

Note: See TracTickets for help on using tickets.