[MacPorts] #59315: qt5-qtbase @5.12.5_3 +openssl: no binary and compilation failure on macos 10.12

MacPorts noreply at macports.org
Mon Oct 14 07:16:17 UTC 2019


#59315: qt5-qtbase @5.12.5_3 +openssl: no binary and compilation failure on macos
10.12
--------------------+----------------------------------
 Reporter:  tenzap  |      Owner:  MarcusCalhoun-Lopez,
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.6.1
 Keywords:  sierra  |       Port:  qt5-qtbase
--------------------+----------------------------------
 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

-- 
Ticket URL: <https://trac.macports.org/ticket/59315>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list