From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Payas Relekar Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: use-package Date: Thu, 03 Nov 2022 22:12:09 +0530 Message-ID: <87o7to2dfy.fsf@gmail.com> References: <87lep4jeeb.fsf@gmail.com> <87bkq0gfc9.fsf@posteo.net> <87v8o80xs1.fsf@gmail.com> <87h6zqgc3s.fsf@gmail.com> <87v8o52mkn.fsf@gmail.com> <87v8o5w2c1.fsf@posteo.net> <877d0kbkfm.fsf@gmail.com> <875yg4144y.fsf@gmail.com> <87h6zmj451.fsf@gmail.com> <5EE58F68-8B9E-4DE6-BA20-3A88FFDA6528@posteo.net> <871qqkjwjj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8803"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.10; emacs 29.0.50 Cc: Philip Kaludercic , John Wiegley , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 03 17:52:46 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oqdSP-00024d-Vf for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Nov 2022 17:52:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqdRn-0007qJ-Ka; Thu, 03 Nov 2022 12:52:07 -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 1oqdMh-0002d8-7s for emacs-devel@gnu.org; Thu, 03 Nov 2022 12:46:52 -0400 Original-Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oqdMe-0004em-Gu; Thu, 03 Nov 2022 12:46:50 -0400 Original-Received: by mail-pj1-x1031.google.com with SMTP id r61-20020a17090a43c300b00212f4e9cccdso5750530pjg.5; Thu, 03 Nov 2022 09:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=TdACyLyoFLE/iPx2MY1Oyo6IElmSyRIM6d3dk08QSuc=; b=dESFsY78k6PCOFzNoO9B7KoG4FGso6PymOWuugmY96gpX8bvg/A2ZfQy2MBIso3Lzf /Bqb56VffqiFbRoCvPUDxNrcCIno13qG9sl9soytTIBGuvbu+tpK+v8mFirt8tJOIJrw qN+OhMqNCu5YeiUvrnH7Rj1aZpqEYCGvRD3npHv/TlxHKiuWpJv0r8KYdFIT/4ufKM7T QvDI05GaE94Bh+uQ9yGaYsA8r/j7cjb5m/xLHEy6kzjXAofa/DV2ZqqnkZqZ+YJgqWBO FcdGeySCgcfxE239aKDsEpH5JfpHL15PcHZ6dKbx/wSEzSSu6zlNQSbEXPruKiKVOenH PsZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=TdACyLyoFLE/iPx2MY1Oyo6IElmSyRIM6d3dk08QSuc=; b=50zUjZpNpTk+49pSsu7MFQ8laA6sYmfTHycWBlLj7KcVCgWoET0ApUkOg2M0HZpWGH O9+FGV/oYjTQRdfaMzz316CdPg9fHC6RyOJH1Tp4ECiEtz4PdUqIBCPzJzcfxPuEzzhr 4HpwQH7KTNyDOMOaPCpyEr6S/KdUvVitBQLZctqNf+RTj6LVru/wxspziizr15pK7KEN njznzqV+sK7Eu11RGIlmMu5X9cz4ZQPJUsRrFyGm8zNN/AnxvnSEiPX1Ds0hMSucTJ4Q yrTEADTIpHEf+RLY9igz/fKukka3+vagpF7vM2giod2OyU8SUwHLYiTR9Y5dW5DCXDRW 2xwQ== X-Gm-Message-State: ACrzQf0ef7iIb1XlA+/1JP9GZJ6JwcU3J72hYhRszkvDRRyrbVvauDPb MSrtmgBOgFwd+PLK4NaSDQg= X-Google-Smtp-Source: AMsMyM4hy43fk7DDmzE9xs+9WRmtjqvqsy3VMEPt78edp+slsOzx2xM/rZUvJRwUg0iPI4A7ndY/Vg== X-Received: by 2002:a17:903:246:b0:179:b6d0:f8fd with SMTP id j6-20020a170903024600b00179b6d0f8fdmr30874830plh.124.1667494006299; Thu, 03 Nov 2022 09:46:46 -0700 (PDT) Original-Received: from localhost ([150.107.26.17]) by smtp.gmail.com with ESMTPSA id s4-20020a170902b18400b001782aab6318sm915397plr.68.2022.11.03.09.46.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 09:46:45 -0700 (PDT) In-reply-to: Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=relekarpayas@gmail.com; helo=mail-pj1-x1031.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 03 Nov 2022 12:52:06 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299081 Archived-At: --=-=-= Content-Type: text/plain Stefan Monnier writes: > My crystal ball tells me that you had done `make packages/use-package` > in the past and then you `rm packages/use-package`. Git doesn't > automatically discover when you delete such a worktree, so if that's > what happened > > git worktree prune -v > > should fix the problem, after which you can re-try the above command. You crystal ball was right! After pruning worktree the command worked, but I am quite confused at the output. I've attached the logs for my attempt to build, can you please check if I did something incorrectly? In particular the build command fails because it complains makeinfo is not available, but I clearly have it in path. Also make after build only seems to build setup-ox-hugo.el. There are also couple of errors, there are couple of errors too, and I'm not sure if fixing them is worth it. My understanding is that we only need to add copyrights to the file because entire repo is cloned to GNU machines. But even after adding copyright headers, IMO adding doc/* to :ignored-files is the right thing to do as it does not serve users directly. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=log.txt ~/g/elpa main $ makeinfo --version texi2any (GNU texinfo) 6.8 Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ~/g/elpa main $ make build/use-package emacs --batch -l /home/payas/git/elpa/admin/elpa-admin.el \ -f elpaa-batch-make-one-package use-package Updating worktree in "/home/payas/git/elpa/packages/use-package/" Updated use-package: Auto-merging use-package-core.el Merge made by the 'ort' strategy. README.md | 4 ++-- use-package-core.el | 4 ++-- use-package-tests.el | 7 +++++++ 3 files changed, 11 insertions(+), 4 deletions(-) ======== Building tarball archive-devel/use-package-2.4.4.0.20221103.163652.tar... Build error for archive-devel/use-package-2.4.4.0.20221103.163652.tar: (error "Error-indicating exit code in elpaa--call-sandboxed: bwrap: execvp makeinfo: No such file or directory ") ######## Build of package archive-devel/use-package-2.4.4.0.20221103.163652.tar FAILED!! ======== Building tarball archive/use-package-2.4.4.tar... Build error for archive/use-package-2.4.4.tar: (error "Error-indicating exit code in elpaa--call-sandboxed: bwrap: execvp makeinfo: No such file or directory ") ######## Build of package archive/use-package-2.4.4.tar FAILED!! ~/g/elpa main $ make packages/use-package Generating description file packages/use-package/use-package-pkg.el emacs --batch -l admin/elpa-admin.el \ -f elpaa-batch-generate-autoloads packages/use-package/use-package-autoloads.el INFO Scraping files for loaddefs... INFO Scraping files for loaddefs...done GEN use-package-autoloads.el Byte compiling packages/use-package/bind-chord.el Unable to activate package `use-package'. Required package `bind-key-2.4' is unavailable Byte compiling packages/use-package/bind-key.el Unable to activate package `use-package'. Required package `bind-key-2.4' is unavailable Byte compiling packages/use-package/doc/setup-ox-hugo.el Unable to activate package `use-package'. Required package `bind-key-2.4' is unavailable In toplevel form: packages/use-package/doc/setup-ox-hugo.el:192:51: Warning: reference to free variable `ox-hugo-default-lisp-directory' packages/use-package/doc/setup-ox-hugo.el:215:21: Warning: reference to free variable `org-emphasis-regexp-components' packages/use-package/doc/setup-ox-hugo.el:222:33: Warning: Unused lexical argument `file' packages/use-package/doc/setup-ox-hugo.el:224:4: Error: `add-to-list' can't use lexical var `ob-lang-alist'; use `push' or `cl-pushnew' packages/use-package/doc/setup-ox-hugo.el:224:4: Error: `add-to-list' can't use lexical var `ob-lang-alist'; use `push' or `cl-pushnew' packages/use-package/doc/setup-ox-hugo.el:230:56: Warning: Unused lexical argument `body' packages/use-package/doc/setup-ox-hugo.el:238:11: Warning: assignment to free variable `org-confirm-babel-evaluate' packages/use-package/doc/setup-ox-hugo.el:241:11: Warning: assignment to free variable `org-export-headline-levels' packages/use-package/doc/setup-ox-hugo.el:242:19: Warning: reference to free variable `org-export-exclude-tags' packages/use-package/doc/setup-ox-hugo.el:242:19: Warning: assignment to free variable `org-export-exclude-tags' In end of data: packages/use-package/doc/setup-ox-hugo.el:238:40: Warning: the function `ox-hugo-org-confirm-babel-evaluate-fn' is not known to be defined. packages/use-package/doc/setup-ox-hugo.el:218:4: Warning: the function `org-set-emph-re' is not known to be defined. packages/use-package/doc/setup-ox-hugo.el:208:4: Warning: the function `org-hugo-export-wim-to-md' is not known to be defined. packages/use-package/doc/setup-ox-hugo.el:75:49: Warning: the function `vc-git-root' is not known to be defined. make: *** [GNUmakefile:119: packages/use-package/doc/setup-ox-hugo.elc] Error 1 ~/g/elpa main ?1 2.7s [2] make build/bind-key emacs --batch -l /home/payas/git/elpa/admin/elpa-admin.el \ -f elpaa-batch-make-one-package bind-key Cloning branch bind-key: Preparing worktree (new branch 'externals/bind-key') branch 'externals/bind-key' set up to track 'origin/externals/bind-key'. HEAD is now at 0be480ea77 Merge pull request #1009 from andreyorst/face-spec-set-third-argument ======== Building tarball archive-devel/bind-key-2.4.1.0.20221029.145719.tar... ######## Built new package archive-devel/bind-key-2.4.1.0.20221029.145719.tar! ======== Building tarball archive/bind-key-2.4.1.tar... ######## Built new package archive/bind-key-2.4.1.tar! ~/g/elpa main ?1 1.2s ? make packages/bind-key emacs --batch -Q -l admin/elpa-admin.el \ -f elpaa-batch-pkg-spec-make-dependencies .pkg-descs.mk Generating description file packages/bind-key/bind-key-pkg.el emacs --batch -l admin/elpa-admin.el \ -f elpaa-batch-generate-autoloads packages/bind-key/bind-key-autoloads.el INFO Scraping files for loaddefs... INFO Scraping files for loaddefs...done GEN bind-key-autoloads.el Byte compiling packages/bind-key/bind-chord.el Byte compiling packages/bind-key/bind-key.el Byte compiling packages/bind-key/doc/setup-ox-hugo.el In toplevel form: packages/bind-key/doc/setup-ox-hugo.el:1:3: Warning: reference to free variable `-*-' packages/bind-key/doc/setup-ox-hugo.el:1:7: Warning: reference to free variable `lexical-binding:' packages/bind-key/doc/setup-ox-hugo.el:169:51: Warning: reference to free variable `ox-hugo-default-lisp-directory' packages/bind-key/doc/setup-ox-hugo.el:192:21: Warning: reference to free variable `org-emphasis-regexp-components' packages/bind-key/doc/setup-ox-hugo.el:199:33: Warning: Unused lexical argument `file' packages/bind-key/doc/setup-ox-hugo.el:201:4: Error: `add-to-list' can't use lexical var `ob-lang-alist'; use `push' or `cl-pushnew' packages/bind-key/doc/setup-ox-hugo.el:201:4: Error: `add-to-list' can't use lexical var `ob-lang-alist'; use `push' or `cl-pushnew' packages/bind-key/doc/setup-ox-hugo.el:207:56: Warning: Unused lexical argument `body' packages/bind-key/doc/setup-ox-hugo.el:215:11: Warning: assignment to free variable `org-confirm-babel-evaluate' packages/bind-key/doc/setup-ox-hugo.el:218:11: Warning: assignment to free variable `org-export-headline-levels' packages/bind-key/doc/setup-ox-hugo.el:219:19: Warning: reference to free variable `org-export-exclude-tags' packages/bind-key/doc/setup-ox-hugo.el:219:19: Warning: assignment to free variable `org-export-exclude-tags' In end of data: packages/bind-key/doc/setup-ox-hugo.el:215:40: Warning: the function `ox-hugo-org-confirm-babel-evaluate-fn' is not known to be defined. packages/bind-key/doc/setup-ox-hugo.el:195:4: Warning: the function `org-set-emph-re' is not known to be defined. packages/bind-key/doc/setup-ox-hugo.el:185:4: Warning: the function `org-hugo-export-wim-to-md' is not known to be defined. packages/bind-key/doc/setup-ox-hugo.el:52:49: Warning: the function `vc-git-root' is not known to be defined. make: *** [GNUmakefile:119: packages/bind-key/doc/setup-ox-hugo.elc] Error 1 ~/g/elpa main ?1 3.5s [2] make packages/use-package Byte compiling packages/use-package/doc/setup-ox-hugo.el In toplevel form: packages/use-package/doc/setup-ox-hugo.el:192:51: Warning: reference to free variable `ox-hugo-default-lisp-directory' packages/use-package/doc/setup-ox-hugo.el:215:21: Warning: reference to free variable `org-emphasis-regexp-components' packages/use-package/doc/setup-ox-hugo.el:222:33: Warning: Unused lexical argument `file' packages/use-package/doc/setup-ox-hugo.el:224:4: Error: `add-to-list' can't use lexical var `ob-lang-alist'; use `push' or `cl-pushnew' packages/use-package/doc/setup-ox-hugo.el:224:4: Error: `add-to-list' can't use lexical var `ob-lang-alist'; use `push' or `cl-pushnew' packages/use-package/doc/setup-ox-hugo.el:230:56: Warning: Unused lexical argument `body' packages/use-package/doc/setup-ox-hugo.el:238:11: Warning: assignment to free variable `org-confirm-babel-evaluate' packages/use-package/doc/setup-ox-hugo.el:241:11: Warning: assignment to free variable `org-export-headline-levels' packages/use-package/doc/setup-ox-hugo.el:242:19: Warning: reference to free variable `org-export-exclude-tags' packages/use-package/doc/setup-ox-hugo.el:242:19: Warning: assignment to free variable `org-export-exclude-tags' In end of data: packages/use-package/doc/setup-ox-hugo.el:238:40: Warning: the function `ox-hugo-org-confirm-babel-evaluate-fn' is not known to be defined. packages/use-package/doc/setup-ox-hugo.el:218:4: Warning: the function `org-set-emph-re' is not known to be defined. packages/use-package/doc/setup-ox-hugo.el:208:4: Warning: the function `org-hugo-export-wim-to-md' is not known to be defined. packages/use-package/doc/setup-ox-hugo.el:75:49: Warning: the function `vc-git-root' is not known to be defined. make: *** [GNUmakefile:119: packages/use-package/doc/setup-ox-hugo.elc] Error 1 --=-=-=--