GNU bug report logs - #21582
25.0.50; WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index `cp' and/or `fn

Previous Next

Package: emacs;

Reported by: Keith David Bershatsky <esq <at> lawlist.com>

Date: Mon, 28 Sep 2015 19:13:02 UTC

Severity: normal

Found in version 25.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21582 in the body.
You can then email your comments to 21582 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#21582; Package emacs. (Mon, 28 Sep 2015 19:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Keith David Bershatsky <esq <at> lawlist.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 28 Sep 2015 19:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Keith David Bershatsky <esq <at> lawlist.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50;
 WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index `cp'
 and/or `fn
Date: Mon, 28 Sep 2015 12:12:25 -0700
I am learning how to build Emacs on WindowsXP and have encountered the following error when trying to build the most recent master branch / trunk:

The first problem I had was with `./autogen.sh`, which was fixed by running:

dos2unix configure.ac

Then, I configured with just the basic:

./configure --prefix=/c/docume~1/lawlist/desktop/trunk

Everything appeared to be going well and I though I was near the end of the `make` process, but then I received the following error:

***
Scanning ./url for finder
Scanning ./vc for finder
make[1]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/lisp'
make info-real info-dir
make[1]: Entering directory `/c/docume~1/lawlist/desktop/emacs'
make -C doc/lispref info
make[2]: Entering directory `/c/docume~1/lalwist/desktop/emacs/doc/lispref'
/bin/mkdir -p ../../info
GEN ../../info/elisp.info
' in @synindex.Uninown index `cp' and/or `fn
' in @synindex.Uninown index `vr' and/or `fn
' in @synindex.Uninown index `ky' and/or `fn
' in @synindex.Uninown index `pg' and/or `fn
make[2]: *** [../../info/elisp.info] Error 1
make[2]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/doc/lispref'
make[1]: *** [lispref-info] Error 2
make[1]: Leaving directory `/c/docume~1/lawlist/desktop/emacs'
make:  *** [info] Error 2

Any ideas on how to get passed this next hurdle would be greatly appreciated.

Thanks

Keith




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21582; Package emacs. (Tue, 29 Sep 2015 05:33:02 GMT) Full text and rfc822 format available.

Message #8 received at 21582 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Keith David Bershatsky <esq <at> lawlist.com>
Cc: 21582 <at> debbugs.gnu.org
Subject: Re: bug#21582: 25.0.50;
 WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index
 `cp'	and/or `fn
Date: Tue, 29 Sep 2015 08:32:47 +0300
> Date: Mon, 28 Sep 2015 12:12:25 -0700
> From: Keith David Bershatsky <esq <at> lawlist.com>
> 
> I am learning how to build Emacs on WindowsXP and have encountered the following error when trying to build the most recent master branch / trunk:
> 
> The first problem I had was with `./autogen.sh`, which was fixed by running:
> 
> dos2unix configure.ac

Did you install Git for Windows with EOL conversion option set to
_anything_ but "checkout as-is, commit as-is"?  If so, please
reconfigure your Git to use that.  To that effect, please _remove_
from your .gitconfig files (there might be more than one) _any_
settings of the following variables:

  core.eol
  core.safecrlf
  core.autocrlf

Then remove your Emacs Git repository and re-clone it again.

The upshot of all that is to have the EOL format of each file in the
repository exactly as it is on a Unix system.  That is the only sane
way of using Git on Windows for a project that supports multiple
platforms and includes files with both Unix-style and DOS-style EOLs
in the repository.

