-
Notifications
You must be signed in to change notification settings - Fork 89
Closed
Description
Fails with
[5 of 5] Compiling System.Cmd ( System/Cmd.hs, /tmp/process-1.6.13.0/dist-newstyle/build/x86_64-linux/ghc-9.0.1/process-1.6.13.0/build/System/Cmd.o, /tmp/process-1.6.13.0/dist-newstyle/build/x86_64-linux/ghc-9.0.1/process-1.6.13.0/build/System/Cmd.dyn_o )
cbits/posix/find_executable.c:12:10: error:
fatal error: common.h: No such file or directory
12 | #include "common.h"
| ^~~~~~~~~~
|
12 | #include "common.h"
| ^
compilation terminated.
`cc' failed in phase `C Compiler'. (Exit code: 1)
If I run cabal get process ; cd process-1.6.13.0 ; cabal build
.
If I clone from master, it works, which suggests that the tarball isn't including common.h
. Which makes sense, since cabal sdist --list-only
gives
./LICENSE
./Setup.hs
./System/Cmd.hs
./System/Process.hs
./System/Process/Common.hs
./System/Process/Internals.hs
./System/Process/Posix.hs
./System/Process/Windows.hsc
./aclocal.m4
./cbits/posix/find_executable.c
./cbits/posix/fork_exec.c
./cbits/posix/posix_spawn.c
./cbits/posix/runProcess.c
./cbits/win32/runProcess.c
./changelog.md
./configure
./configure.ac
./exes/echo.bat
./exes/subdir/echo.bat
./include/HsProcessConfig.h.in
./include/processFlags.h
./include/runProcess.h
./process.buildinfo
./process.cabal
./test/main.hs
!
I guess need to update the extra-source-files
field of the .cabal
file?
Metadata
Metadata
Assignees
Labels
No labels