Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 515632

Summary: x11-libs/libva-intel-driver-1.3.0 - cpp: error: AllAVC.asm: No such file or directory
Product: Gentoo Linux Reporter: Andreas Sturmlechner <asturm>
Component: [OLD] LibraryAssignee: Alexis Ballier <aballier>
Status: RESOLVED FIXED    
Severity: normal CC: ago, bkohler, cedric.godin, christophe.chabanois, gem, gentoo, jekarlson, nrndda, pageexec, patrakov, pcmoore, proxy-maint, thomas.bettler, tka
Priority: Normal    
Version: 10.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 538640    
Bug Blocks:    
Attachments: build.log
emerge --info

Description Andreas Sturmlechner gentoo-dev 2014-06-28 21:32:41 UTC
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
Comment 1 Andreas Sturmlechner gentoo-dev 2014-06-28 21:35:06 UTC
Created attachment 379870 [details]
emerge --info
Comment 2 Andreas Sturmlechner gentoo-dev 2014-07-04 20:19:26 UTC
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
Comment 3 Joe Kappus 2014-08-10 04:28:33 UTC
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'
Comment 4 Joe Kappus 2014-08-14 06:17:55 UTC
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.
Comment 5 Andreas Sturmlechner gentoo-dev 2014-08-15 19:20:49 UTC
Fascinating - confirmed
Comment 6 Andreas Sturmlechner gentoo-dev 2014-08-15 21:14:28 UTC
- 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
Comment 7 Yury Zhuravlev 2014-09-26 18:14:42 UTC
I fix this bug. Please see https://bugs.gentoo.org/show_bug.cgi?id=473408#c8 .
Comment 8 Gary E. Miller 2014-10-24 19:14:23 UTC
I see this same bug on x11-libs/libva-intel-driver-1.4.0
Comment 9 tka 2014-10-27 13:28:34 UTC
x11-libs/libva-intel-driver-1.4.1 still fails.
Comment 10 Thomas Kear 2014-10-28 06:38:35 UTC
(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.
Comment 11 Alexis Ballier gentoo-dev 2014-11-03 14:21:07 UTC
+  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
+
Comment 12 Alexis Ballier gentoo-dev 2015-02-17 17:09:23 UTC
*** Bug 540342 has been marked as a duplicate of this bug. ***
Comment 13 Laszlo Valko 2015-03-06 22:19:51 UTC
How about flagging the fixed ebuild stable? After 4 months...
Comment 14 Ian Delaney (RETIRED) gentoo-dev 2015-03-14 10:17:23 UTC
(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?
Comment 15 Ian Delaney (RETIRED) gentoo-dev 2015-03-14 10:20:10 UTC
Cancel it's been done;  https://bugs.gentoo.org/show_bug.cgi?id=538640?