Opened 15 years ago

Closed 14 years ago

#21509 closed defect (wontfix)

Konversation 1.2-alpha6 fails to build on Snow Leopard

Reported by: coreymon77@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: jeremy_laine@…, hsivank@…
Port: konversation

Description (last modified by tobypeterson)

Please help. Below is the error output

Cbook:~ coreymon$ sudo port install konversation
--->  Computing dependencies for konversation
--->  Building konversation
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build" && /usr/bin/make -j1 all " returned error 2
Command output: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/src /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/CMakeFiles/konversation_automoc.dir/DependInfo.cmake --color=
/usr/bin/make -f src/CMakeFiles/konversation_automoc.dir/build.make src/CMakeFiles/konversation_automoc.dir/build
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src && /opt/local/bin/automoc4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/konversation_automoc.cpp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/src /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src /opt/local/libexec/qt4-mac/bin/moc /opt/local/bin/cmake
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/CMakeFiles 
[  0%] Built target konversation_automoc
/usr/bin/make -f src/CMakeFiles/konversation.dir/build.make src/CMakeFiles/konversation.dir/depend
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/src /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/CMakeFiles/konversation.dir/DependInfo.cmake --color=
/usr/bin/make -f src/CMakeFiles/konversation.dir/build.make src/CMakeFiles/konversation.dir/build
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/CMakeFiles 
[  0%] Building CXX object src/CMakeFiles/konversation.dir/konversation_automoc.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src && /usr/bin/g++-4.2   -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -O2 -arch x86_64  -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/src/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/src/dcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/src/irc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/src/viewer -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/src/linkaddressbook -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/src/upnp -I/opt/local/include -I/opt/local/include/KDE -I/opt/local/libexec/qt4-mac/include/KDE -I/opt/local/libexec/qt4-mac/include -I/opt/local/libexec/qt4-mac/include/phonon -I/opt/local/libexec/qt4-mac/include/QtXmlPatterns -I/opt/local/libexec/qt4-mac/include/QtWebKit -I/opt/local/libexec/qt4-mac/include/QtHelp -I/opt/local/libexec/qt4-mac/include/QtAssistant -I/opt/local/libexec/qt4-mac/include/QtDBus -I/opt/local/libexec/qt4-mac/include/QtTest -I/opt/local/libexec/qt4-mac/include/QtUiTools -I/opt/local/libexec/qt4-mac/include/QtScript -I/opt/local/libexec/qt4-mac/include/QtSvg -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/include/QtSql -I/opt/local/libexec/qt4-mac/include/QtOpenGL -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/include/QtDesigner -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/include/Qt -I/opt/local/libexec/qt4-mac/mkspecs/default   -F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib -D__APPLE_KDE__ -D_LARGEFILE64_SOURCE -o CMakeFiles/konversation.dir/konversation_automoc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/konversation_automoc.cpp
In file included from /opt/local/libexec/qt4-mac/include/QtCore/qshareddata.h:45,
                 from /opt/local/libexec/qt4-mac/include/QtCore/QExplicitlySharedDataPointer:1,
                 from /opt/local/include/ksharedptr.h:30,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/src/identity.h:18,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/src/viewer/chatwindow.h:16,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/../../konversation-1.2-alpha6/src/irc/query.h:16,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/moc_query.cpp:10,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/konversation_automoc.cpp:4:
/opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:311:6: warning: #warning "Support for this version of Mac OS X is still preliminary"
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/moc_configdialog.cpp:10,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/konversation_automoc.cpp:6:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/../../konversation-1.2-alpha6/src/config/configdialog.h:42:23: error: Q3AsciiDict: No such file or directory
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/moc_configdialog.cpp:10,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/konversation_automoc.cpp:6:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/../../konversation-1.2-alpha6/src/config/configdialog.h:116: error: ISO C++ forbids declaration of 'Q3AsciiDict' with no type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/../../konversation-1.2-alpha6/src/config/configdialog.h:116: error: expected ';' before '<' token
make[2]: *** [src/CMakeFiles/konversation.dir/konversation_automoc.o] Error 1
make[1]: *** [src/CMakeFiles/konversation.dir/all] Error 2
make: *** [all] Error 2

Error: Status 1 encountered during processing.
Cbook:~ coreymon$ 

Change History (14)

comment:1 Changed 15 years ago by coreymon77@…

Cc: coreymon77@… added

Cc Me!

comment:2 Changed 15 years ago by tobypeterson

Cc: coreymon77@… removed
Description: modified (diff)
Keywords: konversation kde ke4 snow leopard build fail error removed

As usual: use WikiFormatting and don't cc yourself on tickets you file.

comment:3 Changed 15 years ago by tobypeterson

Cc: jeremy_laine@… added
Owner: changed from macports-tickets@… to snc@…

comment:4 Changed 15 years ago by hsivank@…

Hello coreymon,

Did you build qt4 with qt3-support ?

if yes, can you :

cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build" && /usr/bin/make VERBOSE=1

and post the last few lines ...

comment:5 Changed 15 years ago by hsivank@…

Cc: hsivank@… added

Cc Me!

comment:6 in reply to:  4 Changed 15 years ago by coreymon77@…

Replying to hsivank@…:

Hello coreymon,

Did you build qt4 with qt3-support ?

if yes, can you :

cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build" && /usr/bin/make VERBOSE=1

and post the last few lines ...

I don't know if I did. I just ran port install konversation after migrating to snow leopard. If qt4 builds with qt3 support by default then yes, otherwise, I didn't choose any special options. But, just in case, the last few lines are

{{{ from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/konversation_automoc.cpp:6: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/../../konversation-1.2-alpha6/src/config/configdialog.h:116: error: ISO C++ forbids declaration of ‘Q3AsciiDict’ with no type /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build/src/../../konversation-1.2-alpha6/src/config/configdialog.h:116: error: expected ‘;’ before ‘<’ token make[2]: * [src/CMakeFiles/konversation.dir/konversation_automoc.o] Error 1 make[1]: * [src/CMakeFiles/konversation.dir/all] Error 2 make: * [all] Error 2 }}}

comment:7 Changed 15 years ago by hsivank@…

It seems that you have a include path problem ... you have not post the relevant part for analyse ... anyway

It is a little bit hacky but you can try to replace all #include<Q3*> by #include <Qt3Support>

or you can try to replace in CMakeList.txt

include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES})

by

include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${QT_INCLUDES}/Qt3Support)

It is possible that you run into problem at link step ... don't hesitate to ask !

comment:8 Changed 15 years ago by hsivank@…

Sorry, My first solution will not work in all case ...

comment:9 Changed 15 years ago by hsivank@…

oups this one is good

include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${QT_QT3SUPPORT_INCLUDE_DIR})

comment:10 in reply to:  9 Changed 15 years ago by coreymon77@…

Replying to hsivank@…:

oups this one is good

include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${QT_QT3SUPPORT_INCLUDE_DIR})

Where is CMakeList.txt, I can't find it.

comment:11 Changed 15 years ago by hsivank@…

cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6"

comment:12 in reply to:  9 Changed 15 years ago by coreymon77@…

Replying to hsivank@…:

oups this one is good

include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${QT_QT3SUPPORT_INCLUDE_DIR})

Well, this is progress, I now have a new error

Cbook:~ coreymon$ sudo port install konversation
Password:
--->  Computing dependencies for konversation
--->  Building konversation
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/build" && /usr/bin/make -j1 all " returned error 2
Command output:    used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/de
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/el
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/en_GB
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/es
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/et
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/fr
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/gl
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/he
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/hu
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/it
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/ja
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/ko
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/nds
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/nl
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/pt
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/pt_BR
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/ru
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/sv
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/tr
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/uk
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/zh_CN
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/po/zh_TW
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/doc-translations
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/doc-translations/et_konversation/konversation
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/doc-translations/sv_konversation/konversation
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/doc-translations/uk_konversation/konversation
   used as include directory in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_konversation/work/konversation-1.2-alpha6/doc

-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Error 1

Error: Status 1 encountered during processing.
Cbook:~ coreymon$ 

comment:13 Changed 14 years ago by jeremy.laine@…

This is just a side effect of bug #20362, I'd vote for marking it as a duplicate.

comment:14 Changed 14 years ago by nerdling (Jeremy Lavergne)

Resolution: wontfix
Status: newclosed

New version of konversation has been posted.

Note: See TracTickets for help on using tickets.