From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Guy Gascoigne-Piggford Newsgroups: gmane.emacs.devel Subject: Re: Boostrap error Date: Thu, 11 Nov 2004 12:35:21 -0800 Message-ID: <4193CD09.2050803@wyrdrune.com> References: <418F258D.5050201@wyrdrune.com> <3E791795-316A-11D9-A429-000D93505B76@swipnet.se> <418F4AC8.4050906@gnu.org> <418FAFA5.6010108@swipnet.se> <029f01c4c5be$422cd8f0$0200a8c0@sedrcw11488> <418FDD39.7040601@swipnet.se> <036e01c4c68d$6d7159d0$0200a8c0@sedrcw11488> <4191D67A.9000000@swipnet.se> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1100205312 5894 80.91.229.6 (11 Nov 2004 20:35:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Nov 2004 20:35:12 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 11 21:34:56 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CSLeh-0002N4-00 for ; Thu, 11 Nov 2004 21:34:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSLnD-0002wC-Dg for ged-emacs-devel@m.gmane.org; Thu, 11 Nov 2004 15:43:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CSLn7-0002vx-AT for emacs-devel@gnu.org; Thu, 11 Nov 2004 15:43:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CSLn6-0002vl-S8 for emacs-devel@gnu.org; Thu, 11 Nov 2004 15:43:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSLn6-0002vi-Po for emacs-devel@gnu.org; Thu, 11 Nov 2004 15:43:36 -0500 Original-Received: from [204.127.202.56] (helo=sccrmhc12.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSLeZ-0003Sv-BM for emacs-devel@gnu.org; Thu, 11 Nov 2004 15:34:47 -0500 Original-Received: from wyrdrune (c-24-21-205-248.client.comcast.net[24.21.205.248]) by comcast.net (sccrmhc12) with SMTP id <2004111120344201200pfcqae>; Thu, 11 Nov 2004 20:34:42 +0000 Original-Received: from 127.0.0.1 by wyrdrune ([127.0.0.1] running VPOP3) with ESMTP; Thu, 11 Nov 2004 12:35:21 -0800 User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en In-Reply-To: <4191D67A.9000000@swipnet.se> X-Server: VPOP3 V1.5.0g - Registered X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29760 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29760 Well this is strange: I'm using that patch, using this as the pattern: (defconst w32-cygdrive-name-regexp "\\`\\(?:/cygdrive\\)?/\\(.\\)/") If I run make I get: --- "./../bin/emacs.exe" -batch --no-init-file --no-site-file --multibyte -l autoload \ --eval '(setq find-file-hook nil \ find-file-suppress-same-file-warnings t \ generated-autoload-file \ "/cygdrive/c/dev/emacs-src/emacs/lisp/loaddefs.el")' \ -f batch-update-autoloads /cygdrive/c/dev/emacs-src/emacs/lisp calc calendar emacs-lisp emulation eshell gnus international language mail mh-e net obsolete play progmodes term textmodes toolbar url handler expand-file-name (subdirs.el /:/cygdrive/c/dev/emacs-src/emacs/lisp) Wrong type argument: number-or-marker-p, nil Signal 127 --- But if I run that same command from the command line, it works, though the initial output is different: handler file-name-as-directory (/cygdrive/c/dev/emacs-src/emacs/lisp) handler expand-file-name (/cygdrive/c/dev/emacs-src/emacs/lisp/. nil) handler expand-file-name (/cygdrive/c/dev/emacs-src/emacs/lisp nil) handler expand-file-name (/cygdrive/c/dev/emacs-src/emacs/lisp/loaddefs.el c:/dev/emacs-src/emacs/lisp) handler file-name-directory (/cygdrive/c/dev/emacs-src/emacs/lisp/loaddefs.el) handler expand-file-name (/cygdrive/c/dev/emacs-src/emacs/lisp/ nil) handler file-name-directory (/cygdrive/c/dev/emacs-src/emacs/lisp/loaddefs.el) ........ -- I'm afraid that my lisp is appalling at best. It looks to me that when called from make, it take a different route even though the command line is the same. Very strange. Guy Jan D. wrote: > Lennart Borgman wrote: > >> : handler expand-file-name (subdirs.el /:/d/src/emacs-cygwin/lisp) >> : Wrong type argument: number-or-marker-p, nil >> : Signal 127 >> : make[1]: *** [autoloads] Error 255 >> : make[1]: Leaving directory `/d/src/emacs-cygwin/lisp' >> : make: *** [bootstrap-gmake] Error 2 >> >> Please look at the regexp in the beginning of the file I attached >> before. I >> was uncertain of whether to use "cygdrive" or "cygwin", I do not use >> Cygwin >> myself. This can maybe explain the first error. > > > It is cygdrive by default, but it really can be set to anything. I > don't use cygwin either, I only got it installed so I could test the > build process under Windows. I don't think I will spend any more time > on this, I have other things to do and Windows is not my preferred > platform. Besides, the solution you are proposing only handles a > special case, not the general case. If it where up to me, I'd let > configure check if cygpath is usable, and if not, require that the > user supply the dos path to configure (--dospath=c:/whatever/emacs) > and use that for buildlisppath and lisp in the makefiles for leim and > lisp respectively. But again, this is not my platform of choice, so > the ones working on this must do what they think is best. > > Jan D. > > > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel > . > -- Guy Gascoigne - Piggford www.wyrdrune.com