public inbox for [email protected]  
help / color / mirror / Atom feed
postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8
6+ messages / 2 participants
[nested] [flat]

* postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8
@ 2021-06-14 12:37 Spyridon-Dimitrios Agathos <[email protected]>
  2021-06-16 09:04 ` Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8 Devrim Gündüz <[email protected]>
  2021-06-16 23:38 ` Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8 Devrim Gündüz <[email protected]>
  0 siblings, 2 replies; 6+ messages in thread

From: Spyridon-Dimitrios Agathos @ 2021-06-14 12:37 UTC (permalink / raw)
  To: pgsql-pkg-yum

Hi there,

trying to install postgresql12-llvmjit.x86_64(12.7-2PGDG.rhel8) on a CentOS8
system that already has postgresql12-devel.x86_64(12.7-2PGDG.rhel8) I get
the following message:

[root@0f85f16d54be /]# yum install postgresql12-llvmjit                                                                                                                                                                                                                                   
Last metadata expiration check: 1:13:56 ago on Mon 14 Jun 2021 10:35:59 AM
UTC.
Error: 
 Problem: problem with installed package llvm-devel-10.0.1-3PGDG.el8.x86_64
  - package llvm-devel-10.0.1-3PGDG.el8.x86_64 requires llvm-libs(x86-64) =
10.0.1-3PGDG.el8, but none of the providers can be installed
  - package llvm-devel-10.0.1-3PGDG.el8.x86_64 requires
libLLVM-10.so()(64bit), but none of the providers can be installed
  - package llvm-devel-10.0.1-3PGDG.el8.x86_64 requires
libLLVM-10.so(LLVM_10)(64bit), but none of the providers can be installed
  - cannot install both llvm-libs-11.0.0-2.el8.x86_64 and
llvm-libs-10.0.1-3PGDG.el8.x86_64
  - package llvm-devel-11.0.0-2.el8.x86_64 requires llvm-test(x86-64) =
11.0.0-2.el8, but none of the providers can be installed
  - package postgresql12-llvmjit-12.7-2PGDG.rhel8.x86_64 requires
libLLVM-11.so()(64bit), but none of the providers can be installed
  - package postgresql12-llvmjit-12.7-2PGDG.rhel8.x86_64 requires
libLLVM-11.so(LLVM_11)(64bit), but none of the providers can be installed
  - package llvm-test-11.0.0-2.el8.x86_64 requires python3-lit, but none of
the providers can be installed
  - cannot install the best candidate for the job
  - package llvm-libs-11.0.0-2.module_el8.4.0+587+5187cac0.x86_64 is
filtered out by modular filtering
  - package python3-lit-0.11.0-1.module_el8.4.0+587+5187cac0.noarch is
filtered out by modular filtering
(try to add '--allowerasing' to command line to replace conflicting packages
or '--skip-broken' to skip uninstallable packages or '--nobest' to use not
only best candidate packages)

It looks like:
postgresql12-llvmjit.x86_64(12.7-2PGDG.rhel8) requires llvm-libs
11.0.0-2.el8, while
postgresql12-devel.x86_64(12.7-2PGDG.rhel8) requires llvm-libs
10.0.1-3PGDG.el8

I verified the same incompatibility also for:
postgresql13-llvmjit.x86_64(13.3-2PGDG.rhel8) requires llvm-libs
11.0.0-2.el8, while
postgresql13-devel.x86_64(13.3-2PGDG.rhel8) requires llvm-libs
10.0.1-3PGDG.el8

Regards,
Spiros



--
Sent from: https://www.postgresql-archive.org/PostgreSQL-pkg-yum-f6042034.html





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8
  2021-06-14 12:37 postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8 Spyridon-Dimitrios Agathos <[email protected]>
@ 2021-06-16 09:04 ` Devrim Gündüz <[email protected]>
  2021-06-16 10:39   ` Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8 Spyridon-Dimitrios Agathos <[email protected]>
  1 sibling, 1 reply; 6+ messages in thread

From: Devrim Gündüz @ 2021-06-16 09:04 UTC (permalink / raw)
  To: Spyridon-Dimitrios Agathos <[email protected]>; pgsql-pkg-yum


Hi,

