gnome-base/gconf installs /etc/env.d/50gconf with unexpanded ${EPREFIX}: # cat /etc/env.d/50gconf CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf" GSETTINGS_BACKEND="gconf" # env-update >>> Regenerating /etc/ld.so.cache... # . /etc/profile # grep CONFIG_PROTECT_MASK /etc/profile.env export CONFIG_PROTECT_MASK='/etc/gentoo-release /etc/sandbox.d /etc/fonts/fonts.conf ${EPREFIX}/etc/gconf /etc/terminfo /etc/ca-certificates.conf /etc/revdep-rebuild /etc/splash' # echo "${CONFIG_PROTECT_MASK}" /etc/gentoo-release /etc/sandbox.d /etc/fonts/fonts.conf ${EPREFIX}/etc/gconf /etc/terminfo /etc/ca-certificates.conf /etc/revdep-rebuild /etc/splash
Is prefix overlay version also affected by this?
(In reply to comment #1) > Is prefix overlay version also affected by this? Their ebuild does not use ${EPREFIX}: http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/gnome-base/gconf/gconf-3.2.5.ebuild?rev=60859#L72 Quoting needs to be fixed in gnome-base/gconf ebuilds in gentoo-x86: - echo 'CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf"' > 50gconf + echo "CONFIG_PROTECT_MASK=\"${EPREFIX}/etc/gconf\"" > 50gconf ${EPREFIX} was introduced in ebuilds by Justin Lecher in 2012-05-22, but this bug was not noticed until recent deletion of "doc" USE flag triggered reinstallation.
+ 17 Jan 2013; Pacho Ramos <pacho@gentoo.org> gconf-2.32.4.ebuild, + gconf-3.2.5.ebuild: + Stop setting unexpanded , bug #452170 by Arfrever Frehtes Taifersar Arahesis + Should we stabilize a newer revision to get this installed in most systems? :/
(In reply to comment #3) Your commit is wrong: - echo 'CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf"' > 50gconf + echo 'CONFIG_PROTECT_MASK='${EPREFIX}/etc/gconf'' > 50gconf If ${EPREFIX} contains >=2 subsequent spaces, then incorrect value will be stored in 50gconf. Please use what I suggested in comment #2.
(In reply to comment #4) > (In reply to comment #3) > > Your commit is wrong: > - echo 'CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf"' > 50gconf > + echo 'CONFIG_PROTECT_MASK='${EPREFIX}/etc/gconf'' > 50gconf > > If ${EPREFIX} contains >=2 subsequent spaces, then incorrect value will be > stored in 50gconf. Please use what I suggested in comment #2. or echo 'CONFIG_PROTECT_MASK="'"${EPREFIX}/etc/gconf"'"' > 50gconf
(In reply to comment #4) > (In reply to comment #3) > > Your commit is wrong: > - echo 'CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf"' > 50gconf > + echo 'CONFIG_PROTECT_MASK='${EPREFIX}/etc/gconf'' > 50gconf > > If ${EPREFIX} contains >=2 subsequent spaces, then incorrect value will be > stored in 50gconf. Please use what I suggested in comment #2. I tested it before committing and it worked fine: $ cat /etc/env.d/50gconf CONFIG_PROTECT_MASK=/etc/gconf GSETTINGS_BACKEND="gconf" But didn't think in your case: + 17 Jan 2013; Pacho Ramos <pacho@gentoo.org> gconf-2.32.4.ebuild, + gconf-3.2.5.ebuild: + Previous form still fails when EPREFIX contains >= spaced (#452170#c4 by + Arfrever Frehtes Taifersar Arahesis) +