Opened 8 years ago

Closed 8 years ago

#5449 closed bug (fixed)

Build failure with ghc 7.2.1: Missing (or bad) header file: runProcess.h

Reported by: dsf Owned by:
Priority: normal Milestone: 7.4.1
Component: libraries/process Version: 7.0.3
Keywords: Cc: yi.codeplayer@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


Hackage page shows a build failure for the process package.

Change History (10)

comment:1 Changed 8 years ago by jimstutt

This happens for me on:

archlinux ghc-7.0.3 (generic tarball) i696

scientific linux 2.6.32 ghc-7.2.1 (generic tarball) x86_64 (

comment:2 Changed 8 years ago by bergey

Status: newpatch

I can build process if I add a file processFlags.h to the include directory, with these two lines:


Not sure if processFlags.h is meant to be part of this package or elsewhere.

File contents cribbed from this thread; I can't seem to find the actual patch:

ubuntu Natty, haskell platform 2011.2, process-

comment:3 Changed 8 years ago by jimstutt

Worked for me after I'd rebuilt old-time- Tnx. Can close for me.

comment:4 Changed 8 years ago by dsf

I'm not sure we've yet reached the heart of the matter...

comment:5 Changed 8 years ago by dsf

runProcess.h is shipped with the process tarball in the include subdirectory, its just that gcc isn't seeing it during the build.

comment:6 Changed 8 years ago by igloo

Resolution: fixed
Status: patchclosed

Fixed in HEAD by:

commit d53840d9c45efab2fadac7ea01f026d14e3f60fd
Author: Ian Lynagh <>
Date:   Sun Sep 25 17:47:51 2011 +0100

    Add "processFlags.h" to "install-includes"

    Fixes #5449: The process package wouldn't build outside of a GHC tree.

comment:7 Changed 8 years ago by huangyi

Cc: yi.codeplayer@… added
Resolution: fixed
Status: closednew

I still experience this problem with ghc7.0.3 and process `cabal configure -v3' shows the real problem:

/usr/bin/gcc returned ExitFailure 1 with error message:
In file included from /tmp/9484.c:1:0:
include/runProcess.h:47:26: fatal error: processFlags.h: no such file or directory
compilation terminated.

I guess there still some files missing.

comment:8 Changed 8 years ago by igloo

Milestone: 7.4.1

comment:9 Changed 8 years ago by cygnus

Is there any chance we can have a bugfix release of process before the release of GHC 7.4.1?

comment:10 Changed 8 years ago by igloo

difficulty: Unknown
Resolution: fixed
Status: newclosed

It's now on hackage.

Note: See TracTickets for help on using tickets.