Re: [Fink-devel] Re: Giving up on ghc

2005-06-26 Thread Corey Halpin
On 2005-06-26, Brian McCallister wrote:
 With much tweaking of readline (installing a local readline instead  
 of editline in /usr/local -- dunno why that mattered for fink) I was  
 eventually able to get the darwinports version working. It relies on  
 a bootstrap which is set up to look at the darwinports library  
 locations, but those look like they are set by a shell script.
 
 -Brian
 
  Did you want to adopt the package then?
  If not, I'd be glad to do it.  Specifics of how you got it to build would
be appreciated in the case that you don't want to adopt it.

crh


pgp8f9qkocbpN.pgp
Description: PGP signature


Re: [Fink-devel] 235 packages?

2005-06-26 Thread Daniel Macks
On Fri, Jun 24, 2005 at 04:50:50PM -0400, Alexander Strange wrote:
 On Jun 24, 2005, at 4:43 PM, Alexander K. Hansen wrote:
 
 It sounds like the PDB is reindexing itself.
 
 Why does it empty the PDB before adding the new entries? If  
 Sourceforge's SQL server supports transactions, it's easy to do it  
 the right way, and even if it doesn't you could at least build a  
 temporary table to store them in.

We currently *do* use transactions to update the PDB. Here's the
pseudocode:

  foreach distro ( 10.2-gcc3.3 10.3 10.4-transitional ) {
cvs update stable and unstable
dump package index as a file of SQL commands to update the PDB
update the PDB (in a single transaction: DELETE all old, INSERT new)
  create file of SQL commands to set various flags (most recent, etc).
  update the PDB (in a single transaction: UPDATE all flags)

So if you happen to hit after the distro INSERTs but before the flag
UPDATEs, for example, all pkgs may be in the PDB but none are marked
as most recent (since the distro DELETE wiped the old records).

The script runs via cron every 8 hours. Sometimes the scripts crash
(SF resource shortage), so happen to hit could be an 8-hour time
block (i.e., until the next run) if that's when it crashes. The script
diagnostics go to the fink-auto-logs mailing list (on SF, archived on
gmane) if you'd like to see the current state.

You're welcome to look in scripts/pdb and xml/web/pdb in fink CVS and
in my bin directory on SF's shell server to see the actual scripts
used, and improve upon them.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Vomiting record

2005-06-26 Thread Martin Costabel
Wow... I thought the one hundred thousand lines with not from earlier 
dynamic library in the gimp2 compilation output was a record. But 
kdelibs3-ssl-3.4.1-11 beats'em all by a wide margin.


% grep accepting rule at line updateall_G21.log | wc
7293747 45386256 264142384

Seven million lines. Two hundred sixty-four megabytes. Could blow away 
your scroll buffer rather easily.


--
Martin



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Re: Giving up on ghc

2005-06-26 Thread Remko Troncon
With much tweaking of readline (installing a local readline instead  
of editline in /usr/local -- dunno why that mattered for fink) I  
was eventually able to get the darwinports version working. It  
relies on a bootstrap which is set up to look at the darwinports  
library locations, but those look like they are set by a shell script.


Matthias' experimental info file also makes use of that bootstrap,  
but modifies it a little to make it work for the fink build process.  
As a matter of fact, I got GHC built with Matthias' experimental info  
file, by making 1 change to one of the bootstrap files. I'll try to  
see if i can put the change in the fink build process, and hope this  
will work for everybody.


cheers,
Remko



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Re: Giving up on ghc

2005-06-26 Thread Matthias Neeracher


On Jun 26, 2005, at 10:06 AM, Remko Troncon wrote:

With much tweaking of readline (installing a local readline  
instead of editline in /usr/local -- dunno why that mattered for  
fink) I was eventually able to get the darwinports version  
working. It relies on a bootstrap which is set up to look at the  
darwinports library locations, but those look like they are set by  
a shell script.




Matthias' experimental info file also makes use of that bootstrap,  
but modifies it a little to make it work for the fink build  
process. As a matter of fact, I got GHC built with Matthias'  
experimental info file


Yes it builds, but it does not run, as far as I found. It complains  
about not finding some modules which, I believe, should have been  
linked in.


Matthias



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: Giving up on ghc

2005-06-26 Thread Brian McCallister

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

iirc, the biggest problem I had with the fink install looked like a  
second level namespace problem in gmp. With darwinports it was  
readline, but that was my own stupid fault as I had replaced  
apple's editline with readline in a particularly stupid way. When I  
rolled that back i was able to use the darwinports build.


That build bootstraps on a 6.4 bootstrap tarball on haskell.org,  
which presumes darwinports library locations ( /opt/local ). A course  
of action may be to build a completely statically linked bootstrapper  
from the darwinports tree (ha!) and use that to bootstrap the fink  
build.


I would volunteer to attempt this, but I know I won't have time for a  
while as I am pretty overbooked on work right now =( I'll play with  
it as I have spare moments, but cannot commit to getting anything  
done in a reasonable time (partly because I don't really know ghc  
that well, yet).


- -Brian


On Jun 26, 2005, at 4:42 PM, Corey Halpin wrote:


On 2005-06-26, Brian McCallister wrote:


With much tweaking of readline (installing a local readline instead
of editline in /usr/local -- dunno why that mattered for fink) I was
eventually able to get the darwinports version working. It relies on
a bootstrap which is set up to look at the darwinports library
locations, but those look like they are set by a shell script.

-Brian



  Did you want to adopt the package then?
  If not, I'd be glad to do it.  Specifics of how you got it to  
build would

be appreciated in the case that you don't want to adopt it.

crh



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFCvxcIaOuMdvjqKWcRApL1AKCPd+gKtllHWf0C/cqQxRBBkXYCPwCgiMBW
X1F5e6xslJWW+uEXRFt+6S0=
=Cn0P
-END PGP SIGNATURE-


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel