| Anonymous | Login | Signup for a new account | 11-10-2008 11:19 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0001501 | [buildroot] Architecture Specific | minor | always | 09-13-07 11:24 | 12-30-07 12:27 | |||||||
| Reporter | murphy666 | View Status | public | |||||||||
| Assigned To | uClibc | |||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | assigned | Product Version | ||||||||||
| Summary | 0001501: cross-compile bash does not support "set -o pipefail" or $PIPESTATUS builtin variable | |||||||||||
| Description |
When building BASH (3.2 or 3.1 with latest patch) using buildroot & uClibc (tested uClibc 0.9.29,0.9.28.3) I'm unable to use PIPEFAIL or PIPESTATUS. PIPESTATUS Description : http://tldp.org/LDP/abs/html/internalvariables.html [^] pipefail script example : set -o pipefail cat /tmp/anynotfound | tee -a /tmp/test will always return 0 has exit code. with the pipefail mode, the exit code should be the last non zero exit code (in this example cat /tmp/anynotfound fail so it should return 1) PIPESTATUS exmaple : exit 1 | exit 2 | exit 3 echo ${PIPESTATUS[@]} PIPESTATUS should return string "1 2 3" but always return "0" |
|||||||||||
| Additional Information | ||||||||||||
| Attached Files | ||||||||||||
|
|
||||||||||||
Notes |
|
|
(0003319) vapier 12-30-07 12:27 |
i doubt this is a uClibc problem. bash is known to have problems when cross-compiling. build it natively and i imagine it'll start to magically work. |
| Copyright © 2000 - 2006 Mantis Group |