sorcery 1.15.1 has problems with grep > 2.10 (Bug #438)
Description
sorcery 1.15.1 has problems with grep > 2.10
If you run sorcery / Option / Optimize Architecture you get these warnings before you can set Architecture
grep: /usr/share/archspecs/32/ia32/amd: Is a directory
grep: /usr/share/archspecs/32/ia32/intel/x86: Is a directory
grep: /usr/share/archspecs/32/ia32/intel/em64t: Is a directory
grep: /usr/share/archspecs/32/ia32/intel: Is a directory
grep: /usr/share/archspecs/32/ia32: Is a directory
grep: /usr/share/archspecs/32/superh/hitachi/sh4: Is a directory
grep: /usr/share/archspecs/32/superh/hitachi: Is a directory
grep: /usr/share/archspecs/32/superh: Is a directory
grep: /usr/share/archspecs/32/ppc/generic/g5: Is a directory
grep: /usr/share/archspecs/32/ppc/generic/g4: Is a directory
grep: /usr/share/archspecs/32/ppc/generic/g3: Is a directory
grep: /usr/share/archspecs/32/ppc/generic: Is a directory
grep: /usr/share/archspecs/32/ppc: Is a directory
grep: /usr/share/archspecs/32/arm/intel/strongarm: Is a directory
grep: /usr/share/archspecs/32/arm/intel: Is a directory
grep: /usr/share/archspecs/32/arm: Is a directory
grep: /usr/share/archspecs/32: Is a directory
grep: /usr/share/archspecs/null/null/null/null: Is a directory
grep: /usr/share/archspecs/null/null/null: Is a directory
grep: /usr/share/archspecs/null/null: Is a directory
grep: /usr/share/archspecs/null: Is a directory
grep: /usr/share/archspecs/64/sparc/sun/sun4: Is a directory
grep: /usr/share/archspecs/64/sparc/sun: Is a directory
grep: /usr/share/archspecs/64/sparc: Is a directory
grep: /usr/share/archspecs/64/ppc/generic/g5: Is a directory
grep: /usr/share/archspecs/64/ppc/generic: Is a directory
grep: /usr/share/archspecs/64/ppc: Is a directory
grep: /usr/share/archspecs/64/x86_64/generic/x86_64: Is a directory
grep: /usr/share/archspecs/64/x86_64/generic: Is a directory
grep: /usr/share/archspecs/64/x86_64/amd/k8: Is a directory
grep: /usr/share/archspecs/64/x86_64/amd: Is a directory
grep: /usr/share/archspecs/64/x86_64/intel/em64t: Is a directory
grep: /usr/share/archspecs/64/x86_64/intel: Is a directory
grep: /usr/share/archspecs/64/x86_64: Is a directory
grep: /usr/share/archspecs/64/alpha/dec/ev67: Is a directory
grep: /usr/share/archspecs/64/alpha/dec/generic: Is a directory
grep: /usr/share/archspecs/64/alpha/dec: Is a directory
grep: /usr/share/archspecs/64/alpha: Is a directory
grep: /usr/share/archspecs/64: Is a directory
grep: /usr/share/archspecs: Is a directory
Associated revisions
sorcery: only look at spec files when scanning architectures, fixes #438
grep 2.11 changelog:
grep no longer silently suppresses errors when reading a directory
as if it were a text file. For example, "grep x ." now reports a
read error on most systems; formerly, it ignored the error.
[bug introduced in grep-2.5]
this exposed a bug, since we were doing exactly that without suppression
sorcery: only look at spec files when scanning architectures, fixes #438
grep 2.11 changelog:
grep no longer silently suppresses errors when reading a directory
as if it were a text file. For example, "grep x ." now reports a
read error on most systems; formerly, it ignored the error.
[bug introduced in grep-2.5]
this exposed a bug, since we were doing exactly that without suppression
History
Updated by Anonymous 9 months ago
Applied in changeset d501705a0bf61a056dbe2a16e21a76d3473e3862.
- % Done changed from 0 to 100
- Status changed from New to Resolved
Updated by Anonymous 9 months ago
Applied in changeset e8bce5226a18b3364c8d0340f3e7d0b3f2b20edb.
Updated by Jaka Kranjc 9 months ago
- Status changed from Resolved to Closed
Updated by Ladislav Hagara 7 months ago
grep reverted to 2.12 in test grimoire