all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26589: Can't built Emacs from source (both master and 25.1 from tarball fail)
@ 2017-04-21 12:20 Cadadr
  2017-04-21 17:33 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Cadadr @ 2017-04-21 12:20 UTC (permalink / raw)
  To: 26589; +Cc: self@gkayaalp.com

[-- Attachment #1: Type: text/plain, Size: 3314 bytes --]

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

--

[-- Attachment #2: Type: text/html, Size: 5233 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#26589: Can't built Emacs from source (both master and 25.1 from tarball fail)
  2017-04-21 12:20 bug#26589: Can't built Emacs from source (both master and 25.1 from tarball fail) Cadadr
@ 2017-04-21 17:33 ` Eli Zaretskii
  2017-04-22 16:10   ` Göktuğ Kayaalp
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2017-04-21 17:33 UTC (permalink / raw)
  To: Cadadr; +Cc: self, 26589

> Date: Fri, 21 Apr 2017 08:20:47 -0400
> From: Cadadr <cadadr@protonmail.com>
> Cc: "self@gkayaalp.com" <self@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#26589: Can't built Emacs from source (both master and 25.1 from tarball fail)
  2017-04-21 17:33 ` Eli Zaretskii
@ 2017-04-22 16:10   ` Göktuğ Kayaalp
  2017-04-22 17:09     ` npostavs
  2017-04-23  0:04     ` Richard Stallman
  0 siblings, 2 replies; 7+ messages in thread
From: Göktuğ Kayaalp @ 2017-04-22 16:10 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Cadadr, 26589

On 2017-04-21 20:33 +03, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Fri, 21 Apr 2017 08:20:47 -0400
>> From: Cadadr <cadadr@protonmail.com>
>> Cc: "self@gkayaalp.com" <self@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#26589: Can't built Emacs from source (both master and 25.1 from tarball fail)
  2017-04-22 16:10   ` Göktuğ Kayaalp
@ 2017-04-22 17:09     ` npostavs
  2017-04-22 17:49       ` Göktuğ Kayaalp
  2017-04-23  0:04     ` Richard Stallman
  1 sibling, 1 reply; 7+ messages in thread
From: npostavs @ 2017-04-22 17:09 UTC (permalink / raw)
  To: Göktuğ Kayaalp; +Cc: Cadadr, 26589

retitle 26589 Build error: TIT dictionary doesn’t have body part
tags 26589 unreproducible
close 26589 
quit

Göktuğ Kayaalp <self@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#26589: Can't built Emacs from source (both master and 25.1 from tarball fail)
  2017-04-22 17:09     ` npostavs
@ 2017-04-22 17:49       ` Göktuğ Kayaalp
  2017-04-22 18:07         ` npostavs
  0 siblings, 1 reply; 7+ messages in thread
From: Göktuğ Kayaalp @ 2017-04-22 17:49 UTC (permalink / raw)
  To: npostavs; +Cc: Cadadr, 26589

On 2017-04-22 13:09 +04, npostavs@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@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#26589: Can't built Emacs from source (both master and 25.1 from tarball fail)
  2017-04-22 17:49       ` Göktuğ Kayaalp
@ 2017-04-22 18:07         ` npostavs
  0 siblings, 0 replies; 7+ messages in thread
From: npostavs @ 2017-04-22 18:07 UTC (permalink / raw)
  To: Göktuğ Kayaalp; +Cc: Cadadr, 26589

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

> On 2017-04-22 13:09 +04, npostavs@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).





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#26589: Can't built Emacs from source (both master and 25.1 from tarball fail)
  2017-04-22 16:10   ` Göktuğ Kayaalp
  2017-04-22 17:09     ` npostavs
@ 2017-04-23  0:04     ` Richard Stallman
  1 sibling, 0 replies; 7+ messages in thread
From: Richard Stallman @ 2017-04-23  0:04 UTC (permalink / raw)
  To: Göktuğ Kayaalp; +Cc: cadadr, 26589

[[[ 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.






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-04-23  0:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-21 12:20 bug#26589: Can't built Emacs from source (both master and 25.1 from tarball fail) Cadadr
2017-04-21 17:33 ` Eli Zaretskii
2017-04-22 16:10   ` Göktuğ Kayaalp
2017-04-22 17:09     ` npostavs
2017-04-22 17:49       ` Göktuğ Kayaalp
2017-04-22 18:07         ` npostavs
2017-04-23  0:04     ` Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.