On Mon, 2021-06-14 at 05:37 -0700, Spyridon-Dimitrios Agathos wrote:
> trying to install postgresql12-llvmjit.x86_64(12.7-2PGDG.rhel8) on a
> CentOS8
> system that already has postgresql12-devel.x86_64(12.7-2PGDG.rhel8) I
> get
> the following message:
> 
> [root@0f85f16d54be /]# yum install postgresql12-
> llvmjit                                                              
>                                                                      
>                                                                      
>                           
> Last metadata expiration check: 1:13:56 ago on Mon 14 Jun 2021
> 10:35:59 AM
> UTC.
> Error: 
>  Problem: problem with installed package llvm-devel-10.0.1-
> 3PGDG.el8.x86_64
>   - package llvm-devel-10.0.1-3PGDG.el8.x86_64 requires llvm-
> libs(x86-64) =
> 10.0.1-3PGDG.el8, but none of the providers can be installed
>   - package llvm-devel-10.0.1-3PGDG.el8.x86_64 requires
> libLLVM-10.so()(64bit), but none of the providers can be installed
>   - package llvm-devel-10.0.1-3PGDG.el8.x86_64 requires
> libLLVM-10.so(LLVM_10)(64bit), but none of the providers can be
> installed
>   - cannot install both llvm-libs-11.0.0-2.el8.x86_64 and
> llvm-libs-10.0.1-3PGDG.el8.x86_64
>   - package llvm-devel-11.0.0-2.el8.x86_64 requires llvm-test(x86-64)
> =
> 11.0.0-2.el8, but none of the providers can be installed
>   - package postgresql12-llvmjit-12.7-2PGDG.rhel8.x86_64 requires
> libLLVM-11.so()(64bit), but none of the providers can be installed
>   - package postgresql12-llvmjit-12.7-2PGDG.rhel8.x86_64 requires
> libLLVM-11.so(LLVM_11)(64bit), but none of the providers can be
> installed
>   - package llvm-test-11.0.0-2.el8.x86_64 requires python3-lit, but
> none of
> the providers can be installed
>   - cannot install the best candidate for the job
>   - package llvm-libs-11.0.0-2.module_el8.4.0+587+5187cac0.x86_64 is
> filtered out by modular filtering
>   - package python3-lit-0.11.0-1.module_el8.4.0+587+5187cac0.noarch
> is
> filtered out by modular filtering
> (try to add '--allowerasing' to command line to replace conflicting
> packages
> or '--skip-broken' to skip uninstallable packages or '--nobest' to
> use not
> only best candidate packages)

Please enable sysupdates repo, or update to CentOS 8.4:

