Error while building kdelibs4 when it comes to port attica

Marko Käning MK-MacPorts at techno.ms
Sat Oct 23 08:09:37 PDT 2010


There seems to be a problem with qmake!!

But it is present at /opt/macports-test/bin/qmake

So, must be FindQt4.cmake which messes up.
---


$sudo /opt/macports-test/bin/port -d install attica
.
.
.
--->  Configuring attica
DEBUG: Using compiler 'Mac OS X gcc 4.2'
DEBUG: configure phase started at Sat Oct 23 17:04:38 CEST 2010
DEBUG: Executing proc-pre-org.macports.configure-configure-0
DEBUG: Executing org.macports.configure (attica)
DEBUG: Environment: CPATH='/opt/macports-test/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/opt/macports-test/include' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/macports-test/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_kde_attica/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/macports-test/lib -arch x86_64' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
DEBUG: Assembled command: 'cd "/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_kde_attica/work/attica-0.2.0" && cmake -DCMAKE_INSTALL_PREFIX=/opt/macports-test -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/macports-test/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/macports-test;/usr" -DCMAKE_MODULE_PATH=/opt/macports-test/share/cmake/modules -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/opt/macports-test/Applications/KDE4 -DPHONON_INCLUDE_DIR=/opt/macports-test/libexec/qt4-mac/include -DPHONON_LIBRARY=/opt/macports-test/libexec/qt4-mac/lib/phonon.framework/phonon -DQT_QMAKE_EXECUTABLE=/opt/macports-test/libexec/qt4-mac/bin/qmake -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" -DCMAKE_OSX_ARCHITECTURES="x86_64"'
CMake Error at /opt/macports-test/share/cmake/modules/FindQt4.cmake:1240 (MESSAGE):
  Qt qmake not found!
Call Stack (most recent call first):
  lib/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
shell command " cd "/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_kde_attica/work/attica-0.2.0" && cmake -DCMAKE_INSTALL_PREFIX=/opt/macports-test -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/macports-test/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/macports-test;/usr" -DCMAKE_MODULE_PATH=/opt/macports-test/share/cmake/modules -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/opt/macports-test/Applications/KDE4 -DPHONON_INCLUDE_DIR=/opt/macports-test/libexec/qt4-mac/include -DPHONON_LIBRARY=/opt/macports-test/libexec/qt4-mac/lib/phonon.framework/phonon -DQT_QMAKE_EXECUTABLE=/opt/macports-test/libexec/qt4-mac/bin/qmake -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" -DCMAKE_OSX_ARCHITECTURES="x86_64" " returned error 1
Error: Target org.macports.configure returned: configure failure: shell command failed
DEBUG: Backtrace: configure failure: shell command failed
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for attica): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Log for attica is at: /opt/macports-test/var/macports/logs/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_kde_attica/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>



More information about the macports-dev mailing list