Emerge of www-apps/phpsysinfo 3.2.10-r1 yielded this output: * Package: www-apps/phpsysinfo-3.2.10-r1 * Repository: gentoo * Maintainer: ck+gentoo@bl4ckb0x.de proxy-maint@gentoo.org,web-apps@gentoo.org * Upstream: https://github.com/phpsysinfo/phpsysinfo/issues * USE: abi_x86_32 elibc_glibc kernel_linux userland_GNU x86 * FEATURES: sandbox userpriv usersandbox /usr/portage/eclass/webapp.eclass: line 59: usr/sbin/webapp-config: No such file or directory * ERROR: www-apps/phpsysinfo-3.2.10-r1::gentoo failed (setup phase): * Could not read settings from webapp-config! * * Call stack: * ebuild.sh, line 124: Called pkg_setup * ebuild.sh, line 371: Called webapp_pkg_setup * webapp.eclass, line 390: Called webapp_read_config * webapp.eclass, line 59: Called die * The specific snippet of code: * ENVVAR=$(${WEBAPP_CONFIG} --query ${PN} ${PVR}) || die "Could not read settings from webapp-config!" this line: /usr/portage/eclass/webapp.eclass: line 59: usr/sbin/webapp-config There is a missing "/" in front of "usr/sbin/webapp-config"
Created attachment 555362 [details, diff] webapps.eclass.patch Wouldn't that patch fix it?
Created attachment 555364 [details, diff] 0001-eclass-webapp.eclass-fix-ROOT-path-with-EAPI-7.patch
I applied the patch to my local copy of webapp.eclass and emerged www-apps/phpsysinfo-3.2.10-r1 Worked OK, so patch cures the problem, thanks. I see a pull request in the bug log - but my local copy (emerge --sync last night 26 Nov) was still in original form. I guess something else has to happen to distribute the fixed webapp.eclass ?
*** Bug 672232 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c317f1194eeb7e9b10fa7f8845b62d0d575a1733 commit c317f1194eeb7e9b10fa7f8845b62d0d575a1733 Author: Conrad Kostecki <conrad@kostecki.com> AuthorDate: 2019-02-19 21:03:09 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-02-21 10:29:09 +0000 eclass/webapp.eclass: fix install with EAPI=7 Starting with EAPI=7 the ROOT variable does not contain any trailing slash anymore, so it need's to be adjusted to work with EAPI=7, while maintaining compatibility with older EAPI. Closes: https://bugs.gentoo.org/671258 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Closes: https://github.com/gentoo/gentoo/pull/11112 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> eclass/webapp.eclass | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)