Created attachment 379868 [details] build.log make[5]: Entering directory `/var/tmp/portage/x11-libs/libva-intel-driver-1.3.0/work/libva-intel-driver-1.3.0-abi_x86_64.amd64/src/shaders/h264/mc' cpp -DDEV_ILK -DBOOTSTRAP -I ../ildb/ AllAVC.asm > _mc0.avc_mc.gen5.asm && \ ../../gpp.py _mc0.avc_mc.gen5.asm avc_mc.gen5.asm && \ /usr/bin/intel-gen4asm -l list -a -e tmp.export.inc.gen5 -g 5 avc_mc.gen5.asm \ -o /dev/null && \ mv tmp.export.inc.gen5 export.inc.gen5 && \ cpp -DDEV_ILK -I ../ildb/ AllAVC.asm > _mc1.avc_mc.gen5.asm && \ ../../gpp.py _mc1.avc_mc.gen5.asm avc_mc.gen5.asm && \ rm _mc0.avc_mc.gen5.asm _mc1.avc_mc.gen5.asm cpp: error: AllAVC.asm: No such file or directory cpp: warning: ‘-x c’ after last input file has no effect cpp: fatal error: no input files compilation terminated. make[5]: *** [avc_mc.gen5.asm] Error 1
Created attachment 379870 [details] emerge --info
It turns out that the directory at ${WORKDIR}/libva-intel-driver-1.3.0-abi_x86_64.amd64/src/shaders/h264/mc is simply empty, as compared to ${WORKDIR}/libva-intel-driver-1.3.0/src/shaders/h264/mc
I have this same problem on 1.3.2 as well. rm _mc0.avc_mc.gen5.asm _mc1.avc_mc.gen5.asm cpp: error: AllAVC.asm: No such file or directory cpp: warning: ‘-x c’ after last input file has no effect cpp: fatal error: no input files compilation terminated. Makefile:638: recipe for target 'avc_mc.gen5.asm' failed make[5]: *** [avc_mc.gen5.asm] Error 1 make[5]: Leaving directory '/var/tmp/portage/x11-libs/libva-intel-driver-1.3.2/work/libva-intel-driver-1.3.2-abi_x86_64.amd64/src/shaders/h264/mc'
Figured out the cause. intel-gpu-tools-1.7 causes this. I attempted to downgrade to 1.3 but that wouldn't build, so I downgraded to 1.2 and this finally built.
Fascinating - confirmed
- intel-gpu-tools-1.2 works because intel-gen4asm is shipped only since 1.6 - build fails regardless of libva-intel-driver-1.3.2 or 9999 - build fails on gen4 as well as gen7 hardware
I fix this bug. Please see https://bugs.gentoo.org/show_bug.cgi?id=473408#c8 .
I see this same bug on x11-libs/libva-intel-driver-1.4.0
x11-libs/libva-intel-driver-1.4.1 still fails.
(In reply to Joe Kappus from comment #4) > Figured out the cause. > > intel-gpu-tools-1.7 causes this. I attempted to downgrade to 1.3 but that > wouldn't build, so I downgraded to 1.2 and this finally built. Can confirm this workaround still applies with libva-intel-driver-1.4.1, although I suspect it's not the greatest idea out there. intel-gpu-tools-1.3 didn't compile for me either, had to use 1.2.
+ 03 Nov 2014; Alexis Ballier <aballier@gentoo.org> + libva-intel-driver-1.4.1.ebuild, libva-intel-driver-9999.ebuild: + Disable regenerating shaders; it is not needed and causes problems: bugs + #473408 and #515632 +
*** Bug 540342 has been marked as a duplicate of this bug. ***
How about flagging the fixed ebuild stable? After 4 months...
(In reply to Laszlo Valko from comment #13) > How about flagging the fixed ebuild stable? After 4 months... Do you mean as in KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" ? It requires a stable request. Do you know what one is?
Cancel it's been done; https://bugs.gentoo.org/show_bug.cgi?id=538640?