svn update can not fetch external link to plugins/quickopen/expandingtree, which needs to be manually created within $DISTDIR/svn-src/kdevplatform/kdevplatform/ . Reproducible: Always Steps to Reproduce: 1. emerge -av "=dev-util/kdevplatform-9999" Actual Results: Without this certain directory cmake will fail as a *.cpp file is missing Upstream description of this problem: http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/Using_Git_for_Development
quoted from: http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/Using_Git_for_Development#SVN:externals ================================== Troubleshooting - SVN:externals Oops! Missing files (directories): CMake Error: Cannot find source file "/workspace/gsoc/kdevplatform/plugins/quickopen/expandingtree/expandingdelegate.cpp" for target "kdevquickopen" The reason is that there are some svn:externals in the repository. See the end of here. I'll show how I prefer to solve this problem. Let's find what externals are missed: fgrep "svn:externals" ./.git/svn/git-svn/unhandled.log +dir_prop: plugins/quickopen svn:externals expandingtree%20svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs/kate/completion/expandingtree%0A Ok, we found the repository. cd .. mkdir kdev_externals cd ./kdev_externals git svn init svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs/kate/completion/expandingtree expandingtree cd ./expandingtree git svn fetch -r801352</span> The revision I took here. Now go to the kdevplatform directory and create symlink: cd ../../kdevplatform/plugins/quickopen/ ln -s PATH_TO_THE_EXPANDINGTREE Finally build kdevplatform and enjoy! And if you have some problems now you know what to do ;) P.S. Don't forget to update your externals. And use “fgrep dir_prop ./.git/svn/git-svn/unhandled.log” if something is missing.
Can we have your 'emerge --info' added please?
Portage 2.2_rc33 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-tuxonice-r4 i686) ================================================================= System uname: Linux-2.6.30-tuxonice-r4-i686-Intel-R-_Core-TM-_Duo_CPU_T2350_@_1.86GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 02 Aug 2009 03:00:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/udev/rules.d /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" DISTDIR="/var/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y" FEATURES="clean distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS=" http://ftp.uni-erlangen.de/pub/mirrors/gentoo/" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,-O1" LINGUAS="de en" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage/repository" PORTDIR_OVERLAY="/var/portage/overlay/thelinux /var/portage/overlay/kde-testing /var/portage/overlay/desktop-effects /var/portage/overlay/sunrise /var/portage/overlay/x11 /var/portage/overlay/personal" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac accessibility acpi alsa bzip2 cairo cracklib crypt cups dbus gnutls gpm gstreamer hal jpeg libnotify minimal mmx mp3 ncurses nls nptl opengl pam pcre png qt3support readline spell sqlite sse sse2 ssl svg threads tiff truetype unicode usb v4l v4l2 vim-syntax vorbis x86 xcb xml zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="* dmix softvol" APACHE2_MODULES="*" ELIBC="glibc" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LINGUAS="de en" LIRC_DEVICES="avermedia userspace inputlirc devinput" USERLAND="GNU" VIDEO_CARDS="vesa radeon" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
This one is fixed.