Re: rpmbuild generates strange results on RHEL5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Erez Zilber <erezz@xxxxxxxxxxxx> wrote:

> Is this a feature that exists only in RedHat? I
> never saw that on SLES 9
It's exist in the RedHar and Fedora. May be some other
disros too. This is just %debug_package macro in the
/usr/lib/rpm/macros file

> & 10. Anyway, your answer helped me and I found the
> problem in my spec file.
You are welcome.

Valery.

> 
> Thanks,
> Erez
> 
> Valery Reznic wrote:
> > Good day, Erez.
> >
> > When you build rpm actually two rpms are built:
> > first - the "normal" one and then debug rpm.
> > It's looks like, that for some reason file with
> debug
> > rpm got the same name as the "normal" one, so
> debug
> > rpm overwrite it.
> >
> > I think in your spec file/rpmbuild switches you
> > incorrectly specify name for the .rpm 
> >
> > Valery.
> >
> > --- Erez Zilber <erezz@xxxxxxxxxxxx> wrote:
> >
> >   
> >> Hi,
> >>
> >> I'm trying to build a binary rpm from a src rpm
> on
> >> RHEL5. Something goes wrong:
> >>
> >> While building it, it says something like:
> >>
> >> + /usr/lib/rpm/find-debuginfo.sh
> >> /usr/src/redhat/BUILD/iscsi-initiator-utils-2.0
> >> extracting debug info from
> >> /var/tmp/iscsi-initiator-utils/sbin/iscsiadm
> >> extracting debug info from
> >> /var/tmp/iscsi-initiator-utils/sbin/iscsi-iname
> >> extracting debug info from
> >> /var/tmp/iscsi-initiator-utils/sbin/iscsid
> >> extracting debug info from
> >> /var/tmp/iscsi-initiator-utils/sbin/iscsistart
> >> cpio: iscsi-initiator-utils-2.0/usr/<built-in>:
> No
> >> such file or directory
> >> 882 blocks
> >>
> >> I don't know if it means something bad...
> >>
> >> The real problem is that it adds a -debuginfo
> >> extension to the package name and if I install it
> >> and run rpm -ql <package name>, I see that it
> >> contains source files (that should not have been
> >> there) and some files that should have been there
> >> but they have a ".debug" extension and they are
> >> installed to /usr/lib/debug/sbin. I don't see the
> >> files that I expected to see getting installed.
> >>
> >> -- 
> >>
> >>     
> >
>
____________________________________________________________
> >   
> >> Erez Zilber   |  972-9-971-7689
> >>
> >> Software Engineer, Storage Team
> >>
> >> Voltaire ? _The Grid Backbone_
> >>
> >>  __
> >>
> >>  www.voltaire.com <http://www.voltaire.com/>
> >>
> >> <mailto:g@xxxxxxxxxxxx>
> >>
> >>   
> >>
> >>
> >> _______________________________________________
> >> Rpm-list mailing list
> >> Rpm-list@xxxxxxxxxx
> >> https://www.redhat.com/mailman/listinfo/rpm-list
> >>
> >>     
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> >
> > _______________________________________________
> > Rpm-list mailing list
> > Rpm-list@xxxxxxxxxx
> > https://www.redhat.com/mailman/listinfo/rpm-list
> >   
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux