Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#19960 closed defect (invalid)

kdebase4-runtime 4.2.4 fails to install without phonon installed

Reported by: ddennedy (Dan Dennedy) Owned by: illogic-al@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: kdebase4-runtime

Description

Installing phonon resolves it (missing dependency).

Here is the error before resolution:

--->  Fetching kdebase4-runtime
--->  Verifying checksum(s) for kdebase4-runtime
--->  Extracting kdebase4-runtime
--->  Configuring kdebase4-runtime
--->  Building kdebase4-runtime
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_kdebase4-runtime/work/build" && make all " returned error 2
Command output: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/kurifilter-plugins/fixhost && /usr/bin/g++-4.2   -Dfixhosturifilter_EXPORTS -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -O2  -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/kurifilter-plugins/fixhost -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kurifilter-plugins/fixhost -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build -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/Qt3Support -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/fixhosturifilter.dir/fixhosturifilter_automoc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/kurifilter-plugins/fixhost/fixhosturifilter_automoc.cpp
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/CMakeFiles 71
[ 72%] Building CXX object kurifilter-plugins/fixhost/CMakeFiles/fixhosturifilter.dir/fixhosturifilter.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/kurifilter-plugins/fixhost && /usr/bin/g++-4.2   -Dfixhosturifilter_EXPORTS -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -O2  -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/kurifilter-plugins/fixhost -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kurifilter-plugins/fixhost -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build -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/Qt3Support -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/fixhosturifilter.dir/fixhosturifilter.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/kurifilter-plugins/fixhost/fixhosturifilter.cpp
Linking CXX shared module ../../lib/fixhosturifilter.so
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/kurifilter-plugins/fixhost && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/fixhosturifilter.dir/link.txt --verbose=1
/usr/bin/g++-4.2  -O2  -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -bundle -headerpad_max_install_names -multiply_defined suppress -L/opt/local/lib -o ../../lib/fixhosturifilter.so CMakeFiles/fixhosturifilter.dir/fixhosturifilter_automoc.o CMakeFiles/fixhosturifilter.dir/fixhosturifilter.o -L/opt/local/lib /opt/local/lib/libkio.5.2.0.dylib /opt/local/lib/libkdeui.5.2.0.dylib -F/opt/local/libexec/qt4-mac/lib -framework QtSvg /opt/local/lib/libkdecore.5.2.0.dylib -F/opt/local/libexec/qt4-mac/lib -framework QtDBus -F/opt/local/libexec/qt4-mac/lib -framework QtCore -lpthread -framework Carbon -F/opt/local/libexec/qt4-mac/lib -framework QtNetwork -F/opt/local/libexec/qt4-mac/lib -framework QtXml -F/opt/local/libexec/qt4-mac/lib -framework QtGui /opt/local/lib/libsolid.4.2.0.dylib 
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/CMakeFiles  71
[ 72%] Built target fixhosturifilter
make -f phonon/kded-module/CMakeFiles/kded_phononserver_automoc.dir/build.make phonon/kded-module/CMakeFiles/kded_phononserver_automoc.dir/depend
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/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_kdebase4-runtime/work/kdebase-runtime-4.2.4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/phonon/kded-module /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/phonon/kded-module /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/phonon/kded-module/CMakeFiles/kded_phononserver_automoc.dir/DependInfo.cmake --color=
Scanning dependencies of target kded_phononserver_automoc
make -f phonon/kded-module/CMakeFiles/kded_phononserver_automoc.dir/build.make phonon/kded-module/CMakeFiles/kded_phononserver_automoc.dir/build
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/phonon/kded-module && /opt/local/bin/automoc4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/phonon/kded-module/kded_phononserver_automoc.cpp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/phonon/kded-module /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/phonon/kded-module /opt/local/libexec/qt4-mac/bin/moc /Users/ddennedy/opt/local/bin/cmake
Generating moc_phononserver.cpp
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/CMakeFiles 
[ 72%] Built target kded_phononserver_automoc
make -f phonon/kded-module/CMakeFiles/kded_phononserver.dir/build.make phonon/kded-module/CMakeFiles/kded_phononserver.dir/depend
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/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_kdebase4-runtime/work/kdebase-runtime-4.2.4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/phonon/kded-module /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/phonon/kded-module /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/phonon/kded-module/CMakeFiles/kded_phononserver.dir/DependInfo.cmake --color=
Scanning dependencies of target kded_phononserver
make -f phonon/kded-module/CMakeFiles/kded_phononserver.dir/build.make phonon/kded-module/CMakeFiles/kded_phononserver.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_kdebase4-runtime/work/build/CMakeFiles 
[ 72%] Building CXX object phonon/kded-module/CMakeFiles/kded_phononserver.dir/kded_phononserver_automoc.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/phonon/kded-module && /usr/bin/g++-4.2   -Dkded_phononserver_EXPORTS -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -O2  -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/phonon/kded-module -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/phonon/kded-module -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build -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/Qt3Support -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/kded_phononserver.dir/kded_phononserver_automoc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/phonon/kded-module/kded_phononserver_automoc.cpp
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/phonon/kded-module/moc_phononserver.cpp:10,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/phonon/kded-module/kded_phononserver_automoc.cpp:4:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/phonon/kded-module/../../../kdebase-runtime-4.2.4/phonon/kded-module/phononserver.h:26:36: error: Phonon/ObjectDescription: No such file or directory
make[2]: *** [phonon/kded-module/CMakeFiles/kded_phononserver.dir/kded_phononserver_automoc.o] Error 1
make[1]: *** [phonon/kded-module/CMakeFiles/kded_phononserver.dir/all] Error 2
make: *** [all] Error 2

