After libncursesw.so.8 recently became libncursesw.so.9 in -CURRENT, ghc-pkg started to complain: Installing library in /construction/xports/lang/ghc/work/ghc-8.6.5-boot/lib/ghc-8.6.5/ghc-8.6.5 "/construction/xports/lang/ghc/work/ghc-8.6.5-boot/lib/ghc-8.6.5/bin/ghc-pkg" --force --global-package-db "/construction/xports/lang/ghc/work/ghc-8.6.5-boot/lib/ghc-8.6.5/package.conf.d" update rts/dist/package.conf.install ld-elf.so.1: Shared object "libncursesw.so.8" not found, required by "ghc-pkg" The above is from an attempt at using ports-mgmt/synth to build lang/ghc. We might need new bootstrappers for -CURRENT.
I'm aware of the problem, just don't have time to take a look at that. I believe, this can be fixed by adding compat12x port to BUILD_DEPENDS. Maybe you can try that?
(In reply to Gleb Popov from comment #1) Success! Thank you.
In case someone comes wanting to spend time on this: I think I have an simple patch, it's building now and requires also testing on 12, will probably submit in CET morning.
(In reply to Evilham from comment #3) That would be great! I can test it for 12 and 11.
*sigh* can't add the patch kw :-D anyway. Here is the patch: https://reviews.freebsd.org/D24014 (note I created that with `arc diff lang/ghc --preview` and then from the web interface, still getting used to this :-)) Tested against 12 and 13, used it to build the new version of elm-format in poudriere and things appear to work fine.
A commit references this bug: Author: arrowd Date: Tue Mar 10 18:45:38 UTC 2020 New revision: 528190 URL: https://svnweb.freebsd.org/changeset/ports/528190 Log: lang/ghc: Fix build on CURRENT. PR: 244556 Submitted by: Evilham <contact@evilham.com> Differential Revision: https://reviews.freebsd.org/D24014 Changes: head/lang/ghc/Makefile
A commit references this bug: Author: arrowd Date: Wed Mar 11 05:21:24 UTC 2020 New revision: 528207 URL: https://svnweb.freebsd.org/changeset/ports/528207 Log: lang/ghc: Follow-up fix for r528190. PR: 244556 Reported by: Evilham <contact@evilham.com>, pkubaj Changes: head/lang/ghc/Makefile
A commit references this bug: Author: arrowd Date: Wed Mar 11 17:46:13 UTC 2020 New revision: 528241 URL: https://svnweb.freebsd.org/changeset/ports/528241 Log: Follow-follow-up for r528190. PR: 244556 Submitted by: Evilham <contact@evilham.com> Differential Revision: https://reviews.freebsd.org/D24023 Changes: head/lang/ghc/Makefile