Git Product home page Git Product logo

Comments (19)

declantsien avatar declantsien commented on May 26, 2024

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.

guskovd avatar guskovd commented on May 26, 2024

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.

declantsien avatar declantsien commented on May 26, 2024

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.

guskovd avatar guskovd commented on May 26, 2024
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.

declantsien avatar declantsien commented on May 26, 2024

from emacs-ng.

guskovd avatar guskovd commented on May 26, 2024

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.

GTrunSec avatar GTrunSec commented on May 26, 2024

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.

guskovd avatar guskovd commented on May 26, 2024

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.

guskovd avatar guskovd commented on May 26, 2024

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.

guskovd avatar guskovd commented on May 26, 2024

... However, just adding libXcursor to flake.nix introduces a new problem
log2.txt

from emacs-ng.

guskovd avatar guskovd commented on May 26, 2024

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.

2e0byo avatar 2e0byo commented on May 26, 2024

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.

stefanhusmann avatar stefanhusmann commented on May 26, 2024

Btw, it is not a nix issue. The same applies for Arch Linux - als the same "workaround".

from emacs-ng.

2e0byo avatar 2e0byo commented on May 26, 2024

@stefanhusmann how are you building on arch? It's def. possible to build on arch fine---that's my dev env..

from emacs-ng.

2e0byo avatar 2e0byo commented on May 26, 2024

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.

declantsien avatar declantsien commented on May 26, 2024

from emacs-ng.

2e0byo avatar 2e0byo commented on May 26, 2024

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.

declantsien avatar declantsien commented on May 26, 2024

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.

declantsien avatar declantsien commented on May 26, 2024

Kindly refer to this comment:
#530 (comment)
Please reopen the issue if the issue continues.
@guskovd

from emacs-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.