[GHC] #15856: GhostScript not available for hp2ps tests

GHC ghc-devs at haskell.org
Sat Nov 3 19:28:58 UTC 2018


#15856: GhostScript not available for hp2ps tests
-------------------------------------+-------------------------------------
           Reporter:  jrp            |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Test Suite     |           Version:  8.6.1
           Keywords:  ghostscript    |  Operating System:  Linux
  gs hp2ps testsuite                 |
       Architecture:                 |   Type of failure:  Incorrect result
  Unknown/Multiple                   |  at runtime
          Test Case:  T7919 T14761c  |        Blocked By:
           Blocking:                 |   Related Tickets:  #15736
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 When I run `validate --slow` a number of tests fail, apparently
 erroneously, because `GhostScript not available for hp2ps tests`.

 I don't know why this is the case (Ghostscript is installed on my ubuntu;
 perhaps there are some developer libraries / headers that also need to be
 installed, but I don't recall seeing anything in the documentation about
 that).

 The message "GhostScript not available for hp2ps tests" seems to come from
 a Python script that Simon Marlow produced in 2002.  Unfortunately, there
 are two places where the message could have been generated.

 There are probably 2 ways forward:

  - a temporary bodge: taking the running of those tests that depend on
 hp2ps out of validation, in the same way that certain tests are not run
 when a dependent library is unavailable

 - figuring out why the python script fails to understand that a
 ghostscript is actually present and fixing that

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


More information about the ghc-tickets mailing list