Re: [yocto] Detecting missing build dependencies

2016-01-27 Thread Burton, Ross
On 27 January 2016 at 15:29, Ulf Magnusson wrote: > 1) Why does test-dependencies.sh remove TMPDIR instead of just wiping the > sysroots? > For the thorough testing that test-dependencies does you could argue that entirely wiping tmpdir ensures that the builds are done from clean. 2) Is t

Re: [yocto] Detecting missing build dependencies

2016-01-27 Thread Ulf Magnusson
On Wed, Jan 27, 2016 at 3:59 PM, Martin Jansa wrote: > On 27 January 2016 at 14:45, Ulf Magnusson wrote: >> ... > See openembedded-core/scripts/test-dependencies.sh but it basically > automates rebuilding recipes after removing TMPDIR, but also it detects > autodetected dependencies. > > Regards,

Re: [yocto] Detecting missing build dependencies

2016-01-27 Thread Burton, Ross
On 27 January 2016 at 14:45, Ulf Magnusson wrote: > The only method I know of at the moment is to remove or rename tmp/ so > that the build uses a fresh sysroot and then trying to rebuild the > recipe. Is there something nicer? I think I remember reading about a > script for testing for missing b

Re: [yocto] Detecting missing build dependencies

2016-01-27 Thread Martin Jansa
On Wed, Jan 27, 2016 at 03:45:30PM +0100, Ulf Magnusson wrote: > Hello, > > If a recipe has a missing build dependency that the sysroot just > happens to contain anyway from an earlier build, then the build will > succeed only to fail later when the sysroot no longer has the build > dependency. We

[yocto] Detecting missing build dependencies

2016-01-27 Thread Ulf Magnusson
Hello, If a recipe has a missing build dependency that the sysroot just happens to contain anyway from an earlier build, then the build will succeed only to fail later when the sysroot no longer has the build dependency. We want to avoid that, so we're looking for ways to automatically check for u