Change History (12)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to illogic-al@…
Port: kdebase4-runtime added

comment:2 Changed 15 years ago by illogic-al@…

What does you /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/kde4-1.0.tcl file look like?

comment:3 Changed 15 years ago by ddennedy (Dan Dennedy)

BTW, I do have ${prefix}/libexec/${qt}/lib/phonon.framework/phonon, but

$ port provides /opt/local/libexec/qt4-mac/lib/phonon.framework/phonon /Users/ddennedy/opt/local/libexec/qt4-mac/lib/phonon.framework/phonon is not provided by a MacPorts port.

Hmm, did I get it from a Qt SDK install?

# Use CMake Portgroup
PortGroup               cmake 1.0

depends_build-append    port:automoc

use_parallel_build      yes

worksrcdir              build

post-extract            { file mkdir ${worksrcpath} }

set qt                  qt4-mac
set qt_dir              ${prefix}/libexec/${qt}

post-patch {
    if { ![file exists ${prefix}/libexec/${qt}/lib/phonon.framework/phonon] } {
        ui_error "######################################################"
        ui_error "A copy of phonon could not be found. Please install  "
        ui_error "${qt} to provide this. If you have already done this "
        ui_error "your Qt installation is missing the phonon backend.  "
        ui_error "Please reinstall Qt4 with phonon support.            "
        ui_error "######################################################"
    }
}

depends_lib-append      port:${qt}

configure.compiler      gcc-4.2

configure.args-append   -DBUILD_doc=OFF \
                        -DBUILD_SHARED_LIBS=ON \
                        -DBUNDLE_INSTALL_DIR=${applications_dir}/KDE4 \
                        -DPHONON_INCLUDE_DIR=${qt_dir}/include \
                        -DPHONON_LIBRARY=${qt_dir}/lib/phonon.framework/phonon \
                        -DQT_QMAKE_EXECUTABLE=${qt_dir}/bin/qmake \
                        -DKDE_DISTRIBUTION_TEXT="MacPorts\/Mac OS X"

variant docs description "Build documentation" {
    depends_lib-append      port:doxygen
    configure.args-delete   -DBUILD_doc=OFF
}

