sorcery 1.15.1 has problems with grep > 2.10 (Bug #438)


Added by Ladislav Hagara 9 months ago. Updated 7 months ago.


Status:Closed Start date:08/20/2012
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:-

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

Revision d501705a
Added by Jaka Kranjc 9 months ago

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

Revision e8bce522
Added by Jaka Kranjc 9 months ago

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

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

Updated by Anonymous 9 months ago

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

Also available in: Atom PDF