| Summary: | Prefix/Cygwin: //home/* is not a working EPREFIX | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Al <oss.elmar> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | gmturner007 |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
this really should be reevaluated |
On windows //home/* is different from /home/*. //home/* as EPREFIX breaks emerging. Maybe all occurrances of EROOT="${ROOT}${EPREFIX}" should be replaced with EROOT="${ROOT%/}${EPREFIX}". Similar bug #334271 Reproducible: Always Steps to Reproduce: Emerge Gentoo Prefix on Cygwin. Actual Results: Example: Emerging of Python breaks while python.eselect is executed from bin/eselect. In the special case of eselect I found the issue in gentoo/usr/bin/eselect: EROOT="${ROOT}${EPREFIX}" line 49: # Support variables for Gentoo Prefix EPREFIX="/home/prefix/gentoo" EROOT="${ROOT}${EPREFIX}" A simple overall search gives me up to 7 occurrances of the ${ROOT}${EPREFIX} pair. $ grep -R '${ROOT}${EPREFIX}' gentoo/ gentoo/usr/bin/bashcomp-config:EROOT="${ROOT}${EPREFIX}" gentoo/usr/bin/eselect:EROOT="${ROOT}${EPREFIX}" gentoo/usr/bin/kernel-config:EROOT="${ROOT}${EPREFIX}" gentoo/usr/bin/profile-config:EROOT="${ROOT}${EPREFIX}" gentoo/usr/bin/rc-config:EROOT="${ROOT}${EPREFIX}" gentoo/usr/portage/app-admin/eselect-rails/eselect-rails-0.15.ebuild: sed -i -e "s|\${ROOT}|\${ROOT}${EPREFIX}|g" rails.eselect || die gentoo/usr/portage/eclass/elisp-common.eclass: local sitelisp=${ROOT}${EPREFIX}${SITELISP} gentoo/usr/portage/scripts/deapify: # expand ${EROOT} into ${ROOT}${EPREFIX} Al