Fix for build lttng-modules build error
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | module.bbclass: make sure do_make_scripts() executes after do_patch()meta/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] Fix for build lttng-modules build error
From: Tom Zanussi <[email protected]>
This is an untested patch for a build error seen on the Yocto autobuilder. I'm unable to reproduce the problem locally, so can't say whether it actually fixes the problem or not - hoping it can be tested under mut first to see if it works.
Basically the problem is that do_make_scripts with lttng-modules fails because it can't cd into the workdir:
/srv/home/pokybuild/yocto-autobuilder/yocto-slave/cedartrail/build/build/tmp/work/cedartrail-poky-linux/lttng-modules/2.0.5-r0/temp/run.do_make_scripts.27949: line 113: cd: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/cedartrail/build/build/tmp/work/cedartrail-poky-linux/lttng-modules/2.0.5-r0/git: No such file or directory
Looking at the build I see that that directory is actually there, but it obviously wasn't when do_make_scripts() was run. So apparently we have a race and in the failed case the unpack happened after do_make_scripts() instead of before as expected. So the patch makes sure that doesn't happen
The following changes since commit da598d4f0fcf6faa62055084a51d70d735399d33:
eglibc: fix checksums of fetched patches (2012-12-13 18:02:21 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib.git tzanussi/module-do-make-scripts-fix
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/module-do-make-scripts-fix
Tom Zanussi (1):
module.bbclass: make sure do_make_scripts() executes after do_patch()
meta/classes/module.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.4.1