Bug 4239 - pulseaudio changes directory in do_compile
Summary: pulseaudio changes directory in do_compile
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-04-10 13:33 UTC by Ross Burton
Modified: 2013-04-11 11:37 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2013-04-10 13:33:28 UTC
When S!=B is enabled, base_do_compile does a simple existence check for Makefile and determines that the file doesn't exist.  It appears to be doing this test in $S and failing when B!=S, so the do_install task is when the compilation actually happens.
Comment 1 Richard Purdie 2013-04-11 10:45:05 UTC
base_do_compile runs in ${B} by default so I think its correct. pulseaudio does a "cd ${S}" in its do_compile_prepend which breaks it specifically. Is this being seen in any other recipe than pulseaudio?
Comment 2 Ross Burton 2013-04-11 10:49:09 UTC
Okay, idiot Ross looked in the .inc and wasn't expecting there to be logic in the .bb.

As far as I'm aware this isn't seen in other recipes, I was clearly being over-eager.