Skip to content

libgccjit error #146

@Eliot00

Description

@Eliot00
❯ nix develop .#macos15
bash-5.2$ make bootstrap
env BUNDLE_WITHOUT=development bundle install
Bundle complete! 2 Gemfile dependencies, 2 gems now installed.
Gems in the group 'development' were not installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
bash-5.2$ ./build-emacs-for-macos emacs-30.1.90
==> INFO: Fetching info for git ref: emacs-30.1.90
==> INFO: emacs-mirror-emacs-1136aed.tgz already exists locally, attempting to use.
==> INFO: emacs-mirror-emacs-1136aed source tree exists, attempting to use.
==> INFO: configure script exists, skipping autogen.
==> INFO: Detecting native-comp support...
==> INFO: Native-comp is: Supported
==> INFO: Compiling from source. This will take a while...
==> INFO: Compiling with native-comp enabled
==> INFO: Removing duplicate RPATHs from /nix/store/fs5wkhwfqqkginiy1gd00wzklfx592ab-libgccjit-13.3.0/lib/libgccjit.0.dylib
==> WARN: Could not remove duplicate RPATHs from /nix/store/fs5wkhwfqqkginiy1gd00wzklfx592ab-libgccjit-13.3.0/lib/libgccjit.0.dylib: Cannot create backup file: Permission denied @ rb_sysopen - /nix/store/fs5wkhwfqqkginiy1gd00wzklfx592ab-libgccjit-13.3.0/lib/libgccjit.0.dylib.bak
==> WARN: =================================================================
==> WARN: Attempting to clean duplicate RPATHs from /nix/store/fs5wkhwfqqkginiy1gd00wzklfx592ab-libgccjit-13.3.0/lib/libgccjit.0.dylib as root
==> WARN: =================================================================
Password:
sudo: ./build-emacs-for-macos: command not found
ERROR: Exit code: 1

System Info

  • CPU: Apple M2
  • System: macOS 15.5
  • Nix Version: 2.28.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions