1 |
On Mon, 2009-08-03 at 00:36 -0400, Frank Peters wrote: |
2 |
> I run python-updater. I get this: |
3 |
> |
4 |
> command substitution: line 415: syntax error near unexpected token `<' |
5 |
> command substitution: line 415: `scanelf -qBN ${OLD_SONAME} < <(' |
6 |
> |
7 |
> Python-updater is a bash script. Checking the source reveals |
8 |
> this code at line 415: |
9 |
> |
10 |
> broken_libs="$(scanelf -qBN ${OLD_SONAME} < <( |
11 |
> grep -e '^obj' ${content} | cut -d' ' -f2))" |
12 |
> |
13 |
> Now, this line is a nested command substitution. To fix, just |
14 |
> replace the second "<" character with "$": |
15 |
> |
16 |
> broken_libs="$(scanelf -qBN ${OLD_SONAME} < $( |
17 |
> grep -e '^obj' ${content} | cut -d' ' -f2))" |
18 |
> |
19 |
> |
20 |
> This fix removes the error message and allows python-updater to |
21 |
> check my system, but I now see some other messages which are, |
22 |
> to me, a bit puzzling. Here is just one example of many: |
23 |
> |
24 |
> /usr/bin/rgb2ycbcr: No such file or directory |
25 |
> |
26 |
> The file rgb2ycbcr is there, as are all the other files that are |
27 |
> marked as missing. |
28 |
> |
29 |
> Is python-updater working properly for everyone? I searched |
30 |
> google and bugs.gentoo.org for the above line 415 error message but |
31 |
> found nothing, and I can't believe that no one else has so far |
32 |
> missed it. A bug like this should have been spotted immediately, |
33 |
> yet re-emerging python-updater gives the same error. |
34 |
> |
35 |
> Frank Peters |
36 |
> |
37 |
> |
38 |
|
39 |
ran python-updater yesterday and worked fine. upgraded from 2.5 to 2.6. |
40 |
i had to run it twice though to catch everything. |
41 |
|
42 |
Lance |