Re: BUG #16543: Package conflicts due to missing llvm-toolset-7-clang >= 4.0.1 and proj70 >= 7.0.1 - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: BUG #16543: Package conflicts due to missing llvm-toolset-7-clang >= 4.0.1 and proj70 >= 7.0.1
Date
Msg-id CABUevExNsp1mQeNiyBUta+NEq6SMuKB0itRp8WXrQH_OXBRb9Q@mail.gmail.com
Whole thread Raw
In response to BUG #16543: Package conflicts due to missing llvm-toolset-7-clang >= 4.0.1 and proj70 >= 7.0.1  (PG Bug reporting form <noreply@postgresql.org>)
Responses AW: BUG #16543: Package conflicts due to missing llvm-toolset-7-clang >= 4.0.1 and proj70 >= 7.0.1
List pgsql-bugs


On Wed, Jul 15, 2020 at 10:15 AM PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      16543
Logged by:          Marco Lechner
Email address:      mlechner@bfs.de
PostgreSQL version: 12.3
Operating system:   RHEL7/OEL7
Description:       

As dicussed in pgsql-general on May 28th there are package conflicts when
updating postgresql12 with postgis30:
...
at the moment we are facing similar conflicts on Oracle LInux 7 (wich is
derived from RHEL) – we manage our machines using Spacewalk. The conflicts
occur (as expected) on Spacewalk as well as on manually using yum:

Fehler: Paket: postgresql11-devel-11.8-1PGDG.rhel7.x86_64
(oraclelinux7postgresql11)
            Benötigt: llvm-toolset-7-clang >= 4.0.1
Fehler: Paket: postgis30_12-3.0.1-5.rhel7.x86_64
(oraclelinux7postgresql12)
            Benötigt: proj70 >= 7.0.1
            Installiert: proj70-7.0.0-2.rhel7.x86_64
(@oraclelinux7postgresql11)
                proj70 = 7.0.0-2.rhel7
            Verfügbar: proj70-7.0.0-1.rhel7.x86_64
(oraclelinux7postgresql11)
                proj70 = 7.0.0-1.rhel7
Fehler: Paket: postgresql12-devel-12.3-1PGDG.rhel7.x86_64
(oraclelinux7postgresql12)
            Benötigt: llvm-toolset-7-clang >= 4.0.1
...


llvm-toolset is needed by postgresql11-devel and postgresql12-devel in this setup it seems, but why do you need those? If what you want is Postgis, then the postgis RPM should be enough and that shouldn't need devel packages at all, and therefore not the llvm packages.

If you do actually need the devel packages, you need to enable the scl repo. On centos, that means install centos-release-scl. On RHEL, I believe you do "yum-config-manager --enable rhel-server-rhscl-7-rpms".
But again,if "all" you want is PostGIS, they shouldn't be needed. 

-- 

pgsql-bugs by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: BUG #16501: Incorrect result. select multi_key_columns_range_partition_table
Next
From: Marco Lechner
Date:
Subject: AW: BUG #16543: Package conflicts due to missing llvm-toolset-7-clang >= 4.0.1 and proj70 >= 7.0.1