Exclude rts.cabal from source distributions

This modifies both the Hadrian and make build systems to avoid included
the rts.cabal generated by autoconf in the source distribution.

Fixes #17265.
22 jobs for !1852 with wip/T17265 in 412 minutes and 32 seconds (queued for 5 seconds)
detached
Status Job ID Name Coverage
  Lint
passed #167672
lint
ghc-linters

00:00:14

passed #167673
lint
lint-linters

00:00:14

passed #167676
lint
lint-submods-mr

00:00:15

passed #167674
lint
lint-testsuite

00:00:14

passed #167675
lint
typecheck-testsuite

00:00:13

 
  Build
passed #167678
x86_64-linux
hadrian-ghc-in-ghci

00:14:02

passed #167680
x86_64-linux
release-x86_64-linux-deb9-dwarf

01:56:24

passed #167679
x86_64-linux
validate-x86_64-linux-deb9-debug

01:41:09

passed #167677
x86_64-linux
validate-x86_64-linux-deb9-hadrian

02:43:33

 
  Full Build
failed #167682
aarch64-linux allowed to fail
validate-aarch64-linux-deb9

00:11:54

passed #167683
x86_64-linux
validate-i386-linux-deb9

01:24:48

passed #167681
x86_64-darwin
validate-x86_64-darwin

00:56:47

passed #167684
x86_64-linux
validate-x86_64-linux-deb9-integer-simple

01:26:04

passed #167875
x86_64-linux
validate-x86_64-linux-deb9-unreg

02:01:59

passed #167686
x86_64-linux
validate-x86_64-linux-fedora27

01:19:56

failed #167688
x86_64-windows allowed to fail
validate-x86_64-windows

00:42:51

failed #167687
x86_64-windows allowed to fail
validate-x86_64-windows-hadrian

00:53:09

failed #167685
x86_64-linux
validate-x86_64-linux-deb9-unreg

01:12:33

 
  Cleanup
passed #167689
x86_64-darwin
cleanup-darwin

00:00:06

 
  Packaging
failed #167690
x86_64-linux allowed to fail
doc-tarball

00:00:16

 
  Testing
manual #167691
x86_64-linux allowed to fail manual
hackage
passed #167692
x86_64-linux
perf-nofib

00:39:44

 
Name Stage Failure
failed
validate-x86_64-windows-hadrian Full Build
Runtime platform                                    arch=amd64 os=windows pid=4984 revision=1f513601 version=11.10.1
WARNING: ghc.tar.xz: no matching files
WARNING: junit.xml: no matching files
ERROR: No files to upload
Uploading artifacts...
Runtime platform
arch=amd64 os=windows pid=3988 revision=1f513601 version=11.10.1
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit status 1
failed
validate-x86_64-windows Full Build
Runtime platform                                    arch=amd64 os=windows pid=1400 revision=1f513601 version=11.10.1
WARNING: ghc-*.tar.xz: no matching files
WARNING: junit.xml: no matching files
ERROR: No files to upload
Uploading artifacts...
Runtime platform
arch=amd64 os=windows pid=7080 revision=1f513601 version=11.10.1
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit status 2
failed
doc-tarball Packaging
$ git submodule update --init --recursive
Submodule path 'libraries/process': checked out 'b8a780852541669a86a1891af20d58c1d4d65ce6'
$ git checkout .gitmodules
$ git fetch https://gitlab.haskell.org/ghc/ghc-performance-notes.git refs/notes/perf:refs/notes/perf || true
From https://gitlab.haskell.org/ghc/ghc-performance-notes
957282b63e..e85f77330c refs/notes/perf -> refs/notes/perf
$ if [ ! -f "$LINUX_BINDIST" ]; then # collapsed multi-line command
Error: ghc-x86_64-mingw32.tar.xz does not exist. Did the 64-bit Windows job fail?
ERROR: Job failed: exit code 1
failed
validate-aarch64-linux-deb9 Full Build
$ cp -Rf $HOME/.cabal cabal-cache
Uploading artifacts...
WARNING: ghc-*.tar.xz: no matching files
WARNING: junit.xml: no matching files
ERROR: No files to upload
Uploading artifacts...
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1