delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/01/27/15:15:00

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <3C545FE2.8040806@ece.gatech.edu>
Date: Sun, 27 Jan 2002 15:15:30 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
CC: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>,
cygwin-apps AT sources DOT redhat DOT com
Subject: Re: for the brave
References: <NCBBIHCHBLCMLBLOBONKEEFCCJAA DOT g DOT r DOT vansickle AT worldnet DOT att DOT net> <3C4A553A DOT 1080709 AT ece DOT gatech DOT edu> <01c101c1a173$022dc6f0$0200a8c0 AT lifelesswks> <3C4A5AC9 DOT 8000104 AT ece DOT gatech DOT edu> <040001c1a244$def97210$0200a8c0 AT lifelesswks> <3C4C345A DOT 4060604 AT ece DOT gatech DOT edu> <074101c1a2c2$bf7b0470$0200a8c0 AT lifelesswks> <3C4C8DDA DOT 9040008 AT ece DOT gatech DOT edu> <049401c1a72c$e0a3df00$0200a8c0 AT lifelesswks> <3C5451A6 DOT 2070002 AT ece DOT gatech DOT edu>

This is a multi-part message in MIME format.
--------------010309010300030807060406
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Charles Wilson wrote:

> Robert Collins wrote:
> 
>>
>> IIRC this is reproducible for you Chuck, can you shoot me some logs
>> please.
> 
> 
> 
> Okay, this is from setup 2.188 (compiled just now) and I am trying to do 
> a local install from //polgara/private/software/windows/cygwin-new/ 
> which contains a standard tree structure and the attached setup.ini. 
> Setup responds "can't get setup.ini from setup.ini"

AHA!

After applying the attached patch to setup 2.188, I got a clue that the 
problem was that my 'local' repository was on a remote share 
'//polgara/private/'.  So, I copied the 
//polgara/private/software/windows/cygwin-new tree over to my local disk 
-- and things were kinda okay for a while.

I got to the chooser screen, and it listed the bzip2 package and 
libbz2_0 package:

CURRENT   NEW       PACKAGE
1.0.1-6   1.0.2-1   bzip2: sdesc...
           1.0.2-1   libbz2_0: sdesc...

When I said "install", I briefly got the progress screen -- and then a 
BSOD. memory dump sent separately.  This is on W2K, McAfee *was* turned 
*off*.

Sigh.

So, the problem with "unable to get setup.ini from setup.ini" seems to 
be due to problems handling windows shares in the "local_dir" variable 
within ini.cc.

Now, my problem list is;
   BSOD
   SEGV when clicking 'ADD' new site for internet installations. (null 
pointer)
   local_dir on a windows share

--Chuck

--------------010309010300030807060406
Content-Type: text/plain;
 name="setup.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="setup.patch"

Index: filemanip.cc
===================================================================
RCS file: /cvs/src/src/winsup/cinstall/filemanip.cc,v
retrieving revision 2.2
diff -u -r2.2 filemanip.cc
--- filemanip.cc	2002/01/26 04:21:34	2.2
+++ filemanip.cc	2002/01/27 20:00:26
@@ -97,7 +97,7 @@
   f.pkg[0] = f.what[0] = '\0';
   p = base (fn);
   for (ver = p; *ver; ver++)
-    if (*ver == '-' || *ver == '_')
+    if (*ver == '-')
       if (isdigit (ver[1]))
 	{
 	  *ver++ = 0;
Index: ini.cc
===================================================================
RCS file: /cvs/src/src/winsup/cinstall/ini.cc,v
retrieving revision 2.18
diff -u -r2.18 ini.cc
--- ini.cc	2002/01/20 13:31:04	2.18
+++ ini.cc	2002/01/27 20:00:27
@@ -68,7 +68,7 @@
   io_stream *ini_file = io_stream::open (concat ("file://", local_dir,"/", path, 0), "rb");
   if (!ini_file)
     {
-    note (NULL, IDS_SETUPINI_MISSING, path);
+    note (NULL, IDS_SETUPINI_MISSING, (concat("file://", local_dir, "/", path, 0) ) );
     return;
     }
 

--------------010309010300030807060406--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019