On Tue, Feb 19, 2002 at 07:13:36PM +0100, Remi VANICAT wrote: > I just look to the ocaml 3.04-8 package, and there is problem : > I have an exception raised (Invalid_argument "String.get") when > installing ocaml-bas, and when I run ocaml-ldconf. > > here is a patch that seem to solve the problem : > > --- patch --- > *** ocaml-3.04-orig/debian/ocaml-ldconf.ml Tue Feb 19 19:06:38 2002 > --- ocaml-3.04/debian/ocaml-ldconf.ml Tue Feb 19 18:37:15 2002 > *************** let action_update () = > *** 264,270 **** > let rec f fd c dpkg_list = > let f = f fd (c+1) in try > let l = input_line fd in > ! if l.[0] = '#' then f dpkg_list > else match parse_line l with > | dir, Add_action -> f (dir::dpkg_list) > | _, _ -> > --- 264,270 ---- > let rec f fd c dpkg_list = > let f = f fd (c+1) in try > let l = input_line fd in > ! if (String.length l) = 0 || l.[0] = '#' then f dpkg_list > else match parse_line l with > | dir, Add_action -> f (dir::dpkg_list) > | _, _ -> > --- end patch ---
Yes, i had a similar fix already in, which altough a little longer does the same (with an additional if then else). > the last bug ? I hope so ... At least the current -9 package is instaleable, seems to work right, and even fixes the powerpc problem. I had to remove the conflict between ocaml-base and older version of ocaml though, since it would hinder the upgrading of the ocaml package due to a circular dependency problem. It may cause problems with older versions of ocaml which still didn't had the ocaml-base ==sourceversion dependency in, though. Maybe i should add a conflict with ocaml 3.04-3 or something such though, yes, will do that. Friendly, Sven Luther > -- > R�mi Vanicat > [EMAIL PROTECTED] > http://dept-info.labri.u-bordeaux.fr/~vanicat > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

