unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrea Corallo <akrl@sdf.org>
To: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
Cc: 63710@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
Subject: bug#63710: use-package not working
Date: Mon, 29 May 2023 16:13:33 +0000	[thread overview]
Message-ID: <xjfcz2jw1xu.fsf@ma.sdf.org> (raw)
In-Reply-To: <xjfpm6kwpkj.fsf@ma.sdf.org> (Andrea Corallo's message of "Sun, 28 May 2023 13:30:52 +0000")

Andrea Corallo <akrl@sdf.org> writes:

> Andrea Corallo <akrl@sdf.org> writes:
>
>> Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:
>>
>>> First: the .emacs.d/init.el test file
>>>
>>> ------
>>> ;;
>>> ;; My .emacs file
>>> ;;
>>> (require 'package)
>>> (setq package-archives '(("melpa" . "https://melpa.org/packages/")
>>> ("gnu" . "https://elpa.gnu.org/packages/")
>>>                          ("melpa-stable" . "https://stable.melpa.org/packages/")
>>> ("nongnu" . "https://elpa.nongnu.org/nongnu/")))
>>> (eval-when-compile
>>>   (require 'use-package))
>>> (unless (file-directory-p package-user-dir)
>>>     (package-refresh-contents))
>>> (require 'use-package-ensure)
>>> (setq use-package-always-ensure t)
>>>
>>> (use-package "compat")
>>> ------
>>>
>>> Second: 1d5b164109b59559d34c545c2a163fa067ca22b2 does work
>>>
>>> BTW,  it has to do with native compilation. I have accidentally not deleted the eln-cache in on of the tests and the
>>> 'wrong' Emacs has started correctly:
>>> 1. started 1d5b164109b59559d34c545c2a163fa067ca22b2 with eln-clean cache ---> OK
>>> 2. started b2b2be98da5825e6bc130999ffe38f5ed615586a with eln-cache from the last start --> OK
>>> 3. started b2b2be98da5825e6bc130999ffe38f5ed615586a with clean eln-cache ---> KO
>>
>>>From these SHA1s looks like there's good chance it's my fault...
>>
>> I'll have a look.
>
> Okay I did some investigation and understood the issue.
>
> `package-load-descriptor' was misscompiled and returning always nil as
> the compiler was not fully picking up the user defined types at compile
> time, it worked only after the first faulty compilation (thing that made
> the investigaiton a bit slower).
>
> I'm working on a more complete fix but this requires careful testing, I
> pushed now c8e527cbeee in order to have master stable again while I keep
> working on the most comprehensive fix.

Hi all,

I pushed what I think is the final fix and reverted the temporary one.

As of fbc96dcc4ea I'm not aware of any issue with package.el or other
code.

Please let us know if works for you and we can close the bug or, if any
other issue arise (please remember to clean the eln-cache before testing
as it may contain misscompiled code ;).

Thanks

  Andrea





  reply	other threads:[~2023-05-29 16:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-25  5:47 use-package not working Pedro A. Aranda Gutiérrez
2023-05-25  7:01 ` bug#63710: " Eli Zaretskii
2023-05-25  8:01   ` Pedro Andres Aranda Gutierrez
2023-05-25 10:50     ` Pedro Andres Aranda Gutierrez
2023-05-25 11:35       ` Robert Pluim
2023-05-25 11:37       ` Eli Zaretskii
2023-05-25 12:42         ` Pedro Andres Aranda Gutierrez
2023-05-25 13:11           ` Eli Zaretskii
2023-05-25 13:13           ` Andrea Corallo
2023-05-25 15:02             ` Pedro Andres Aranda Gutierrez
2023-05-28 13:30             ` Andrea Corallo
2023-05-29 16:13               ` Andrea Corallo [this message]
2023-05-29 16:21               ` Andrea Corallo
2023-05-30  7:55                 ` Pedro Andres Aranda Gutierrez
2023-05-30  9:13                   ` Pedro Andres Aranda Gutierrez
2023-06-05  8:36                 ` Andrea Corallo
2023-06-05 10:06                   ` Pedro Andres Aranda Gutierrez

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=xjfcz2jw1xu.fsf@ma.sdf.org \
    --to=akrl@sdf.org \
    --cc=63710@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=paaguti@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).