Bug 2562

Summary: gst-ffmpeg do_configure failed on autobuilder for lsb build
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jiajun Xu <jiajun.xu>
Component: multimediaAssignee: Dongxiao Xu <dongxiao.xu>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: Undecided CC: alexandru.c.georgescu, hongnax.xu, laurentiu.serban, meta.mr.watcher, meta.watcher, ningx.ma, tom.zanussi, yilongx.y.sun
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Jiajun Xu 2012-06-08 16:23:58 UTC
tree/branch: poky/master
commit: df8f55a919b3cc602ce1f1c51630c7edf6e36b55
meta-intel branch: master
commit: 8bc2fa135060e941bcbb4dcfb664e175a3eb871d

On current autobuilder, several BSPs builds failed due to gst-ffmpeg do_configure error. The error message is as below. And you could find detailed test log on autobuilder, for exmaple, crownbay log from: http://autobuilder.pokylinux.org:8010/builders/sugarbay/builds/134/steps/shell_28/logs/stdio.

#########
| configure: Using /usr/lib/gstreamer-0.10 as the plugin install location
| checking to see if compiler understands ... yes
| checking to see if compiler understands -Wall... yes
| checking to see if compiler understands -Wdeclaration-after-statement... yes
| checking to see if compiler understands -Wvla... yes
| checking to see if compiler understands -Wpointer-arith... yes
| checking to see if compiler understands -Wmissing-declarations... yes
| checking to see if compiler understands -Wmissing-prototypes... yes
| checking to see if compiler understands -Wredundant-decls... yes
| checking to see if compiler understands -Wundef... yes
| checking to see if compiler understands -Wwrite-strings... yes
| checking to see if compiler understands -Wformat-nonliteral... yes
| checking to see if compiler understands -Wformat-security... yes
| checking to see if compiler understands -Wold-style-definition... yes
| checking to see if compiler understands -Winit-self... yes
| checking to see if compiler understands -Wmissing-include-dirs... yes
| checking to see if compiler understands -Waddress... yes
| checking to see if compiler understands -Waggregate-ERROR: Function failed: do_configure (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/sugarbay/build/build/tmp/work/x86_64-poky-linux/gst-ffmpeg-0.10.13-r3/temp/log.do_configure.25907 for further information)
| return... yes
| checking to see if compiler understands -Wno-multichar... yes
| checking to see if compiler understands -Wnested-externs... yes
| configure: set WARNING_CFLAGS to  -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs
| configure: set ERROR_CFLAGS to
| checking for BZ2_bzlibVersion in -lbz2... yes
| checking bzlib.h usability... yes
| checking bzlib.h presence... yes
| checking for bzlib.h... yes
| configure: Using local Libav snapshot
| configure: Using included Libav code
| configure: creating ./config.status
| config.status: creating Makefile
| config.status: creating common/Makefile
| config.status: creating common/m4/Makefile
| config.status: creating gst-ffmpeg.spec
| config.status: creating ext/Makefile
| config.status: creating ext/ffmpeg/Makefile
| config.status: creating ext/libpostproc/Makefile
| config.status: creating ext/libswscale/Makefile
| config.status: creating gst-libs/Makefile
| config.status: creating gst-libs/ext/Makefile
| config.status: creating docs/Makefile
| config.status: creating docs/version.entities
| config.status: creating tests/Makefile
| config.status: creating tests/check/Makefile
| config.status: creating tests/files/Makefile
| config.status: creating config.h
| config.status: executing depfiles commands
| config.status: executing libtool commands
| config.status: executing configure-embedded-ffmpeg commands
| Configuring included Libav instance with args --prefix=/usr --disable-ffserver --disable-ffplay        --disable-ffmpeg --disable-ffprobe --enable-static --enable-pic 	--disable-encoder=flac --disable-decoder=cavs --disable-protocols --disable-devices	--disable-network --disable-hwaccels --disable-filters --disable-doc	--enable-optimizations --enable-postproc         --enable-gpl --disable-yasm --enable-cross-compile         --target-os=linux --arch=x86_64 --cross-prefix=x86_64-poky-linux- --target-os=linux
| x86_64-poky-linux-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
| libav-user@libav.org mailing list or IRC #libav on irc.freenode.net.
| Include the log file "config.log" produced by configure as this will help
| solving the problem.
| config.status: error: Failed to configure embedded Libav tree
| ERROR: oe_runc
NOTE: package gst-ffmpeg-0.10.13-r3: task do_configure: Failed
#########
Comment 1 Tom Zanussi 2012-06-11 19:21:54 UTC
This is the same as 2464 - gst-ffmpeg do_configure fails with "C compiler test failed", reported 5/16 and apparently only seen with lsb builds.

*** This bug has been marked as a duplicate of bug 2464 ***