Skip to content

1.6.13.0 release tarball is broken #211

@vmchale

Description

@vmchale

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions