help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build failure caused by a .tit file


From: Göktuğ Kayaalp
Subject: Re: Build failure caused by a .tit file
Date: Tue, 18 Apr 2017 02:08:34 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

On 2017-04-17 19:21 +0300, Eli Zaretskii <address@hidden> wrote:
>> From: Göktuğ Kayaalp <address@hidden>
>> Cc: address@hidden
>> Date: Mon, 17 Apr 2017 18:55:30 +0300
>> 
>> > This error message comes from this snippet in titdic-cnv.el:
>> >
>> >      ;; Decode the buffer contents from the encoding specified by a
>> >      ;; value of the key "ENCODE:".
>> >      (if (not (search-forward "\nBEGIN" nil t))
>> >          (error "TIT dictionary doesn't have body part"))
>> >
>> > Is it really true that CCDOSPY.tit you have has no line that begins
>> > with "BEGIN"?  Otherwise, why doesn't the search-forward call succeed?
>> 
>> The line 55-57 reads
>> 
>> # the following line must not be removed
>> BEGINDICTIONARY
>> #
>> 
>> and manually running
>> 
>> M-: (search-forward "\nBEGIN" nil t)
>> 
>> returns 1850.  The snippet you've included when run via M-:, works as
>> expected, i.e., no errors, moves to line 56, after first ‘N’.
>
> So if you manually invoke titdic-convert on CCDOSPY.tit, it does work?
> And you do all this in the same Emacs binary, probably called
> bootstrap-emacs, which runs the failing command during the build?

I've run this commands from an instance of Emacs 25.1, not from the
version that I'm trying to build from the repo.  bootstrap-emacs aborts
with ‘Fatal error 6’ when I run it, dumping a backtrace and core.  I’ve
both tried to run it normally and with the command line

src/bootstrap-emacs -file leim/CXTERM-DIC/CCDOSPY.tit -eval '(titdic-convert)'

same results.  I also tried using titdic-convert with my usual emacs
instance (25.1), which successfully created a ‘CCDOSPY.el’ file in the
current directory.  Find below the backtrace I get from bootstrap-emacs:

,----
| Fatal error 6: Aborted
| Backtrace:
| src/bootstrap-emacs[0x50d4c9]
| src/bootstrap-emacs[0x4f3f37]
| src/bootstrap-emacs[0x50d573]
| src/bootstrap-emacs[0x4aa614]
| src/bootstrap-emacs[0x4ae45f]
| src/bootstrap-emacs[0x441985]
| src/bootstrap-emacs[0x452de6]
| src/bootstrap-emacs[0x426b07]
| src/bootstrap-emacs[0x5680ac]
| src/bootstrap-emacs[0x56842d]
| src/bootstrap-emacs[0x5681a0]
| src/bootstrap-emacs[0x56b9a6]
| src/bootstrap-emacs[0x5681a0]
| src/bootstrap-emacs[0x56b7ed]
| src/bootstrap-emacs[0x5681a0]
| src/bootstrap-emacs[0x568475]
| src/bootstrap-emacs[0x5681a0]
| src/bootstrap-emacs[0x568885]
| src/bootstrap-emacs[0x567b50]
| src/bootstrap-emacs[0x567ef2]
| src/bootstrap-emacs[0x56842d]
| src/bootstrap-emacs[0x5681a0]
| src/bootstrap-emacs[0x56b9a6]
| src/bootstrap-emacs[0x5681a0]
| src/bootstrap-emacs[0x56b53d]
| src/bootstrap-emacs[0x5681a0]
| src/bootstrap-emacs[0x568885]
| src/bootstrap-emacs[0x567b50]
| src/bootstrap-emacs[0x567ef2]
| src/bootstrap-emacs[0x56842d]
| src/bootstrap-emacs[0x5681a0]
| src/bootstrap-emacs[0x568885]
| src/bootstrap-emacs[0x568acb]
| src/bootstrap-emacs[0x56a72c]
| src/bootstrap-emacs[0x568b56]
| src/bootstrap-emacs[0x5a20f3]
| src/bootstrap-emacs[0x567b50]
| src/bootstrap-emacs[0x567ef2]
| src/bootstrap-emacs[0x56b7ed]
| src/bootstrap-emacs[0x5681a0]
| src/bootstrap-emacs[0x56aff6]
| ...
| Aborted (core dumped)
`----

--gk.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]