Re: [expert] SRC.RPM rebuild error

2002-01-12 Thread pesarif

On Tue, 18 Dec 2001 05:21, Michael Leone wrote:
> Originally to: All
>
> This is a MIME-formatted message.  If you see this text it means that your
> E-mail software does not support MIME-formatted messages.
>
> --=_tcob1.net-7247-1008635608-0001-2
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
>
> I'm trying to rebuild abiword-0.9.5 from Cooker, on 8.1. I have
> satisfied all dependencies, and start the rebuild. It however, errors
> with this message:
>
> /var/tmp/rpm-tmp.26340: fg: no job control
> error: Bad exit status from /var/tmp/rpm-tmp.26340 (%build)
>
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.26340 (%build)
>
> I've seen this message on other rebuilds. What does it mean?
>
> A google search turns up a number of posts, but no specific answers on
> why, or how to fix. Some posts mention editing the SPEC file, but not
> what to edit out - or in. :-)
>
> Anyone seen this?

Yes, I have!
I was making my own custom version of dosemu-1.0.2.1.
For me it was the %patch macro that wasn't working for some reason and gave 
the "no job control" error:

I changed this:

cd ..
%patch -P 5 -p0

to:

(cd ..; patch -p0 <
/usr/src/RPM/SOURCES/dosemu-1.0.2.1-gcc2.96mdk_MD_fix-1.0.patch)

Assuming, %patch is the culprit, you can adapt the lines I have above.
If, it's not, then I don't know.

hth,
pesarif



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] SRC.RPM rebuild error

2002-01-12 Thread kwan

> On Tue, 2001-12-18 at 02:21, Michael Leone wrote:
> > Originally to: All
> >
> > I'm trying to rebuild abiword-0.9.5 from Cooker, on 8.1. I have
> > satisfied all dependencies, and start the rebuild. It however, errors
> > with this message:
> >
> > /var/tmp/rpm-tmp.26340: fg: no job control
> > error: Bad exit status from /var/tmp/rpm-tmp.26340 (%build)

Which shell are you using and which version? This sounds like a problem
with the shell rather than the build process. "No job control" could
mean a couple things, but has often occurred when in csh.





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] SRC.RPM rebuild error

2002-01-12 Thread Bill Kenworthy

upgrade to the cooker rpm stuff.  It fixed much of the probs for me. 
Note that mixing cooker and 8.1 can lead to big problems in some areas
(libpng for one!) as well as rpm hell!

BillK


On Tue, 2001-12-18 at 02:21, Michael Leone wrote:
> Originally to: All
> 
> This is a MIME-formatted message.  If you see this text it means that your
> E-mail software does not support MIME-formatted messages.
> 
> --=_tcob1.net-7247-1008635608-0001-2
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
> 
> I'm trying to rebuild abiword-0.9.5 from Cooker, on 8.1. I have
> satisfied all dependencies, and start the rebuild. It however, errors
> with this message:
> 
> /var/tmp/rpm-tmp.26340: fg: no job control
> error: Bad exit status from /var/tmp/rpm-tmp.26340 (%build)
> 
> 
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.26340 (%build)
> 
> I've seen this message on other rebuilds. What does it mean?
> 
> A google search turns up a number of posts, but no specific answers on
> why, or how to fix. Some posts mention editing the SPEC file, but not
> what to edit out - or in. :-)
> 
> Anyone seen this?
> 
> -- 
> 
> --
> Michael J. Leone  Registered Linux user #201348 
> ICQ: 50453890 AIM: MikeLeone
> 
> PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
> PGP public key:
> 
> 
> Foreman, roving paving crew, Dept. of Roads, Hades.
> 
> --=_tcob1.net-7247-1008635608-0001-2
> Content-Type: application/pgp-signature
> Content-Transfer-Encoding: 7bit
> 
> 
> <-> Gateway Information.
> This message originated from a Fidonet System (http://www.fidonet.org)
> and was gated at TCOB1 (http://www.tcob1.net)
> Please do not respond direct to this message but via the list
> 
> 
> 
> 
> 

> This message has been 'sanitized'.  This means that potentially
> dangerous content has been rewritten or removed.  The following
> log describes which actions were taken.
> 
> Sanitizer (start="1010818094"):
>   Part (pos="2766"):
> SanitizeFile (filename="unnamed.txt", mimetype="text/plain"):
>   Match (rule="2"):
> Enforced policy: accept
> 
>   Part (pos="4443"):
> SanitizeFile (filename="message.footer", mimetype="text/plain"):
>   Match (rule="default"):
> Enforced policy: defang
> 
>   Replaced mime type with: application/DEFANGED-8
>   Replaced file name with: message_footer.DEFANGED-8
> 
>   Total modifications so far: 1
> 
> 
> Anomy 0.0.0 : Sanitizer.pm
> $Id: Sanitizer.pm,v 1.32 2001/10/11 19:27:15 bre Exp $





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] SRC.RPM rebuild error

2001-12-19 Thread Michael Leone

From:   Charles A Edwards <[EMAIL PROTECTED]

>If you want to build for 7.2 you will need to build from tar.gz you
> will not be able to do it from the src.rpm

I don't want to rebuild for 7.2; I want to rebuild for 8.1, from
SRC.RPMs in Cooker for AbiWord.

-- 

--
Michael J. Leone  Registered Linux user #201348 
ICQ: 50453890 AIM: MikeLeone

PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
PGP public key:


Foreman, roving paving crew, Dept. of Roads, Hades.



msg46485/pgp0.pgp
Description: PGP signature


Re: [expert] SRC.RPM rebuild error

2001-12-18 Thread Michael Viron

>If you want to build for 7.2 you will need to build from tar.gz you will
not be
>able to do it from the src.rpm.

Charles,

This is not true.  I have successfully rebuilt about 100 8.1 rpms on a
stock + updates install of Mandrake 7.2 without resorting to .tar.gz files
or upgrading the version of rpm installed.

(Take a look at http://findaschool.org/~mviron/mdk72/RPMS, which is cooker
rpms based on 8.x re-compiled for 7.2)

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems & Administration Consultant
Web Spinners, University of West Florida



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] SRC.RPM rebuild error

