Thread: debuginfo and debugsource RPMs are missing from pg95 to pg12, in RHEL8

debuginfo and debugsource RPMs are missing from pg95 to pg12, in RHEL8

From
keisuke kuroda
Date:
Hi,

debuginfo and debugsource RPMs are missing from postgresql95 to postgresql12.
They are only in postgresql94.

dnf -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
dnf -qy module disable postgresql
dnf list | grep postgre | grep debuginfo
postgresql94-contrib-debuginfo.x86_64 9.4.26-1PGDG.rhel8 pgdg94
postgresql94-debuginfo.x86_64 9.4.26-1PGDG.rhel8 pgdg94
postgresql94-devel-debuginfo.x86_64 9.4.26-1PGDG.rhel8 pgdg94
postgresql94-libs-debuginfo.x86_64 9.4.26-1PGDG.rhel8 pgdg94
postgresql94-plperl-debuginfo.x86_64 9.4.26-1PGDG.rhel8 pgdg94
postgresql94-plpython-debuginfo.x86_64 9.4.26-1PGDG.rhel8 pgdg94
postgresql94-plpython3-debuginfo.x86_64 9.4.26-1PGDG.rhel8 pgdg94
postgresql94-pltcl-debuginfo.x86_64 9.4.26-1PGDG.rhel8 pgdg94
postgresql94-server-debuginfo.x86_64 9.4.26-1PGDG.rhel8 pgdg94
postgresql94-test-debuginfo.x86_64 9.4.26-1PGDG.rhel8 pgdg94

On 17 Feb, PG12 debuginfo rpm was able to download, but seems to be gone.



Re: debuginfo and debugsource RPMs are missing from pg95 to pg12,in RHEL8

From
Devrim Gündüz
Date:
Hi,

On Tue, 2020-03-03 at 09:52 +0900, keisuke kuroda wrote:
>
> debuginfo and debugsource RPMs are missing from postgresql95 to postgresql12.
> They are only in postgresql94.

The packages are there:


https://download.postgresql.org/pub/repos/yum/debug/12/redhat/rhel-8-x86_64/postgresql12-debuginfo-12.2-2PGDG.rhel8.x86_64.rpm

However:

> On 17 Feb, PG12 debuginfo rpm was able to download, but seems to be gone.

I think the problems are both the repo file, and the sync scripts on the build
servers side. I fixed scripts, and all of the -debuginfo and -debugsource
packages now go to the debug directories. I'm working on a repo rpm fix, and
will release in next 1 hour. Once that is released, you'll need to enable the
debug repo for the related PG version, and install it.

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

Attachment

Re: debuginfo and debugsource RPMs are missing from pg95 to pg12, in RHEL8

From
keisuke kuroda
Date:
Hi Devrim,

Thank you for the responce!

> The packages are there:
>
https://download.postgresql.org/pub/repos/yum/debug/12/redhat/rhel-8-x86_64/postgresql12-debuginfo-12.2-2PGDG.rhel8.x86_64.rpm

I see, debug packages are at this URL.

> I'm working on a repo rpm fix, and
> will release in next 1 hour. Once that is released, you'll need to enable the
> debug repo for the related PG version, and install it.

I get it. I confirmed that Using "pgdg-redhat-repo-42.0-7.noarch",
debuginfo packages can be installed.

(1)install  pgdg-redhat-repo-42.0-7.noarch
dnf -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm

(2) edit [pgdg12-updates-debuginfo]
/etc/yum.repos.d/pgdg-redhat-all.repo
[pgdg12-updates-debuginfo]
enabled=1

(3)
dnf list | grep postgresql12 | grep debuginfo
postgresql12-contrib-debuginfo.x86_64                12.2-2PGDG.rhel8
                                pgdg12-updates-debuginfo
postgresql12-debuginfo.x86_64                        12.2-2PGDG.rhel8
                                pgdg12-updates-debuginfo
postgresql12-debugsource.x86_64                      12.2-2PGDG.rhel8
                                pgdg12-updates-debuginfo
postgresql12-devel-debuginfo.x86_64                  12.2-2PGDG.rhel8
                                pgdg12-updates-debuginfo
postgresql12-libs-debuginfo.x86_64                   12.2-2PGDG.rhel8
                                pgdg12-updates-debuginfo
postgresql12-llvmjit-debuginfo.x86_64                12.2-2PGDG.rhel8
                                pgdg12-updates-debuginfo
postgresql12-plperl-debuginfo.x86_64                 12.2-2PGDG.rhel8
                                pgdg12-updates-debuginfo
postgresql12-plpython-debuginfo.x86_64               12.2-2PGDG.rhel8
                                pgdg12-updates-debuginfo
postgresql12-plpython3-debuginfo.x86_64              12.2-2PGDG.rhel8
                                pgdg12-updates-debuginfo
postgresql12-pltcl-debuginfo.x86_64                  12.2-2PGDG.rhel8
                                pgdg12-updates-debuginfo
postgresql12-server-debuginfo.x86_64                 12.2-2PGDG.rhel8
                                pgdg12-updates-debuginfo
postgresql12-test-debuginfo.x86_64                   12.2-2PGDG.rhel8
                                pgdg12-updates-debuginfo

Best Regards,
Keisuke Kuroda