Re: [Cooker] Tonight: rebuilding an entire Mandrake distro fromscratch!

2002-03-12 Thread Warly

Leon Brooks <[EMAIL PROTECTED]> writes:

> On Tuesday 12 March 2002 13:26, Bryan Paxton wrote:
>> On Mon, 2002-03-11 at 23:07, Leon Brooks wrote:
>>> Do I need anything else to completely rebuild an installable Cooker CD
>>> set from source?
>> A few tips:
>
> One thing I forgot to ask you about is a step-by-step thingy. I was planning 
> on first reconstructing a set of CDs from binary-scratch, then trying it 
> again from source-scratch. What scripts etc did you use? Do you have a little 
> list?
>
> I seem to remember a message between Mandrake-employee list members (maybe 
> Warly?) about having a 'bot which rebuilds stuff regularly. Is that kicking 
> around anywhere?

bash-2.05# rpm -qip /RPMS/rpm-rebuilder-0.7-1mdk.noarch.rpm   
Name: rpm-rebuilderRelocations: /usr 
Version : 0.7   Vendor: MandrakeSoft
Release : 1mdk  Build Date: Mon 04 Mar 2002 07:33:54 PM CET
Install date: (not installed)   Build Host: montreal.mandrakesoft.com
Group   : System/Configuration/Packaging   Source RPM: 
rpm-rebuilder-0.7-1mdk.src.rpm
Size: 54102License: GPL
Packager: Mandrake Linux Team 
Summary : Tools to build/check distributions
Description :
The rpm-rebuilder package contains a set of tools written in bourne shell and python.

check-distrib: checks if a set of source and binary rpms are in sync.

rpm-rebuilder: build a set of rpms from a set of srpms.

compute-build-requires: trace an rpm build command to find the BuildRequires
it needs.

compute-compile-order: from the sets of binary and sources rpms, find the order
in which the source rpms must be recompiled.

-- 
Warly




Re: [Cooker] Tonight: rebuilding an entire Mandrake distro fromscratch!

2002-03-12 Thread Bryan Paxton

On Tue, 2002-03-12 at 02:47, R.I.P. Deaddog wrote:
> On 12 Mar 2002, Bryan Paxton wrote:
> Seems it's only you who faces problem here. If RPM fails to find
> *-config scripts, then it's usually because installation already fails,
> not because the perl regex caused them to disappear. Did you check the
> whole build log?
> 

I checked the friggin build dir, the files are there.
No errors during build, it goes just fine.


-- 
Bryan Paxton
Public PGP key: http://www.deadhorse.net/bpaxton.gpg

"Now, smell the rain of london, it still insists...
That we bed for our purity.
As if we are pure in the rain of our contentment!
As if I can think of this no more!"
-- Jeff Buckley




Re: [Cooker] Tonight: rebuilding an entire Mandrake distro fromscratch!

2002-03-12 Thread R.I.P. Deaddog

On 12 Mar 2002, Bryan Paxton wrote:

> locales: localedef is hrm broken (at least from my end), segfaults,
> reason unknown. 
> Search the mail archives, I made a few posts about this.
> 
> armagetron: eh, bad code or patch iirc
> 
> ImageMagick: Compiles fine, but there's some wierd perl regex going on
> inside that spec file which makes it impossible for RPM to find
> Magick++-config and other scripts/programs/whatever in the devel
> package.

Seems it's only you who faces problem here. If RPM fails to find
*-config scripts, then it's usually because installation already fails,
not because the perl regex caused them to disappear. Did you check the
whole build log?

Abel


> perl-DB: Fails during tests, thus it exits : )
> 
> hdf5: Hmm I don't remember why on this one 






Re: [Cooker] Tonight: rebuilding an entire Mandrake distro fromscratch!

2002-03-11 Thread Bryan Paxton

On Tue, 2002-03-12 at 00:18, Leon Brooks wrote:
> On Tuesday 12 March 2002 13:26, Bryan Paxton wrote:
> > On Mon, 2002-03-11 at 23:07, Leon Brooks wrote:
> >> Do I need anything else to completely rebuild an installable Cooker CD
> >> set from source?
See below

> 
> One thing I forgot to ask you about is a step-by-step thingy. I was planning 
> on first reconstructing a set of CDs from binary-scratch, then trying it 
> again from source-scratch. What scripts etc did you use? Do you have a little 
> list?

A howto would indeed be nice : ) But there's not one. 


The building, well I did it by hand, but this was for debugging reasons.
I'm sure someone on the mdk team has a kind of 'make world' script?

 Aside from that, I think everything you need is in i586/ 
There was a long thread about making your own cd, search the archives on
that.

> I seem to remember a message between Mandrake-employee list members (maybe 
> Warly?) about having a 'bot which rebuilds stuff regularly. Is that kicking 
> around anywhere?
> 

Hmmm yeah, I think so, I don't know what it is, and what it does though
: P, back to that 'make world' type script I was talking about : P If
one exists.

-- 
Bryan Paxton
Public PGP key: http://www.deadhorse.net/bpaxton.gpg

"Now, smell the rain of london, it still insists...
That we bed for our purity.
As if we are pure in the rain of our contentment!
As if I can think of this no more!"
-- Jeff Buckley




Re: [Cooker] Tonight: rebuilding an entire Mandrake distro fromscratch!

2002-03-11 Thread Bryan Paxton

On Mon, 2002-03-11 at 23:40, Leon Brooks wrote:
>
> > I sucessfully built 771 packages (the ones I use : p), only a few I
> > could not build, these being the following:
> > armagetron-i586 => armagetron-0.1.4.9-6mdk.src.rpm
> > ImageMagick-i586 => ImageMagick-5.4.2.3-1mdk.src.rpm
> > libhdf5_0-devel-i586 => hdf5-1.4.2p1-1mdk.src.rpm
> > libhdf5_0-i586 => hdf5-1.4.2p1-1mdk.src.rpm
> > libMagick5-i586 => ImageMagick-5.4.2.3-1mdk.src.rpm
> > locales-en-i586 => locales-2.3.1.2-8mdk.src.rpm
> > locales-i586 => locales-2.3.1.2-8mdk.src.rpm
> > perl-DB_File-i586 => perl-DB_File-1.802-1mdk.src.rpm
> 
> > If you would like reasons why these packages couldn't build, shout out :
> > ) (locales is being looked into...)
> 
> Off-list would be good, thanks!

locales: localedef is hrm broken (at least from my end), segfaults,
reason unknown. 
Search the mail archives, I made a few posts about this.

armagetron: eh, bad code or patch iirc

ImageMagick: Compiles fine, but there's some wierd perl regex going on
inside that spec file which makes it impossible for RPM to find
Magick++-config and other scripts/programs/whatever in the devel
package.

perl-DB: Fails during tests, thus it exits : )

hdf5: Hmm I don't remember why on this one 


 
> This should probably be fixed for posterior^H^H^Herity.
Yup, it should... Whether it does or not remains to be seen : p

 
> > P.S. Results afterwards please? : )
> 
> Hokay!

: ) 

> Cheers; Leon
> 

Tashi Delek 

-- 
Bryan Paxton
Public PGP key: http://www.deadhorse.net/bpaxton.gpg

"Now, smell the rain of london, it still insists...
That we bed for our purity.
As if we are pure in the rain of our contentment!
As if I can think of this no more!"
-- Jeff Buckley




Re: [Cooker] Tonight: rebuilding an entire Mandrake distro fromscratch!

2002-03-11 Thread Bryan Paxton

On Mon, 2002-03-11 at 23:07, Leon Brooks wrote:
> Tonight, I'm going to come over all ambitious and download a fresh Cooker 
> (presumably rc1) binary directory tree at tonight's bandwidth party (starts 
> at 19:30+08), plus a copy of all of the SRPMs.
> 
> Do I need anything else to completely rebuild an installable Cooker CD set 
> from source?
> 
> To clarify: I want to install Cooker on an otherwise bare machine, and build 
> two specialised cooker CD sets, one optimised for PentiumIII and the other 
> capable of installing, booting and running on 486es.
> 
>

I'd be very interested in your results
I sucessfully built 771 packages (the ones I use : p), only a few I
could not build, these being the following:
armagetron-i586 => armagetron-0.1.4.9-6mdk.src.rpm
ImageMagick-i586 => ImageMagick-5.4.2.3-1mdk.src.rpm
libhdf5_0-devel-i586 => hdf5-1.4.2p1-1mdk.src.rpm
libhdf5_0-i586 => hdf5-1.4.2p1-1mdk.src.rpm
libMagick5-i586 => ImageMagick-5.4.2.3-1mdk.src.rpm
locales-en-i586 => locales-2.3.1.2-8mdk.src.rpm
locales-i586 => locales-2.3.1.2-8mdk.src.rpm
perl-DB_File-i586 => perl-DB_File-1.802-1mdk.src.rpm

If you would like reasons why these packages couldn't build, shout out :
) (locales is being looked into...)

A few tips:
SAFE FLAGS! 
For your PIII opts I would recommend the default flags for i586, but
simply s/i586\/i686/ on the -march switch

Also, you will (I'm pretty sure) run into a few hicups here and there...
For example: 
Take out the man page entries in the glibc.spec , otherwise the build
will error out with file not found by glob bla bla... 
The reason for this? I have Noo idea! : ) 
GB says it's because it's not building for the default mdk arch (i586),
which doesn't make sense to me, but he knows more about RPM than I do :
p

Other than that, enjoy!  

P.S. Results afterwards please? : )

-- 
Bryan Paxton
Public PGP key: http://www.deadhorse.net/bpaxton.gpg

"Now, smell the rain of london, it still insists...
That we bed for our purity.
As if we are pure in the rain of our contentment!
As if I can think of this no more!"
-- Jeff Buckley