Created attachment 518362 [details, diff] patch to qt5-build.eclass fixing arguments to newins the newins commands in qt5_install_module_config() that were added recently to qt5-build.eclass, fail in a prefix installation ("file does not exist"). the first argument of the newins should be "${QT5_ARCHDATADIR}"/.... instead of "${D}${QT5_ARCHDATADIR#${EPREFIX}}"/.... see attached patch.
Thanks for your report. The patch doesn't look right though. The correct fix is using "${D}${QT5_ARCHDATADIR}" instead of "${D}${QT5_ARCHDATADIR#${EPREFIX}}"
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/qt.git/commit/?id=92b7e6c8b72ded7e357353209254a42a08b20ad0 commit 92b7e6c8b72ded7e357353209254a42a08b20ad0 Author: Michael Palimaka <kensington@gentoo.org> AuthorDate: 2018-02-09 23:18:58 +0000 Commit: Michael Palimaka <kensington@gentoo.org> CommitDate: 2018-02-09 23:19:05 +0000 qt5-build.eclass: fix install on prefix Bug: https://bugs.gentoo.org/646902 eclass/qt5-build.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)}
*** Bug 647844 has been marked as a duplicate of this bug. ***
thanks for your fix. how long should it take, that this fix shows up in gentoo's /usr/portage/eclass/qt5build.eclass ? i.e., in https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/qt5-build.eclass
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7af3e0c8da764351c0760608e11f9ea91aedcba1