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: Thu, 25 May 2023 14:42:48 +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="000000000000c9483005fc83f63f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16016"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63710@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 25 14:44:32 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 1q2AKV-0003zC-L4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 May 2023 14:44:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2AK4-00057O-3V; Thu, 25 May 2023 08:44:04 -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 1q2AK2-00056a-9u for bug-gnu-emacs@gnu.org; Thu, 25 May 2023 08:44: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 1q2AK1-0000Xm-Vy for bug-gnu-emacs@gnu.org; Thu, 25 May 2023 08:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q2AK1-00051q-R9 for bug-gnu-emacs@gnu.org; Thu, 25 May 2023 08:44:01 -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: Thu, 25 May 2023 12:44:01 +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.168501860419264 (code B ref 63710); Thu, 25 May 2023 12:44:01 +0000 Original-Received: (at 63710) by debbugs.gnu.org; 25 May 2023 12:43:24 +0000 Original-Received: from localhost ([127.0.0.1]:46207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2AJP-00050d-R4 for submit@debbugs.gnu.org; Thu, 25 May 2023 08:43:24 -0400 Original-Received: from mail-ej1-f46.google.com ([209.85.218.46]:53488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2AJN-00050P-1Q for 63710@debbugs.gnu.org; Thu, 25 May 2023 08:43:21 -0400 Original-Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-970056276acso88292866b.2 for <63710@debbugs.gnu.org>; Thu, 25 May 2023 05:43:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685018595; x=1687610595; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kn0isQf87vR4Pi+4imznpvA6JqkLJC2zF3lXiLeI2eU=; b=Dzy+gmNB3NI1Y3TN0yRcMuVSyhyOOKKDY7in/kdZy2aXBB8jR+Y4Seo7cCsXnXz8ps fCqbkJEiB/mn7JF+ma6vZG8GOKv5IZT+Ak42aAqSqZmRpMXY97xsq2xjfCoJCZymGETZ aXTqFeTqLXnS2Tr/0eqvMJFdAYn9CK3/fRnqIGS3KAcrQ+XNaD3zCb5phkjtNCZtWDCJ aeJwTHFmv0Av93V8d99cooabGqpd00XFm8sJ/yFFj4vXdDoApOkJvL67tM1967Py2Ikl okc5yk8mNErG6uI9P5H8ny7gS8KTBCiBqjnrWITC7fWUas5f1bnUJM04rgKY1O6iuI4h WnoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685018595; x=1687610595; 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=kn0isQf87vR4Pi+4imznpvA6JqkLJC2zF3lXiLeI2eU=; b=jCL9EQbQxx4XLLvtAMgz5MjJUkb0x0p4UqJbqvh/HYPCRyt0eIXVL4VK+aW79CcTE0 Ad6sUVFqhuNtvDf+hEMV7+/JdzBn596o0kTXiyohKXD4u5+LbknqiUwJp0o848WprBf7 eoth5JdiEdwcNEy3cUsdveNt5AxCoz7WvpVXFB0pU7sVD2C8avumYTiVoX9/c6IMGsch oLuY+YUtTlUlROmZvio/huliB4fMzJpAM43Sj2ym3/sgfMFZUtlI72Vx/B3StTnJccLr ruXWWe8KHwrDEP3kejgeHCBh4AQSFrlfZmBIRT2BCUKH0+EwEXwvgskWbguZZYTmhe6K tk6w== X-Gm-Message-State: AC+VfDyRo4GkIeL3nVfUsV6YJeH33XaZ95KdkshxnZ+q7bGrampiyKr/ NKEyavBbM5I5WvIMWnaMbyRqySR36QhXHISJN5k= X-Google-Smtp-Source: ACHHUZ5W9eHMmbQrE+jzUJebZ7/OyIXCF+1wmeBcAkc48j2GdEk9UVRGhSluUISjGywxsmY+oVMbeRusltMmy9EyzyE= X-Received: by 2002:a17:907:25c3:b0:96b:e92:4feb with SMTP id ae3-20020a17090725c300b0096b0e924febmr1471032ejc.60.1685018594853; Thu, 25 May 2023 05:43:14 -0700 (PDT) In-Reply-To: <83bki8myl9.fsf@gnu.org> 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:262363 Archived-At: --000000000000c9483005fc83f63f Content-Type: text/plain; charset="UTF-8" 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 On Thu, 25 May 2023 at 13:36, Eli Zaretskii wrote: > > From: Pedro Andres Aranda Gutierrez > > Date: Thu, 25 May 2023 12:50:31 +0200 > > Cc: 63710@debbugs.gnu.org > > > > Could free up a couple CPU cycles and last working commit for me is > > > > In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version > > 3.24.33, cairo version 1.16.0) of 2023-05-25 built on 66fdd82711e1 > > Repository revision: 1d5b164109b59559d34c545c2a163fa067ca22b2 > > Repository branch: HEAD > > Windowing system distributor 'The X.Org Foundation', version > 11.0.12101004 > > System Description: Ubuntu 22.04.2 LTS > > You mean, the very next one, 87da87730f9f69fa29a73ac504b690c40b1bc98f, > already doesn't work? But that only touched Tramp, so how can this > affect package.el and/or use-package? > > Are you sure that 1d5b164109b59559d34c545c2a163fa067ca22b2 does work? > Could it be that this is the first commit that does NOT work? > > Thanks. > -- 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 --000000000000c9483005fc83f63f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
First: the .emacs.d/init.el test file

------
;;
;; My .emacs file
;;
=
(require 'package)
(setq package-archives '(("m= elpa" . "https://melpa.or= g/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" . "https://stable.melpa.org/packages/&qu= ot;)
(eval-when-compile
=C2=A0 (require 'use-package))
(unless (file-directory-p package-user-dir)
=C2=A0 =C2=A0 (packa= ge-refresh-contents))
(require 'use-package-ensure)
(setq use-package-always-ensure t)

(use-package &= quot;compat")
------

Second: 1d5b16= 4109b59559d34c545c2a163fa067ca22b2 does work

BTW,= =C2=A0 it has to do with native compilation. I have accidentally not delete= d the eln-cache in on of the tests and the 'wrong' Emacs has starte= d correctly:
1. started 1d5b164109b59559d34c545c2a163fa067ca22b2 = with eln-clean cache ---> OK
2. started=C2=A0b2b2be98da5825e6b= c130999ffe38f5ed615586a with eln-cache from the last start --> OK
<= div>3. started=C2=A0b2b2be98da5825e6bc130999ffe38f5ed615586a with clean eln= -cache ---> KO



On Thu, 25 May 2023 at 13:36, Eli Zaretskii <eliz@gnu.org> wrote:
> From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>=
> Date: Thu, 25 May 2023 12:50:31 +0200
> Cc: 63710@d= ebbugs.gnu.org
>
> Could free up a couple CPU cycles and last working commit for me is >
> In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
>=C2=A0 3.24.33, cairo version 1.16.0) of 2023-05-25 built on 66fdd82711= e1
> Repository revision: 1d5b164109b59559d34c545c2a163fa067ca22b2
> Repository branch: HEAD
> Windowing system distributor 'The X.Org Foundation', version 1= 1.0.12101004
> System Description: Ubuntu 22.04.2 LTS

You mean, the very next one, 87da87730f9f69fa29a73ac504b690c40b1bc98f,
already doesn't work?=C2=A0 But that only touched Tramp, so how can thi= s
affect package.el and/or use-package?

Are you sure that 1d5b164109b59559d34c545c2a163fa067ca22b2 does work?
Could it be that this is the first commit that does NOT work?

Thanks.


--
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

--000000000000c9483005fc83f63f--