Summary: | www-client/chromium-46.0.2490.42 build_ffmpeg.py incorrect configure command for armv7a-hardfloat-linux-gnueabi | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steven Davies <gentoo-bugzilla2> |
Component: | Current packages | Assignee: | Chromium Project <chromium> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | moonlapse81, mudler, sarah+gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Fix for ffmpeg failing on arm devices
CORRECTED: Fix for ffmpeg failing on arm devices |
Description
Steven Davies
2015-10-08 19:58:42 UTC
Apologies, this *is* a cortex chip but a9 not a8. Not sure if related. Please "Include the log file 'config.log' produced by configure". Do you experience the same failure with the latest chromium-47 ebuild with the system-ffmpeg USE flag disabled? Yes, I receive the same with the later ebuild and the -system-ffmpeg USE flag set (i.e. disabled) >>> Preparing source in /var/tmp/portage/www-client/chromium-47.0.2526.16/work/chromium-47.0.2526.16 ... * Applying chromium-system-ffmpeg-r0.patch ... [ ok ] * Applying chromium-system-jinja-r7.patch ... [ ok ] * Applying chromium-widevine-r1.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/www-client/chromium-47.0.2526.16/work/chromium-47.0.2526.16 ... * Configuring bundled ffmpeg... System information: Host OS : linux Target OS : linux Host arch : arm Target arch : arm-neon Parallel jobs : 4 Chromium skipped Chrome configure/build: Running ['/var/tmp/portage/www-client/chromium-47.0.2526.16/work/chromium-47.0.2526.16/third_party/ffmpeg/configure', '--disable-everything', '--disable-all', '--disable-doc', '--disable-htmlpages', '--disable-manpages', '--disable-podpages', '--disable-txtpages', '--disable-static', '--enable-avcodec', '--enable-avformat', '--enable-avutil', '--enable-fft', '--enable-rdft', '--enable-static', '--disable-bzlib', '--disable-error-resilience', '--disable-iconv', '--disable-lzo', '--disable-network', '--disable-sdl', '--disable-symver', '--disable-xlib', '--disable-zlib', '--disable-securetransport', '--disable-d3d11va', '--disable-dxva2', '--disable-vaapi', '--disable-vda', '--disable-vdpau', '--disable-videotoolbox', '--enable-decoder=vorbis', '--enable-decoder=pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le', '--enable-decoder=pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw', '--enable-demuxer=ogg,matroska,wav', '--enable-parser=opus,vorbis', '--optflags="-O2"', '--enable-decoder=theora,vp8', '--enable-parser=vp3,vp8', '--arch=arm', '--enable-armv6', '--enable-armv6t2', '--enable-vfp', '--enable-thumb', '--extra-cflags=-march=armv7-a', '--enable-cross-compile', '--target-os=linux', '--cross-prefix=armv7a-cros-linux-gnueabi-', '--extra-cflags=-mtune=cortex-a8', '--extra-cflags=-mfloat-abi=hard', '--enable-neon', '--extra-cflags=-mfpu=neon', '--enable-pic', '--enable-decoder=aac,h264,mp3', '--enable-demuxer=aac,mp3,mov', '--enable-parser=aac,h264,mpegaudio'] armv7a-cros-linux-gnueabi-gcc is unable to create an executable file. C compiler test failed. If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solve the problem. Traceback (most recent call last): File "chromium/scripts/build_ffmpeg.py", line 591, in <module> sys.exit(main(sys.argv[1:])) File "chromium/scripts/build_ffmpeg.py", line 561, in main configure_args) File "chromium/scripts/build_ffmpeg.py", line 550, in do_build_ffmpeg options.config_only, branding, configure_flags) File "chromium/scripts/build_ffmpeg.py", line 203, in BuildFFmpeg [os.path.join(FFMPEG_DIR, 'configure')] + configure_flags, cwd=config_dir) File "chromium/scripts/build_ffmpeg.py", line 92, in PrintAndCheckCall subprocess.check_call(argv, *args, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/var/tmp/portage/www-client/chromium-47.0.2526.16/work/chromium-47.0.2526.16/third_party/ffmpeg/configure', '--disable-everything', '--disable-all', '--disable-doc', '--disable-htmlpages', '--disable-manpages', '--disable-podpages', '--disable-txtpages', '--disable-static', '--enable-avcodec', '--enable-avformat', '--enable-avutil', '--enable-fft', '--enable-rdft', '--enable-static', '--disable-bzlib', '--disable-error-resilience', '--disable-iconv', '--disable-lzo', '--disable-network', '--disable-sdl', '--disable-symver', '--disable-xlib', '--disable-zlib', '--disable-securetransport', '--disable-d3d11va', '--disable-dxva2', '--disable-vaapi', '--disable-vda', '--disable-vdpau', '--disable-videotoolbox', '--enable-decoder=vorbis', '--enable-decoder=pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le', '--enable-decoder=pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw', '--enable-demuxer=ogg,matroska,wav', '--enable-parser=opus,vorbis', '--optflags="-O2"', '--enable-decoder=theora,vp8', '--enable-parser=vp3,vp8', '--arch=arm', '--enable-armv6', '--enable-armv6t2', '--enable-vfp', '--enable-thumb', '--extra-cflags=-march=armv7-a', '--enable-cross-compile', '--target-os=linux', '--cross-prefix=armv7a-cros-linux-gnueabi-', '--extra-cflags=-mtune=cortex-a8', '--extra-cflags=-mfloat-abi=hard', '--enable-neon', '--extra-cflags=-mfpu=neon', '--enable-pic', '--enable-decoder=aac,h264,mp3', '--enable-demuxer=aac,mp3,mov', '--enable-parser=aac,h264,mpegaudio']' returned non-zero exit status 1 ~> emerge -puv "=www-client/chromium-47.0.2526.16" These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ~] www-client/chromium-47.0.2526.16::gentoo [43.0.2357.65::gentoo] USE="hangouts%* neon (pic) proprietary-codecs pulseaudio tcmalloc -cups -custom-cflags -gnome -gnome-keyring (-gtk3) -hidpi -hotwording% -kerberos (-selinux) (-system-ffmpeg) {-test} (-widevine)" LINGUAS="en_GB -am -ar -bg -bn -ca -cs -da -de -el -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 -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB (In reply to Mike Gilbert from comment #3) > Do you experience the same failure with the latest chromium-47 ebuild with > the system-ffmpeg USE flag disabled? To avoid rebuilding the build in ffmpeg both the system-ffmpeg and gn use flags would have to be disabled. Created attachment 431466 [details, diff]
Fix for ffmpeg failing on arm devices
This fixes the ffmpeg rebuild. It's a pretty generic non-architecture dependant patch. Unfortunately, even with the --disable-cross-compile option the ffmpeg build still uses the --cross-prefix option, so this has to be set in all cases.
Created attachment 431468 [details, diff]
CORRECTED: Fix for ffmpeg failing on arm devices
For some reason the last patch I added had the tabs replaced with spaces. This one switches it correctly back to tabs.
What's the current status on this? Declaring arm bug bankruptcy. I don't really have an arm system to test with - sorry about that. There didn't seem to be activity on these old bugs either. I suspect there are still some issues with chromium on arm. Please open new bugs for these, and let's see what we can do. |