Closed declantsien closed 3 years ago
Thanks for bringing this to our attention. Would you mind testing this patch by running the following test case?:
2021-05-31 08:27:27
gnu/linux
prerelease (HEAD -> fix/void-comp-deny-guard, fork/fix/void-comp-deny-guard) cfb790e 2021-05-31
GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.4, Xaw3d scroll bars) of 2021-05-25
Your test case's :build
step list has multiple :not
keywords.
:not
applies to the whole list if it is the car of the list.
Multiple :not
s won't harm anything, but they're not doing anything either.
(:not autoloads :not native-compile)
and
(:not autoloads native-compile)
are functionally equivalent.
2021-05-31 22:45:40
gnu/linux
prerelease (HEAD -> develop, origin/develop) e46292d 2021-05-12
GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4) of 2021-03-27
Your test case's :build step list has multiple :not keywords.
Thanks for telling me this. I thought multi :not
is necessary.
It looks like the patch is working fine. I've merged it into the "develop" branch.
You should be able to update via M-x straight-pull-package straight
and then rebuilding straight.
Let me know if that works for you.
Thanks again for testing.
Yeah. It works fine for me now. Thanks.
Recently I decided to switch back to Emacs 27.2 for some stability. I have one custom recipe which have
:build (:not native-compile)
. Sure, Emacs 27.2 doesn't have native compilation. But I think recipe with:build (:not native-compile)
should work too.Below is
straight-bug-report
withstraight-get-recipe
version oforg
with extra:not native-compile
Test Case
```emacs-lisp (straight-bug-report :pre-bootstrap (message "before bootstrap") (message "multiple forms allowed") :post-bootstrap (message "after bootstrap") (message "multiple forms allowed") (straight-use-package '(org :type git :repo "https://code.orgmode.org/bzg/org-mode.git" :local-repo "org" :depth full :pre-build (straight-recipes-org-elpa--build) :build (:not autoloads :not native-compile) :files (:defaults "lisp/*.el" ("etc/styles/" "etc/styles/*")))) (message "bye")) ```2021-05-31 12:17:01
gnu/linux
prerelease (HEAD -> develop, origin/develop) e46292d 2021-05-12
GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4) of 2021-03-27
Output
```emacs-lisp before bootstrap multiple forms allowed Bootstrapping straight.el... Bootstrapping straight.el...done Rebuilding all packages due to build cache schema change Looking for gnu-elpa-mirror recipe β Cloning melpa... Looking for gnu-elpa-mirror recipe β Cloning melpa...done Looking for emacsmirror-mirror recipe β Cloning gnu-elpa-mirror... Looking for emacsmirror-mirror recipe β Cloning gnu-elpa-mirror...done Looking for emacsmirror-mirror recipe β Cloning el-get... Looking for emacsmirror-mirror recipe β Cloning el-get...done Looking for straight recipe β Cloning emacsmirror-mirror... Looking for straight recipe β Cloning emacsmirror-mirror...done Building straight... Building straight...done Test run with version: prerelease (HEAD -> develop, origin/develop) e46292d 2021-05-12 after bootstrap multiple forms allowed Cloning org... Cloning org...done Packages: "org-elpa" n/a n/a "melpa" n/a master 19d1adfa 2021-05-31 "gnu-elpa-mirror" n/a master 6417888 2021-05-29 "el-get" melpa master d76ac84a 2021-04-28 "emacsmirror-mirror" n/a master a3cf645 2021-05-29 "straight" n/a develop e46292d 2021-05-12 Error: (void-variable native-comp-deferred-compilation-deny-list) ```