| Anonymous | Login | Signup for a new account | 11-10-2008 11:08 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 | ||||
| 0001097 | [buildroot] Other | trivial | always | 11-20-06 17:47 | 02-12-07 05:43 | ||||
| Reporter | alchemar | View Status | public | ||||||
| Assigned To | buildroot | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 0.9.27 | ||||||
| Summary | 0001097: dependency checks - Debian gcc | ||||||||
| Description |
My Debian Distribution adds a version number in gcc that was creating a warning on the dependency checks. I modified the sed statement so that it will grab the first set of numbers instead of the last by looking for "not a number" [^0-9]* instead of "any" .* character at the start of the pattern. checked out code from svn on 11-19-2006 buildroot/toolchain/dependencies/dependencies.sh Line 73 COMPILER_VERSION=$($COMPILER --version 2>&1 | head -n1 | $XSED -e 's/^.* \([0-9\.]\)/\1/g' -e "s/[-\ ].*//g") COMPILER_VERSION=$($COMPILER --version 2>&1 | head -n1 | $XSED -e 's/^[^0-9]* \([0-9\.]\)/\1/g' -e "s/[-\ ].*//g") |
||||||||
| Additional Information |
Output from gcc --version showing extra numbers: $ gcc --version gcc (GCC) 3.3.5 (Debian 1:3.3.5-13) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Output from make: sed works: Ok GNU make version '3.80': Ok .//toolchain/dependencies/dependencies.sh: line 81: [: 1:3: integer expression expected gcc version '1:3.3.5': Ok which installed: Ok bison installed: Ok flex installed: Ok gettext installed: Ok Build system dependencies: Ok |
||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |