Comments (19)
Can you attach output from cmd
nix log /nix/store/9ik0f6jnz1gfx66yglprrh3dga7r5h7j-emacs-ng-30.0.50.drv
Are you building on apple silicon (M1/aarch64-darwin) by any chance? If so, see #336
from emacs-ng.
Can you attach output from cmd
nix log /nix/store/9ik0f6jnz1gfx66yglprrh3dga7r5h7j-emacs-ng-30.0.50.drv
Are you building on apple silicon (M1/aarch64-darwin) by any chance? If so, see #336
I build on Linux Laptop (Lenovo) x64
log.txt
from emacs-ng.
Will you try to build with
nix build github:emacs-ng/emacs-ng#emacsng --option substituters "https://emacsng.cachix.org" --option trusted-public-keys "emacsng.cachix.org-1:i7wOr4YpdRpWWtShI8bT6V7lOTnPeI7Ho6HaZegFWMI="
devShell from flake.nix
needs updates. see emilk/egui#1587
from emacs-ng.
nix build github:emacs-ng/emacs-ng#emacsng --option substituters "https://emacsng.cachix.org" --option trusted-public-keys "emacsng.cachix.org-1:i7wOr4YpdRpWWtShI8bT6V7lOTnPeI7Ho6HaZegFWMI="
error: builder for '/nix/store/9ik0f6jnz1gfx66yglprrh3dga7r5h7j-emacs-ng-30.0.50.drv' failed with exit code 2;
last 10 log lines:
> *** "make all" failed with exit status 2.
> ***
> *** You could try to:
> *** - run "make bootstrap", which might fix the problem
> *** - run "make V=1", which displays the full commands invoked by make,
> *** to further investigate the problem
> ***
> make[1]: *** [Makefile:428: advice-on-failure] Error 2
> make[1]: Leaving directory '/tmp/nix-build-emacs-ng-30.0.50.drv-0/hwr6w3a323wlp559k3a31si5a102nsqx-source'
> make: *** [Makefile:384: all] Error 2
For full logs, run 'nix log /nix/store/9ik0f6jnz1gfx66yglprrh3dga7r5h7j-emacs-ng-30.0.50.drv'.
from emacs-ng.
from emacs-ng.
Danil Guskov @.***> writes: I have no idea then. The build from CI[0] works just fine. Maybe try to remove
--option substituters "[https://emacsng.cachix.org"
](https://emacsng.cachix.org%22%60)? [0]: https://github.com/emacs-ng/emacs-ng/actions/runs/4454166198/workflow#L36
Same result :(
from emacs-ng.
please try the command with --refresh
flag.
nix build github:emacs-ng/emacs-ng --refresh --option substituters "https://emacsng.cachix.org" --option trusted-public-keys "emacsng.cachix.org-1:i7wOr4YpdRpWWtShI8bT6V7lOTnPeI7Ho6HaZegFWMI=" -o emacsNg
from emacs-ng.
please try the command with
--refresh
flag. nix build github:emacs-ng/emacs-ng --refresh --option substituters "https://emacsng.cachix.org" --option trusted-public-keys "emacsng.cachix.org-1:i7wOr4YpdRpWWtShI8bT6V7lOTnPeI7Ho6HaZegFWMI=" -o emacsNg
same result
from emacs-ng.
Can you attach output from cmd
nix log /nix/store/9ik0f6jnz1gfx66yglprrh3dga7r5h7j-emacs-ng-30.0.50.drv
Are you building on apple silicon (M1/aarch64-darwin) by any chance? If so, see #336
I build on Linux Laptop (Lenovo) x64 log.txt
Problem 1: I think it's pretty obvious from the log that libXcursor is missing in flake.nix
from emacs-ng.
... However, just adding libXcursor to flake.nix introduces a new problem
log2.txt
from emacs-ng.
I found workaround:
diff --git a/flake.nix b/flake.nix
index 222f4e4d3b..1e58da71e0 100644
--- a/flake.nix
+++ b/flake.nix
@@ -134,6 +134,7 @@
#withGLX
rpathLibs = with xorg;
lib.optionals (stdenv.isLinux && withWebrender) [
+ libXcursor
libX11
libXrandr
libXi
@@ -208,8 +209,8 @@
"--with-dumping=pdumper"
]
++ lib.optionals withWebrender [
- "--with-winit"
- "--with-webrender"
+ # "--with-winit"
+ # "--with-webrender"
]
++ lib.optionals (stdenv.isDarwin && withWebrender) [
"--disable-ns-self-contained"
@@ -313,9 +314,9 @@
name = "${oa.name}-wr-pgtk";
configureFlags =
(
- prev.lib.subtractLists [
- "--with-winit"
- ]
+ # prev.lib.subtractLists [
+ # "--with-winit"
+ # ]
oa.configureFlags
);
}
from emacs-ng.
The workaround is just not to build with webrender/winit at all. That might be acceptable to you, but you're basically getting stock emacs with that atm. Still, if you want to work on JS or just play it might be fine.
from emacs-ng.
Btw, it is not a nix issue. The same applies for Arch Linux - als the same "workaround".
from emacs-ng.
@stefanhusmann how are you building on arch? It's def. possible to build on arch fine---that's my dev env..
from emacs-ng.
Ah no hang on, something has broken our configure.ac. @declantsien did the merge-upstream script overwrite it? sorry for the noise, too late, was in the wrong repo, good night!
from emacs-ng.
from emacs-ng.
Hmm, CI tests/checks seems Ok...
Sorry this was noise, I was being stupid late at night. I forgot you do issues by email so I edited that comment rather than add another.
from emacs-ng.
Sorry this was noise, I was being stupid late at night. I forgot you do issues by email so I edited that comment rather than add another.
No problem. Yeah I do sometimes replay comments inside Emacs using Notmuch.
from emacs-ng.
Kindly refer to this comment:
#530 (comment)
Please reopen the issue if the issue continues.
@guskovd
from emacs-ng.
Related Issues (20)
- Emacs Crash "Not invalie Emacs_Cursor" HOT 17
- `browse-url winit display` ? HOT 1
- Blank window with glutin HOT 16
- Browser-based frontend to emacs possible now? HOT 1
- Winit/WR scaling code is broken HOT 1
- Winit/WR doesnt works well on hyprland HOT 9
- Use Webrender GPU rendering with PGTK HOT 11
- Add Webrender support for NS darwin build
- Pure Rust font stack for wr_glyph_rasterizer HOT 12
- Missing window decorations (menu/toolbar etc.)
- WR/PGTK handle dpi/scale factor HOT 4
- `emacs -nw` calls window code
- WR/PGTK childframes are white HOT 4
- Segfault/stack smashing with tao/winit HOT 13
- WR/Winit handle [`ScaleFactorChanged`]
- Keyboard input under high load HOT 7
- Build error Arch Linux - also the same "workaround". HOT 6
- Building with docker results cargo: command not found error HOT 2
- Nix CI on macOS is broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs-ng.