Bug 2834

Summary: libsamplerate0-0.1.8-r0: task do_compile: Failed
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Nitin Kamble <nitin.a.kamble>
Component: multimediaAssignee: Cristian Iorga <cristian.iorga>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, alexandrux.palalau, jessica.zhang, meta.mr.watcher, meta.watcher, richard.purdie, song.liu
Version: unspecified   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: (autobuilder)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Nitin Kamble 2012-07-26 07:36:42 UTC
i586-poky-linux-gcc  -m32   -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. -I../src -I./../src     -O2 -pipe -g -feliminate-unused-debug-types -std=gnu99 -W -Wstrict-prototypes -Wmissing-prototypes -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wpointer-arith -pipe -c timewarp-file.c
| sndfile-resample.c:30:21: fatal error: sndfile.h: No such file or directory
| compilation terminated.
| varispeed-play.c:31:21: fatal error: sndfile.h: No such file or directorymake[1]: *** [sndfile-resample.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| 
| compilation terminated.
| audio_out.c:32:21: fatal error: sndfile.h: No such file or directory
| compilation terminated.
| make[1]: *** [varispeed-play.o] Error 1
| make[1]: *** [audio_out.o] Error 1
| timewarp-file.c:30:21: fatal error: sndfile.h: No such file or directory
| compilation terminated.
| make[1]: *** [timewarp-file.o] Error 1
| make[1]: Leaving directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/libsamplerate0-0.1.8-r0/libsamplerate-0.1.8/examples'
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/libsamplerate0-0.1.8-r0/temp/log.do_compile.12997 for further information)
NOTE: package libsamplerate0-0.1.8-r0: task do_compile: Failed


Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2+snapshot-20120725"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta
meta-yocto        = "master:0ffb02eec2beaea27ff0ec9d3d31b0a09e675a4c"
meta-qt3          = "master:f8475d5c5935695d4d1dfff1d7be30f49e162094"


Autobuilder log: http://autobuilder.yoctoproject.org:8010/builders/nightly-world/builds/190/steps/shell_34/logs/stdio
Comment 1 Cristian Iorga 2012-07-26 10:48:16 UTC
I was not able to replicate it.
Did a git pull today, so:
DISTRO_VERSION    = "1.2+snapshot-20120726".

libsamplerate0 compiled and build cleanly.
Comment 2 Nitin Kamble 2012-07-26 10:52:36 UTC
in that case it may be dependency issue. probably the recipe sndfile.h is not in the DEPENDS of the libsamplerate
Comment 3 Nitin Kamble 2012-07-26 10:53:47 UTC
which recipe provides sndfile.h ?
try "bitbake clean"ning that recipe before testing.
Comment 4 Alexandru Georgescu 2012-08-27 10:34:57 UTC
(In reply to comment #3)
> which recipe provides sndfile.h ?
> try "bitbake clean"ning that recipe before testing.

(In reply to comment #1)
> I was not able to replicate it.
> Did a git pull today, so:
> DISTRO_VERSION    = "1.2+snapshot-20120726".
> 
> libsamplerate0 compiled and build cleanly.

Hi Cristian,
Do you have an update regarding this?

Thanks,
Alex.
Comment 5 Cristian Iorga 2012-08-27 14:20:32 UTC
Hello,

Like I said previously, I was not able to replicate it.
If a test case can be provided, I will investigate it.

Regards,
Cristian
Comment 7 Alexandru Palalau 2012-11-01 16:04:06 UTC
Verified on master branch, commit ID:05a1f4a5a32c6cc392fa4480732101d668cd6f77