Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build-emacs-from-tar fails with 24.1 and macOS 15.1.1 and Command Line Tools (no Xcode) #142

Open
e40 opened this issue Nov 29, 2024 · 1 comment

Comments

@e40
Copy link

e40 commented Nov 29, 2024

$ build-emacs-from-tar emacs-29.4.tar.bz2 release
==> Building pkg-config-0.29
==> Unpacking pkg-config-0.29
==> Configuring pkg-config-0.29
==> Making pkg-config-0.29
/Users/layer/src/import/build-emacs/build.rb:112:in `rescue in make': Make failed in build/pkg-config-0.29 (RuntimeError)
	from /Users/layer/src/import/build-emacs/build.rb:109:in `make'
	from /Users/layer/src/import/build-emacs/build.rb:87:in `build'
	from /Users/layer/src/import/build-emacs/build-dependencies.rb:65:in `block in ensure'
	from /Users/layer/src/import/build-emacs/build-dependencies.rb:63:in `each'
	from /Users/layer/src/import/build-emacs/build-dependencies.rb:63:in `ensure'
	from ./build-emacs-from-tar:149:in `prepare_extra_deps'
	from ./build-emacs-from-tar:236:in `<main>'
/Users/layer/src/import/build-emacs/verbose-shell.rb:40:in `system': 

440 |   return g_atomic_pointer_or ((volatile gpointer *) atomic, val);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gatomic.h:184:44: note: expanded from macro 'g_atomic_pointer_or'
  184 |     (gsize) __sync_fetch_and_or ((atomic), (val));                           \
      |                                            ^~~~~
gatomic.c:464:10: error: incompatible integer to pointer conversion passing 'gsize' (aka 'unsigned long') to parameter of type 'gpointer' (aka 'void *') [-Wint-conversion]
  464 |   return g_atomic_pointer_xor ((volatile gpointer *) atomic, val);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gatomic.h:191:45: note: expanded from macro 'g_atomic_pointer_xor'
  191 |     (gsize) __sync_fetch_and_xor ((atomic), (val));                          \
      |                                             ^~~~~
4 errors generated.
make[6]: *** [libglib_2_0_la-gatomic.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
💩  Command "make" returned 2
	from /Users/layer/src/import/build-emacs/build.rb:110:in `make'
	from /Users/layer/src/import/build-emacs/build.rb:87:in `build'
	from /Users/layer/src/import/build-emacs/build-dependencies.rb:65:in `block in ensure'
	from /Users/layer/src/import/build-emacs/build-dependencies.rb:63:in `each'
	from /Users/layer/src/import/build-emacs/build-dependencies.rb:63:in `ensure'
	from ./build-emacs-from-tar:149:in `prepare_extra_deps'
	from ./build-emacs-from-tar:236:in `<main>'
@e40
Copy link
Author

e40 commented Nov 29, 2024

$ xcode-select -v
xcode-select version 2409.
$ 

No updates available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant