Typos

2024-12-01 Thread Ken Brown
There are a few places in the top-level configure.ac and in tp/Texinfo/XS/configure.ac where "libintl" is spelled "libinlt". I assume this is unintentional. It's harmless, AFAICT, because the misspellings are done consistently. But it's confusing to a reader of the code. Ken

Re: multiple failures for info tests on cygwin

2024-09-21 Thread Ken Brown
On 9/21/2024 8:07 AM, Gavin Smith wrote: On Sat, Sep 21, 2024 at 12:10:33PM +0200, Patrice Dumas wrote: This platform does not test the native Windows Info reader, it is the cygwin info reader. So these tests fail in a 'pure' Cygwin setup, there is no mingw here, the comparison with mingw was i

Re: Texinfo 7.1.0.90 pretest results [mingw]

2024-06-17 Thread Ken Brown
On 6/17/2024 3:59 PM, Gavin Smith wrote: On Sun, Jun 09, 2024 at 03:58:08AM +0200, Bruno Haible wrote: Summarizing the results from [2]: - On Cygwin and mingw, there are many test failures, some of which look like CR-LF / LF mismatches. I just took a look at the log on Cygwin, and t

Heads-up: gnulib bug can cause crashes on Cygwin

2021-11-25 Thread Ken Brown
I'm probably the only person building texinfo on Cygwin, but this is just a heads-up that there's a bug in gnulib/m4/threadlib.m4 that can cause mysterious crashes that are very hard to debug. The bug shows up when running 'make check' in the info subdirectory. 13 of the 85 tests fail because

Link failure

2021-11-24 Thread Ken Brown
Building the current git HEAD on Cygwin (and probably some other platforms) fails with link errors: libtool: link: gcc -shared .libs/MiscXS.o .libs/misc.o -L/usr/lib/perl5/5.32/x86_64-cygwin-threads/CORE -lperl -ggdb -O2 -fstack-protector-strong -O3 -o .libs/MiscXS.dll -Wl,--enable-auto-im

Re: Texinfo 6.8 released

2021-07-06 Thread Ken Brown
On 7/6/2021 10:08 AM, Gavin Smith wrote: On Tue, Jul 6, 2021 at 2:09 PM Ken Brown wrote: It was just reported on the Cygwin mailing list that makeinfo can't be used in a pipeline any more: https://cygwin.com/pipermail/cygwin/2021-July/248849.html I assume this is not an intent

Re: Texinfo 6.8 released

2021-07-06 Thread Ken Brown
On 7/3/2021 7:44 AM, Gavin Smith wrote: We have released version 6.8 of Texinfo, the GNU documentation format. This package contains tools to produce documentation in various formats, including HTML and PDF, from source files in the Texinfo format. Texinfo is a text-based format with commands f

Re: XSParagraph build failure with static libperl

2017-06-07 Thread Ken Brown
On 6/7/2017 1:14 PM, Gavin Smith wrote: On Tue, Jun 06, 2017 at 09:56:37PM -0400, Ken Brown wrote: I've committed a change to do this. I copied the test from the top-level configure.ac to see if we are on MS-Windows: host_is_windows=no case "$host" in *-mingw32 | *-mingw64

Re: XSParagraph build failure with static libperl

2017-06-06 Thread Ken Brown
On 6/6/2017 5:22 PM, Gavin Smith wrote: On Mon, Jun 05, 2017 at 08:50:48PM +0100, Gavin Smith wrote: On Mon, Jun 05, 2017 at 12:14:04PM -0700, Li Er wrote: I tried my build with TEXINFO_XS=debug and it states 'XSParagraph.so loaded', so I think it's working well. If there's no shared libperl,

Re: Documentation bugs to do with text2dvi

2017-03-02 Thread Ken Brown
On 3/2/2017 4:10 PM, Alan Mackenzie wrote: Hello, Ken On Wed, Mar 01, 2017 at 17:27:28 -0500, Ken Brown wrote: On 3/1/2017 4:45 PM, Alan Mackenzie wrote: Hello, texinfo. I've just installed texinfo 6.1, and am having difficulty generating a .dvi file. I've encountered

Re: Documentation bugs to do with text2dvi

2017-03-01 Thread Ken Brown
On 3/1/2017 4:45 PM, Alan Mackenzie wrote: Hello, texinfo. I've just installed texinfo 6.1, and am having difficulty generating a .dvi file. I've encountered inadequate documentation, trying to do this. First problem: I do $ texi2dvi cc-mode.texi , and get the error message: /usr/bi

