Created attachment 537860 [details] emerge --info Having problems with new 18.20 on some cards I wanted to re-install ye goode olde 17.50.511655. But as the ebuild got upgraded to EAPI 7 this is no longer possible: >>> Install amdgpu-pro-opencl-17.50.511655 into /var/tmp/portage/dev-libs/amdgpu-pro-opencl-17.50.511655/image category dev-libs * ERROR: dev-libs/amdgpu-pro-opencl-17.50.511655::gentoo failed (install phase): * 'dolib' has been banned for EAPI '7'
Created attachment 537862 [details] build.log
(In reply to ernsteiswuerfel from comment #0) > Created attachment 537860 [details] > emerge --info > > Having problems with new 18.20 on some cards I wanted to re-install ye goode > olde 17.50.511655. But as the ebuild got upgraded to EAPI 7 this is no > longer possible: > > >>> Install amdgpu-pro-opencl-17.50.511655 into /var/tmp/portage/dev-libs/amdgpu-pro-opencl-17.50.511655/image category dev-libs > * ERROR: dev-libs/amdgpu-pro-opencl-17.50.511655::gentoo failed (install > phase): > * 'dolib' has been banned for EAPI '7' if you require a temporary fix the newer 18.20 ebuild is EAPI-7 compliant. replacing dolib with dolib.so in the 17.50 ebuild appears to fix this. src_install() { into "/opt/amdgpu" dolib.so opt/${SUPER_PN}/lib/x86_64-linux-gnu/* dolib.so opt/amdgpu/lib/x86_64-linux-gnu/* insinto "/opt/amdgpu" doins -r opt/amdgpu/share insinto /etc/OpenCL/vendors/ echo "/opt/amdgpu/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file" doins "${SUPER_PN}.icd" }
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbc198b5b76f85efaa6f691a52de8128b6f44554 commit dbc198b5b76f85efaa6f691a52de8128b6f44554 Author: Vladyslav Brovko <brovushkin+gentoo@gmail.com> AuthorDate: 2018-07-08 10:06:11 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2018-07-09 14:04:14 +0000 dev-libs/amdgpu-pro-opencl: version bump 17.50-552542 New build, new HOMEPAGE, fixes incomplete conversion to EAPI 7. Closes: https://bugs.gentoo.org/659676 Package-Manager: Portage-2.3.36, Repoman-2.3.9 Signed-off-by: Marek Szuba <marecki@gentoo.org> dev-libs/amdgpu-pro-opencl/Manifest | 1 + .../amdgpu-pro-opencl-17.50.552542.ebuild | 81 ++++++++++++++++++++++ 2 files changed, 82 insertions(+)