From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.bugs Subject: bug#63710: use-package not working Date: Tue, 30 May 2023 09:55:50 +0200 Message-ID: References: <46f1b2e2-4fd3-44ac-adc7-825729aaff24@gmail.com> <83mt1snbcj.fsf@gnu.org> <83bki8myl9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000affbe205fce489ba" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36779"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63710@debbugs.gnu.org, Eli Zaretskii , Andrea Corallo To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 30 09:57:25 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q3uEN-0009LK-Un for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 May 2023 09:57:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3uE5-0001Xu-JT; Tue, 30 May 2023 03:57:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3uE2-0001Vr-Tp for bug-gnu-emacs@gnu.org; Tue, 30 May 2023 03:57:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q3uE2-0004tM-La for bug-gnu-emacs@gnu.org; Tue, 30 May 2023 03:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3uE2-0003ry-Eu for bug-gnu-emacs@gnu.org; Tue, 30 May 2023 03:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pedro Andres Aranda Gutierrez Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 May 2023 07:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63710 X-GNU-PR-Package: emacs Original-Received: via spool by 63710-submit@debbugs.gnu.org id=B63710.168543338414827 (code B ref 63710); Tue, 30 May 2023 07:57:02 +0000 Original-Received: (at 63710) by debbugs.gnu.org; 30 May 2023 07:56:24 +0000 Original-Received: from localhost ([127.0.0.1]:59991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3uDQ-0003r4-0l for submit@debbugs.gnu.org; Tue, 30 May 2023 03:56:24 -0400 Original-Received: from mail-ed1-f44.google.com ([209.85.208.44]:59539) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3uDO-0003qr-K6 for 63710@debbugs.gnu.org; Tue, 30 May 2023 03:56:23 -0400 Original-Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-51493ec65d8so5024245a12.2 for <63710@debbugs.gnu.org>; Tue, 30 May 2023 00:56:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685433377; x=1688025377; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=8EePvsHd6iXR+cb2+jj6WoCpCJMeZLNkxslYP4bBbRs=; b=VRenuk3GaTXtyMN/nOf04mz7RCJNe2bfiPHnWTpWAkweBOKV/VD0X4V04yYxn4L8MW /o38ftfzaz62VtcVNVso0/bYFC1AbwEH8NPKImVZ88fTkyTmhYnsc/XuOij11lpVZ3BQ QKw4xB3dmETtmjJlJyVR462Obr0ld+is19Z7ECablxtkuMnQAP6Ml5lUpXrOvkT77sxS utUhkzfUZw3OwS2hc5cjem7E53TLyBc3hfUxM9lwdW75coouWVcC/Ow/8pSFeavHR1Uq Py47LAZShRL57eAW8TiMakgtPnEjsMVxU276x68ihB2S9k5x4SmJ9PtJueN6Sx32Vr9y A/VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685433377; x=1688025377; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8EePvsHd6iXR+cb2+jj6WoCpCJMeZLNkxslYP4bBbRs=; b=ZkWGubfx6EoqsMbvqzfm7fz0G4eGQn9e0eODbxxPyCl3Oxz8+NXewbdZLQphbkTo5+ CIqJfBSIvj+hEsSSnkBOZ+e2I0FyOf+XnIouWKvBpV2xqkOnFrHkzq/uacsWf6sVbsyi +4ZPtK3tIk956UmZGk+rupoTlxaI2rDLDykhwSZnnlqZaYI6KpuQptho6XjTzw7ypG1G /H62wO5LaazBKb4lz7IY/45zGV1DI7aKsSz/hGUplMPwOkMkHGsPiJnKKUU6Xj63apTQ wnA19Jaw6W7i/AbR0a6/XZ5LTz1YkrBBvTIT+nIrinNyn8TTEsx1ARW69+NfT8sU9XvN kKkA== X-Gm-Message-State: AC+VfDxXnhoIDcx4+KvxdawiGCma7o4G+Xq2083HaH/ZUlZroDxw6nRf g2bPFY9qzS4XrYJ9RPex7O4fXD3GBeiyZuL4wkw= X-Google-Smtp-Source: ACHHUZ7+lJ1mOyaCrSEz3hTFr+ez4a2u/OzfiRZQC5S2FEZUkkZeQE60oBKnN/8wyAIbeZl1ec4NWmj5/On3/zOwXxI= X-Received: by 2002:a17:907:3687:b0:958:cc8:bd55 with SMTP id bi7-20020a170907368700b009580cc8bd55mr1825062ejc.0.1685433376307; Tue, 30 May 2023 00:56:16 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262622 Archived-At: --000000000000affbe205fce489ba Content-Type: text/plain; charset="UTF-8" OK, I'll try right now and let you know. /PA On Mon, 29 May 2023 at 18:21, Andrea Corallo wrote: > Andrea Corallo writes: > > > Andrea Corallo writes: > > > >> Pedro Andres Aranda Gutierrez 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. > > Okay RE-sending from this account and ditching my sdf.org probably > forever as I'm getting a bunch of bounces classifying it again as spam: > > 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 > > -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet --000000000000affbe205fce489ba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
OK, I'll try right now and let you know.

/PA

On Mon, 29 May 2023 at 18:21, Andrea Corallo <acorallo@gnu.org> wrote:
Andrea Corallo <akrl@sdf.org> writes:

> Andrea Corallo <a= krl@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" . "http= s://melpa.org/packages/")
>>> ("gnu" . "https://elpa.gnu.org/packages/")
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("melpa-stable" . "
http= s://stable.melpa.org/packages/")
>>> ("nongnu" . "https://elpa.nongnu.org/nong= nu/")))
>>> (eval-when-compile
>>>=C2=A0 =C2=A0(require 'use-package))
>>> (unless (file-directory-p package-user-dir)
>>>=C2=A0 =C2=A0 =C2=A0(package-refresh-contents))
>>> (require 'use-package-ensure)
>>> (setq use-package-always-ensure t)
>>>
>>> (use-package "compat")
>>> ------
>>>
>>> Second: 1d5b164109b59559d34c545c2a163fa067ca22b2 does work
>>>
>>> BTW,=C2=A0 it has to do with native compilation. I have accide= ntally not deleted the eln-cache in on of the tests and the
>>> 'wrong' Emacs has started correctly:
>>> 1. started 1d5b164109b59559d34c545c2a163fa067ca22b2 with eln-c= lean cache ---> OK
>>> 2. started b2b2be98da5825e6bc130999ffe38f5ed615586a with eln-c= ache 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 ni= l as
> the compiler was not fully picking up the user defined types at compil= e
> time, it worked only after the first faulty compilation (thing that ma= de
> the investigaiton a bit slower).
>
> I'm working on a more complete fix but this requires careful testi= ng, I
> pushed now c8e527cbeee in order to have master stable again while I ke= ep
> working on the most comprehensive fix.

Okay RE-sending from this account and ditching my sdf.org probably
forever as I'm getting a bunch of bounces classifying it again as spam:=

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

=C2=A0 Andrea



--
Fragen sind nicht da, um bea= ntwortet zu werden,
Fragen sind da um gestellt zu werden
= Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should ru= n a leader-deposed hook here, but we can't yet

--000000000000affbe205fce489ba--