Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561306 - sys-devel/automake: AM_PATH_LISPDIR can trigger hangs in emacs calls during build
Summary: sys-devel/automake: AM_PATH_LISPDIR can trigger hangs in emacs calls during b...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL: https://lists.gnu.org/archive/html/bu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-23 21:32 UTC by Jauhien Piatlicki (RETIRED)
Modified: 2022-02-08 05:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,1.59 KB, text/x-log)
2015-09-23 21:32 UTC, Jauhien Piatlicki (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jauhien Piatlicki (RETIRED) gentoo-dev 2015-09-23 21:32:15 UTC
Created attachment 412682 [details]
build.log

app-emacs/mmm-mode configure hangs on my machine because configure script generated by autoconf calls emacs without '--no-site-file' flag.

The call that configure makes looks like this:

    sudo emacs -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))'

and it hangs on

    Opening output file: no such file or directory, /root/.emacs.d/.smex-items

The call

    sudo emacs -batch -q --no-site-file -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))'

succeds. It is a bug in the sys-devel/autoconf and can not be fixed by patching configure.in as autoconf itself generates wrong call to emacs.
Comment 1 Jauhien Piatlicki (RETIRED) gentoo-dev 2015-09-23 21:41:54 UTC
Bug report sent to <bug-autoconf@gnu.org>.
Comment 2 Jauhien Piatlicki (RETIRED) gentoo-dev 2015-09-23 22:07:41 UTC
The same for elisp-comp file. It also calls emacs without '--no-site-file' flag.
Comment 3 Jauhien Piatlicki (RETIRED) gentoo-dev 2015-09-23 22:17:59 UTC
Bug reported to <bug-automake@gnu.org>.
Comment 4 Jauhien Piatlicki (RETIRED) gentoo-dev 2015-09-23 22:58:09 UTC
Of course sited calls are without sudo. Wrong copy paste.
Comment 5 Ulrich Müller gentoo-dev 2015-09-23 23:11:47 UTC
I have bumped app-emacs/mmm-mode to version 0.5.4. The new ebuild works around the problem by using the standard functions of elisp.eclass (instead of the package's build system). Please test.

Leaving this bug open for the autotools issues.
Comment 6 SpanKY gentoo-dev 2015-09-24 03:01:21 UTC
autoconf doesn't provide AM_xxx macros, automake does

for posterity, the bug-autoconf thread is here:
https://lists.gnu.org/archive/html/bug-autoconf/2015-09/msg00020.html
Comment 7 SpanKY gentoo-dev 2022-02-08 05:44:37 UTC
going to handle this upstream.  we don't want to diverge here in Gentoo.