post-activate {
    ui_msg "##########################################################"
    ui_msg "# Don't forget that dbus needs to be started as the local "
    ui_msg "# user (not with sudo) before any KDE programs will launch"
    ui_msg "# To start it run the following command:                  "
    ui_msg "# launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist"
    ui_msg "##########################################################"
    ui_msg " "
    ui_msg "######################################################"
    ui_msg "#  Programs will not start until you run the command "
    ui_msg "#  'sudo chown -R \$USER ~/Library/Preferences/KDE'  "
    ui_msg "#  replacing \$USER with your username, followed by  "
    ui_msg "#  'open ${applications_dir}/KDE4/kdeinit4.app'      " 
    ui_msg "#  in a Terminal.                                    "
    ui_msg "######################################################"
}

comment:4 in reply to:  3 Changed 15 years ago by illogic-al@…

Replying to dan@…:

BTW, I do have ${prefix}/libexec/${qt}/lib/phonon.framework/phonon, but

$ port provides /opt/local/libexec/qt4-mac/lib/phonon.framework/phonon /Users/ddennedy/opt/local/libexec/qt4-mac/lib/phonon.framework/phonon is not provided by a MacPorts port.

Why is /Users/ddennedy/opt/local/libexec/qt4-mac/lib/phonon.framework/phonon returned instead of /opt/local/libexec/qt4-mac/lib/phonon.framework/phonon? For me I get

% port provides /opt/local/libexec/qt4-mac/lib/phonon.framework/phonon
/opt/local/libexec/qt4-mac/lib/phonon.framework/phonon is provided by: qt4-mac

comment:5 Changed 15 years ago by ddennedy (Dan Dennedy)

I have a separate, much larger home partition onto which I made ~/opt and symlinked /opt.

If you think this is specific to quirks in my environment, then feel to close it.

comment:6 in reply to:  5 Changed 15 years ago by illogic-al@…

Resolution: worksforme
Status: newclosed

Replying to dan@…:

I have a separate, much larger home partition onto which I made ~/opt and symlinked /opt.

If you think this is specific to quirks in my environment, then feel to close it.

Has to be, I've compiled amarok-devel recently which depends on kdebase4-runtime so something's probably wrong with your environment. Amarok plays, compiles and phonon isn't installed.

comment:7 Changed 15 years ago by jm@…

I have exactly the same problem trying to compile kdebase-runtime:

make -f phonon/kded-module/CMakeFiles/kded_phononserver.dir/build.make phonon/kded-module/CMakeFiles/kded_phononserver.dir/build
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/CMakeFiles
[ 72%] Building CXX object phonon/kded-module/CMakeFiles/kded_phononserver.dir/kded_phononserver_automoc.o
cd /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/phonon/kded-module && /usr/bin/g++-4.2   -Dkded_phononserver_EXPORTS -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -O2  -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -I/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/phonon/kded-module -I/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/phonon/kded-module -I/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4 -I/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build -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/Qt3Support -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/kded_phononserver.dir/kded_phononserver_automoc.o -c /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/phonon/kded-module/kded_phononserver_automoc.cpp
In file included from /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/phonon/kded-module/moc_phononserver.cpp:10,
                 from /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/phonon/kded-module/kded_phononserver_automoc.cpp:4:
/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/phonon/kded-module/../../../kdebase-runtime-4.2.4/phonon/kded-module/phononserver.h:26:36: error: Phonon/ObjectDescription: No such file or directory
make[2]: *** [phonon/kded-module/CMakeFiles/kded_phononserver.dir/kded_phononserver_automoc.o] Error 1
make[1]: *** [phonon/kded-module/CMakeFiles/kded_phononserver.dir/all] Error 2
make: *** [all] Error 2

Warning: the following items did not execute (for kdebase4-runtime): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
PowerMac-G4:~ apple$ 

Please reopen. My platform is a PPC Mac 10.5.

comment:8 Changed 15 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: closedreopened

