RE: FW: FW: What does %target_check do?

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

 



Interesting.  Maybe it's something that MontaVista added.

Are you aware of current documentation/books on RPM?  I have Maximum RPM and I've been to rpm.org, but they are severely out of date.  Many of the links at rpm.org are broken, neither place (rpm.org nor the book) reference rpmbuild, and I have only just found "%_topdir <path>" discussed in the Guru Labs document.  This latter place was the only place I found that helped me figure out how to build without being a root user.

Thanks for your help.

Chris Carlson
iStor Networks, Inc.


> -----Original Message-----
> From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx] On
> Behalf Of Dan Trainor
> Sent: Thursday, June 16, 2005 12:56 PM
> To: RPM Package Manager
> Subject: Re: FW: FW: What does %target_check do?
> 
> Chris Carlson wrote:
> > Thanks for the quick reply.
> >
> >
> > In the .spec file that came in the .src.rpm file.  It comes right after
> the %prep line.  Here's an excerpt:
> >
> > %prep
> > %target_check
> > # First thing, untar/patch to glibc2.2.3 release level
> > %setup -n glibc-%{version} -q -a 1
> > # Use the following line to activate the "nss add-ons"
> > #setup -n glibc-%{version} -q -a 1 -a 2 -a 3
> > %patch0 -p0
> >
> > The reason I ask is because I get the following error:
> >
> > Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.95154
> > + umask 022
> > + cd /home/ccarlson/SRPMS/test/usr/src/redhat/BUILD
> > + LANG=C
> > + export LANG
> > + unset DISPLAY
> > + %target_check
> > /var/tmp/rpm-tmp.95154: line 26: fg: no job control
> > error: Bad exit status from /var/tmp/rpm-tmp.95154 (%prep)
> >
> > Line 26 is the %target_check line.
> >
> >
> > Chris Carlson
> > iStor Networks, Inc.
> >
> >
> > -----Original Message-----
> > From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx]
> On Behalf Of Olivier Thauvin
> > Sent: Thursday, June 16, 2005 11:56 AM
> > To: RPM Package Manager
> > Subject: Re: FW: What does %target_check do?
> >
> > Le Thursday 16 June 2005 20:16, Chris Carlson a écrit :
> >
> >>I'm not sure this went through correctly.  I'll try again.
> >>
> >>
> >>I am still looking for complete documentation on RPM.  I'm wondering
> >>what
> >>%target_check does, as it doesn't appear to be documented anywhere.
> >>
> >>Thank you for the pointer to Guru Labs training document.  That helped a
> >>lot.
> >
> >
> > Where did you see that ? I am unable to find any reference to this macro
> in
> > rpm cvs code.
> >
> 
> Hey, Chris -
> 
> Is %target_check defined in the beginning of the spec file somewhere?
> Perhaps that's what it's referencing.
> 
> I can confirm along with Oliver that this is not a default macro.
> 
> Thanks
> -dant
> 
> _______________________________________________
> 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