Re: EGREP used but not defined in tests

2016-12-07 Thread Ken Brown
On 12/7/2016 3:31 PM, Gavin Smith wrote: On 26 November 2016 at 18:08, Ken Brown wrote: The variable EGREP is used in info/t/Init-inter.inc but not defined. This leads to errors like the following when the tests are run on Cygwin: info/t/Init-inter.inc: line 28: -iv: command not found

EGREP used but not defined in tests

2016-11-26 Thread Ken Brown
The variable EGREP is used in info/t/Init-inter.inc but not defined. This leads to errors like the following when the tests are run on Cygwin: info/t/Init-inter.inc: line 28: -iv: command not found The following patch fixes it: --- info/Makefile.am(revision 7534) +++ info/Makefile.am(w

Re: texinfo not happy with texlive not producing log?

2016-10-30 Thread Ken Brown
On 10/30/2016 2:31 PM, Liviu Ionescu wrote: kpathsea: Running mktexfmt etex.fmt Can't locate mktexlsr.pl in @INC (@INC contains: /Users/ilg/Work/no-backup/texlive/tlpkg /Users/ilg/Work/no-backup/texlive/texmf-dist/scripts/texlive [...] It looks like there's something wrong with your TeX Live in

Re: texinfo-6.1.91 pretest

2016-09-06 Thread Ken Brown
On 9/6/2016 12:59 PM, Ken Brown wrote: On 9/6/2016 12:55 PM, Ken Brown wrote: On 9/5/2016 5:35 PM, Gavin Smith wrote: The next pretest for the next Texinfo release has been uploaded to ftp://alpha.gnu.org/gnu/texinfo/texinfo-6.1.91.tar.xz http://alpha.gnu.org/gnu/texinfo/texinfo-6.1.91

Re: texinfo-6.1.91 pretest

2016-09-06 Thread Ken Brown
On 9/6/2016 12:55 PM, Ken Brown wrote: On 9/5/2016 5:35 PM, Gavin Smith wrote: The next pretest for the next Texinfo release has been uploaded to ftp://alpha.gnu.org/gnu/texinfo/texinfo-6.1.91.tar.xz http://alpha.gnu.org/gnu/texinfo/texinfo-6.1.91.tar.xz There have been a few changes since

Re: texinfo-6.1.91 pretest

2016-09-06 Thread Ken Brown
On 9/5/2016 5:35 PM, Gavin Smith wrote: The next pretest for the next Texinfo release has been uploaded to ftp://alpha.gnu.org/gnu/texinfo/texinfo-6.1.91.tar.xz http://alpha.gnu.org/gnu/texinfo/texinfo-6.1.91.tar.xz There have been a few changes since the previous pretest: * A few translation f

Re: info crashes if .infokey contains the "invalid" action

2016-03-04 Thread Ken Brown
On 3/4/2016 2:39 PM, Gavin Smith wrote: I think I've fixed it now. (SVN revision 7040). Confirmed. Thanks for the quick fix. Ken

Change in '?' behavior is not reflected in the directory header

2016-03-04 Thread Ken Brown
In r6655 '?' was changed so that it no longer lists all commands. But the directory header doesn't still says it does. Here's the trivial patch: Index: info/dir.c === --- info/dir.c (revision 7037) +++ info/dir.c (working copy)

Re: info crashes if .infokey contains the "invalid" action

2016-03-04 Thread Ken Brown
On 3/3/2016 7:21 PM, Ken Brown wrote: A Cygwin user reported a crash as in the subject. I traced it to line 468 of info/infokey.c, in which there is a reference to function_doc_array[a] with a == A_INVALID: ke.value.function = &function_doc_array[a]; As a result, ke.value.function cont

info crashes if .infokey contains the "invalid" action

2016-03-03 Thread Ken Brown
A Cygwin user reported a crash as in the subject. I traced it to line 468 of info/infokey.c, in which there is a reference to function_doc_array[a] with a == A_INVALID: ke.value.function = &function_doc_array[a]; As a result, ke.value.function contains garbage. The following patch appears

Re: Texinfo 6.1 released

2016-02-06 Thread Ken Brown
On 2/6/2016 2:32 PM, Gavin Smith wrote: On 6 February 2016 at 19:14, Eli Zaretskii wrote: We have released Texinfo 6.1, the GNU documentation format. Thanks. I had the compilation warnings shown at the end of this message when building this with MinGW on MS-Windows. I ignored the realloc war

Re: texinfo-6.0.92 make check has 12 FAILs on Solaris10 x86/x64

2016-01-23 Thread Ken Brown
On 1/23/2016 8:39 AM, Eli Zaretskii wrote: Ken, can you tell what "OS" does the Cygwin port of Perl report? I hope it's something different from the native Windows port, so we could easily distinguish between them. $ perl -e 'print "$^O\n";' cygwin Ken

Re: -no-undefined

2016-01-15 Thread Ken Brown
On 1/15/2016 7:30 AM, Gavin Smith wrote: On 14 January 2016 at 19:12, Gavin Smith wrote: I'm inclined to add "-L$(PERL_INC) -lperl", with "-lperl" determined from perl -V:libperl, with a special case for cygwin to change "cygperl5_22.dll" into -lperl. Done. This works on Cygwin. Thanks. K

Re: -no-undefined

2016-01-14 Thread Ken Brown
On 1/14/2016 7:02 AM, Gavin Smith wrote: On 13 January 2016 at 20:09, Eli Zaretskii wrote: Date: Wed, 13 Jan 2016 19:42:45 + From: Gavin Smith Cc: Texinfo It would appear to be inappropriate to add the -no-undefined flag unconditionally. Then we should do so conditionally, I guess. E.

Re: -no-undefined

2016-01-13 Thread Ken Brown
On 1/13/2016 3:09 PM, Eli Zaretskii wrote: Date: Wed, 13 Jan 2016 19:42:45 + From: Gavin Smith Cc: Texinfo It would appear to be inappropriate to add the -no-undefined flag unconditionally. Then we should do so conditionally, I guess. E.g., have a Make variable that is normally empty, e

Re: texinfo-6.0.91 pretest

2016-01-05 Thread Ken Brown
On 1/2/2016 8:53 AM, Eli Zaretskii wrote: Cc: gavinsmith0...@gmail.com, bug-texinfo@gnu.org From: Ken Brown Date: Sat, 2 Jan 2016 08:31:26 -0500 -XSParagraph_la_LDFLAGS=-no-undefined -avoid-version -module $(PERL_CONF_cccdlflags) +XSParagraph_la_LDFLAGS=-no-undefined -avoid-version -module

Re: texinfo-6.0.91 pretest

2016-01-02 Thread Ken Brown
On 1/2/2016 8:53 AM, Eli Zaretskii wrote: Cc: gavinsmith0...@gmail.com, bug-texinfo@gnu.org From: Ken Brown Date: Sat, 2 Jan 2016 08:31:26 -0500 -XSParagraph_la_LDFLAGS=-no-undefined -avoid-version -module $(PERL_CONF_cccdlflags) +XSParagraph_la_LDFLAGS=-no-undefined -avoid-version -module

Re: texinfo-6.0.91 pretest

2016-01-02 Thread Ken Brown
On 1/2/2016 3:07 AM, Eli Zaretskii wrote: Cc: bug-texinfo@gnu.org From: Ken Brown Date: Fri, 1 Jan 2016 17:45:28 -0500 There is a similar linking problem on Cygwin, but the following patch fixes it: Index: tp/Texinfo/Convert/XSParagraph/Makefile.am

Re: texinfo-6.0.91 pretest

2016-01-01 Thread Ken Brown
On 1/1/2016 6:08 AM, Eli Zaretskii wrote: > The next problem was with linking TestXS as a shared library. Because > no undefined references are allowed when linking a shared library on > MS-Windows, the linker needs to see an import library which tells it > where to find the Perl functions at run

Re: Missing documentation for install-info

2015-03-28 Thread Ken Brown
On 3/28/2015 11:07 AM, Heinz Rommerskirchen wrote: The man page for install-info says "The full documentation for install-info is maintained as a Texinfo manual." It goes on to say, "If the info and install-info programs are properly installed at your site, the command info ins

Re: texinfo-5.9.90 pretest available

2015-02-27 Thread Ken Brown
On 2/27/2015 9:39 AM, Eli Zaretskii wrote: Date: Fri, 27 Feb 2015 13:43:48 + From: Gavin Smith Cc: Eli Zaretskii , Karl Berry , Texinfo On 27 February 2015 at 13:13, Ken Brown wrote: No, it turns out that it has to do with buffered I/O. See the thread starting here: https

Re: texinfo-5.9.90 pretest available

2015-02-27 Thread Ken Brown
On 2/27/2015 2:00 AM, Eli Zaretskii wrote: Date: Thu, 26 Feb 2015 21:34:03 + From: Gavin Smith Cc: Eli Zaretskii , Karl Berry , Texinfo I checked the 5.2 release and it was done differently. The code looked like: if (*compression_program) { /* It's compressed, so fclose the file

Re: texinfo-5.9.90 pretest available

2015-02-24 Thread Ken Brown
On 2/24/2015 11:39 AM, Eli Zaretskii wrote: Next, "make check" fails because info/pseudotty.c cannot be possibly compiled on Windows (and I'm not sure how portable it is to Posix platforms, either). It compiles on Cygwin but apparently doesn't work the way it should. All the interactive tests

Re: weird @include problem under Cygwin

2015-01-21 Thread Ken Brown
On 1/20/2015 1:06 PM, Per Bothner wrote: I'm testing building Kawa (including kawa.info) using Cygwin, and ran into this puzzling problem: $ makeinfo -I . -o kawa.info kawa.texi kawa.texi:123: @include: could not find version.texi kawa.texi:130: warning: undefined flag: UPDATED ... Line 123 is:

Re: 'texi2any --pdf' isn't always equivalent to 'texi2pdf'

2014-10-18 Thread Ken Brown
On 10/16/2014 2:01 PM, Karl Berry wrote: could/should make this clearer in the manual. Something like this? Index: doc/texinfo.texi === --- doc/texinfo.texi(revision 5878) +++ doc/texinfo.texi(working copy) @@ -17621,7 +17

Re: 'texi2any --pdf' isn't always equivalent to 'texi2pdf'

2014-10-16 Thread Ken Brown
On 10/16/2014 2:01 PM, Karl Berry wrote: Hi Ken, 'texi2any --pdf' isn't always equivalent to 'texi2pdf' After revisiting what we did ... it's intentional. Valid documents are equivalent. Invalid documents are not equivalent. Our idea was that if someone runs texi2any, they probably want

'texi2any --pdf' isn't always equivalent to 'texi2pdf'

2014-10-11 Thread Ken Brown
This is a followup to a discussion on the AUCTeX list starting here: http://lists.gnu.org/archive/html/auctex/2014-10/msg00018.html . See especially http://lists.gnu.org/archive/html/auctex/2014-10/msg00026.html . The issue that arose is that a pdf version of the AUCTeX manual can be buil

Re: Minor build fixes

2014-10-06 Thread Ken Brown
On 10/6/2014 3:48 PM, Gavin Smith wrote: On Thu, Oct 2, 2014 at 5:46 PM, Ken Brown wrote: I just took over as the Cygwin maintainer of Texinfo, and I bumped into a few (easily fixed) build problems. The first two exist in texinfo-5.2, and the rest only in the trunk. I think that it is them

Re: Minor build fixes

2014-10-03 Thread Ken Brown
On 10/3/2014 2:31 AM, Eli Zaretskii wrote: What about file names with drive letters? Experience (in the GNU Make department) indicates that some Cygwin users want that, perhaps because they use Cygwin tools outside of the Cygwin environment. OK, maybe I shouldn't rock the boat. I'll withdraw

Re: Minor build fixes

2014-10-02 Thread Ken Brown
On 10/2/2014 6:24 PM, Ken Brown wrote: I think it's all OK, but I have to think a little more about comparison of file names. I'll get back to you on that. I'm not sure about comparison of file names, so maybe it would be safer to use case-insensitive comparison as before.

Re: Minor build fixes

2014-10-02 Thread Ken Brown
On 10/2/2014 4:37 PM, Gavin Smith wrote: 1. The compiler produces lots of warnings about setmode being redefined. It would be simple to silence the warnings, but the real issue in my opinion is that Cygwin should be treated the same as Unix, so that there's no need for setmode at all: Index: sy

Minor build fixes

2014-10-02 Thread Ken Brown
I just took over as the Cygwin maintainer of Texinfo, and I bumped into a few (easily fixed) build problems. The first two exist in texinfo-5.2, and the rest only in the trunk. 1. The compiler produces lots of warnings about setmode being redefined. It would be simple to silence the warnings