https://yum.postgresql.org/news/centos8-llvm-repo-is-available/

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (833B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8
  2021-06-14 12:37 postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8 Spyridon-Dimitrios Agathos <[email protected]>
  2021-06-16 09:04 ` Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8 Devrim Gündüz <[email protected]>
@ 2021-06-16 10:39   ` Spyridon-Dimitrios Agathos <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Spyridon-Dimitrios Agathos @ 2021-06-16 10:39 UTC (permalink / raw)
  To: pgsql-pkg-yum

I am using CentOS 8.4 and sysupdates repo is enabled.
The problem is still there, the latest versions of
postgresql12-llvmjit.x86_64(12.7-2PGDG.rhel8) and
postgresql12-devel.x86_64(12.7-2PGDG.rhel8) are not compatible.
Check the following yum package outputs:

# yum install postgresql12-llvmjit
Last metadata expiration check: 9 days, 0:45:32 ago on Mon 07 Jun 2021
09:44:14 AM UTC.
Dependencies resolved.
======================================================================================
 Package                 Architecture  Version           Repository             
Size
======================================================================================
Installing:
 postgresql12-llvmjit    x86_64        12.7-2PGDG.rhel8  pgdg12                 
9.6 M
Installing dependencies:
 llvm                    x86_64        11.0.0-2.el8     
pgdg-centos8-sysupdates  12 M
 llvm-libs               x86_64        11.0.0-2.el8     
pgdg-centos8-sysupdates  21 M
 postgresql12            x86_64        12.7-2PGDG.rhel8  pgdg12                 
1.7 M
 postgresql12-libs       x86_64        12.7-2PGDG.rhel8  pgdg12                 
399 k
 postgresql12-server     x86_64        12.7-2PGDG.rhel8  pgdg12                 
5.2 M

Transaction Summary
======================================================================================
Install  6 Packages


# yum install postgresql12-devel
Last metadata expiration check: 9 days, 0:50:36 ago on Mon 07 Jun 2021
09:44:14 AM UTC.
Dependencies resolved.
==================================================================================================================================
 Package                          Architecture         Version                       
Repository                             Size
==================================================================================================================================
Installing:
 postgresql12-devel               x86_64               12.7-2PGDG.rhel8              
pgdg12                                2.2 M
Installing dependencies:
 clang                            x86_64               10.0.1-1.el8                  
pgdg-centos8-sysupdates                74 k
 clang-devel                      x86_64               10.0.1-1.el8                  
pgdg-centos8-sysupdates               2.0 M
 clang-libs                       x86_64               10.0.1-1.el8                  
pgdg-centos8-sysupdates                25 M
 clang-tools-extra                x86_64               10.0.1-1.el8                  
pgdg-centos8-sysupdates                13 M
 gcc-c++                          x86_64               8.4.1-1.el8                   
appstream                              12 M
 libstdc++-devel                  x86_64               8.4.1-1.el8                   
appstream                             2.0 M
 llvm                             x86_64               10.0.1-3PGDG.el8              
pgdg-centos8-sysupdates               4.5 M
 llvm-devel                       x86_64               10.0.1-3PGDG.el8              
pgdg-centos8-sysupdates               3.1 M
 llvm-libs                        x86_64               10.0.1-3PGDG.el8              
pgdg-centos8-sysupdates                20 M
 postgresql12                     x86_64               12.7-2PGDG.rhel8              
pgdg12                                1.7 M
 postgresql12-libs                x86_64               12.7-2PGDG.rhel8              
pgdg12                                399 k

Transaction Summary
==================================================================================================================================
Install  12 Packages

So, if someone builds a PSQL extension (which utilizes JIT) using the
postgresql12-devel.x86_64(12.7-2PGDG.rhel8), then
this incompatibility will cause errors with the dependency libraries of
postgresql12-llvmjit.x86_64(12.7-2PGDG.rhel8) that maybe installed on the
server.

Regards,
Spiros



--
Sent from: https://www.postgresql-archive.org/PostgreSQL-pkg-yum-f6042034.html





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8
  2021-06-14 12:37 postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8 Spyridon-Dimitrios Agathos <[email protected]>
@ 2021-06-16 23:38 ` Devrim Gündüz <[email protected]>
  2021-06-17 05:13   ` Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8 Spyridon-Dimitrios Agathos <[email protected]>
  1 sibling, 1 reply; 6+ messages in thread

From: Devrim Gündüz @ 2021-06-16 23:38 UTC (permalink / raw)
  To: Spyridon-Dimitrios Agathos <[email protected]>; pgsql-pkg-yum


Hi,

On Mon, 2021-06-14 at 05:37 -0700, Spyridon-Dimitrios Agathos wrote:
>   - package llvm-libs-11.0.0-2.module_el8.4.0+587+5187cac0.x86_64 is
> filtered out by modular filtering

Did you run this command?

 dnf -qy module disable postgresql llvm-toolset rust-toolset

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (833B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8
  2021-06-14 12:37 postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8 Spyridon-Dimitrios Agathos <[email protected]>
  2021-06-16 23:38 ` Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8 Devrim Gündüz <[email protected]>
@ 2021-06-17 05:13   ` Spyridon-Dimitrios Agathos <[email protected]>
  2021-06-17 05:36     ` Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8 Spyridon-Dimitrios Agathos <[email protected]>
  0 siblings, 1 reply; 6+ messages in thread

From: Spyridon-Dimitrios Agathos @ 2021-06-17 05:13 UTC (permalink / raw)
  To: pgsql-pkg-yum

Hi,

yes I run both:
# dnf -qy module disable postgresql llvm-toolset rust-toolset
# dnf config-manager --set-enabled pgdg-centos8-sysupdates 

then
# yum update

and still the output of
# yum install postgresql12-devel  --> llvm-libs  x86_64 10.0.1-3PGDG.el8
pgdg-centos8-sysupdates 
# yum install postgresql12-llvmjit --> llvm-libs  x86_64 11.0.0-2.el8 
pgdg-centos8-sysupdates

Regards,
Spiros



--
Sent from: https://www.postgresql-archive.org/PostgreSQL-pkg-yum-f6042034.html





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8
  2021-06-14 12:37 postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8 Spyridon-Dimitrios Agathos <[email protected]>
  2021-06-16 23:38 ` Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8 Devrim Gündüz <[email protected]>
  2021-06-17 05:13   ` Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8 Spyridon-Dimitrios Agathos <[email protected]>
@ 2021-06-17 05:36     ` Spyridon-Dimitrios Agathos <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Spyridon-Dimitrios Agathos @ 2021-06-17 05:36 UTC (permalink / raw)
  To: pgsql-pkg-yum

Hi there,

the steps to reproduce it:
# docker run -it centos:latest /bin/bash

then in the container:
# yum update
# dnf install -y
https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rp...
# dnf -qy module disable postgresql llvm-toolset rust-toolset
# dnf install 'dnf-command(config-manager)'
# dnf config-manager --set-enabled pgdg-centos8-sysupdates
# yum install postgresql12-devel
# yum install postgresql12-llvmjit

Regards,
Spiros



--
Sent from: https://www.postgresql-archive.org/PostgreSQL-pkg-yum-f6042034.html






^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2021-06-17 05:36 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-06-14 12:37 postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8 Spyridon-Dimitrios Agathos <[email protected]>
2021-06-16 09:04 ` Devrim Gündüz <[email protected]>
2021-06-16 10:39   ` Spyridon-Dimitrios Agathos <[email protected]>
2021-06-16 23:38 ` Devrim Gündüz <[email protected]>
2021-06-17 05:13   ` Spyridon-Dimitrios Agathos <[email protected]>
2021-06-17 05:36     ` Spyridon-Dimitrios Agathos <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox