public inbox for [email protected]  
help / color / mirror / Atom feed
From: Daniel Farina <[email protected]>
To: Pavel Raiskup <[email protected]>
Cc: [email protected]
Cc: Craig Ringer <[email protected]>
Cc: pgsql-pkg-yum <[email protected]>
Subject: Re: How are debuginfo packages generated?
Date: Mon, 08 Jan 2018 23:50:24 +0000
Message-ID: <CAOPfGFjQQBhD4Q8fhFaucO+1SJwH3CxAxXkkRtoMGY-oMhKz_g@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAOPfGFjKGSjo5MSURH0UGtLHzzZ_7_rwaS=JGETHFMrKxGpE8g@mail.gmail.com>
	<CAMsr+YEEB1C9ir4CBMh2YcFBS5zJf3bcWxPwNkF7VZjmMsJvTQ@mail.gmail.com>
	<CAOPfGFiGgbJVv493Di-3cHHsUOODo3KTW+grSOdT0JjVfsa5LQ@mail.gmail.com>
	<[email protected]>

On Fri, Jan 5, 2018 at 10:48 PM Pavel Raiskup <[email protected]> wrote:

> On Saturday, January 6, 2018 6:52:12 AM CET Daniel Farina wrote:
> > On Fri, Jan 5, 2018 at 9:50 PM Craig Ringer <[email protected]>
> wrote:
> >
> > > On 6 January 2018 at 06:30, Daniel Farina <[email protected]>
> wrote:
> > >
> > >> Hello,
> > >>
> > >> For quite some time, I've been building lightly modified PGDG
> packages,
> > >> but I have never figured how PGDG's yum repo gets debuginfo packages.
> When
> > >> I have built them, unless I hack up the spec file to have
> "%debug_package"
> > >> I do not get such a debuginfo package. Clearly, that is not how the
> spec
> > >> files work as-is in pgrpms.
> > >>
> > >
> > > How do you invoke rpmbuild?
> > >
> >
> > Via make nopreprpm10.
>
> I've never heard about nopreprpm10, but it is more important to say where
> you build the package because debuginfo generator is tightly dependant on
> the _setup_ in packages like 'rpm', 'redhat-rpm-config', etc.
>
> Have a look at `rpm --eval %debug_package` output to see what happens
> there, and to see why it is needed.  Then, study your system/user rpm
> macros.
> On my system (Fedora 27 x86_64), there's is (in
> /usr/lib/rpm/redhat/macros):
>

Seems to me _enable_debug_packages is not "1" on Amazon Linux, nor is that
hook in in /usr/lib/rpm/redhat/macros, though that can be from simple
divergence of sorts. I also have a Fedora 27 to compare to. I wonder how
the PGDG repository did this on the older Amazon Linux it supported? Did it?

I'll bark up that tree for a while. Thanks.


view thread (7+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: How are debuginfo packages generated?
  In-Reply-To: <CAOPfGFjQQBhD4Q8fhFaucO+1SJwH3CxAxXkkRtoMGY-oMhKz_g@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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