comment:9 Changed 15 years ago by jm@…

Thanks. I checked on my Debian station and kdebase4-runtime has a dependency on phonon. So I think it is required. I am recompiling and will submit a patch unless you do so.

comment:10 Changed 15 years ago by jm@…

There is another compilation error. Unfortunately, I don't have the full log as I was in screen unix utility.

    2446175392,
    2446175448,
    2493847036,
    2493846284,
    2493845584,
    2493844516,
    2493842528,
    2493854432,
    2493853340,
    2493852904,
    2493841992,
    9952
)
/bin/sh: line 1: 65014 Trace/BPT trap          /usr/bin/tiff2icns .tiff /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/khelpcenter/khelpcenter.icns
make[2]: *** [khelpcenter/khelpcenter.icns] Error 133
make[1]: *** [khelpcenter/CMakeFiles/kdeinit_khelpcenter.dir/all] Error 2
make: *** [all] Error 2

Warning: the following items did not execute (for kdebase4-runtime): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
PowerMac-G4:~ apple$ 
Command output: [ 83%] Generating khelpcenter.icns, .tiff
cd /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/khelpcenter && /usr/bin/sips -s format tiff /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/pics/oxygen/128x128//apps//help-browser.png --out .tiff
/opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/kdebase-runtime-4.2.4/pics/oxygen/128x128/apps/help-browser.png
  /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/khelpcenter/.tiff
cd /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/khelpcenter && /usr/bin/tiff2icns .tiff /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/khelpcenter/khelpcenter.icns
Tue Jul  7 22:09:03 PowerMac-G4.local tiff2icns[65014] <Warning>: 3891612: (connectAndCheck) Untrusted apps are not allowed to connect to or launch Window Server before login.
_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
2009-07-07 22:09:03.713 tiff2icns[65014:10b] An uncaught exception was raised
2009-07-07 22:09:03.716 tiff2icns[65014:10b] Error (1002) creating CGSWindow
2009-07-07 22:09:03.718 tiff2icns[65014:10b] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow'
2009-07-07 22:09:03.719 tiff2icns[65014:10b] Stack: (
    2446175632,
    2418853100,
    2446175392,
    2446175448,
    2493847036,
    2493846284,
    2493845584,
    2493844516,
    2493842528,
    2493854432,
    2493853340,
    2493852904,
    2493841992,
    9952
)
/bin/sh: line 1: 65014 Trace/BPT trap          /usr/bin/tiff2icns .tiff /opt/local/var/macports/build/_opt_mports_trunk_dports_kde_kdebase4-runtime/work/build/khelpcenter/khelpcenter.icns
make[2]: *** [khelpcenter/khelpcenter.icns] Error 133
make[1]: *** [khelpcenter/CMakeFiles/kdeinit_khelpcenter.dir/all] Error 2
make: *** [all] Error 2

Warning: the following items did not execute (for kdebase4-runtime): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

comment:11 in reply to:  9 Changed 15 years ago by illogic-al@…

Resolution: invalid
Status: reopenedclosed

Replying to jm@…:

Thanks. I checked on my Debian station and kdebase4-runtime has a dependency on phonon. So I think it is required. I am recompiling and will submit a patch unless you do so.

kde depends on phonon, yes. the source of phonon does not matter however. Qt provides phonon, and macports builds it automatically. building the second, kde version is unnecessary (and in this case quite useless as we don't compile any engines from it) because the qt version, and only the qt version provides the quicktime backend which we use (its compilation depends on private Qt files IIRC).

Also, the error you listed above is a direct result of compiling in screen. I'm guessing it's some kind of apple terminal bug. either way, start a new screen session, or better yet, don't compile kdebase4-runtime in screen.

Hope this helps, good luck.

comment:12 Changed 15 years ago by illogic-al@…

Btw don't take me closing the bug as invalid as brushing you away. If you still have problems, post here i'll try to help troubleshoot them.

Note: See TracTickets for help on using tickets.