All KDE ports need a major revbump, due to recent changes to qt4-mac
René J. V. Bertin
rjvbertin at gmail.com
Fri Oct 30 09:37:52 PDT 2015
René J. V. Bertin wrote:
> Michael Dickens wrote:
>
>> The error you show below with qtscriptgenerator is because it does not
>> find phonon
>
> Are you sure? When I remove the typesystem_phonon line from generator.qrc and
> rebuild I still get the same error.
In fact, I think the issue on my end goes beyond phonon:
%> (cd `port work qtscriptgenerator`/qtscript*/qtbindings ; wmake --MP -k)
cd qtscript_core/ && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
Makefile
make[1]: Nothing to be done for `first'.
cd qtscript_gui/ && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
Makefile
make[1]: *** No rule to make target
`../../generated_cpp/com_trolltech_qt_gui/plugin.cpp', needed by `plugin.o'.
make[1]: Target `first' not remade because of errors.
make: *** [sub-qtscript_gui-make_default] Error 2
cd qtscript_network/ && /Applications/Xcode.app/Contents/Developer/usr/bin/make
-f Makefile
make[1]: *** No rule to make target
`../../generated_cpp/com_trolltech_qt_network/plugin.cpp', needed by `plugin.o'.
make[1]: Target `first' not remade because of errors.
make: *** [sub-qtscript_network-make_default] Error 2
cd qtscript_opengl/ && /Applications/Xcode.app/Contents/Developer/usr/bin/make -
f Makefile
make[1]: *** No rule to make target
`../../generated_cpp/com_trolltech_qt_opengl/plugin.cpp', needed by `plugin.o'.
make[1]: Target `first' not remade because of errors.
make: *** [sub-qtscript_opengl-make_default] Error 2
cd qtscript_sql/ && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
Makefile
make[1]: *** No rule to make target
`../../generated_cpp/com_trolltech_qt_sql/plugin.cpp', needed by `plugin.o'.
make[1]: Target `first' not remade because of errors.
make: *** [sub-qtscript_sql-make_default] Error 2
cd qtscript_svg/ && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
Makefile
make[1]: *** No rule to make target
`../../generated_cpp/com_trolltech_qt_svg/plugin.cpp', needed by `plugin.o'.
make[1]: Target `first' not remade because of errors.
make: *** [sub-qtscript_svg-make_default] Error 2
cd qtscript_xml/ && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
Makefile
make[1]: *** No rule to make target
`../../generated_cpp/com_trolltech_qt_xml/plugin.cpp', needed by `plugin.o'.
make[1]: Target `first' not remade because of errors.
make: *** [sub-qtscript_xml-make_default] Error 2
cd qtscript_phonon/ && /Applications/Xcode.app/Contents/Developer/usr/bin/make -
f Makefile
make[1]: *** No rule to make target
`../../generated_cpp/com_trolltech_qt_phonon/plugin.cpp', needed by `plugin.o'.
make[1]: Target `first' not remade because of errors.
make: *** [sub-qtscript_phonon-make_default] Error 2
cd qtscript_webkit/ && /Applications/Xcode.app/Contents/Developer/usr/bin/make -
f Makefile
make[1]: *** No rule to make target
`../../generated_cpp/com_trolltech_qt_webkit/plugin.cpp', needed by `plugin.o'.
make[1]: Target `first' not remade because of errors.
make: *** [sub-qtscript_webkit-make_default] Error 2
cd qtscript_xmlpatterns/ &&
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
make[1]: *** No rule to make target
`../../generated_cpp/com_trolltech_qt_xmlpatterns/plugin.cpp', needed by
`plugin.o'.
make[1]: Target `first' not remade because of errors.
make: *** [sub-qtscript_xmlpatterns-make_default] Error 2
cd qtscript_uitools/ && /Applications/Xcode.app/Contents/Developer/usr/bin/make
-f Makefile
make[1]: *** No rule to make target
`../../generated_cpp/com_trolltech_qt_uitools/plugin.cpp', needed by `plugin.o'.
make[1]: Target `first' not remade because of errors.
make: *** [sub-qtscript_uitools-make_default] Error 2
(`wmake` is a wrapper for make that sets the environment like `port` does when
invoked with `--MP`)
For me, the issue appears to be that the qtsg build system expects to find the
Qt headers in ${prefix}/libexec/qt4/include/QtFoo.framework/Headers , which is
to me suggests that it has an issue with a frameworks build. When I populate
that include directory with symlinks to the frameworks, the build goes further,
but aborts with errors like
Undefined symbols for architecture x86_64:
"qtscript_initialize_com_trolltech_qt_opengl_bindings(QScriptValue&)",
referenced from:
com_trolltech_qt_opengl_ScriptPlugin::initialize(QString const&,
QScriptEngine*) in plugin.o
ld: symbol(s) not found for architecture x86_64
More information about the macports-dev
mailing list