2001-12-18 Thread Charles A Edwards

On 18 Dec 2001 13:55:28 -0500
Michael Leone <[EMAIL PROTECTED]> wrote:

> From: Michael Viron <[EMAIL PROTECTED]>
> 
> >I've seen this quite a bit when trying to rebuild 8.1 rpms on Mandrake
> >7.2 -- in that case it had something to do with the version of rpm not
> >supporting some options that were in the rpm spec file.
> 
> >On 8.1, it's possible that this has something to do with rpm-devel not
> >being installed?  That's one of the first things I would check.  
> 
> Nope; good idea, tho.
> 
> [turgon@minas-aran turgon]$ rpm -qa | grep rpm
> rpm-devel-4.0.3-0.27mdk
> urpmi-1.7-14mdk
> gnorpm-0.96-5mdk
> rpmlint-0.35-1mdk
> rpm-build-4.0.3-0.27mdk
> rpmtools-3.1-4mdk
> rpmdrake-1.3-106mdk
> gurpmi-1.1-14mdk
> rpm-python-4.0.3-0.27mdk
> rpm-4.0.3-0.27mdk
> grpmi-8.1-7mdk
> 
> >Also check to see what version of rpm is being used by cooker.
> 
> I'll look. But updating rpm scares me almost as much as upgrading glibc
> -mess either one up, and you've pretty much hosed your system. :-(


 
Mandrake 8.0 and 8.1 use rpm 4.
7.2 used rpm 3

If you want to build for 7.2 you will need to build from tar.gz you will not be
able to do it from the src.rpm.

Trying to update 7.2 to rpm 4 can be a 'total nightmare'.
It must be done in increments and may cause all sorts of problems.
This is the main reason that when 8.0 was released that it was recommended that
it be done as a clean install not as an upgrade.


   Charles




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] SRC.RPM rebuild error

2001-12-18 Thread Michael Leone

From:   Michael Viron <[EMAIL PROTECTED]>

>I've seen this quite a bit when trying to rebuild 8.1 rpms on Mandrake
>7.2 -- in that case it had something to do with the version of rpm not
>supporting some options that were in the rpm spec file.

>On 8.1, it's possible that this has something to do with rpm-devel not
>being installed?  That's one of the first things I would check.  

Nope; good idea, tho.

[turgon@minas-aran turgon]$ rpm -qa | grep rpm
rpm-devel-4.0.3-0.27mdk
urpmi-1.7-14mdk
gnorpm-0.96-5mdk
rpmlint-0.35-1mdk
rpm-build-4.0.3-0.27mdk
rpmtools-3.1-4mdk
rpmdrake-1.3-106mdk
gurpmi-1.1-14mdk
rpm-python-4.0.3-0.27mdk
rpm-4.0.3-0.27mdk
grpmi-8.1-7mdk

>Also check to see what version of rpm is being used by cooker.

I'll look. But updating rpm scares me almost as much as upgrading glibc
-mess either one up, and you've pretty much hosed your system. :-(


-- 

--
Michael J. Leone  Registered Linux user #201348 
ICQ: 50453890 AIM: MikeLeone

PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
PGP public key:


Foreman, roving paving crew, Dept. of Roads, Hades.



msg46367/pgp0.pgp
Description: PGP signature


Re: [expert] SRC.RPM rebuild error

2001-12-17 Thread Michael Viron

I've seen this quite a bit when trying to rebuild 8.1 rpms on Mandrake 7.2
-- in that case it had something to do with the version of rpm not
supporting some options that were in the rpm spec file.

On 8.1, it's possible that this has something to do with rpm-devel not
being installed?  That's one of the first things I would check.  Also check
to see what version of rpm is being used by cooker.

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems & Administration Consultant
Web Spinners, University of West Florida

At 06:21 PM 12/17/2001 -0500, you wrote:
>I'm trying to rebuild abiword-0.9.5 from Cooker, on 8.1. I have
>satisfied all dependencies, and start the rebuild. It however, errors
>with this message:
>
>/var/tmp/rpm-tmp.26340: fg: no job control
>error: Bad exit status from /var/tmp/rpm-tmp.26340 (%build)
>
>
>RPM build errors:
>Bad exit status from /var/tmp/rpm-tmp.26340 (%build)
>
>I've seen this message on other rebuilds. What does it mean?
>
>A google search turns up a number of posts, but no specific answers on
>why, or how to fix. Some posts mention editing the SPEC file, but not
>what to edit out - or in. :-)
>
>Anyone seen this?
>
>-- 
>
>--
>Michael J. Leone  Registered Linux user #201348 
>ICQ: 50453890 AIM: MikeLeone
>
>PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
>PGP public key:
>
>
>Foreman, roving paving crew, Dept. of Roads, Hades.
>
>Attachment Converted: "d:\mike\eudora\attach\[expert] SRC.RPM rebuild error"
>



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com