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