Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391249 - x11-drivers/ati-drivers-11.11 fails to install on x86 with USE=opencl
Summary: x11-drivers/ati-drivers-11.11 fails to install on x86 with USE=opencl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-21 14:58 UTC by Stefano Takekawa
Modified: 2011-11-21 15:28 UTC (History)
2 users (show)

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


Attachments
ati-drivers-11.11.ebuild patch (ati-drivers-11.11.ebuild.diff,307 bytes, patch)
2011-11-21 15:01 UTC, Stefano Takekawa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefano Takekawa 2011-11-21 14:58:47 UTC
When emerging ati-drivers-11.11 with USE=opencl on x86, the ebuild wants to install a file which does not exist for 32bit, because it belongs to the 64bit stuff

Reproducible: Always

Steps to Reproduce:
1. emerge =ati-drivers-11.11
2.
3.
Actual Results:  
>>> Source compiled.
>>> Test phase [not enabled]: x11-drivers/ati-drivers-11.11

>>> Install ati-drivers-11.11 into /var/tmp/portage/x11-drivers/ati-drivers-11.11/image/ category x11-drivers
 * Installing fglrx module
 * ati tree 'lib' -> 'lib' on system
install: impossibile eseguire stat di "/var/tmp/portage/x11-drivers/ati-drivers-11.11/work/arch/x86/etc/OpenCL/vendors/amdocl64.icd": File o directory non esistente
!!! doins: /var/tmp/portage/x11-drivers/ati-drivers-11.11/work/arch/x86/etc/OpenCL/vendors/amdocl64.icd does not exist
 * ERROR: x11-drivers/ati-drivers-11.11 failed (install phase):
 *   doins failed
 * 
 * If you need support, post the output of 'emerge --info =x11-drivers/ati-drivers-11.11',
 * the complete build log and the output of 'emerge -pqv =x11-drivers/ati-drivers-11.11'.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-11.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-11.11/temp/environment'.
 * S: '/var/tmp/portage/x11-drivers/ati-drivers-11.11/work'
 * QA Notice: file does not exist:
 * 
 * 	doins: /var/tmp/portage/x11-drivers/ati-drivers-11.11/work/arch/x86/etc/OpenCL/vendors/amdocl64.icd does not exist

>>> Failed to emerge x11-drivers/ati-drivers-11.11, Log file:


Expected Results:  
emerge should install amdocl32.icd instead of amdocl64.icd and complete the install
Comment 1 Stefano Takekawa 2011-11-21 15:01:38 UTC
Created attachment 293327 [details, diff]
ati-drivers-11.11.ebuild patch

emerge succeded with the ebuild patched in this way
Comment 2 Enrico Tagliavini 2011-11-21 15:28:55 UTC
Thank you very much for spotting this. Your fix has just been pushed to x11 overlay. It will be migrated to the main tree in short.

Best regards