public inbox for [email protected]  
help / color / mirror / Atom feed
pg13.1 and llvm on centos8
2+ messages / 2 participants
[nested] [flat]

* pg13.1 and llvm on centos8
@ 2020-11-12 19:31  Justin Pryzby <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Justin Pryzby @ 2020-11-12 19:31 UTC (permalink / raw)
  To: Devrim Gündüz <[email protected]>; +Cc: pgsql-pkg-yum

[pryzbyj@template0 ~]$ yum list --showdu llvm
Last metadata expiration check: 0:01:14 ago on Thu 12 Nov 2020 12:09:54 PM MST.
Installed Packages
llvm.x86_64                                                                                     9.0.1-5.module_el8.2.0+461+2e15bd5f                                                                                      @AppStream
Available Packages
llvm.i686                                                                                       9.0.1-5.module_el8.2.0+461+2e15bd5f                                                                                      AppStream
llvm.x86_64                                                                                     9.0.1-5.module_el8.2.0+461+2e15bd5f                                                                                      AppStream


[pryzbyj@template0 ~]$ sudo yum install postgresql13-llvmjit.x86_64
...
Package postgresql13-llvmjit-13.0-1PGDG.rhel8.x86_64 is already installed.
Error:
 Problem: cannot install the best candidate for the job
  - nothing provides libLLVM-10.so()(64bit) needed by postgresql13-llvmjit-13.1-1PGDG.rhel8.x86_64
  - nothing provides libLLVM-10.so(LLVM_10)(64bit) needed by postgresql13-llvmjit-13.1-1PGDG.rhel8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)





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

* Re: pg13.1 and llvm on centos8
@ 2020-11-12 20:33  Devrim Gündüz <[email protected]>
  parent: Justin Pryzby <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Devrim Gündüz @ 2020-11-12 20:33 UTC (permalink / raw)
  To: Justin Pryzby <[email protected]>; +Cc: pgsql-pkg-yum


Hi Justin,

On Thu, 2020-11-12 at 13:31 -0600, Justin Pryzby wrote:
> [pryzbyj@template0 ~]$ yum list --showdu llvm
> Last metadata expiration check: 0:01:14 ago on Thu 12 Nov 2020
> 12:09:54 PM MST.
> Installed Packages
> llvm.x86_64                                                          
>                            9.0.1-
> 5.module_el8.2.0+461+2e15bd5f                                        
>                                               @AppStream
> Available Packages
> llvm.i686                                                            
>                            9.0.1-
> 5.module_el8.2.0+461+2e15bd5f                                        
>                                               AppStream
> llvm.x86_64                                                          
>                            9.0.1-
> 5.module_el8.2.0+461+2e15bd5f                                        
>                                               AppStream
> 
> 
> [pryzbyj@template0 ~]$ sudo yum install postgresql13-llvmjit.x86_64
> ...
> Package postgresql13-llvmjit-13.0-1PGDG.rhel8.x86_64 is already
> installed.
> Error:
>  Problem: cannot install the best candidate for the job
>   - nothing provides libLLVM-10.so()(64bit) needed by postgresql13-
> llvmjit-13.1-1PGDG.rhel8.x86_64
>   - nothing provides libLLVM-10.so(LLVM_10)(64bit) needed by
> postgresql13-llvmjit-13.1-1PGDG.rhel8.x86_64
> (try to add '--skip-broken' to skip uninstallable packages or '--
> nobest' to use not only best candidate packages

Yeah, this is one of the issues that I've been trying to solve in the
last 2 days.

RHEL 8.3 again broke LLVM, upgraded from 9 to 10. The problem is
CentOS, which is still 8.2 and ships LLVM 9.

If I build packages on RHEL, it breaks CentOS. If I build on CentOS, it
breaks Red Hat. 

As an interim solution, I spinned another build VM, which runs CentOS
8.2 and pushed those packages to 8.2 directory.

So, if you edit your repo config file, and replace $releasever with 
8.2, if will work *for now*, until CentOS releases 8.3, then you can
revert that change.

Alternatively remove llvmjit package until CentOS 8.3 is out.

I am trying to rebuild LLVM 10 and push to our repos. This is not the
best solution, but at least it will be useful if Postgres is the only
thing installed on the OS.

Let me know if you think of another solution.

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] 2+ messages in thread


end of thread, other threads:[~2020-11-12 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-11-12 19:31 pg13.1 and llvm on centos8 Justin Pryzby <[email protected]>
2020-11-12 20:33 ` Devrim Gündüz <[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