[GHC] #9697: ./configure fails due to obselete usage of 'find -perm' in aclocal.m4

GHC ghc-devs at haskell.org
Thu Oct 16 11:24:07 UTC 2014


#9697: ./configure fails due to obselete usage of 'find -perm' in aclocal.m4
-------------------------------------+-------------------------------------
       Reporter:  nich               |                   Owner:
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Build System       |                 Version:  7.8.3
       Keywords:  aclocal.m4 find    |        Operating System:
  perm                               |  Unknown/Multiple
   Architecture:  Unknown/Multiple   |         Type of failure:  Building
     Difficulty:  Easy (less than 1  |  GHC failed
  hour)                              |               Test Case:
     Blocked By:                     |                Blocking:
Related Tickets:                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 ./configure produces error message when building on current Fedora (20).
 According to find ver 4.5.11 the usage '-perm +XXX' has been deprecated
 since 2005 (use '-perm \XXX' instead).  The message '/usr/bin/find:
 invalid mode '+111' ' is seen several times as a result.
 Whether this has any material impact I am not qualified to judge.  I am
 actually trying to build HaLVM (from Galois) and first noticed the issue
 in their fork of GHC.  However, this behaviour is also present in git HEAD
 (commit d7867810d5ffd08c77c30e928bb3dca21beae0b9).
 Making the obvious one line change in aclocal.m4 resolves the issue, and
 produces a clean build, for me at least.
 Patch attached

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9697>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list