Thread: An odd thing with postgresql92-debuginfo-9.2.6-1PGDG.rhel6.x86_64.rpm

An odd thing with postgresql92-debuginfo-9.2.6-1PGDG.rhel6.x86_64.rpm

From
Sergey Konoplev
Date:
Hi,

Here is https://gist.github.com/andyone/8423426 the spec file taken
from the official repo src package. You can see contrib, devel, docs,
libs, plperl, plpython, pltcl, server, test packages there under the
%files section, but there is no debuginfo package there.

The interesting thing is the result of rpm -qip for these 3 packages:

- http://yum.postgresql.org/srpms/9.2/redhat/rhel-6-x86_64/postgresql92-9.2.6-1PGDG.rhel6.src.rpm
- http://yum.postgresql.org/9.2/redhat/rhel-latest-x86_64/postgresql92-9.2.6-1PGDG.rhel6.x86_64.rpm
- http://yum.postgresql.org/9.2/redhat/rhel-latest-x86_64/postgresql92-debuginfo-9.2.6-1PGDG.rhel6.x86_64.rpm.

You can find it here here https://gist.github.com/andyone/8423596.

All 3 packages signed with the same key (Key ID 1f16d2e1442df0f8).
Both postgresql92-9.2.6-1PGDG.rhel6.x86_64.rpm and
postgresql92-debuginfo-9.2.6-1PGDG.rhel6.x86_64.rpm refer to the same
Source RPM package postgresql92-9.2.6-1PGDG.rhel6.src.rpm. However, as
specified above, the .src. package has no any debuginfo sub-package.

So as a result postgresql92-debuginfo has not been updated to 9.2.6.

--
Kind regards,
Sergey Konoplev
PostgreSQL Consultant and DBA

http://www.linkedin.com/in/grayhemp
+1 (415) 867-9984, +7 (901) 903-0499, +7 (988) 888-1979
gray.ru@gmail.com

Re: An odd thing with postgresql92-debuginfo-9.2.6-1PGDG.rhel6.x86_64.rpm

From
Tom Lane
Date:
Sergey Konoplev <gray.ru@gmail.com> writes:
> Here is https://gist.github.com/andyone/8423426 the spec file taken
> from the official repo src package. You can see contrib, devel, docs,
> libs, plperl, plpython, pltcl, server, test packages there under the
> %files section, but there is no debuginfo package there.

debuginfo packages are generated automatically by rpmbuild; it is not
necessary (nor, I think, even possible) for the spec file to describe
their construction.

> So as a result postgresql92-debuginfo has not been updated to 9.2.6.

Devrim might've forgot to upload the debuginfo RPM, but this is not
the fault of the spec file.

            regards, tom lane

Re: An odd thing with postgresql92-debuginfo-9.2.6-1PGDG.rhel6.x86_64.rpm

From
Devrim GÜNDÜZ
Date:
Hi,

On Tue, 2014-01-14 at 18:21 -0500, Tom Lane wrote:
> > So as a result postgresql92-debuginfo has not been updated to 9.2.6.
>
> Devrim might've forgot to upload the debuginfo RPM, but this is not
> the fault of the spec file.

Package upload process is simply an rsync process, so we don't forget to
upload RPMs. Also, -debuginfo package is there:

http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/repoview/postgresql92-debuginfo.html

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR