emerging subversion works fine until after the compile stage. However! I added a "set -x" in the beginning of src_install() and here it goes: <long and ugly output> $ ebuild subversion-0.10_pre1.ebuild install <snip> + cp -av /var/tmp/portage/subversion-0.10_pre1/work/tmpinstall_svn/bin /var/tmp/portage/subversion-0.10_pre1/work/tmpinstall_svn/include /var/tmp/portage/subversion-0.10_pre1/work/tmpinstall_svn/info /var/tmp/portage/subversion-0.10_pre1/work/tmpinstall_svn/lib /var/tmp/portage/subversion-0.10_pre1/work/tmpinstall_svn/man /var/tmp/portage/subversion-0.10_pre1/image//usr/svn <snip> `/var/tmp/portage/subversion-0.10_pre1/work/tmpinstall_svn/lib/libexpat.so' -> `/var/tmp/portage/subversion-0.10_pre1/image//usr/svn/lib/libexpat.so' cp: failed to preserve ownership for /var/tmp/portage/subversion-0.10_pre1/image//usr/svn/lib/libexpat.so: No such file or directory `/var/tmp/portage/subversion-0.10_pre1/work/tmpinstall_svn/lib/libexpat.so.0.0.0' -> `/var/tmp/portage/subversion-0.10_pre1/image//usr/svn/lib/libexpat.so.0.0.0' `/var/tmp/portage/subversion-0.10_pre1/work/tmpinstall_svn/lib/libexpat.so.0' -> `/var/tmp/portage/subversion-0.10_pre1/image//usr/svn/lib/libexpat.so.0' <snip> </long and ugly output> Needless to say, libexpat.so is a symlink to libexpat.so.0.0.0 (and so is libexpat.so.0). What's wrong with my "cp"? Why cannot it preserve ownership of the symlinks? Why is it failing if the target of the symlink does not exist? I don't think this is a problem with the ebuild but it sure is annoying... I tried substituting the line "cp -av ${I_SVN}/* ${D}/usr/svn" with "tar -C ${I_SVN} -c . | tar -C ${D}/usr/svn -x" but I again got + tar -C /var/tmp/portage/subversion-0.10_pre1/work/tmpinstall_svn -c . + tar -C /var/tmp/portage/subversion-0.10_pre1/image//usr/svn -x tar: ./lib/libexpat.so: Cannot change ownership to uid 0, gid 0: No such file or directory tar: ./lib/libsvn_fs.so: Cannot change ownership to uid 0, gid 0: No such file or directory tar: ./lib/libsvn_wc.so: Cannot change ownership to uid 0, gid 0: No such file or directory tar: ./lib/libsvn_ra.so: Cannot change ownership to uid 0, gid 0: No such file or directory tar: Error exit delayed from previous errors .... what am I supposed to do??? Is it a problem with my setup or??
does this have anything to do with http://bugs.gentoo.org/show_bug.cgi?id=12376 Ececuting the command that was giving problems in the shell worked FINE.
Not the fix to your problem, but you may want to try out the subversion 0.16.1 emerge I just made available... see bug #14040.
Newer Subversion ebuilds which work very differently are available. Please use those. See #17440
Found the sucker. Setting the ownership does not work with "sandbox" in FEATURES.