There is already an outstanding issue for quite some time: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244403 There seems not to be a proper fix yet, but at least for me the workaround mentioned might work for you as well. Just add
DEFAULT_VERSIONS+=llvm=10 to make.conf Good luck, Martin On 26/06/2020 16:04, Donald Wilde wrote: > In attempting to set up a stable PostgreSQL system, I chose to go back > to the pg11 series, as there are more tools and ports available to > support it than there are yet for pg12. > > I ran into an issue, documented in the attachments, that seems to > point to some quantity that does not include version 8 of the port, > only 1 - 7. Being a tidy soul, I used make clean first and that > resulted in a rebuild of LLVM90 as well. > > As I've said in other posts on the FreeBSD lists, I tend to add more > options than strictly necessary, but it seems to have bit me. LLVM90 > by itself builds, but when I try to build postgresql11-server, I get a > crash related to something in LLVM: > > ===> Staging for postgresql11-server-11.8_2 > ===> postgresql11-server-11.8_2 depends on executable: llvm-config90 - found > ===> Generating temporary packing list > ===> Creating groups. > ===> Creating users > [snip] > cd > '/usr/ports/databases/postgresql11-server/work/stage/usr/local/lib/postgresql/bitcode' > && /usr/local/llvm90/bin/llvm-lto -thinlto -thinlto-action=thinlink -o > postgres.index.bc postgres/access > [snip] > error: can't create module summary index for buffer: Invalid summary > version 8. Version should be in the range [1-7]. > LLVM ERROR: ThinLink didn't create an index > gmake: *** [Makefile:220: install-postgres-bitcode] Error 1 > *** Error code 2 > > Stop. > > I've started rebuilding my system due to another motheaten issue, but > I stashed the entire working directories of both llvm90 and > postgresql11-server in a tarball if needed. > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" > -- There are green splotches on the black void on the outside of Willie's house in one of the lake putt-putt scenes.
signature.asc
Description: OpenPGP digital signature