Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 498820 Details for
Bug 634396
epatch.eclass: epatch_user silently fails where portage is unable to traverse containing path
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gentoo-bug-634396-r1.patch
gentoo-bug-634396-r1.patch (text/plain), 2.12 KB, created by
kfm
on 2017-10-16 05:30:52 UTC
(
hide
)
Description:
gentoo-bug-634396-r1.patch
Filename:
MIME Type:
Creator:
kfm
Created:
2017-10-16 05:30:52 UTC
Size:
2.12 KB
patch
obsolete
>--- epatch.eclass.orig 2017-10-16 05:25:08.359862712 +0000 >+++ epatch.eclass 2017-10-16 05:24:47.689862960 +0000 >@@ -423,23 +423,37 @@ > # don't clobber any EPATCH vars that the parent might want > local EPATCH_SOURCE check > for check in ${CATEGORY}/{${P}-${PR},${P},${PN}}{,:${SLOT%/*}}; do >- EPATCH_SOURCE=${EPATCH_USER_SOURCE}/${CTARGET}/${check} >- [[ -r ${EPATCH_SOURCE} ]] || EPATCH_SOURCE=${EPATCH_USER_SOURCE}/${CHOST}/${check} >- [[ -r ${EPATCH_SOURCE} ]] || EPATCH_SOURCE=${EPATCH_USER_SOURCE}/${check} >- if [[ -d ${EPATCH_SOURCE} ]] ; then >- local old_n_applied_patches=${EPATCH_N_APPLIED_PATCHES:-0} >- EPATCH_SOURCE=${EPATCH_SOURCE} \ >- EPATCH_SUFFIX="patch" \ >- EPATCH_FORCE="yes" \ >- EPATCH_MULTI_MSG="Applying user patches from ${EPATCH_SOURCE} ..." \ >- epatch >- echo "${EPATCH_SOURCE}" > "${applied}" >- if [[ ${old_n_applied_patches} -lt ${EPATCH_N_APPLIED_PATCHES} ]]; then >- has epatch_user_death_notice ${EBUILD_DEATH_HOOKS} || \ >- EBUILD_DEATH_HOOKS+=" epatch_user_death_notice" >+ set -- \ >+ "${EPATCH_USER_SOURCE}/${CTARGET}/${check}" \ >+ "${EPATCH_USER_SOURCE}/${CHOST}/${check}" \ >+ "${EPATCH_USER_SOURCE}/${check}" >+ while true; do >+ EPATCH_SOURCE=$1 >+ if [[ -d ${EPATCH_SOURCE} || -L ${EPATCH_SOURCE} ]] \ >+ && [[ ! -r ${EPATCH_SOURCE} ]]; then >+ die "Unable to open user patch directory '${EPATCH_SOURCE}'; permission denied" > fi >- return 0 >+ if [[ -d ${EPATCH_SOURCE} ]]; then >+ # viable patch directory found >+ break >+ fi >+ if ! shift || [[ $# -eq 0 ]]; then >+ # no viable patch directories found; proceed to next 'check' >+ continue 2 >+ fi >+ done >+ local old_n_applied_patches=${EPATCH_N_APPLIED_PATCHES:-0} >+ EPATCH_SOURCE=${EPATCH_SOURCE} \ >+ EPATCH_SUFFIX="patch" \ >+ EPATCH_FORCE="yes" \ >+ EPATCH_MULTI_MSG="Applying user patches from ${EPATCH_SOURCE} ..." \ >+ epatch >+ echo "${EPATCH_SOURCE}" > "${applied}" >+ if [[ ${old_n_applied_patches} -lt ${EPATCH_N_APPLIED_PATCHES} ]]; then >+ has epatch_user_death_notice ${EBUILD_DEATH_HOOKS} || \ >+ EBUILD_DEATH_HOOKS+=" epatch_user_death_notice" > fi >+ return 0 > done > echo "none" > "${applied}" > return 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 634396
:
498816
| 498820