> Then, I configured with just the basic:
> 
> ./configure --prefix=/c/docume~1/lawlist/desktop/trunk
> 
> Everything appeared to be going well and I though I was near the end of the `make` process, but then I received the following error:
> 
> ***
> Scanning ./url for finder
> Scanning ./vc for finder
> make[1]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/lisp'
> make info-real info-dir
> make[1]: Entering directory `/c/docume~1/lawlist/desktop/emacs'
> make -C doc/lispref info
> make[2]: Entering directory `/c/docume~1/lalwist/desktop/emacs/doc/lispref'
> /bin/mkdir -p ../../info
> GEN ../../info/elisp.info
> ' in @synindex.Uninown index `cp' and/or `fn
> ' in @synindex.Uninown index `vr' and/or `fn
> ' in @synindex.Uninown index `ky' and/or `fn
> ' in @synindex.Uninown index `pg' and/or `fn
> make[2]: *** [../../info/elisp.info] Error 1
> make[2]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/doc/lispref'
> make[1]: *** [lispref-info] Error 2
> make[1]: Leaving directory `/c/docume~1/lawlist/desktop/emacs'
> make:  *** [info] Error 2

I'm guessing this is the result of the same problem with EOL format:
the Texinfo source files in doc/lispref/*.texi have DOS CRLF EOL
format, but your 'makeinfo' utility is from MSYS and expects Unix
EOLs.  Note how the closing ' character is displayed at the beginning
of the line, instead of being after `fn -- that's because there's a CR
character after `fn.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21582; Package emacs. (Tue, 29 Sep 2015 06:35:03 GMT) Full text and rfc822 format available.

Message #11 received at 21582 <at> debbugs.gnu.org (full text, mbox):

From: Keith David Bershatsky <esq <at> lawlist.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 21582 <at> debbugs.gnu.org
Subject: Reply to correspondence dated September 28, 2015.
Date: Mon, 28 Sep 2015 23:34:45 -0700
:)  GNU Emacs 25.0.50.2 (i686-pc-mingw32) of 2014-09-28

Yes, reconfiguring `git` as you suggested did indeed fix the problem.  I was able to build through completion.  There were many entries towards the end of the build:

find: `chown': No such file or directory
find: `chown': No such file or directory
find: `chown': No such file or directory
find: `chown': No such file or directory
find: `chown': No such file or directory
find: `chown': No such file or directory

However, the build completed without a problem and the Emacs binary appears to be working properly.

Thank you very much,

Keith




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21582; Package emacs. (Tue, 29 Sep 2015 06:50:02 GMT) Full text and rfc822 format available.

Message #14 received at 21582 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Keith David Bershatsky <esq <at> lawlist.com>
Cc: 21582 <at> debbugs.gnu.org
Subject: Re: Reply to correspondence dated September 28, 2015.
Date: Tue, 29 Sep 2015 09:49:14 +0300
> Date:  Mon, 28 Sep 2015 23:34:45 -0700
> From:  Keith David Bershatsky <esq <at> lawlist.com>
> Cc:  21582 <at> debbugs.gnu.org
> 
> There were many entries towards the end of the build:
> 
> find: `chown': No such file or directory
> find: `chown': No such file or directory
> find: `chown': No such file or directory
> find: `chown': No such file or directory
> find: `chown': No such file or directory
> find: `chown': No such file or directory

Is that when you invoked "make install"?  I don't see 'chown' invoked
in Makefiles anywhere else.

If this is part of "make install", do you have the 'chown' command
installed in your MSYS tree?  If not, you need to install the MSYS
"coreutils-extra" package, where you will find chown.exe and some
other useful utilities.  (I have no idea why the MSYS developers
separated Coreutils into 2 binary packs.)

> However, the build completed without a problem and the Emacs binary appears to be working properly.

Well, chown is largely a no-op on Windows, so it doesn't surprise me
that it's working.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21582; Package emacs. (Tue, 29 Sep 2015 07:24:02 GMT) Full text and rfc822 format available.

Message #17 received at 21582 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Keith David Bershatsky <esq <at> lawlist.com>, 21582 <at> debbugs.gnu.org
Subject: Re: bug#21582: 25.0.50;
 WindowsXP GEN ../../info/elisp.info in @synindex.Uninown
 index `cp' and/or `fn
Date: Tue, 29 Sep 2015 09:23:04 +0200
> The first problem I had was with `./autogen.sh`, which was fixed by running:
>
> dos2unix configure.ac

You probably have to do

git config --global core.autocrlf false

and reload from the repository.

Emacs doesn't work with the git default settings.  I could have sworn I
saw an advice about this somewhere ...

> make -C doc/lispref info
> make[2]: Entering directory `/c/docume~1/lalwist/desktop/emacs/doc/lispref'
> /bin/mkdir -p ../../info
> GEN ../../info/elisp.info
> ' in @synindex.Uninown index `cp' and/or `fn
> ' in @synindex.Uninown index `vr' and/or `fn
> ' in @synindex.Uninown index `ky' and/or `fn
> ' in @synindex.Uninown index `pg' and/or `fn
> make[2]: *** [../../info/elisp.info] Error 1
> make[2]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/doc/lispref'
> make[1]: *** [lispref-info] Error 2
> make[1]: Leaving directory `/c/docume~1/lawlist/desktop/emacs'
> make:  *** [info] Error 2
>
> Any ideas on how to get passed this next hurdle would be greatly appreciated.

You probably need Eli's port of Texinfo from here ...

http://sourceforge.net/projects/ezwinports/files/

... instead of the one you have.

martin




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21582; Package emacs. (Tue, 29 Sep 2015 16:20:02 GMT) Full text and rfc822 format available.

Message #20 received at 21582 <at> debbugs.gnu.org (full text, mbox):

From: Keith David Bershatsky <esq <at> lawlist.com>
To: Eli Zaretskii <eliz <at> gnu.org>,Martin Rudalics <rudalics <at> gmx.at>
Cc: 21582 <at> debbugs.gnu.org
Subject: Re: bug#21582: 25.0.50;
 WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index `cp'
 and/or `fn
Date: Tue, 29 Sep 2015 09:19:11 -0700
Yes, the `chown` error messages were displayed during the "make install" portion of the building process.  The suggestion of installing coreutils resolved the issue -- I ran the following command line to install `chown.exe` and other utilities:

mingw-get install msys-coreutils

And, as Martin noted, the default settings for installing `git` do not work with Emacs.  I re-installed git -- selecting "checkout as-is, commit as-is" as suggested by Eli and that resolved the line-ending issues with `configure.ac` and the *.info files such as `elisp.info`.

I now have a working bare-bones installation of Emacs built from the current master branch.

Thank you both very much for your help -- greatly appreciated!

Keith




bug closed, send any further explanations to 21582 <at> debbugs.gnu.org and Keith David Bershatsky <esq <at> lawlist.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 29 Sep 2015 16:30:06 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 28 Oct 2015 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 298 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.