Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663878 - dev-libs/amdgpu-pro-opencl-18.20.606296::gentoo wong workdir
Summary: dev-libs/amdgpu-pro-opencl-18.20.606296::gentoo wong workdir
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-08-17 14:27 UTC by 10_a_gentoo
Modified: 2018-08-31 13:44 UTC (History)
2 users (show)

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


Attachments
Manifest (Manifest,1.54 KB, text/plain)
2018-08-17 22:21 UTC, 10_a_gentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 10_a_gentoo 2018-08-17 14:27:57 UTC
Install amdgpu-pro-opencl tell me to need to differed locates to work. But do nothing.

---- backtrace ----

:>emerge -va amdgpu-pro-opencl

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N F  ~] dev-libs/amdgpu-pro-opencl-18.20.606296::gentoo  225327 KiB

Total: 1 package (1 new), Size of downloads: 225327 KiB
Fetch Restriction: 1 package (1 unsatisfied)

Fetch instructions for dev-libs/amdgpu-pro-opencl-18.20.606296:
 * Please download the Radeon Software for Linux Driver 18.20 for Ubuntu 16 from
 *     https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx
 * The archive should then be placed into /var/tmp/tmpAz_V0x/portage/dev-libs/amdgpu-pro-opencl-18.20.606296/distdir.

Would you like to merge these packages? [Yes/No] ^Z
[1]+  Stopped                 emerge -va amdgpu-pro-opencl
:>mkdir -p /var/tmp/tmpAz_V0x/portage/dev-libs/amdgpu-pro-opencl-18.20.606296/distdir 
:>cd /var/tmp/tmpAz_V0x/portage/dev-libs/amdgpu-pro-opencl-18.20.606296/distdir 
:>wget https://www2.ati.com/drivers/linux/ubuntu/18.04/amdgpu-pro-18.20-606296.tar.xz
--2018-08-17 16:21:10--  https://www2.ati.com/drivers/linux/ubuntu/18.04/amdgpu-pro-18.20-606296.tar.xz
Resolving www2.ati.com... 23.58.217.211
Connecting to www2.ati.com|23.58.217.211|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.amd.com/de-de/download/incomplete [following]
--2018-08-17 16:21:10--  https://support.amd.com/de-de/download/incomplete
Resolving support.amd.com... 104.86.48.51
Connecting to support.amd.com|104.86.48.51|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.amd.com/de/support [following]
--2018-08-17 16:21:10--  https://www.amd.com/de/support
Resolving www.amd.com... 104.86.48.51
Connecting to www.amd.com|104.86.48.51|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'amdgpu-pro-18.20-606296.tar.xz'

amdgpu-pro-18.20-606296.tar.xz                                  [ <=>                                                                                                                                       ] 182.04K  --.-KB/s    in 0.04s   

2018-08-17 16:21:11 (4.34 MB/s) - 'amdgpu-pro-18.20-606296.tar.xz' saved [186406]

:>cd
:>fg
emerge -va amdgpu-pro-opencl
y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-libs/amdgpu-pro-opencl-18.20.606296::gentoo

!!! dev-libs/amdgpu-pro-opencl-18.20.606296 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.

 * Fetch failed for 'dev-libs/amdgpu-pro-opencl-18.20.606296', Log file:
 *  '/var/tmp/portage/dev-libs/amdgpu-pro-opencl-18.20.606296/temp/build.log'
 * Please download the Radeon Software for Linux Driver 18.20 for Ubuntu 16 from
 *     https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx
 * The archive should then be placed into /var/tmp/portage/dev-libs/amdgpu-pro-opencl-18.20.606296/distdir.

>>> Failed to emerge dev-libs/amdgpu-pro-opencl-18.20.606296, Log file:

>>>  '/var/tmp/portage/dev-libs/amdgpu-pro-opencl-18.20.606296/temp/build.log'

 * Messages for package dev-libs/amdgpu-pro-opencl-18.20.606296:

 * Fetch failed for 'dev-libs/amdgpu-pro-opencl-18.20.606296', Log file:
 *  '/var/tmp/portage/dev-libs/amdgpu-pro-opencl-18.20.606296/temp/build.log'
:>emerge -va amdgpu-pro-opencl

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N F  ~] dev-libs/amdgpu-pro-opencl-18.20.606296::gentoo  225327 KiB

Total: 1 package (1 new), Size of downloads: 225327 KiB
Fetch Restriction: 1 package (1 unsatisfied)

Fetch instructions for dev-libs/amdgpu-pro-opencl-18.20.606296:
 * Please download the Radeon Software for Linux Driver 18.20 for Ubuntu 16 from
 *     https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx
 * The archive should then be placed into /var/tmp/tmpv_22Gs/portage/dev-libs/amdgpu-pro-opencl-18.20.606296/distdir.

