unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Fabrice Popineau <fabrice.popineau@gmail.com>
Cc: 22582@debbugs.gnu.org
Subject: bug#22582: 25.0.90; package-test fail on w64
Date: Sun, 07 Feb 2016 20:02:34 +0200	[thread overview]
Message-ID: <837figs8jp.fsf@gnu.org> (raw)
In-Reply-To: <CAFgFV9PZaX0+sV8HxZPZgunm26eOfEjHmOWsF9J9-7kXVgcDkw@mail.gmail.com> (message from Fabrice Popineau on Sun, 7 Feb 2016 15:25:42 +0100)

> From: Fabrice Popineau <fabrice.popineau@gmail.com>
> Date: Sun, 7 Feb 2016 15:25:42 +0100
> 
> The are 2 failures.
> 
> One can be fixed simply by patching test/automated/package-test.el in
> the following way:
> 
> diff --git a/test/automated/package-test.el b/test/automated/package-test.el
> index e10946e..e2526e3 100644
> --- a/test/automated/package-test.el
> +++ b/test/automated/package-test.el
> @@ -246,12 +246,15 @@ package-test-desc-version-string
> "Install a package which includes a dependency."
> (with-package-test (:basedir "data/package")
> (package-install-file (expand-file-name "macro-problem-package-1.0/"))
> - (require 'macro-problem)
> + (load-library "macro-aux")
> + (load-library "macro-problem")
> ;; `macro-problem-func' uses a macro from `macro-aux'.
> (should (equal (macro-problem-func) '(progn a b)))
> (package-install-file (expand-file-name "macro-problem-package-2.0/"))
> ;; After upgrading, `macro-problem-func' depends on a new version
> ;; of the macro from `macro-aux'.
> + (load-library "macro-aux")
> + (load-library "macro-problem")
> (should (equal (macro-problem-func) '(1 b)))
> ;; `macro-problem-10-and-90' depends on an entirely new macro from `macro-aux'.
> (should (equal (macro-problem-10-and-90) '(10 90)))))
> 
> My question is: when you ``(require 'macro-problem)'',
> should the package mechanism be clever enough to reload the files
> when you upgrade the package? Because clearly it doesn't happen
> there.
> 
> Second problem directly related to the underlying platform: the
> connection to http://0.0.0.0:8000/ fails with a 10049 error.
> This error is frequently reported on forums (see
> http://www.sockets.com/err_lst1.htm for example).
> I don't know what is the best fix.
> 
> diff --git a/test/automated/package-test.el b/test/automated/package-test.el
> index e10946e..e2526e3 100644
> --- a/test/automated/package-test.el
> +++ b/test/automated/package-test.el
> @@ -374,7 +377,7 @@ package-test-desc-version-string
> (skip-unless (not (getenv "NIX_STORE")))
> (with-package-test (:basedir
> package-test-data-dir
> - :location "http://0.0.0.0:8000/")
> + :location "http://127.0.0.1:8000/")
> (let* ((package-menu-async t)
> (process (start-process
> "package-server" "package-server-buffer"

Strangely enough, none of that happens to me, the test passes with
flying colors.

Can you post the full contents of your package-test.log?





  reply	other threads:[~2016-02-07 18:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-07 14:25 bug#22582: 25.0.90; package-test fail on w64 Fabrice Popineau
2016-02-07 18:02 ` Eli Zaretskii [this message]
2016-02-07 19:17   ` Fabrice Popineau
2016-02-07 20:50     ` Eli Zaretskii
2016-02-08 10:04       ` Fabrice Popineau
2016-02-08 17:19         ` Eli Zaretskii
2017-02-25 17:58           ` npostavs

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://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=837figs8jp.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=22582@debbugs.gnu.org \
    --cc=fabrice.popineau@gmail.com \
    /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/emacs.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).