Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379819 - dev-vcs/subversion-1.6.17-r1 +extras breaks "eselect env update"
Summary: dev-vcs/subversion-1.6.17-r1 +extras breaks "eselect env update"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-19 02:06 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2011-08-19 10:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (einfo,5.43 KB, text/plain)
2011-08-19 02:06 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2011-08-19 02:06:58 UTC
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"
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2011-08-19 10:08:10 UTC
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.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2011-08-19 10:40:35 UTC
+*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.