Created attachment 283843 [details] emerge --info 1.6.17-r1: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-vcs/subversion/subversion-1.6.17-r1.ebuild?view=markup Installs this file as part of src_install with "doenvd" and this file: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-vcs/subversion/files/80subversion-extras?view=markup And nothing seems out of place until later when env update happens, giving a lovely error: sudo eselect env update /etc/env.d/80subversion-extras: line 1: get_libdir: command not found /etc/env.d/80subversion-extras: line 2: get_libdir: command not found !!! Error: Failed to source /etc/env.d/80subversion-extras. Call stack: * load_config (config.bash:105) * update_envvar_classes (env.eselect:72) * create_profile_env (env.eselect:96) * do_update (env.eselect:284) * check_do (core.bash:24) * do_action (core.bash:89) * main (eselect:191) <repeats> I'm guessing somebody forgot to finish this up with SED, because although those may be valid variables for ebuild, they're no longer around in env update. PATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin" ROOTPATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
Indeed, the configuration file was inlined into the ebuild before, a practice that I personally frown upon. I will be fixing this with an -r2 shortly.
+*subversion-1.6.17-r2 (19 Aug 2011) + + 19 Aug 2011; Tony Vroon <chainsaw@gentoo.org> -files/80subversion-extras, + -subversion-1.6.17-r1.ebuild, +subversion-1.6.17-r2.ebuild: + More gracefully handle dependency between KDE & NLS USE-flags, as requested + by Jeroen Roovers in bug #330941. Perfection would require EAPI=4, which I + can not use yet. Tell user to restart daemon after upgrade, as requested by + Joel Koglin in bug #337042. Use recursive dodoc instead of ecompressdir as + requested by Ulrich Müller in bug #356503. Move the environment config back + to inline for now, as Kent Fredric reports that variable substitution broke + and caused env-update failures. Closes bug #379819. Killed old -r1 ebuild due + to this problem.