unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Brett Gilio <brettg@posteo.net>
Cc: 33196@debbugs.gnu.org
Subject: bug#33196: emacs-realgud build failure
Date: Tue, 30 Oct 2018 23:46:55 -0400	[thread overview]
Message-ID: <87muquu6a8.fsf@gmail.com> (raw)
In-Reply-To: <87tvl3txtk.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 30 Oct 2018 08:37:27 -0400")

Hi again,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Hello, and thank you for the bug report!
>
> Brett Gilio <brettg@posteo.net> writes:
>
>> Hi all, I am experiencing the following error when building
>> emacs-realgud. Any thoughts?
>
> [...]
>
>> Trailing garbage following expression: 
>>    )
>> configure: error: Can't continue until above error is corrected.
>> Backtrace:
>>            4 (primitive-load "/gnu/store/hhd6blbvsb7ng9l002b0hgrp85d…")
>> In ice-9/eval.scm:
>>    191:35  3 (_ _)
>> In srfi/srfi-1.scm:
>>     640:9  2 (for-each #<procedure a42520 at /gnu/store/alkhgfm87dh…> …)
>> In /gnu/store/alkhgfm87dh8r5bdi81dls8wyjlc1yxp-module-import/guix/build/gnu-build-system.scm:
>>    799:31  1 (_ _)
>> In /gnu/store/alkhgfm87dh8r5bdi81dls8wyjlc1yxp-module-import/guix/build/utils.scm:
>>     616:6  0 (invoke _ . _)
>>
>> /gnu/store/alkhgfm87dh8r5bdi81dls8wyjlc1yxp-module-import/guix/build/utils.scm:616:6: In procedure invoke:
>> Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "sh" arguments: ("autogen.sh") exit-status: 1 term-signal: #f stop-signal: #f] 99af80>)'.
>> builder for `/gnu/store/3cvp3fdk724wllbf14qcrsskkskcpdrs-emacs-realgud-1.4.5.drv' failed with exit code 1
>> build of /gnu/store/3cvp3fdk724wllbf14qcrsskkskcpdrs-emacs-realgud-1.4.5.drv failed
>> View build log at '/var/log/guix/drvs/3c/vp3fdk724wllbf14qcrsskkskcpdrs-emacs-realgud-1.4.5.drv.bz2'.
>> guix build: error: build failed: build of
>> `/gnu/store/3cvp3fdk724wllbf14qcrsskkskcpdrs-emacs-realgud-1.4.5.drv'
>> failed
>
> This appears to be the same bug I reported here: bugs.gnu.org/31891. It
> seems there is some problem with the build system (configure.ac maybe),
> but I haven't had time to investigate yet. I'll try to have a look later
> today.

The bug is triggered by this check in configure.ac:

--8<---------------cut here---------------start------------->8---
if test "$NO_CHECK_EMACS_PACKAGES" = "" ; then
AC_MSG_NOTICE("Checking prerequiste packages")
$EMACS -batch -q --no-site-file -eval \
  '(dolist (package
         (quote (cl-lib loc-changes load-relative test-simple)))
        (require package))
   )'
fi
if test $? -ne 0 ; then
    AC_MSG_ERROR([Can't continue until above error is corrected.])
fi
--8<---------------cut here---------------end--------------->8---

More specifically, running this with emacs:

--8<---------------cut here---------------start------------->8---
emacs -batch -q --no-site-file -eval '(dolist (package
>          (quote (cl-lib loc-changes load-relative test-simple)))
>         (require package))
>    )'
Trailing garbage following expression: 
   )
--8<---------------cut here---------------end--------------->8---

Reproduces it.

One way out would be to set the environment variable
NO_CHECK_EMACS_PACKAGES to something to skip that check; although it'd
be nice to find what changed (maybe something changed for Emacs 26?) and
submit it upstream.

To be continued...

Maxim

  reply	other threads:[~2018-10-31  3:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-29 19:35 bug#33196: emacs-realgud build failure Brett Gilio
2018-10-30 12:37 ` Maxim Cournoyer
2018-10-31  3:46   ` Maxim Cournoyer [this message]
2018-10-31  4:58     ` bug#33196: [PATCH] " Maxim Cournoyer
2018-11-16  4:20       ` bug#31891: " Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87muquu6a8.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=33196@debbugs.gnu.org \
    --cc=brettg@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).