Summary: | www-client/chromium-50.0.2657.0 fails to compile with system ffmpeg | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paweł Hajdan, Jr. (RETIRED) <phajdan.jr> |
Component: | Current packages | Assignee: | Chromium Project <chromium> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bitlord0xff, steev |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Paweł Hajdan, Jr. (RETIRED)
2016-03-03 19:28:30 UTC
Same here. It's not just this single header file, the build accesses many libav headers. I symlinked all /usr/include/libav* directories to work/chromium-50.0.2661.37/third_party/ffmpeg (in case of libavcodec, I symlinked the files within it, not the dir) and restarted the emerge. Seems to work for me... While masking is a good thing, this has broken the build for both arm and arm64; It seems that the internal ffmpeg is passing incorrect compiler triples. On armv7 it seems to be passing armv7a-cros-linux-gnueabi and on arm64 it is passing aarch64-linux-gnu /usr/bin/aarch64-linux-gnu-gcc -O2 -pipe -march=armv8-a -mcpu=cortex-a53 -march=armv8-a -c -o /var/tmp/portage/www-client/chromium-51.0.2687.0/work/temp/ffconf.S29j3FwS.o /var/tmp/portage/www-client/chromium-51.0.2687.0/work/temp/ffconf.vRUKgKpA.c /var/tmp/portage/www-client/chromium-51.0.2687.0/work/chromium-51.0.2687.0/third_party/ffmpeg/configure: line 850: /usr/bin/aarch64-linux-gnu-gcc: No such file or directory C compiler test failed. It seems that even when compiling natively on the hardware, the ffmpeg script passes --enable-cross-compile and --cross-prefix=/usr/bin/aarch64-linux-gnu- Same here: media-video/ffmpeg-2.8.6:0/54.56.56::gentoo USE="X encode gpl hardcoded-tables opus postproc threads vdpau vorbis vpx x264 xvid zlib -aac -aacplus -alsa (-altivec) -amr -amrenc (-armv5te) (-armv6) (-armv6t2) (-armvfp) -bluray -bs2b -bzip2 -cdio -celt -cpudetection -debug -doc -examples -faac -fdk -flite -fontconfig -frei0r -fribidi -gme -gnutls -gsm -iconv -iec61883 -ieee1394 -jack -jpeg2k -ladspa -libass -libcaca -libressl -librtmp -libsoxr -libv4l -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -modplug -mp3 (-neon) -network -openal -opengl -openssl -oss -pic -pulseaudio -quvi -samba -schroedinger -sdl -snappy -speex -ssh -static-libs {-test} -theora -truetype -twolame -v4l -vaapi -wavpack -webp -x265 -xcb -zvbi" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3 -3dnow -3dnowext -avx -avx2 -fma3 -fma4 -sse4_2 -xop" FFTOOLS="-aviocat -cws2fws -ffescape -ffeval -ffhash -fourcc2pixfmt -graph2dot -ismindex -pktdumper -qt-faststart -sidxindex -trasher" www-client/chromium-50.0.2661.66::gentoo [48.0.2564.116::gentoo] USE="(pic) proprietary-codecs system-ffmpeg -cups -custom-cflags -gn -gnome -gnome-keyring (-gtk3) -hangouts -hidpi -hotwording -kerberos (-neon) -pulseaudio (-selinux) -tcmalloc* {-test} -widevine" LINGUAS="ru -am -ar -bg -bn -ca -cs -da -de -el -en_GB -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt_BR -pt_PT -ro -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW" What I've done to fix it localy: 1. Start emerge chromium, wait for unpack 2. Run in other term: ln -s /usr/include/libav* /var/tmp/portage/www-client/chromium-50.0.2661.66/work/chromium-50.0.2661.66/third_party/ffmpeg/ Uploaded https://codereview.chromium.org/1894443003 to address this. (In reply to Paweł Hajdan, Jr. from comment #4) > Uploaded https://codereview.chromium.org/1894443003 to address this. Patch working, emerge successful. Thank you. |