Force module recompilation if '*' prefix was used to load modules in ghci (#8042)

Usually pre-compiled code is preferred to be loaded in ghci if available, which means
that if we try to load module with '*' prefix and compilation artifacts are available
on disc (.o and .hi files) or the source code was untouched, the driver would think
no recompilation is required. Therefore, we need to force recompilation so that desired
byte-code is generated and loaded. Forcing in this case should be ok, since this is what
happens for interpreted code anyways when reloading modules.
42 jobs for !4461 with T8042-recomp-fix in 463 minutes and 16 seconds (queued for 2 seconds)
detached
Status Job ID Name Coverage
  Tool Lint
passed #499770
lint
ghc-linters

00:01:12

passed #499771
lint
lint-linters

00:01:11

passed #499774
lint
lint-submods

00:00:21

passed #499772
lint
lint-testsuite

00:00:16

passed #499773
lint
typecheck-testsuite

00:00:16

 
  Quick Build
passed #499818
x86_64-linux
hadrian-ghc-in-ghci

00:10:34

failed #499775
x86_64-linux
hadrian-ghc-in-ghci

00:00:03

 
  Lint
passed #499776
lint
lint-base

00:15:13

 
  Build
passed #499822
x86_64-linux
stack-hadrian-build

00:16:05

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

01:59:36

failed #499819
x86_64-linux
stack-hadrian-build

00:00:03

failed #499777
x86_64-linux
stack-hadrian-build

00:00:04

failed #499778
x86_64-linux
validate-x86_64-linux-deb9-hadrian

00:00:04

 
  Full Build
failed #499825
aarch64-linux allowed to fail
validate-aarch64-linux-deb10

00:20:07

failed #499826
armv7-linux allowed to fail
validate-armv7-linux-deb10

00:21:08

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

01:55:21

passed #499823
x86_64-darwin
validate-x86_64-darwin

01:13:40

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

01:51:25

passed #499830
x86_64-linux
validate-x86_64-linux-deb9-dwarf

01:55:46

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

01:28:31

manual #499786
x86_64-linux allowed to fail manual
validate-x86_64-linux-deb9-tsan
passed #499824
x86_64-linux
validate-x86_64-linux-deb9-unreg-hadrian

02:47:38

passed #499848
x86_64-linux
validate-x86_64-linux-fedora27

01:40:13

passed #499832
test new-x86_64-windows
validate-x86_64-windows-hadrian

03:41:03

failed #499781
aarch64-linux allowed to fail
validate-aarch64-linux-deb10

01:08:36

failed #499782
armv7-linux allowed to fail
validate-armv7-linux-deb10

01:09:06

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

01:40:52

failed #499783
x86_64-linux
validate-i386-linux-deb9

01:09:23

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

02:00:08

failed #499827
x86_64-linux
validate-i386-linux-deb9

00:00:05

failed #499780
x86_64-darwin
validate-x86_64-darwin

01:09:02

failed #499784
x86_64-linux
validate-x86_64-linux-deb9-debug

01:08:28

failed #499787
x86_64-linux
validate-x86_64-linux-deb9-dwarf

01:09:00

failed #499785
x86_64-linux
validate-x86_64-linux-deb9-integer-simple

01:09:12

failed #499779
x86_64-linux
validate-x86_64-linux-deb9-unreg-hadrian

01:56:02

failed #499788
x86_64-linux
validate-x86_64-linux-fedora27

01:08:39

failed #499831
x86_64-linux
validate-x86_64-linux-fedora27

00:22:16

failed #499789
new-x86_64-windows test
validate-x86_64-windows-hadrian

01:08:33

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

00:02:04

 
  Testing
manual #499791
x86_64-linux allowed to fail manual
hackage
passed #499793
x86_64-linux-perf
perf

00:10:07

passed #499792
x86_64-linux
perf-nofib

00:37:46

 
Name Stage Failure
failed
doc-tarball Packaging
+ cd ..
+ '[' 0 -eq 0 ']'
+ rm -r linux
+ tar -Jxf /builds/nineonine/ghc/ghc-x86_64-unknown-mingw32.tar.xz
+ mv ghc-9.1.0.20201116-x86_64-unknown-mingw32 windows
+ cd inst/share/doc/ghc-9.1.0.20201116/html/libraries
+ mv '../../../../../../windows/doc/html/libraries/Win32-*' .
mv: cannot stat '../../../../../../windows/doc/html/libraries/Win32-*': No such file or directory
ERROR: Job failed: exit code 1
failed
validate-aarch64-linux-deb10 Full Build
Uploading artifacts...
WARNING: ghc-aarch64-linux-deb10.tar.xz: no matching files
WARNING: junit.xml: no matching files
WARNING: performance-metrics.tsv: 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
failed
validate-armv7-linux-deb10 Full Build
Uploading artifacts...
WARNING: ghc-armv7-linux-deb10.tar.xz: no matching files
WARNING: junit.xml: no matching files
WARNING: performance-metrics.tsv: 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