[MacPorts] #53599: qt5-sqlite-plugin: not using the right compiler and thus breaks on libstdc++

MacPorts noreply at macports.org
Sat Feb 18 20:35:22 UTC 2017


#53599: qt5-sqlite-plugin: not using the right compiler and thus breaks on
libstdc++
--------------------+-------------------------------
 Reporter:  mojca   |      Owner:  mcalhoun@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  qt5-sqlite-plugin
--------------------+-------------------------------
 `qt5-sqlite-plugin` is not [[UsingTheRightCompiler]]:
 {{{
 :info:build /opt/local/bin/clang++-mp-4.0 -c -pipe -arch x86_64 -stdlib
 =macports-libstdc++ -O2 -std=c++1z -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
 -mmacosx-version-min=10.7 -fvisibility=hidden -fvisibility-inlines-hidden
 -fno-exceptions -Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV
 -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_CAST_TO_ASCII
 -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE
 -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB
 -I. -isystem /opt/local/include
 -I/opt/local/libexec/qt5/lib/QtSql.framework/Headers/5.6.2
 -I/opt/local/libexec/qt5/lib/QtSql.framework/Headers/5.6.2/QtSql
 -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers/5.6.2
 -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers/5.6.2/QtCore
 -I/opt/local/libexec/qt5/lib/QtSql.framework/Headers
 -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers -I.moc
 -I../../../../mkspecs/macx-clang -F/opt/local/libexec/qt5/lib -o
 .obj/smain.o smain.cpp
 :info:build /opt/local/bin/clang++-mp-4.0 -c -pipe -arch x86_64 -stdlib
 =macports-libstdc++ -O2 -std=c++1z -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
 -mmacosx-version-min=10.7 -fvisibility=hidden -fvisibility-inlines-hidden
 -fno-exceptions -Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV
 -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_CAST_TO_ASCII
 -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE
 -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB
 -I. -isystem /opt/local/include
 -I/opt/local/libexec/qt5/lib/QtSql.framework/Headers/5.6.2
 -I/opt/local/libexec/qt5/lib/QtSql.framework/Headers/5.6.2/QtSql
 -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers/5.6.2
 -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers/5.6.2/QtCore
 -I/opt/local/libexec/qt5/lib/QtSql.framework/Headers
 -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers -I.moc
 -I../../../../mkspecs/macx-clang -F/opt/local/libexec/qt5/lib -o
 .obj/moc_qsql_sqlite_p.o .moc/moc_qsql_sqlite_p.cpp
 :info:build rm -f libqsqlite.dylib
 :info:build
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -headerpad_max_install_names -arch x86_64 -stdlib=macports-libstdc++
 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
 -mmacosx-version-min=10.7 -single_module -dynamiclib -o libqsqlite.dylib
 .obj/smain.o .obj/qsql_sqlite.o .obj/moc_qsql_sqlite_p.o
 -F/opt/local/libexec/qt5/lib -L/opt/local/lib -lsqlite3 -framework QtSql
 -framework QtCore -framework DiskArbitration -framework IOKit
 :info:build clang: error: invalid library name in argument '-stdlib
 =macports-libstdc++'
 :info:build clang: error: invalid library name in argument '-stdlib
 =macports-libstdc++'
 :info:build make: *** [../../../../plugins/sqldrivers/libqsqlite.dylib]
 Error 1
 :info:build make: Leaving directory
 }}}

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


More information about the macports-tickets mailing list