bug#81617: 30.2; [ELPA] make [PKGNAME].tar fails
Lin Jian via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email protected]>
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
Philip Kaludercic <[email protected]> writes: > Lin Jian <[email protected]> writes: > >> Hi ELPA maintainers: >> >> The [PKGNAME].tar target of make probably has a bug. I cannot use it to >> build my package which I prepare to add to NonGNU ELPA. >> >> Here are steps to reproduce the bug using an existing package denote: >> >> 1. git clone --single-branch git://git.savannah.gnu.org/emacs/elpa.git >> 2. cd elpa >> 3. make >> 4. make packages/denote >> 5. install bwrap (or disable sandbox by modifying elpa-config) >> 6. make denote.tar >> 7. see error: >> >> emacs --batch -Q -l admin/elpa-admin.el \ >> -f elpaa-batch-pkg-spec-make-dependencies .pkg-descs.mk >> emacs --batch -l /tmp/tmp.pIREVhEGXY/elpa/admin/elpa-admin.el \ >> -f elpaa-batch-make-one-tarball denote.tar >> ======== Building tarball denote.tar... >> ELPATEXI=denote.texi >> >> >> Build error for denote.tar: (wrong-type-argument stringp nil) >> ######## Build of package denote.tar FAILED!! > > does executing "make fetch/dentote" before "make denote.tar" change > anything? I re-run these steps from scratch (in a new tmp dir) after adding "make fetch/denote" between step 5 and step 6. Still, "make denote.tar" fails. Here is the new output: --8<---------------cut here---------------start------------->8--- $ make fetch/denote emacs --batch -Q -l admin/elpa-admin.el \ -f elpaa-batch-pkg-spec-make-dependencies .pkg-descs.mk emacs --batch -l admin/elpa-admin.el -f elpaa-batch-fetch-and-show "denote" Fetching updates for denote... Nothing new upstream for denote $ make denote.tar emacs --batch -l /home/linj/code/fork/elpa/admin/elpa-admin.el \ -f elpaa-batch-make-one-tarball denote.tar ======== Building tarball denote.tar... ELPATEXI=denote.texi Build error for denote.tar: (wrong-type-argument stringp nil) ######## Build of package denote.tar FAILED!! --8<---------------cut here---------------end--------------->8--- Replace step 6 with this custom debug-mode to get a backtrace: --8<---------------cut here---------------start------------->8--- $ make EMACS="emacs --batch --eval='(setq debug-on-error t)'" denote.tar emacs --batch --eval='(setq debug-on-error t)' -l /home/linj/code/fork/elpa/admin/elpa-admin.el \ -f elpaa-batch-make-one-tarball denote.tar ======== Building tarball denote.tar... ELPATEXI=denote.texi Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match("[][*\\|?]" nil) (not (string-match "[][*\\|?]" vers)) [...] --8<---------------cut here---------------end--------------->8---