[OE-core] [PATCH 4/5] lttng-tools: upgrade to 2.9.3

Nathan Lynch nathan_lynch at mentor.com
Fri Jan 13 15:01:22 UTC 2017


Nathan Lynch <nathan_lynch at mentor.com> writes:
> "Burton, Ross" <ross.burton at intel.com> writes:
>
>> This upgrade is failing on the autobuilders:
>>
>> DEBUG: Executing shell function do_install_ptest_base
>> install: failed to access
>> ‘TOPDIR/tmp/work/mips64-poky-linux/lttng-tools/2.9.3-r0/image/usr/lib/lttng-tools/ptest/tests/destructive’:
>> No such file or directory
>
> I'm unable to recreate this so far.  Any idea what's going on here?
>
> Here's the relevant code from the recipe's do_install_ptest:
>
>     # Copy the tests directory tree and the executables and
>     # Makefiles found within.
>     for d in $(find "${B}/tests" -type d -not -name .libs -printf '%P ') ; do
>         find "${B}/tests/$d" -maxdepth 1 -executable -type f \
>             -exec install -D -t "${D}${PTEST_PATH}/tests/$d" {} +
>         test -r "${B}/tests/$d/Makefile" && \
>             install -D -t "${D}${PTEST_PATH}/tests/$d" "${B}/tests/$d/Makefile"
>     done
>
> And the contents of ${B}/tests/destructive/:
> -rwxr-xr-x. 3 nathanl nathanl 19298 Jan 12 10:42 Makefile
> -rwxr-xr-x. 3 nathanl nathanl  6547 Jan 12 10:44 metadata-regeneration
>
> I'm guessing it's something like a directory creation race but I can't
> see it.

This seems like a plausible explanation (a difference in install -D
behavior):

http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=6c65ce4c643b038c61bd332aab5ea87a75117273

I've got coreutils 8.25 here; I assume the version on the autobuilder is
older than that but newer than 6.2.

I'll verify this theory and likely respin to work around the old
coreutils.



More information about the Openembedded-core mailing list