| Summary: | Can't install prebuilt SDK | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] ADT | Reporter: | Nick G <exosyst> |
| Component: | adt | Assignee: | Stefan Stanacar <sstncr> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | Medium+ | CC: | jessica.zhang, poky.adt.watcher, poky.bs.watcher, poky.watcher, rpjday, sstncr |
| Version: | unspecified | ||
| Target Milestone: | 1.5 M3 | ||
| Hardware: | x86 | ||
| OS: | x86 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Nick G
2013-07-15 22:06:41 UTC
OK, So i've just tested this on a slightly older F18 machine and it installed fine so *something* changed on F19. Is there any triaging I can do to help this along? The problem it's in the script here:
executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm +111)
-perm +mode is no longer supported according to F19's find's man page:
-perm +mode
This is no longer supported (and has been deprecated since
2005). Use -perm /mode instead.
F18's man page says:
-perm +mode
Deprecated, old way of searching for files with any of the per‐
mission bits in mode set. You should use -perm /mode instead.
Trying to use the `+' syntax with symbolic modes will yield sur‐
prising results. For example, `+u+x' is a valid symbolic mode
(equivalent to +u,+x, i.e. 0111) and will therefore not be eval‐
uated as -perm +mode but instead as the exact mode specifier
-perm mode and so it matches files with exact permissions 0111
instead of files with any execute bit set. If you found this
paragraph confusing, you're not alone - just use -perm /mode.
This form of the -perm test is deprecated because the POSIX
specification requires the interpretation of a leading `+' as
being part of a symbolic mode, and so we switched to using `/'
instead.
The new /mode seems to workson F18 and Ubuntu 12.04, I'll send a fix.
Assigning the bug to Stefan as he already has the fix. I've sent a fix on the ML. With that applied I've built meta-toolchain on latest master and that installed just fine. Merged in master, commit 8db36429ef328b97340ee1d9fc2e697cfdd68bff |