Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2020 17:35:23 +0200
From:      Martin Neubauer <m.ne@gmx.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: stable postgresql11 appears to have issues
Message-ID:  <4283e302-ba82-4938-4de4-884049693095@gmx.net>
In-Reply-To: <CAEC7391Y_BTCK0==uCEYo0rqkf7pDj=Qs%2BtpZqwBdumgHF73qg@mail.gmail.com>
References:  <CAEC7391Y_BTCK0==uCEYo0rqkf7pDj=Qs%2BtpZqwBdumgHF73qg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--AWqMMw6jzs8imDYGAGYzhnHcTAHQaiTo0
Content-Type: multipart/mixed; boundary="WKNlxBu6LZlDAmqLnorLqVsoI4WVCjSv5";
 protected-headers="v1"
From: Martin Neubauer <m.ne@gmx.net>
To: freebsd-ports@freebsd.org
Message-ID: <4283e302-ba82-4938-4de4-884049693095@gmx.net>
Subject: Re: stable postgresql11 appears to have issues
References: <CAEC7391Y_BTCK0==uCEYo0rqkf7pDj=Qs+tpZqwBdumgHF73qg@mail.gmail.com>
In-Reply-To: <CAEC7391Y_BTCK0==uCEYo0rqkf7pDj=Qs+tpZqwBdumgHF73qg@mail.gmail.com>

--WKNlxBu6LZlDAmqLnorLqVsoI4WVCjSv5
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: quoted-printable

There is already an outstanding issue for quite some time:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244403
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+=3Dllvm=3D10

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.
>=20
> 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.
>=20
> 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:
>=20
> =3D=3D=3D>  Staging for postgresql11-server-11.8_2
> =3D=3D=3D>   postgresql11-server-11.8_2 depends on executable: llvm-con=
fig90 - found
> =3D=3D=3D>   Generating temporary packing list
> =3D=3D=3D> Creating groups.
> =3D=3D=3D> Creating users
> [snip]
> cd '/usr/ports/databases/postgresql11-server/work/stage/usr/local/lib/p=
ostgresql/bitcode'
> && /usr/local/llvm90/bin/llvm-lto -thinlto -thinlto-action=3Dthinlink -=
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
>=20
> Stop.
>=20
> 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.
>=20
>=20
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org=
"
>=20

--=20
There are green splotches on the black void on the outside of Willie's
house in one of the lake putt-putt scenes.


--WKNlxBu6LZlDAmqLnorLqVsoI4WVCjSv5--

--AWqMMw6jzs8imDYGAGYzhnHcTAHQaiTo0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEMHVrsqKu60F5jvxaoBLYqhRr9C0FAl72FcEACgkQoBLYqhRr
9C3zCRAAtFppbwabtNeoO2jsn8E3e7ADAN73T6tK10G2sUzwsT5al7OU7Saw8wF6
/DE/cf4KYHkyeNK+C23su2qxB5VcYgLJECU8zeH/A5lW8LKKHnsBxvi8pQ77aXl4
tmbpLlpS43bPBdICnFG9HbGzEn62QZ/BDjzGTsWEQvzQPT/0uMr5Am/KNLCPwkMb
FFmPehEIZvUZujjGW2Svucxaqd8gkErAr9+IogAeUdBeUeX/PJikyQ5Yxy2UnAC3
kOWvTz5U8pJNi38tMk/jQlbz0CSjEIsDpFjBQ6iyyrWju+vI9rJHnfyc4FpmbQ9i
6H1MgAUJlJdGfyElpjB7lOfuLpVX9tHtZfz7UA/CyloOZ+/QE+JE79dVlc2UhWPE
+25K/D701phpXQyEmHsoWP7nO/dCJefNH0XNT9WexDxspb6Vcnp1PguiuDLhcZcJ
1qHIcfZXb77F3lwcKDFZxHgRfk/cALfh7KLcO9Cy7TzgHFOMtfHjhD6zE/8WV2X5
ml0bNcGfI48H2UlRlczDVtrVr61F9lHdOQR655iZpfEKdoJHgJBrUEY1DDYOvawn
oLbx1pGEnsH9TdR9tKqJuYuekMzOJifo6FBfQ2Ketf0ed6tPIX82Dm/5cJQm+q+u
mndGV2eUe1wNviuN4BHTvmUGO/6aCZKNCBE57zupzml2r38ro0I=
=qcFW
-----END PGP SIGNATURE-----

--AWqMMw6jzs8imDYGAGYzhnHcTAHQaiTo0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4283e302-ba82-4938-4de4-884049693095>