Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 659676 - dev-libs/amdgpu-pro-opencl-17.50.511655 'dolib' has been banned for EAPI '7'
Summary: dev-libs/amdgpu-pro-opencl-17.50.511655 'dolib' has been banned for EAPI '7'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Vladyslav Brovko
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-30 12:17 UTC by ernsteiswuerfel
Modified: 2018-07-09 14:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_659676.txt,5.94 KB, text/plain)
2018-06-30 12:17 UTC, ernsteiswuerfel
Details
build.log (build.log,2.80 KB, text/plain)
2018-06-30 12:22 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2018-06-30 12:17:09 UTC
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'
Comment 1 ernsteiswuerfel archtester 2018-06-30 12:22:34 UTC
Created attachment 537862 [details]
build.log
Comment 2 Michael Crawford (ali3nx) 2018-07-07 00:08:02 UTC
(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"
}
Comment 3 Larry the Git Cow gentoo-dev 2018-07-09 14:04:21 UTC
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(+)