Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2020 11:03:52 +0200
From:      Axel Rau <Axel.Rau@Chaos1.DE>
To:        FreeBSD <freebsd-ports@freebsd.org>
Subject:   NEED HELP: Poudriere error: Refuses to install postgresql11-server
Message-ID:  <03F16262-2FC6-412B-90C1-2299647B2CA6@Chaos1.DE>

next in thread | raw e-mail | index | archive | help


--Apple-Mail=_28D480AA-EF2A-47E7-825D-A8F208A2E4CE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

While preparing upgrading postgresql11 to 12, I changed
the poudriere make.conf from
	DEFAULT_VERSIONS=3D pgsql=3D11
to
	DEFAULT_VERSIONS=3D pgsql=3D12
and installed the postgresql12 packages in a different root.

Now while testing migration of data with pg_upgrade, I got
	ld-elf.so.1: Shared object "libicuuc.so.66" not found, required =
by "postgres"

pg_upgrade requires the none-postgresql libraries on the default path =
and
devel/icu has been moved from 65 to 66 meanwhile.

I switched poudrieres make.conf back to pgsql=3D11 and did a bulk build:
=E2=80=94
[00:00:48] Committing packages to repository: =
/hpool/poudriere/data/packages/121amd64-default/.real_1585987682 via =
.latest symlink
[00:00:48] Removing old packages
[00:00:48] Built ports: databases/postgresql11-client databases/ip4r =
devel/icu databases/postgresql11-contrib databases/postgresql11-server

pkg now refuses to upgrade these packages on the server:

solver: cannot find provide for requirement libicui18n.so.65 when =
processing package: postgresql11-server
solver: cannot find provide for requirement libLLVM-9.so when processing =
package: postgresql11-server
solver: cannot find provide for requirement libicuuc.so.65 when =
processing package: postgresql11-server

No problems to install the pkgs on a test host.

I now deleted the packages on the server and tried to re-install them, =
but pkg refuses it:

root@db3:~ # pkg update -f
Updating lrau-repo repository catalogue...
lrau-repo repository is up to date.
All repositories are up to date.
root@db3:~ # pkg install postgresql11-server
Updating lrau-repo repository catalogue...
lrau-repo repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	icu: 66.1,1
	postgresql11-client: 11.7
	postgresql11-server: 11.7_1

Number of packages to be installed: 3

The process will require 69 MiB more space.
16 MiB to be downloaded.

Proceed with this action? [y/N]: y

How to fix this?

help urgently needed as DBs on db3 are down!

Axel
---
PGP-Key: CDE74120  =E2=98=80  computing @ chaos claudius


--Apple-Mail=_28D480AA-EF2A-47E7-825D-A8F208A2E4CE
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2
Comment: GPGTools - http://gpgtools.org

iQIzBAEBCAAdFiEEl5evOTfnjZdhkBzKaPxTRM3nQSAFAl6ITXgACgkQaPxTRM3n
QSCPkRAAj84xhKixA9/4s4K8Y50MJzkHOkPMsqWfgLTw/nTuVEgbGVfhr1gPHZIR
sc/A8zA12r1CRmbL/KoNy02pUgEG5y4uSu1dp4Za72+6yd21a8QKu2Z54J3IppnC
NbaHHl789HShloi3eduP9UD3oxER/pLvJToKMQFNBP5KewipwAnuWbXRZk7qJpJl
08N52a07/X717XgKtQFstdpBP8fB65dtHQt3nIk96UzNygFPJjYd3x+yqXlu5ixl
yJ9/qU15dYbL5QqKoFreNTntxJl92TifMGFpZVghJy9UcsUZ/jfSoK3AlylLF7rB
RSsxL+Kfyqz5dqKaosC+gNoBot9Z8M/D1t1h9E2IJyW77yIvlMDYxFe6HNedgcS6
H4gupSChSfXuNJldcEtHyj1+MFsKRbDgCJZA8izFOX0SUbh8DBlcLLIPML0IbH47
4lZtbK5q4sE8d6IJiaA0qf8AZ9ECC+9WGRUc4ff7Oq6N9TUQoP0p3/m5zlYyaUTr
yoFBIjCb2ZQezx4Fhijg5Hi3bWosGzjGrKIHU3fBSOZ3eZYcZ6mVJ49HaPZQG5Fq
eubj3unaXV+MWSL2knGje+fbdca9od0qbrkP17+HIw4uJYAlAbp1DELRiyHQhBgX
I8B2P6RiiXeoG3aQ1pfNBmlQYTgHXxC2Su8cHkw6cgExWkHO/gQ=
=ygh/
-----END PGP SIGNATURE-----

--Apple-Mail=_28D480AA-EF2A-47E7-825D-A8F208A2E4CE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03F16262-2FC6-412B-90C1-2299647B2CA6>