GNU bug report logs - #26589
Build error: TIT dictionary doesn't have body part

Previous Next

Package: emacs;

Reported by: Cadadr <cadadr <at> protonmail.com>

Date: Fri, 21 Apr 2017 15:33:02 UTC

Severity: normal

Tags: unreproducible

Done: npostavs <at> users.sourceforge.net

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 26589 in the body.
You can then email your comments to 26589 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#26589; Package emacs. (Fri, 21 Apr 2017 15:33:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cadadr <cadadr <at> protonmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 21 Apr 2017 15:33:03 GMT) Full text and rfc822 format available.

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

From: Cadadr <cadadr <at> protonmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Cc: "self <at> gkayaalp.com" <self <at> gkayaalp.com>
Subject: Can't built Emacs from source (both master and 25.1 from tarball fail)
Date: Fri, 21 Apr 2017 08:20:47 -0400
[Message part 1 (text/plain, inline)]
I'm unable to build Emacs on my Xubuntu 16.10 machine from various versions. Not having a built Emacs handy, I have to send this bug report from a webmail client, so please excuse formatting issues and not using M-x report-emacs-bug.

- The 25.1 tarball

My build configuration

./configure \
--prefix=$HOME/local \
--with-x-toolkit=gtk3 \
--with-modules \
--with-file-notification=yes

Then I run make. Have also tried make bootstrap, with identical results.

Build fails with the following error:

Dumping under the name emacs
Makefile:736: recipe for target 'bootstrap-emacs' failed
make[1]: *** [bootstrap-emacs] Segmentation fault (core dumped)
make[1]: Leaving directory '/tmp/build-emacs/emacs-25.1/src'
Makefile:398: recipe for target 'src' failed
make: *** [src] Error 2

This is fixed with running make as "make CANNOT_DUMP=yes". Then I'm blocked by the following error:

Converting /tmp/build-emacs/emacs-25.1/leim/CXTERM-DIC/CCDOSPY.tit to quail-package...
TIT dictionary doesn’t have body part
Makefile:106: recipe for target '../lisp/leim/quail/CCDOSPY.el' failed
make[2]: *** [../lisp/leim/quail/CCDOSPY.el] Error 255
make[2]: Leaving directory '/tmp/build-emacs/emacs-25.1/leim'
Makefile:490: recipe for target '../lisp/leim/leim-list.el' failed
make[1]: *** [../lisp/leim/leim-list.el] Error 2
make[1]: Leaving directory '/tmp/build-emacs/emacs-25.1/src'
Makefile:398: recipe for target 'src' failed
make: *** [src] Error 2

This is from a pristine copy of 25.1 from the tarball. I used to run a 25.1 build of mine with identical build flags on my Xubuntu 16.04, but after an update that broke a dynamic link to a library (png), I had to rebuild, and now I don't have any working emacs builds that I can use with my configuration.

- Building master fails

Here, building with following configuration, I encounter an error similar or identical to the second problem from 25.1 tarball. I've fetched a fresh copy from Savannah git repo today.

./configure \
--prefix=$HOME/local \
--with-x-toolkit=gtk3 \
--with-modules \
--with-file-notification=yes \
--with-mailutils

When I run make I get the following error:

make[3]: Entering directory '/igk/checkouts/GNU-Emacs/leim'
GEN ../lisp/leim/quail/CCDOSPY.el
Converting /igk/checkouts/GNU-Emacs/leim/CXTERM-DIC/CCDOSPY.tit to quail-package...
Loading macroexp.elc...
TIT dictionary doesn’t have body part
Makefile:106: recipe for target '../lisp/leim/quail/CCDOSPY.el' failed
make[3]: *** [../lisp/leim/quail/CCDOSPY.el] Error 255
make[3]: Leaving directory '/igk/checkouts/GNU-Emacs/leim'
Makefile:355: recipe for target 'leim' failed
make[2]: *** [leim] Error 2
make[2]: Leaving directory '/igk/checkouts/GNU-Emacs/lisp'
Makefile:734: recipe for target '../lisp/loaddefs.el' failed
make[1]: *** [../lisp/loaddefs.el] Error 2
make[1]: Leaving directory '/igk/checkouts/GNU-Emacs/src'
Makefile:416: recipe for target 'src' failed
make: *** [src] Error 2

I've tried make bootstrap to no better effect. This second problem I've reported it recently on help-gnu-emacs [1], and Eli Zaretskii has adviced me to report here. I'm unable to post from my usual email address because the only interface I used to use was Gnus, to which I don't have access ATM.

Thanks,
-gk.

[1] http://lists.gnu.org/archive/html/help-gnu-emacs/2017-04/msg00117.html

--
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26589; Package emacs. (Fri, 21 Apr 2017 17:34:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Cadadr <cadadr <at> protonmail.com>
Cc: self <at> gkayaalp.com, 26589 <at> debbugs.gnu.org
Subject: Re: bug#26589: Can't built Emacs from source (both master and 25.1
 from tarball fail)
Date: Fri, 21 Apr 2017 20:33:37 +0300
> Date: Fri, 21 Apr 2017 08:20:47 -0400
> From: Cadadr <cadadr <at> protonmail.com>
> Cc: "self <at> gkayaalp.com" <self <at> gkayaalp.com>
> 
> I'm unable to build Emacs on my Xubuntu 16.10 machine from various versions. Not having a built Emacs
> handy, I have to send this bug report from a webmail client, so please excuse formatting issues and not using
> M-x report-emacs-bug.
> 
> - The 25.1 tarball
> 
> My build configuration
> 
> ./configure \
> --prefix=$HOME/local \
> --with-x-toolkit=gtk3 \
> --with-modules \
> --with-file-notification=yes

Try running configure with REL_ALLOC=no.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26589; Package emacs. (Sat, 22 Apr 2017 16:12:02 GMT) Full text and rfc822 format available.

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

From: Göktuğ Kayaalp <self <at> gkayaalp.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Cadadr <cadadr <at> protonmail.com>, 26589 <at> debbugs.gnu.org
Subject: Re: bug#26589: Can't built Emacs from source (both master and 25.1
 from tarball fail)
Date: Sat, 22 Apr 2017 19:10:55 +0300
On 2017-04-21 20:33 +03, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> Date: Fri, 21 Apr 2017 08:20:47 -0400
>> From: Cadadr <cadadr <at> protonmail.com>
>> Cc: "self <at> gkayaalp.com" <self <at> gkayaalp.com>
>> 
>> I'm unable to build Emacs on my Xubuntu 16.10 machine from various
>> versions. Not having a built Emacs
>> handy, I have to send this bug report from a webmail client, so
>> please excuse formatting issues and not using
>> M-x report-emacs-bug.
>> 
>> - The 25.1 tarball
>> 
>> My build configuration
>> 
>> ./configure \
>> --prefix=$HOME/local \
>> --with-x-toolkit=gtk3 \
>> --with-modules \
>> --with-file-notification=yes
>
> Try running configure with REL_ALLOC=no.

I've had to switch linux distros on my workstation (Xubuntu->Fedora),
and now the build completes perfectly, without errors.  Not having
access to a Xubuntu installation, I can't reproduce or further debug
this issue, I'm sorry.

But both OS's had GCC 6 on them, and maybe what caused the failure on
Xubuntu was a certain configuration of the compiler on that platform.
Again, I can't test the configuration variable on that system, please
excuse me.  But on Fedora with GCC 6.3.1 and without REL_ALLOC=no, Emacs
does compile.

I guess this bug report can be closed if there's nobody else that can
reproduce the problem.  Again, sorry for the botherment.

-gk.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26589; Package emacs. (Sat, 22 Apr 2017 17:09:02 GMT) Full text and rfc822 format available.

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

From: npostavs <at> users.sourceforge.net
To: Göktuğ Kayaalp <self <at> gkayaalp.com>
Cc: Cadadr <cadadr <at> protonmail.com>, Eli Zaretskii <eliz <at> gnu.org>,
 26589 <at> debbugs.gnu.org
Subject: Re: bug#26589: Can't built Emacs from source (both master and 25.1
 from tarball fail)
Date: Sat, 22 Apr 2017 13:09:38 -0400
retitle 26589 Build error: TIT dictionary doesn’t have body part
tags 26589 unreproducible
close 26589 
quit

Göktuğ Kayaalp <self <at> gkayaalp.com> writes:

>>
>> Try running configure with REL_ALLOC=no.
>
> I've had to switch linux distros on my workstation (Xubuntu->Fedora),
> and now the build completes perfectly, without errors.  Not having
> access to a Xubuntu installation, I can't reproduce or further debug
> this issue, I'm sorry.
>
> But both OS's had GCC 6 on them, and maybe what caused the failure on
> Xubuntu was a certain configuration of the compiler on that platform.
> Again, I can't test the configuration variable on that system, please
> excuse me.  But on Fedora with GCC 6.3.1 and without REL_ALLOC=no, Emacs
> does compile.

The segfault during building sounds like the rel_alloc thing; even if
you can build 25.1 on Fedora without REL_ALLOC=no it's probably just a
coincidence.  That build will likely crash later.

But the other error must be something else.

> I guess this bug report can be closed if there's nobody else that can
> reproduce the problem.  Again, sorry for the botherment.

I searched for the error and found only this:
https://qiang51.wordpress.com/2012/06/17/the-annoying-appledouble-file/
which seems to be about some (macOS specific?) incorrect unpacking of
the sources.

Anyway, closing for now, if it comes up again we can reopen.




Added tag(s) unreproducible. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Sat, 22 Apr 2017 17:09:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 26589 <at> debbugs.gnu.org and Cadadr <cadadr <at> protonmail.com> Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Sat, 22 Apr 2017 17:09:02 GMT) Full text and rfc822 format available.

