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 Failure]: Linux #747

Open
3 tasks
uliw opened this issue Nov 1, 2024 · 2 comments
Open
3 tasks

[Build Failure]: Linux #747

uliw opened this issue Nov 1, 2024 · 2 comments

Comments

@uliw
Copy link

uliw commented Nov 1, 2024

Version

emacs-plus@30

Make sure to follow these steps before submitting the issue

  • run brew update and try to reproduce the issue again
  • run brew doctor, fix all issues and try to reproduce your issue again
  • try to reproduce your issue without any custom options to the formula

What happened?

brew install d12frosted/emacs-plus/emacs-plus@30 --with-x11 --with-native-comp --with-imagemagick --without-cocoa

  Command output
  
  ==> Fetching d12frosted/emacs-plus/emacs-plus@30
==> Downloading https://alpha.gnu.org/gnu/emacs/pretest/emacs-30.0.92.tar.xz
############################################################################################################################################# 100.0%
==> Installing emacs-plus@30 from d12frosted/emacs-plus
==> Patching
==> Applying fix-window-role.patch
==> Applying system-appearance.patch
==> Applying round-undecorated-frame.patch
==> ImageMagick PKG_CONFIG_PATH: 
/home/linuxbrew/.linuxbrew/opt/imagemagick/lib/pkgconfig
==> ./autogen.sh
==> ./configure --disable-silent-rules --enable-locallisppath=/home/linuxbrew/.linuxbrew/share/emacs/site-lisp --infodir=/home/linuxbrew/.linuxbrew/
Error: An exception occurred within a child process:
  NameError: uninitialized constant Formulary::FormulaNamespaceed0da82beb322f6c49ad12bd60f276ae70bb818aa18ea780f2e8ad4e2063af4b::EmacsPlusAT30::MacOS


  

brew doctor output

Your system is ready to brew.

brew config output

OMEBREW_VERSION: 4.4.3
ORIGIN: https://github.com/Homebrew/brew
HEAD: 91f3671b16fe62121364c465c14e0dfd088d7ead
Last commit: 5 days ago
Core tap JSON: 01 Nov 13:38 UTC
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: :1
HOMEBREW_MAKE_JOBS: 24
Homebrew Ruby: 3.3.5 => /usr/bin/ruby.ruby3.3
CPU: 24-core 64-bit zen3
Clang: N/A
Git: 2.46.1 => /bin/git
Curl: 8.10.1 => /bin/curl
Kernel: Linux 6.11.2-1-default x86_64 GNU/Linux
OS: openSUSE Tumbleweed
Host glibc: 2.40
/usr/bin/gcc: 14.2.0
/usr/bin/ruby: 3.3.5
glibc: N/A
gcc@11: N/A
gcc: 14.2.0_1
xorg: N/A

Any extra information

Thanks for looking into this

@mishok13
Copy link

mishok13 commented Nov 6, 2024

Ran into the same issue, which I believe is related to this patch that landed in Homebrew 4.4.0. Seems that MacOS variable is now undefined (instead of being a dummy var) and proper check should be done with OS.mac? && MacOS.version <= :mojave in all formulas.

@mishok13
Copy link

@d12frosted would there be any interest in the fix for this? I have a PR in the works in my fork, however I don't know if you'd be willing to extend GH Actions to also cover linuxbrew. I'm happy to strip down the patch to just the fix while leaving CI as-is if that's what you'd prefer.

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

2 participants