Stefan Monnier <monn...@iro.umontreal.ca> writes:

Hi Stefan,

> Well, not for `make auctex.tar` where it's built from whatever is HEAD
> in `packages/auctex`.  But in `elpa.gnu.git` HEAD is indeed pointing
> to `externals/<PKG>`.

Alright, I've had some time to do some fiddling.  In the auctex
repository, there's some new main branch (based on externals/auctex)
where I've changed how AUCTEXVERSION and AUCTEXDATE are determined.
Instead of looking at specially formatted lines in ChangeLog, it just
looks at the git diffs to check when there was a "+;; Version: ..."
change in auctex.el.  It seems to work fine when I run "make -f
GNUMakefile".

Now I'd like to test building auctex.tar using your recipe.  I've
checked out that new main branch into ../elpa/packages/auctex/ (or
actually auctex is a symlink to my auctex clone).  With the current
elpa-packages recipe

   (auctex :url "https://git.savannah.gnu.org/git/auctex.git";
           :news "NEWS.org")

an auctex.tar is built successfully but apparently that didn't run the
GNUMakefile, for example, tex-site.el isn't included because it's not
generated from tex-site.el.in.

So I've tried to add :make "all" or even :shell-command "make -g
GNUMakefile" to the auctex recipe but then I get this error:

--8<---------------cut here---------------start------------->8---
❯ make auctex.tar
emacs --batch -Q -l admin/elpa-admin.el \
-f elpaa-batch-pkg-spec-make-dependencies .pkg-descs.mk
emacs --batch -l /home/horn/tmp/elpa/admin/elpa-admin.el        \
-f elpaa-batch-make-one-tarball auctex.tar
======== Building tarball auctex.tar...
Build error for auctex.tar: (error "Error-indicating exit code in 
elpaa--call-sandboxed:
bwrap: Can't bind mount /oldroot/home/horn/Repos/el/auctex on 
/newroot/home/horn/tmp/elpa/packages/auctex/: Unable to mount source on 
destination: No such file or directory
")
######## Build of package auctex.tar FAILED!!
--8<---------------cut here---------------end--------------->8---

What does that error try to tell me?

Thanks,
Tassilo

Reply via email to