After update from libproxy-0.4.7 to libproxy-0.4.10 there is no '/usr/lib64/libproxy/0.4.7/modules/config_kde4.so' -- Did not find automoc4 (Automoc4Config.cmake, install git://anongit.kde.org/automoc). (missing: AUTOMOC4_EXECUTABLE) -- Found Perl: /usr/bin/perl (found version "5.12.4") -- KDE4 not found, because Automoc4 not found. CMake Warning (dev) at /usr/share/cmake/Modules/CMakeExpandImportedTargets.cmake:33 (include): File /usr/share/cmake/Modules/CMakeExpandImportedTargets.cmake includes /usr/share/apps/cmake/modules/CMakeParseArguments.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/share/cmake/Modules/CMakeParseArguments.cmake. This may cause errors later on .
works here without automoc vbp ~ # eix -e automoc * dev-util/automoc Available versions: 0.9.88 Homepage: http://www.kde.org Description: KDE Meta Object Compiler vbp ~ # eix -e libproxy [I] net-libs/libproxy Available versions: 0.4.6-r3 0.4.7 0.4.10 {{gnome kde mono networkmanager +pac perl python spidermonkey test +webkit}} Installed versions: 0.4.10(17:44:08 10/17/12)(kde -gnome -mono -networkmanager -pac -perl -python -spidermonkey -test -webkit) Homepage: http://code.google.com/p/libproxy/ Description: Library for automatic proxy configuration management
@kde, libproxy-0.4.10 uses the following config_kde4.cmk: if (NOT WIN32 AND NOT APPLE) option(WITH_KDE4 "Search for KDE4 package" ON) if (WITH_KDE4) find_package(KDE4) find_package(Qt4) if(KDE4_FOUND AND QT4_FOUND) include(KDE4Defaults) set(KDE4_FOUND 1) set(KDE4_LIBRARIES ${KDE4_KDECORE_LIBS} ${QT_LIBRARIES}) include_directories(${KDE4_INCLUDES} ${QT_INCLUDES}) link_directories(${KDE_LIB_DIR}) string(REGEX REPLACE " *-fno-exceptions" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) else() set(KDE4_FOUND 0) endif() else() set(KDE4_FOUND 0) endif() endif() Why would that setup attempt to pull in automoc? Is there anything that libproxy-0.4.10[kde] should be depending on beyond just >=kde-base/kdelibs-4.4.5?
ago, by "works" do you mean installs "/usr/lib64/libproxy/0.4.10/modules/config_kde4.so" and does not print same error in scr_configure?
The ebuild says: kde? ( >=kde-base/kdelibs-4.4.5 ) for DEPEND and RDEPEND. So, you if have kdelibs, you must have automoc. This is invalid.
You are wrong. automoc is only DEPEND, not RDEPEND for kdelibs or any other kde package. It should never be in RDEPEND. After 'emerge --depclean --with-bdeps=n -qa' there is no automoc in system.
cmake-utils.eclass does not add automoc to DEPEND like kde4-base does, and since we can't rely on DEPEND of the inherits to be present, I've added automoc to DEPEND in 0.4.10-r1.