Would you like to merge these packages? [Yes/No] ^Z
[1]+  Stopped                 emerge -va amdgpu-pro-opencl
:>mkdir /var/tmp/portage/dev-libs/amdgpu-pro-opencl-18.20.606296/distdir
:>cd /var/tmp/portage/dev-libs/amdgpu-pro-opencl-18.20.606296/distdir
:>wget https://www2.ati.com/drivers/linux/ubuntu/18.04/amdgpu-pro-18.20-606296.tar.xz
--2018-08-17 16:22:45--  https://www2.ati.com/drivers/linux/ubuntu/18.04/amdgpu-pro-18.20-606296.tar.xz
Resolving www2.ati.com... 23.58.217.211
Connecting to www2.ati.com|23.58.217.211|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://support.amd.com/de-de/download/incomplete [following]
--2018-08-17 16:22:45--  https://support.amd.com/de-de/download/incomplete
Resolving support.amd.com... 104.86.48.51
Connecting to support.amd.com|104.86.48.51|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.amd.com/de/support [following]
--2018-08-17 16:22:45--  https://www.amd.com/de/support
Resolving www.amd.com... 104.86.48.51
Connecting to www.amd.com|104.86.48.51|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'amdgpu-pro-18.20-606296.tar.xz'

amdgpu-pro-18.20-606296.tar.xz                                  [ <=>                                                                                                                                       ] 182.04K  --.-KB/s    in 0.04s   

2018-08-17 16:22:45 (4.48 MB/s) - 'amdgpu-pro-18.20-606296.tar.xz' saved [186406]

:>cd
:>fg
emerge -va amdgpu-pro-opencl
y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-libs/amdgpu-pro-opencl-18.20.606296::gentoo

!!! dev-libs/amdgpu-pro-opencl-18.20.606296 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.

 * Fetch failed for 'dev-libs/amdgpu-pro-opencl-18.20.606296', Log file:
 *  '/var/tmp/portage/dev-libs/amdgpu-pro-opencl-18.20.606296/temp/build.log'
 * Please download the Radeon Software for Linux Driver 18.20 for Ubuntu 16 from
 *     https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx
 * The archive should then be placed into /var/tmp/portage/dev-libs/amdgpu-pro-opencl-18.20.606296/distdir.

>>> Failed to emerge dev-libs/amdgpu-pro-opencl-18.20.606296, Log file:

>>>  '/var/tmp/portage/dev-libs/amdgpu-pro-opencl-18.20.606296/temp/build.log'

 * Messages for package dev-libs/amdgpu-pro-opencl-18.20.606296:

 * Fetch failed for 'dev-libs/amdgpu-pro-opencl-18.20.606296', Log file:
 *  '/var/tmp/portage/dev-libs/amdgpu-pro-opencl-18.20.606296/temp/build.log'
Comment 1 Vladyslav Brovko 2018-08-17 18:48:55 UTC
It is pity but AMD does not support wget to download because they want you to agree with license. Just use browser to download the drivers.
Comment 2 10_a_gentoo 2018-08-17 21:10:18 UTC
Download via Firefox become the same result.
Comment 3 10_a_gentoo 2018-08-17 21:12:26 UTC
Placing the file onto /usr/portage come with this result: 

>>> Emerging (1 of 1) dev-libs/amdgpu-pro-opencl-18.20.606296::gentoo
!!! Previously fetched file: 'amdgpu-pro-18.20-606296.tar.xz'
!!! Reason: Filesize does not match recorded size
!!! Got:      213272620
!!! Expected: 230733856
Refetching... File renamed to '/usr/portage/distfiles/amdgpu-pro-18.20-606296.tar.xz._checksum_failure_.78LPA3'
Comment 4 10_a_gentoo 2018-08-17 22:08:23 UTC
Fix: I have change the second line of the Manifest file into /usr/portage/dev-libs/amdgpu-pro-opencl/ and replace the line with; "DIST amdgpu-pro-18.20-606296.tar.xz 213272620 BLAKE2B 8c2e2c9b77d0fbbdbefcfbd97f77944396e6a9d829ace54d453a539931e949da91c5bda9c8a74c5cc590d805cb54650f23235f8d6faea598fd814d6ce2b61fd4 SHA512 51e763638f91c1f22ab4c9822684b5eab176fec316cb1749ef568e7b44828d5545b137ce5b1f56682fed071d5237206e65b12bb496b7d2c0b91e3342a29aad39"

not need to move the file into /var/tmp* sucks, runs nicely fron /usr/portage/distfile.


Manifest will upload soon - fixet
Comment 5 10_a_gentoo 2018-08-17 22:21:31 UTC
Created attachment 543862 [details]
Manifest

Fixed Manifest
Comment 6 Vladyslav Brovko 2018-08-18 07:07:50 UTC
You used incorrect archive from Ubuntu 18.04 instead of 16.04.
Comment 7 Larry the Git Cow gentoo-dev 2018-08-31 13:44:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05fcacfa020c30287618b250f1a5300fcf26d782

commit 05fcacfa020c30287618b250f1a5300fcf26d782
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2018-08-31 13:43:16 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2018-08-31 13:43:16 +0000

    dev-libs/amdgpu-pro-opencl: do not use DISTDIR in pkg_nofetch()
    
    Under recent versions of portage DISTDIR points to a temporary directory
    in PORTAGE_TMPDIR rather than /usr/portage/distfiles. Follow the example
    of recent versions of dev-java/oracle-jre-bin and just say "your
    distfiles directory" instead.
    
    Closes: https://bugs.gentoo.org/663878
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild | 2 +-
 dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)