Opened 14 years ago

Closed 5 years ago

#22563 closed defect (fixed)

psi build failure on 10.6 64-bit

Reported by: bayonne Owned by: rowue@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: michaelld (Michael Dickens), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: psi

Description (last modified by jmroot (Joshua Root))

Tried to install psi-otr on OS 10.6.2:

Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_psi/work/psi-0.13"
&& /usr/bin/make -j2 all " returned error 2
Command output:                  from
tools/globalshortcut/globalshortcutmanager.h:24,
                 from tools/globalshortcut/globalshortcutmanager_mac.cpp:21:
/opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:315:6: warning:
#warning "Support for this version of Mac OS X is still preliminary"
/opt/local/libexec/qt4-mac/bin/moc -DQT_STATICPLUGIN -DQCA_NO_PLUGINS
-DOSSL_097 -DHAVE_OPENSSL -DHAVE_CONFIG -DUSE_PEP -DTC_ITUNES
-DTC_PSIFILE -DQCA_STATIC -DIRIS_XMPP_JID_DEPRECATED -DUSE_DBUS
-DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DIRISNET_STATIC -DQT_SHARED
-I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I.
-I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/QtCore
-I/opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/QtNetwork
-I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/QtGui
-I/opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/QtXml
-I/opt/local/libexec/qt4-mac/lib/Qt3Support.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/Qt3Support
-I/opt/local/libexec/qt4-mac/include
-I/opt/local/libexec/qt4-mac/lib/QtDBus.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/QtDBus -Iprivacy -Icapabilities
-Iutilities -I. -Itabs -I. -Itools/trayicon -Itools/iconset -Itools/idle
-Itools/systemwatch -Itools/zip -Itools/optionstree
-Itools/globalshortcut -Itools/advwidget -Itools/spellchecker
-Itools/contactlist -Itools/grepshortcutkeydlg -Itools/atomicxmlfile
-Itools/mac_dock -Itools/tunecontroller
-Itools/tunecontroller/plugins/itunes
-Itools/tunecontroller/plugins/psifile -I.
-I../third-party/qca/qca/include/QtCrypto
-I../third-party/qca/qca-gnupg/gpgproc -I../third-party/qca/qca-gnupg
-Iwidgets -I../iris/include -I../iris/include/iris -I../iris/src -I.
-Ioptions -I. -I.moc -I.ui -F/opt/local/libexec/qt4-mac/lib -D__APPLE__
-D__GNUC__ tools/advwidget/advwidget.cpp -o .moc/advwidget.moc
/usr/bin/g++-4.2 -c -pipe -Os -arch x86_64 -Xarch_x86_64
-mmacosx-version-min=10.5 -Wall -W -DQT_STATICPLUGIN -DQCA_NO_PLUGINS
-DOSSL_097 -DHAVE_OPENSSL -DHAVE_CONFIG -DUSE_PEP -DTC_ITUNES
-DTC_PSIFILE -DQCA_STATIC -DIRIS_XMPP_JID_DEPRECATED -DUSE_DBUS
-DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DIRISNET_STATIC -DQT_SHARED
-I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I.
-I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/QtCore
-I/opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/QtNetwork
-I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/QtGui
-I/opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/QtXml
-I/opt/local/libexec/qt4-mac/lib/Qt3Support.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/Qt3Support
-I/opt/local/libexec/qt4-mac/include
-I/opt/local/libexec/qt4-mac/lib/QtDBus.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/QtDBus -Iprivacy -Icapabilities
-Iutilities -I. -Itabs -I. -Itools/trayicon -Itools/iconset -Itools/idle
-Itools/systemwatch -Itools/zip -Itools/optionstree
-Itools/globalshortcut -Itools/advwidget -Itools/spellchecker
-Itools/contactlist -Itools/grepshortcutkeydlg -Itools/atomicxmlfile
-Itools/mac_dock -Itools/tunecontroller
-Itools/tunecontroller/plugins/itunes
-Itools/tunecontroller/plugins/psifile -I.
-I../third-party/qca/qca/include/QtCrypto
-I../third-party/qca/qca-gnupg/gpgproc -I../third-party/qca/qca-gnupg
-Iwidgets -I../iris/include -I../iris/include/iris -I../iris/src -I.
-Ioptions -I. -I.moc -I.ui -F/opt/local/libexec/qt4-mac/lib -o
.obj/spellchecker.o tools/spellchecker/spellchecker.cpp
In file included from
/opt/local/libexec/qt4-mac/include/QtCore/qnamespace.h:45,
                 from
/opt/local/libexec/qt4-mac/include/QtCore/qobjectdefs.h:45,
                 from
/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers/qobject.h:47,
                 from
/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers/QObject:1,
                 from tools/spellchecker/spellchecker.h:30,
                 from tools/spellchecker/spellchecker.cpp:27:
/opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:315:6: warning:
#warning "Support for this version of Mac OS X is still preliminary"
/usr/bin/g++-4.2 -c -pipe -Os -arch x86_64 -Xarch_x86_64
-mmacosx-version-min=10.5 -Wall -W -DQT_STATICPLUGIN -DQCA_NO_PLUGINS
-DOSSL_097 -DHAVE_OPENSSL -DHAVE_CONFIG -DUSE_PEP -DTC_ITUNES
-DTC_PSIFILE -DQCA_STATIC -DIRIS_XMPP_JID_DEPRECATED -DUSE_DBUS
-DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DIRISNET_STATIC -DQT_SHARED
-I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I.
-I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/QtCore
-I/opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/QtNetwork
-I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/QtGui
-I/opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/QtXml
-I/opt/local/libexec/qt4-mac/lib/Qt3Support.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/Qt3Support
-I/opt/local/libexec/qt4-mac/include
-I/opt/local/libexec/qt4-mac/lib/QtDBus.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include/QtDBus -Iprivacy -Icapabilities
-Iutilities -I. -Itabs -I. -Itools/trayicon -Itools/iconset -Itools/idle
-Itools/systemwatch -Itools/zip -Itools/optionstree
-Itools/globalshortcut -Itools/advwidget -Itools/spellchecker
-Itools/contactlist -Itools/grepshortcutkeydlg -Itools/atomicxmlfile
-Itools/mac_dock -Itools/tunecontroller
-Itools/tunecontroller/plugins/itunes
-Itools/tunecontroller/plugins/psifile -I.
-I../third-party/qca/qca/include/QtCrypto
-I../third-party/qca/qca-gnupg/gpgproc -I../third-party/qca/qca-gnupg
-Iwidgets -I../iris/include -I../iris/include/iris -I../iris/src -I.
-Ioptions -I. -I.moc -I.ui -F/opt/local/libexec/qt4-mac/lib -o
.obj/spellhighlighter.o tools/spellchecker/spellhighlighter.cpp
In file included from
/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers/qsyntaxhighlighter.h:45,
                 from
/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers/QSyntaxHighlighter:1,
                 from tools/spellchecker/spellhighlighter.h:4,
                 from tools/spellchecker/spellhighlighter.cpp:1:
/opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:315:6: warning:
#warning "Support for this version of Mac OS X is still preliminary"
tools/globalshortcut/globalshortcutmanager_mac.cpp: In static member
function 'static OSStatus
MacKeyTriggerManager::initAscii2KeyCodeTable(MacKeyTriggerManager::Ascii2KeyCodeTable*)':
tools/globalshortcut/globalshortcutmanager_mac.cpp:130: error:
'smScriptKeys' was not declared in this scope
tools/globalshortcut/globalshortcutmanager_mac.cpp:130: error:
'GetScriptVariable' was not declared in this scope
tools/globalshortcut/globalshortcutmanager_mac.cpp: In static member
function 'static OSStatus
MacKeyTriggerManager::validateAscii2KeyCodeTable(MacKeyTriggerManager::Ascii2KeyCodeTable*,
Boolean*)':
tools/globalshortcut/globalshortcutmanager_mac.cpp:168: error:
'smScriptKeys' was not declared in this scope
tools/globalshortcut/globalshortcutmanager_mac.cpp:168: error:
'GetScriptVariable' was not declared in this scope
tools/globalshortcut/globalshortcutmanager_mac.cpp: In static member
function 'static char MacKeyTriggerManager::keyCodeToAscii(short int)':
tools/globalshortcut/globalshortcutmanager_mac.cpp:202: error:
'GetScriptVariable' was not declared in this scope
tools/globalshortcut/globalshortcutmanager_mac.cpp:203: error:
'KeyTranslate' was not declared in this scope
make[1]: *** [.obj/globalshortcutmanager_mac.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [sub-src-all] Error 2

Error: The following dependencies failed to build: psi
Error: Status 1 encountered during processing.

Change History (18)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to rowue@…

Please remember to preview and use WikiFormatting, and to cc the maintainer.

comment:2 Changed 14 years ago by rowue@…

If I read:

/opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:315:6: warning: #warning "Support for this version of Mac OS X is still preliminary"

I'm quit not shure if this is an error regarding to psi or to qt4-mac

However: I'm only to check out on 10.4 and 10.5 at this time - It will take some time to get some PC with 10.6 and check out there.

comment:3 Changed 14 years ago by rowue@…

Port: psi added; psi-otr removed
Status: newassigned

Besides this:

To install psi-otr you should install psi +plugins first.

comment:4 Changed 14 years ago by rowue@…

I've updated psi to 0.14 tonight. May you try an other build. But remember:

  • First do "sudo port selfupdate" - to get the new files
  • Than do "sudo port install psi +plugins"
  • if this works: do "sudo port install psi-otr"

Kind regs,

rowue

comment:5 in reply to:  4 Changed 14 years ago by bayonne

'psi +plugins' does not build at my end. MacPorts 1.8.2, qt4-mac 4.5.3_1, psi 0.14

--->  Computing dependencies for psi
--->  Fetching psi
--->  Verifying checksum(s) for psi
--->  Extracting psi
--->  Applying patches to psi
--->  Configuring psi
--->  Building psi
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_psi/work/psi-0.14" && /usr/bin/make -j2 all " returned error 2
Command output:                  from libpsi/tools/globalshortcut/globalshortcutmanager.h:24,
                 from libpsi/tools/globalshortcut/globalshortcutmanager_mac.cpp:21:
/opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:315:6: warning: #warning "Support for this version of Mac OS X is still preliminary"
/opt/local/libexec/qt4-mac/bin/moc -DQT_STATICPLUGIN -DQT3_SUPPORT_WARNINGS -DQCA_NO_PLUGINS -DOSSL_097 -DHAVE_OPENSSL -DHAVE_CONFIG -DPSI_PLUGINS -DUSE_PEP -DTC_ITUNES -DTC_PSIFILE -DQCA_STATIC -DIRIS_XMPP_JID_DEPRECATED -DPSI_PLUGINS -DUSE_DBUS -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DIRISNET_STATIC -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/lib/Qt3Support.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/Qt3Support -I/opt/local/libexec/qt4-mac/include -I/opt/local/libexec/qt4-mac/lib/QtDBus.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtDBus -Iprivacy -Icapabilities -Iutilities -I. -Itabs -I. -Itools/iconset -Ilibpsi/tools/idle -Ilibpsi/tools/systemwatch -Ilibpsi/tools/zip -Itools/optionstree -Ilibpsi/tools/globalshortcut -Itools/advwidget -Ilibpsi/tools/spellchecker -Ilibpsi/dialogs -Ilibpsi/tools/atomicxmlfile -Ilibpsi/tools/simplecli -Ilibpsi/tools/mac_dock -Itools/tunecontroller -Itools/tunecontroller/plugins/itunes -Itools/tunecontroller/plugins/psifile -I. -I../third-party/qca/qca/include/QtCrypto -I../third-party/qca/qca-gnupg/gpgproc -I../third-party/qca/qca-gnupg -Iwidgets -I../iris/include -I../iris/include/iris -I../iris/src -I. -Ioptions -Iplugins/include -I. -I.moc -I.ui -F/opt/local/libexec/qt4-mac/lib -D__APPLE__ -D__GNUC__ tools/advwidget/advwidget.cpp -o .moc/advwidget.moc
/usr/bin/g++-4.2 -c -pipe -Os -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_STATICPLUGIN -DQT3_SUPPORT_WARNINGS -DQCA_NO_PLUGINS -DOSSL_097 -DHAVE_OPENSSL -DHAVE_CONFIG -DPSI_PLUGINS -DUSE_PEP -DTC_ITUNES -DTC_PSIFILE -DQCA_STATIC -DIRIS_XMPP_JID_DEPRECATED -DPSI_PLUGINS -DUSE_DBUS -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DIRISNET_STATIC -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/lib/Qt3Support.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/Qt3Support -I/opt/local/libexec/qt4-mac/include -I/opt/local/libexec/qt4-mac/lib/QtDBus.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtDBus -Iprivacy -Icapabilities -Iutilities -I. -Itabs -I. -Itools/iconset -Ilibpsi/tools/idle -Ilibpsi/tools/systemwatch -Ilibpsi/tools/zip -Itools/optionstree -Ilibpsi/tools/globalshortcut -Itools/advwidget -Ilibpsi/tools/spellchecker -Ilibpsi/dialogs -Ilibpsi/tools/atomicxmlfile -Ilibpsi/tools/simplecli -Ilibpsi/tools/mac_dock -Itools/tunecontroller -Itools/tunecontroller/plugins/itunes -Itools/tunecontroller/plugins/psifile -I. -I../third-party/qca/qca/include/QtCrypto -I../third-party/qca/qca-gnupg/gpgproc -I../third-party/qca/qca-gnupg -Iwidgets -I../iris/include -I../iris/include/iris -I../iris/src -I. -Ioptions -Iplugins/include -I. -I.moc -I.ui -F/opt/local/libexec/qt4-mac/lib -o .obj/spellchecker.o libpsi/tools/spellchecker/spellchecker.cpp
In file included from /opt/local/libexec/qt4-mac/include/QtCore/qnamespace.h:45,
                 from /opt/local/libexec/qt4-mac/include/QtCore/qobjectdefs.h:45,
                 from /opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers/qobject.h:47,
                 from /opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers/QObject:1,
                 from libpsi/tools/spellchecker/spellchecker.h:30,
                 from libpsi/tools/spellchecker/spellchecker.cpp:27:
/opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:315:6: warning: #warning "Support for this version of Mac OS X is still preliminary"
libpsi/tools/globalshortcut/globalshortcutmanager_mac.cpp: In static member function 'static OSStatus MacKeyTriggerManager::initAscii2KeyCodeTable(MacKeyTriggerManager::Ascii2KeyCodeTable*)':
libpsi/tools/globalshortcut/globalshortcutmanager_mac.cpp:130: error: 'smScriptKeys' was not declared in this scope
libpsi/tools/globalshortcut/globalshortcutmanager_mac.cpp:130: error: 'GetScriptVariable' was not declared in this scope
libpsi/tools/globalshortcut/globalshortcutmanager_mac.cpp: In static member function 'static OSStatus MacKeyTriggerManager::validateAscii2KeyCodeTable(MacKeyTriggerManager::Ascii2KeyCodeTable*, Boolean*)':
libpsi/tools/globalshortcut/globalshortcutmanager_mac.cpp:168: error: 'smScriptKeys' was not declared in this scope
libpsi/tools/globalshortcut/globalshortcutmanager_mac.cpp:168: error: 'GetScriptVariable' was not declared in this scope
libpsi/tools/globalshortcut/globalshortcutmanager_mac.cpp: In static member function 'static char MacKeyTriggerManager::keyCodeToAscii(short int)':
libpsi/tools/globalshortcut/globalshortcutmanager_mac.cpp:202: error: 'GetScriptVariable' was not declared in this scope
libpsi/tools/globalshortcut/globalshortcutmanager_mac.cpp:203: error: 'KeyTranslate' was not declared in this scope
/usr/bin/g++-4.2 -c -pipe -Os -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_STATICPLUGIN -DQT3_SUPPORT_WARNINGS -DQCA_NO_PLUGINS -DOSSL_097 -DHAVE_OPENSSL -DHAVE_CONFIG -DPSI_PLUGINS -DUSE_PEP -DTC_ITUNES -DTC_PSIFILE -DQCA_STATIC -DIRIS_XMPP_JID_DEPRECATED -DPSI_PLUGINS -DUSE_DBUS -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DIRISNET_STATIC -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/lib/Qt3Support.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/Qt3Support -I/opt/local/libexec/qt4-mac/include -I/opt/local/libexec/qt4-mac/lib/QtDBus.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtDBus -Iprivacy -Icapabilities -Iutilities -I. -Itabs -I. -Itools/iconset -Ilibpsi/tools/idle -Ilibpsi/tools/systemwatch -Ilibpsi/tools/zip -Itools/optionstree -Ilibpsi/tools/globalshortcut -Itools/advwidget -Ilibpsi/tools/spellchecker -Ilibpsi/dialogs -Ilibpsi/tools/atomicxmlfile -Ilibpsi/tools/simplecli -Ilibpsi/tools/mac_dock -Itools/tunecontroller -Itools/tunecontroller/plugins/itunes -Itools/tunecontroller/plugins/psifile -I. -I../third-party/qca/qca/include/QtCrypto -I../third-party/qca/qca-gnupg/gpgproc -I../third-party/qca/qca-gnupg -Iwidgets -I../iris/include -I../iris/include/iris -I../iris/src -I. -Ioptions -Iplugins/include -I. -I.moc -I.ui -F/opt/local/libexec/qt4-mac/lib -o .obj/spellhighlighter.o libpsi/tools/spellchecker/spellhighlighter.cpp
make[1]: *** [.obj/globalshortcutmanager_mac.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers/qsyntaxhighlighter.h:45,
                 from /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers/QSyntaxHighlighter:1,
                 from libpsi/tools/spellchecker/spellhighlighter.h:4,
                 from libpsi/tools/spellchecker/spellhighlighter.cpp:1:
/opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:315:6: warning: #warning "Support for this version of Mac OS X is still preliminary"
make: *** [sub-src-all] Error 2

Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.
 

comment:6 in reply to:  4 Changed 14 years ago by bayonne

Replying to rowue@…:

I've updated psi to 0.14 tonight. May you try an other build. But remember:

  • First do "sudo port selfupdate" - to get the new files
  • Than do "sudo port install psi +plugins"

Failed against qt4-mac @4.6.1_0 (february 08) See log: http://drop.io/hidden/8o3tdlphwdlini/asset/YnVpbGQtcHNpLTIwMTAwMjA4LWxvZy1iejI%253D

comment:7 in reply to:  4 Changed 14 years ago by bayonne

Replying to rowue@…:

I've updated psi to 0.14 tonight. May you try an other build. But remember:

  • First do "sudo port selfupdate" - to get the new files
  • Than do "sudo port install psi +plugins"

Log for latest attempt (on OS 10.6.3, qt4-mac 4.6.2_1): http://drop.io/hidden/8o3tdlphwdlini/asset/YnVpbGQtcHNpLTIwMTAwNDA0LWxvZy1iejI%253D

comment:8 Changed 14 years ago by michaelld (Michael Dickens)

Cc: michaelld@… added

Cc Me!

comment:9 Changed 14 years ago by michaelld (Michael Dickens)

Have you (the OP) tried this recently? qt4-mac has been updated to 4.6.3 & maybe some other ports have also changed. I just tried installing psi with current qt4-mac & qca and it works for me (with or without +externalqca). Here's what I'd recommend you do:

sudo port clean psi
sudo port selfupdate
sudo port upgrade qt4-mac

then go away for a few hours while 'port' does it's thing. Once the above is finished, do:

sudo port -d install psi +plugins 2>&1 | tee ~/Desktop/psi_debug_out.txt

and then if it fails can you please post the created file & it might give us more info to go on? If it's still broken I'm thinking the issue might be a header conflict.

comment:10 in reply to:  9 Changed 14 years ago by bayonne

Replying to michaelld@…:

Have you (the OP) tried this recently? qt4-mac has been updated to 4.6.3 & maybe some other ports have also changed. I just tried installing psi with current qt4-mac & qca and it works for me (with or without +externalqca). Here's what I'd recommend you do:

Tried with qt4_mac 4.6.3_5 (OS 10.6.4). It fails. A debug log is here:

http://drop.io/hidden/8o3tdlphwdlini/asset/YnVpbGQtcHNpLWRlYnVnLTIwMTAwODExLWxvZy1iejI%3D

comment:11 Changed 14 years ago by michaelld (Michael Dickens)

Hmm ... I think this is might be a 10.6 issue; it works fine for me on 10.5 (I'm not running 10.6 yet). "smCurrentScript" comes from

/System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Versions/A/Headers/Script.h
:44:  smCurrentScript               = -2,   /* designates current font script.*/

which is included indirectly via <Carbon/Carbon.h>, which is included directly in "psi-0.14/src/libpsi/tools/globalshortcut/globalshortcutmanager_mac.cpp", which is where the errors you're encountering are coming from.

Can you do:

grep -nr smCurrentScript /System/Library/Frameworks

and see what headers it comes up with (if any)?

comment:12 in reply to:  11 Changed 14 years ago by bayonne

Replying to michaelld@…:

Hmm ... I think this is might be a 10.6 issue; it works fine for me on 10.5 (I'm not running 10.6 yet). "smCurrentScript" comes from

Can you do:

grep -nr smCurrentScript /System/Library/Frameworks

and see what headers it comes up with (if any)?

grep results:

/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h:44:  smCurrentScript               = -2,   /* designates current font script.*/
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.r:25:#define smCurrentScript 				(-2)	/*  designates current font script. */
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Versions/A/Headers/Script.h:44:  smCurrentScript               = -2,   /* designates current font script.*/
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Versions/A/Headers/Script.r:25:#define smCurrentScript 			(-2)				/*  designates current font script. */
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Versions/Current/Headers/Script.h:44:  smCurrentScript               = -2,   /* designates current font script.*/
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Versions/Current/Headers/Script.r:25:#define smCurrentScript 			(-2)				/*  designates current font script. */
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Headers/Script.h:44:  smCurrentScript               = -2,   /* designates current font script.*/
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Headers/Script.r:25:#define smCurrentScript 			(-2)				/*  designates current font script. */
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/Script.h:44:  smCurrentScript               = -2,   /* designates current font script.*/
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/Script.r:25:#define smCurrentScript 		(-2)				/*  designates current font script. */
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/Current/Headers/Script.h:44:  smCurrentScript               = -2,   /* designates current font script.*/
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/Current/Headers/Script.r:25:#define smCurrentScript 	(-2)				/*  designates current font script. */
/System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Headers/Script.h:44:  smCurrentScript               = -2,   /* designates current font script.*/
/System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Headers/Script.r:25:#define smCurrentScript 			(-2)				/*  designates current font script. */
/System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Versions/A/Headers/Script.h:44:  smCurrentScript               = -2,   /* designates current font script.*/
/System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Versions/A/Headers/Script.r:25:#define smCurrentScript 	(-2)				/*  designates current font script. */
/System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Versions/Current/Headers/Script.h:44:  smCurrentScript               = -2,   /* designates current font script.*/
/System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Versions/Current/Headers/Script.r:25:#define smCurrentScript(-2)				/*  designates current font script. */

comment:13 Changed 14 years ago by michaelld (Michael Dickens)

OK; can you verify that

  1. "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" has "#include <CoreServices/CoreServices.h>" in it somewhere; and
  1. "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" has "#include <CarbonCore/CarbonCore.h>" in it somewhere.

comment:14 in reply to:  13 Changed 14 years ago by bayonne

Replying to michaelld@…:

OK; can you verify that

  1. "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h" has "#include <CoreServices/CoreServices.h>" in it somewhere; and
  1. "/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h" has "#include <CarbonCore/CarbonCore.h>" in it somewhere.

Yes:

#ifndef __CORESERVICES__
#include <CoreServices/CoreServices.h>
#endif

and

#ifndef __CARBONCORE__
#include <CarbonCore/CarbonCore.h>
#endif

comment:15 Changed 14 years ago by michaelld (Michael Dickens)

Summary

OK; thank you for your prompt feedback. After rereading the errors and reading through various headers (see more below), I believe that PSI 0.14 is not 64-bit compatible on 10.5 or 10.6, and in general is not 10.6 compatible. I've reached the limit of my capabilities w/r.t. this ticket. My recommendation (to the ticket owner and/or OP) is to submit a ticket upstream (or email the maintainer w/ this ticket's info). Sorry for the bad news.

Details

After rereading the errors and looking through "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h", I find:

#if !__LP64__
enum {
  ...
  smScriptKeys                  = 32,   /*Script KCHR id*/
  ...
}
...
/*
 ...
 *  GetScriptVariable()   *** DEPRECATED ***
 ...
 *  Availability:
 *    Mac OS X:         in version 10.0 and later in CoreServices.framework but deprecated in 10.5
 ...
 */
extern long 
GetScriptVariable(
  short   script,
  short   selector)                                           AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5;
...
#endif  /* !__LP64__ */

So there are 2 issues just with this section of code -- PSI 0.14 is not:

  1. 64-bit compatible on OSX 10.5 or 10.6. I only do 32-bit on 10.5, so I didn't notice this issue.
  1. 10.6 compatible at all, since it uses functions and variables that were deprecated in 10.5 and should not available in 10.6 at all.

The problematic lines in "psi-0.14/src/libpsi/tools/globalshortcut/globalshortcutmanager_mac.cpp" are:

130:		ttable->kchrID = (short)GetScriptVariable(smCurrentScript, smScriptKeys);
168:		theID = (short) GetScriptVariable(smCurrentScript, smScriptKeys);
202:		kchr = (Ptr)GetScriptVariable(smCurrentScript, smKCHRCache);
203:		keyTrans = KeyTranslate(kchr, virtualKeyCode, &state);

For 130 & 168; from the CarbonCore 'script.h' header file, Apple recommends:

4. smScriptKeys - To determine an appropriate keyboard input source for a particular language, use TISCopyInputSourceForLanguage.

For 202; from the CarbonCore 'script.h' header file, Apple recommends:

3. smKCHRCache - To obtain the key layout data for the keyboard layout currently in use, use TISCopyCurrentKeyboardLayoutInputSource to get that input source, then pass it to TISGetInputSourceProperty with the kTISPropertyUnicodeKeyLayoutData key (this returns 'uchr' Unicode layout data only; it will not return any data for keyboard layouts that only have 'KCHR' data).

For 203: This routine is located in "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h":

#if !__LP64__
...
/*
 *  KeyTranslate()
 ...
 *  Availability:
 *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only]
 ...
 */

so this routine is not 64-bit, and needs to be replaced by one that is 64-bit. Apple does not discuss a replacement in this header file.

comment:16 Changed 14 years ago by michaelld (Michael Dickens)

Summary: psi-otr -- build failurepsi build failure on 10.6 64-bit

It is possible that the function in line 203 has a 64-bit counterpart in 10.6; since I'm not running 10.6 I don' t know. In that case, someone who knows how to follow Apple's recommendations for the other issues might be able to patch things up. Of course, there might be more compile issues encountered in other parts of PSI ... hence the recommendation to go upstream.

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

Cc: MarcusCalhoun-Lopez added

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

Resolution: fixed
Status: assignedclosed

In 7501024c8490908522a8b65a9c070bb87a1c73ab/macports-ports (master):

psi: update version 0.14->1.4

Fixes #22563
Fixes #26032

Note: See TracTickets for help on using tickets.