On 2021/08/16 15:23, Greg Steuck wrote:
> CVSROOT: /cvs
> Module name: ports
> Changes by: [email protected] 2021/08/16 15:23:18
>
> Modified files:
> lang/ghc : Makefile distinfo
> lang/ghc/pkg : PFRAG.no_i386
> Removed files:
> lang/ghc/patches: patch-docs_users_guide_conf_py
> patch-libraries_process_include_runProcess_h
>
> Log message:
> Update lang/ghc to 8.10.6
>
> A couple of patches are obsolete now.
>
> OK kili
>
cabal-install isn't happy with this on i386:
===> Building for cabal-install-3.4.0.0p1
ghc-pkg: cannot find package base-4.14.2.0
bootstrap: running /usr/local/bin/ghc-8.10.6 --info
Bootstrapping cabal-install with GHC 8.10.6 at /usr/local/bin/ghc-8.10.6...
DO NOT use this script if you have another recent cabal-install available.
This script is intended only for bootstrapping cabal-install on new
architectures.
Creating package database _build/packages.conf
bootstrap: running /usr/local/bin/ghc-pkg-8.10.6 init _build/packages.conf
bootstrap: running /usr/local/bin/ghc-pkg-8.10.6 describe rts-1.0.1
Using rts-1.0.1 from GHC...
bootstrap: running /usr/local/bin/ghc-pkg-8.10.6 describe ghc-prim-0.6.1
Using ghc-prim-0.6.1 from GHC...
bootstrap: running /usr/local/bin/ghc-pkg-8.10.6 describe integer-gmp-1.0.3.0
Using integer-gmp-1.0.3.0 from GHC...
bootstrap: running /usr/local/bin/ghc-pkg-8.10.6 describe base-4.14.2.0
Traceback (most recent call last):
File "bootstrap/bootstrap.py", line 389, in <module>
main()
File "bootstrap/bootstrap.py", line 357, in main
bootstrap(info, ghc)
File "bootstrap/bootstrap.py", line 249, in bootstrap
check_builtin(dep, ghc)
File "bootstrap/bootstrap.py", line 167, in check_builtin
subprocess_run([str(ghc.ghc_pkg_path), 'describe',
f'{dep.package}-{dep.version}'],
File "bootstrap/bootstrap.py", line 386, in subprocess_run
return subprocess.run(args, **kwargs)
File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/local/bin/ghc-pkg-8.10.6',
'describe', 'base-4.14.2.0']' returned non-z
ero exit status 1.