Summary: | eutils.eclass: eshopts_push fails with empty option flags | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ulrich Müller <ulm> |
Component: | Eclasses | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Properly quote argument in eshopts_push(). |
This has been fixed a long time ago. |
Created attachment 419772 [details, diff] Properly quote argument in eshopts_push(). The following sequence of commands (e.g. in src_install): set +$- eshopts_push eshopts_pop ... fails with: * ERROR: app-misc/foo-2::local failed (install phase): * eshopts_pop: unbalanced push * * Call stack: * ebuild.sh, line 133: Called src_install * environment, line 1982: Called eshopts_pop * environment, line 833: Called die * The specific snippet of code: * estack_pop eshopts s || die "${FUNCNAME}: unbalanced push"; Attached patch should fix it.