Changed bug title to 'Build error: TIT dictionary doesn't have body part' from 'Can't built Emacs from source (both master and 25.1 from tarball fail)' Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Sat, 22 Apr 2017 17:18:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26589; Package emacs. (Sat, 22 Apr 2017 17:50:01 GMT) Full text and rfc822 format available.

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

From: Göktuğ Kayaalp <self <at> gkayaalp.com>
To: npostavs <at> users.sourceforge.net
Cc: Cadadr <cadadr <at> protonmail.com>, Eli Zaretskii <eliz <at> gnu.org>,
 26589 <at> debbugs.gnu.org
Subject: Re: bug#26589: Can't built Emacs from source (both master and 25.1
 from tarball fail)
Date: Sat, 22 Apr 2017 20:49:53 +0300
On 2017-04-22 13:09 +04, npostavs <at> users.sourceforge.net wrote:
> retitle 26589 Build error: TIT dictionary doesn’t have body part
> tags 26589 unreproducible
> close 26589 
> quit
>
> Göktuğ Kayaalp <self <at> gkayaalp.com> writes:
>
>>>
>>> Try running configure with REL_ALLOC=no.
>>
>> I've had to switch linux distros on my workstation (Xubuntu->Fedora),
>> and now the build completes perfectly, without errors.  Not having
>> access to a Xubuntu installation, I can't reproduce or further debug
>> this issue, I'm sorry.
>>
>> But both OS's had GCC 6 on them, and maybe what caused the failure on
>> Xubuntu was a certain configuration of the compiler on that platform.
>> Again, I can't test the configuration variable on that system, please
>> excuse me.  But on Fedora with GCC 6.3.1 and without REL_ALLOC=no, Emacs
>> does compile.
>
> The segfault during building sounds like the rel_alloc thing; even if
> you can build 25.1 on Fedora without REL_ALLOC=no it's probably just a
> coincidence.  That build will likely crash later.

I actually use whatever is the default value for REL_ALLOC, and I only
have built master as of today (eb52828a439f674733ba70844b795c6673733572).

> But the other error must be something else.
>
>> I guess this bug report can be closed if there's nobody else that can
>> reproduce the problem.  Again, sorry for the botherment.
>
> I searched for the error and found only this:
> https://qiang51.wordpress.com/2012/06/17/the-annoying-appledouble-file/
> which seems to be about some (macOS specific?) incorrect unpacking of
> the sources.
>
> Anyway, closing for now, if it comes up again we can reopen.

Best,
-gk.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26589; Package emacs. (Sat, 22 Apr 2017 18:06:01 GMT) Full text and rfc822 format available.

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

From: npostavs <at> users.sourceforge.net
To: Göktuğ Kayaalp <self <at> gkayaalp.com>
Cc: Cadadr <cadadr <at> protonmail.com>, Eli Zaretskii <eliz <at> gnu.org>,
 26589 <at> debbugs.gnu.org
Subject: Re: bug#26589: Can't built Emacs from source (both master and 25.1
 from tarball fail)
Date: Sat, 22 Apr 2017 14:07:01 -0400
Göktuğ Kayaalp <self <at> gkayaalp.com> writes:

> On 2017-04-22 13:09 +04, npostavs <at> users.sourceforge.net wrote:
>>
>> The segfault during building sounds like the rel_alloc thing; even if
>> you can build 25.1 on Fedora without REL_ALLOC=no it's probably just a
>> coincidence.  That build will likely crash later.
>
> I actually use whatever is the default value for REL_ALLOC, and I only
> have built master as of today (eb52828a439f674733ba70844b795c6673733572).

Ah, master (or 25.2) default to REL_ALLOC=no anyway, so you shouldn't
have any problem then (also, they should theoretically work even with
REL_ALLOC=yes).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26589; Package emacs. (Sun, 23 Apr 2017 00:05:01 GMT) Full text and rfc822 format available.

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

From: Richard Stallman <rms <at> gnu.org>
To: Göktuğ Kayaalp <self <at> gkayaalp.com>
Cc: cadadr <at> protonmail.com, eliz <at> gnu.org, 26589 <at> debbugs.gnu.org
Subject: Re: bug#26589: Can't built Emacs from source (both master and 25.1
 from tarball fail)
Date: Sat, 22 Apr 2017 20:04:19 -0400
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > I've had to switch linux distros on my workstation (Xubuntu->Fedora),
  > and now the build completes perfectly, without errors.

I am glad it now works, but please don't call it a "Linux distro".
Ubuntu and Fedora are GNU/Linux distros -- variants of the GNU/Linux
system.

Please don't call the system "Linux", because that would be attributing
our work to someone else and giving us none of the credit.

For more explanation, see https://gnu.org/gnu/linux-and-gnu.html and
https://gnu.org/gnu/gnu-linux-faq.html, plus the history in
https://gnu.org/gnu/the-gnu-project.html.
-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 21 May 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 35 days ago.

Previous Next


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