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

Failed to install clang-build-analyzer #14

Closed
JasonHK opened this issue Dec 22, 2024 · 7 comments · Fixed by #15
Closed

Failed to install clang-build-analyzer #14

JasonHK opened this issue Dec 22, 2024 · 7 comments · Fixed by #15

Comments

@JasonHK
Copy link

JasonHK commented Dec 22, 2024

The script failed on my DS923+, here's the log:

DSM Version: 7.2.2-72806 Update 2
CPU: AMD Ryzen Embedded R1600
Architecture: x86_64                                                                                      Starting Minimal Install...
Initializing environment variables...                System detected as LINUX                             Using HOMEBREW_PATH=/home/linuxbrew/.linuxbrew
Homebrew not found. Installing Homebrew...
==> Running in non-interactive mode because `$NONINTERACTIVE` is set.                                     ==> Checking for `sudo` access (which may request your password)...                                       ==> This script will install:
/home/linuxbrew/.linuxbrew/bin/brew
/home/linuxbrew/.linuxbrew/share/doc/homebrew
/home/linuxbrew/.linuxbrew/share/man/man1/brew.1
/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_brew
/home/linuxbrew/.linuxbrew/etc/bash_completion.d/brew
/home/linuxbrew/.linuxbrew/Homebrew
==> /usr/bin/sudo /bin/chown -R JasonHK:users /home/linuxbrew/.linuxbrew/Homebrew
==> Found Git: /bin/git                              ==> Found cURL: /bin/curl
==> Downloading and installing Homebrew...
==> Installation successful!                         
==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics data has been sent yet (nor will any be during this install run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations

Homebrew environment initialized.
Set ulimit -n to 2048.
Preparing to install packages for a LINUX system...
Starting package installations...
Installed glibc.
Installed gcc.
Installed git.
Installed ruby.
==> Fetching dependencies for clang-build-analyzer: llvm
==> Fetching llvm
==> Fetching clang-build-analyzer
==> Installing dependencies for clang-build-analyzer: llvm
==> Installing clang-build-analyzer dependency:
Failed to install clang-build-analyzer.
--------------------------PATH SET-------------------------------
/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
-----------------------------------------------------------------
Error: The YAML file './config.yaml' is invalid.
⚠️ Script exited with code 1.
🗑️ Removing sudoers file at '/etc/sudoers.d/custom_homebrew_sudoers'...
🗑️ Sudoers file removed.
🔒 Revoking sudo access...
🔒 Sudo access revoked.
@MrCee
Copy link
Owner

MrCee commented Dec 24, 2024

Are you able to show me the output when you uninstall clang-build-analyzer and install manually?

brew uninstall clang-build-analyzer
brew install clang-build-analyzer

@Dreamkiller711
Copy link

Are you able to show me the output when you uninstall clang-build-analyzer and install manually?

brew uninstall clang-build-analyzer
brew install clang-build-analyzer

I got the same error at the llvm installation too. I tried brew install clang-build-analyzer and received multiple Cannot write: No space left on device messages. Is it expected to create a /home folder instead of using my home folder residing in /var/services/homes/?

@MrCee
Copy link
Owner

MrCee commented Dec 29, 2024

@Dreamkiller711
We create a mount point so /home points to /volume1/homes and this needs to be restored during boot/ restart with the user defined script as mentioned here: https://github.com/MrCee/Synology-Homebrew#synology-task-scheduler-to-persist-installation-after-restart

Can I ask is your /var/services/homes symbolic link pointing to /volume1/homes ? [[ edit: I have made a code improvement to check the TARGET of /var/services/homes incase this is pointing to another volume]]

Also, make sure you have added the boot script. [[ edit: this has been updated to reflect the TARGET of /var/services/homes ]]

Let me know how you go.

@MrCee
Copy link
Owner

MrCee commented Dec 29, 2024

@JasonHK
are you able to confirm if you get the following when running this command as yourself and not root:

/bin/ls -la /home/linuxbrew

should display similar to this:

drwxr-xr-x  1 root root   20 Dec 29 13:12 .
drwxrwxrwx+ 1 root root  194 Dec 29 13:12 ..
drwxr-xr-x  1 JasonHK users 126 Dec 29 13:12 .linuxbrew

Please also let me know if /bin/ls -la /home/linuxbrew/.linuxbrew is similar to this except the dates.
The Homebrew directory should NOT have group write permission

drwxr-xr-x 1 JasonHK users   126 Dec 29 13:12 .
drwxr-xr-x 1 root root     20 Dec 29 13:12 ..
drwxrwx--- 1 JasonHK users  9594 Dec 29 22:19 bin
drwxrwx--- 1 JasonHK users     0 Dec 29 13:12 Caskroom
drwxrwx--- 1 JasonHK users  1024 Dec 29 22:19 Cellar
drwxrwx--- 1 JasonHK users   260 Dec 29 13:31 etc
drwxrwx--- 1 JasonHK users     0 Dec 29 13:12 Frameworks
drwx------ 1 JasonHK users   388 Dec 29 13:13 Homebrew
drwxrwx--- 1 JasonHK users  3338 Dec 29 13:29 include
drwxrwx--- 1 JasonHK users 40842 Dec 29 13:31 lib
drwxrwx--- 1 JasonHK users  1420 Dec 29 22:19 opt
drwxrwx--- 1 JasonHK users  1070 Dec 29 13:18 sbin
drwxrwx--- 1 JasonHK users   480 Dec 29 13:28 share
drwxrwx--- 1 JasonHK users    22 Dec 29 13:18 var

In your original example im not seeing the full log to stdout. It looks like it has been edited and lines removed and this doesn't help me.

for example this would help to see:

Homebrew not found. Installing Homebrew...
==> Running in non-interactive mode because `$NONINTERACTIVE` is set.
==> Checking for `sudo` access (which may request your password)...
==> This script will install:
/home/linuxbrew/.linuxbrew/bin/brew
/home/linuxbrew/.linuxbrew/share/doc/homebrew
/home/linuxbrew/.linuxbrew/share/man/man1/brew.1
/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_brew
/home/linuxbrew/.linuxbrew/etc/bash_completion.d/brew
/home/linuxbrew/.linuxbrew/Homebrew
==> The following new directories will be created:
/home/linuxbrew/.linuxbrew/bin
/home/linuxbrew/.linuxbrew/etc
/home/linuxbrew/.linuxbrew/include
/home/linuxbrew/.linuxbrew/lib
/home/linuxbrew/.linuxbrew/sbin
/home/linuxbrew/.linuxbrew/share
/home/linuxbrew/.linuxbrew/var
/home/linuxbrew/.linuxbrew/opt
/home/linuxbrew/.linuxbrew/share/zsh
/home/linuxbrew/.linuxbrew/share/zsh/site-functions
/home/linuxbrew/.linuxbrew/var/homebrew
/home/linuxbrew/.linuxbrew/var/homebrew/linked
/home/linuxbrew/.linuxbrew/Cellar
/home/linuxbrew/.linuxbrew/Caskroom
/home/linuxbrew/.linuxbrew/Frameworks
==> /usr/bin/sudo /usr/bin/install -d -o JasonHK -g users -m 0755 /home/linuxbrew/.linuxbrew

@MrCee
Copy link
Owner

MrCee commented Dec 29, 2024

@Dreamkiller711 's question:

Is it expected to create a /home folder instead of using my home folder residing in /var/services/homes/?

Yes, creating a /home directory at the top level is necessary for Linuxbrew to function correctly on a Synology NAS. Once you create this /home directory, it will be bind-mounted to the target location of /var/services/homes, which typically points to /volume1/homes.

If your homes directory is located on a different volume, the script will now automatically detect and adjust the mount point accordingly.

@JasonHK
Copy link
Author

JasonHK commented Dec 31, 2024

@MrCee I can confirm /bin/ls -la /home/linuxbrew and /bin/ls -la /home/linuxbrew/.linuxbrew match your sample output.

The logs missing some lines probably because that's not the first run of the install script, here's I uninstall and re-run the script: (still failed)

Working directory: /volume1/homes/JasonHK/Synology-Homebrew
=== Script Started at Wed Jan  1 02:09:08 AM CST 2025 ===
DARWIN: 0
HOMEBREW_PATH: /home/linuxbrew/.linuxbrew
USERNAME: JasonHK
USERGROUP: users
ROOTGROUP: root
🛠️ Setting up sudoers file...
Password:
📝 Installing sudoers file at '/etc/sudoers.d/custom_homebrew_sudoers'...
✅ Sudoers file installed successfully at '/etc/sudoers.d/custom_homebrew_sudoers'.
✅ Git is already installed.
✅ Sed operation: No changes needed in './config.yaml'.
✅ Sed operation: No changes needed in './config.yaml'.
Select your install type:

1) Minimal Install: This will provide the homebrew basics, ignore packages in config.yaml, leaving the rest to you.
   ** You can also use this option to uninstall packages in config.yaml installed by option 2 by running the script again.

2) Advanced Install: Full setup includes packages in config.yaml
   ** Recommended if you want to get started with Neovim or install some of the great packages listed.

Enter selection:
1
DSM Version: 7.2.2-72806 Update 2
CPU: AMD Ryzen Embedded R1600
Architecture: x86_64

Starting Minimal Install...
ℹ️ Git Commit: 7fb1337
✅ Your branch is up to date with origin/main.
Initializing environment variables...
System detected as LINUX
Using HOMEBREW_PATH=/home/linuxbrew/.linuxbrew
Unset HOMEBREW_GIT_PATH because git is not executable in HOMEBREW_PATH.
Homebrew not found. Installing Homebrew...
==> Running in non-interactive mode because `$NONINTERACTIVE` is set.
==> Checking for `sudo` access (which may request your password)...
==> This script will install:
/home/linuxbrew/.linuxbrew/bin/brew
/home/linuxbrew/.linuxbrew/share/doc/homebrew
/home/linuxbrew/.linuxbrew/share/man/man1/brew.1
/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_brew
/home/linuxbrew/.linuxbrew/etc/bash_completion.d/brew
/home/linuxbrew/.linuxbrew/Homebrew
==> The following new directories will be created:
/home/linuxbrew/.linuxbrew/bin
/home/linuxbrew/.linuxbrew/etc
/home/linuxbrew/.linuxbrew/include
/home/linuxbrew/.linuxbrew/lib
/home/linuxbrew/.linuxbrew/sbin
/home/linuxbrew/.linuxbrew/share
/home/linuxbrew/.linuxbrew/var
/home/linuxbrew/.linuxbrew/opt
/home/linuxbrew/.linuxbrew/share/zsh
/home/linuxbrew/.linuxbrew/share/zsh/site-functions
/home/linuxbrew/.linuxbrew/var/homebrew
/home/linuxbrew/.linuxbrew/var/homebrew/linked
/home/linuxbrew/.linuxbrew/Cellar
/home/linuxbrew/.linuxbrew/Caskroom
/home/linuxbrew/.linuxbrew/Frameworks
==> /usr/bin/sudo /usr/bin/install -d -o JasonHK -g users -m 0755 /home/linuxbrew/.linuxbrew
==> /usr/bin/sudo /bin/mkdir -p /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/var/homebrew /home/linuxbrew/.linuxbrew/var/homebrew/linked /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/Caskroom /home/linuxbrew/.linuxbrew/Frameworks
==> /usr/bin/sudo /bin/chmod ug=rwx /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/var/homebrew /home/linuxbrew/.linuxbrew/var/homebrew/linked /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/Caskroom /home/linuxbrew/.linuxbrew/Frameworks
==> /usr/bin/sudo /bin/chmod go-w /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions
==> /usr/bin/sudo /bin/chown JasonHK /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/var/homebrew /home/linuxbrew/.linuxbrew/var/homebrew/linked /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/Caskroom /home/linuxbrew/.linuxbrew/Frameworks
==> /usr/bin/sudo /bin/chgrp users /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/var/homebrew /home/linuxbrew/.linuxbrew/var/homebrew/linked /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/Caskroom /home/linuxbrew/.linuxbrew/Frameworks
==> /usr/bin/sudo /bin/mkdir -p /home/linuxbrew/.linuxbrew/Homebrew
==> /usr/bin/sudo /bin/chown -R JasonHK:users /home/linuxbrew/.linuxbrew/Homebrew
==> Found Git: /bin/git
==> Found cURL: /bin/curl
==> Downloading and installing Homebrew...
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics data has been sent yet (nor will any be during this install run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations

Homebrew environment initialized.
Set ulimit -n to 2048.
Preparing to install packages for a LINUX system...
Starting package installations...
==> Fetching dependencies for glibc: [email protected]
==> Fetching [email protected]
==> Fetching glibc
==> Installing dependencies for glibc: [email protected]
==> Installing glibc dependency: [email protected]
🍺  /home/linuxbrew/.linuxbrew/Cellar/[email protected]/5.15.175: 961 files, 5.5MB
==> Installing glibc
==> /home/linuxbrew/.linuxbrew/Cellar/glibc/2.35_1/sbin/ldconfig
==> Installing locale data for en_US.UTF-8 en_US.utf8
==> /home/linuxbrew/.linuxbrew/Cellar/glibc/2.35_1/bin/localedef -i en_US -f UTF-8 en_US.UTF-8
==> /home/linuxbrew/.linuxbrew/Cellar/glibc/2.35_1/bin/localedef -i en_US -f UTF-8 en_US.utf8
==> Caveats
The Homebrew's Glibc has been installed with the following executables:
  /home/linuxbrew/.linuxbrew/opt/glibc/bin/ldd
  /home/linuxbrew/.linuxbrew/opt/glibc/bin/ld.so
  /home/linuxbrew/.linuxbrew/opt/glibc/sbin/ldconfig

By default, Homebrew's linker will not search for the system's libraries. If you
want Homebrew to do so, run:

  cp "/home/linuxbrew/.linuxbrew/etc/ld.so.conf.d/99-system-ld.so.conf.example" "/home/linuxbrew/.linuxbrew/etc/ld.so.conf.d/99-system-ld.so.conf"
  brew postinstall glibc

to append the system libraries to Homebrew's ld search paths. This is risky and
**highly not recommended**, because it may cause linkage to Homebrew libraries
mixed with system libraries.

glibc is keg-only, which means it was not symlinked into /home/linuxbrew/.linuxbrew,
because it can shadow system glibc if linked.

If you need to have glibc first in your PATH, run:
  echo 'export PATH="/home/linuxbrew/.linuxbrew/opt/glibc/bin:$PATH"' >> ~/.profile
  echo 'export PATH="/home/linuxbrew/.linuxbrew/opt/glibc/sbin:$PATH"' >> ~/.profile

For compilers to find glibc you may need to set:
  export LDFLAGS="-L/home/linuxbrew/.linuxbrew/opt/glibc/lib"
  export CPPFLAGS="-I/home/linuxbrew/.linuxbrew/opt/glibc/include"
==> Summary
🍺  /home/linuxbrew/.linuxbrew/Cellar/glibc/2.35_1: 1,405 files, 46.9MB
==> Running `brew cleanup glibc`...
==> Caveats
==> glibc
The Homebrew's Glibc has been installed with the following executables:
  /home/linuxbrew/.linuxbrew/opt/glibc/bin/ldd
  /home/linuxbrew/.linuxbrew/opt/glibc/bin/ld.so
  /home/linuxbrew/.linuxbrew/opt/glibc/sbin/ldconfig

By default, Homebrew's linker will not search for the system's libraries. If you
want Homebrew to do so, run:

  cp "/home/linuxbrew/.linuxbrew/etc/ld.so.conf.d/99-system-ld.so.conf.example" "/home/linuxbrew/.linuxbrew/etc/ld.so.conf.d/99-system-ld.so.conf"
  brew postinstall glibc

to append the system libraries to Homebrew's ld search paths. This is risky and
**highly not recommended**, because it may cause linkage to Homebrew libraries
mixed with system libraries.

glibc is keg-only, which means it was not symlinked into /home/linuxbrew/.linuxbrew,
because it can shadow system glibc if linked.

If you need to have glibc first in your PATH, run:
  echo 'export PATH="/home/linuxbrew/.linuxbrew/opt/glibc/bin:$PATH"' >> ~/.profile
  echo 'export PATH="/home/linuxbrew/.linuxbrew/opt/glibc/sbin:$PATH"' >> ~/.profile

For compilers to find glibc you may need to set:
  export LDFLAGS="-L/home/linuxbrew/.linuxbrew/opt/glibc/lib"
  export CPPFLAGS="-I/home/linuxbrew/.linuxbrew/opt/glibc/include"
Installed glibc.
==> Fetching dependencies for gcc: gmp, isl, mpfr, libmpc, lz4, xz, zlib, zstd and binutils
==> Fetching gmp
==> Fetching isl
==> Fetching mpfr
==> Fetching libmpc
==> Fetching lz4
==> Fetching xz
==> Fetching zlib
==> Fetching zstd
==> Fetching binutils
==> Fetching gcc
==> Installing dependencies for gcc: gmp, isl, mpfr, libmpc, lz4, xz, zlib, zstd and binutils
==> Installing gcc dependency: gmp
🍺  /home/linuxbrew/.linuxbrew/Cellar/gmp/6.3.0: 24 files, 3.9MB
==> Installing gcc dependency: isl
🍺  /home/linuxbrew/.linuxbrew/Cellar/isl/0.27: 75 files, 9.8MB
==> Installing gcc dependency: mpfr
🍺  /home/linuxbrew/.linuxbrew/Cellar/mpfr/4.2.1: 32 files, 3.9MB
==> Installing gcc dependency: libmpc
🍺  /home/linuxbrew/.linuxbrew/Cellar/libmpc/1.3.1: 14 files, 620.4KB
==> Installing gcc dependency: lz4
🍺  /home/linuxbrew/.linuxbrew/Cellar/lz4/1.10.0: 24 files, 764.3KB
==> Installing gcc dependency: xz
🍺  /home/linuxbrew/.linuxbrew/Cellar/xz/5.6.3: 97 files, 2.0MB
==> Installing gcc dependency: zlib
🍺  /home/linuxbrew/.linuxbrew/Cellar/zlib/1.3.1: 14 files, 445.5KB
==> Installing gcc dependency: zstd
🍺  /home/linuxbrew/.linuxbrew/Cellar/zstd/1.5.6: 32 files, 2.9MB
==> Installing gcc dependency: binutils
🍺  /home/linuxbrew/.linuxbrew/Cellar/binutils/2.43.1: 6,513 files, 510MB
==> Installing gcc
==> Creating the GCC specs file: /home/linuxbrew/.linuxbrew/Cellar/gcc/14.2.0_1/bin/../lib/gcc/current/gcc/x86_64-pc-linux-gnu/14/specs
🍺  /home/linuxbrew/.linuxbrew/Cellar/gcc/14.2.0_1: 2,105 files, 564MB
==> Running `brew cleanup gcc`...
Installed gcc.
==> Fetching dependencies for git: libunistring, acl, icu4c@76, ncurses, readline, libxml2, gettext, bzip2, pcre2, ca-certificates, openssl@3, brotli, libnghttp2, libssh2, rtmpdump, libidn2, libedit, krb5, libxcrypt, sqlite, util-linux, openldap, curl and expat
==> Fetching libunistring
==> Fetching acl
==> Fetching icu4c@76
==> Fetching ncurses
==> Fetching readline
==> Fetching libxml2
==> Fetching gettext
==> Fetching bzip2
==> Fetching pcre2
==> Fetching ca-certificates
==> Fetching openssl@3
==> Fetching brotli
==> Fetching libnghttp2
==> Fetching libssh2
==> Fetching rtmpdump
==> Fetching libidn2
==> Fetching libedit
==> Fetching krb5
==> Fetching libxcrypt
==> Fetching sqlite
==> Fetching util-linux
==> Fetching openldap
==> Fetching curl
==> Fetching expat
==> Fetching git
==> Installing dependencies for git: libunistring, acl, icu4c@76, ncurses, readline, libxml2, gettext, bzip2, pcre2, ca-certificates, openssl@3, brotli, libnghttp2, libssh2, rtmpdump, libidn2, libedit, krb5, libxcrypt, sqlite, util-linux, openldap, curl and expat
==> Installing git dependency: libunistring
🍺  /home/linuxbrew/.linuxbrew/Cellar/libunistring/1.3: 60 files, 5.9MB
==> Installing git dependency: acl
🍺  /home/linuxbrew/.linuxbrew/Cellar/acl/2.3.2: 71 files, 594.7KB
==> Installing git dependency: icu4c@76
🍺  /home/linuxbrew/.linuxbrew/Cellar/icu4c@76/76.1_1: 277 files, 88.7MB
==> Installing git dependency: ncurses
🍺  /home/linuxbrew/.linuxbrew/Cellar/ncurses/6.5: 4,037 files, 10.7MB
==> Installing git dependency: readline
🍺  /home/linuxbrew/.linuxbrew/Cellar/readline/8.2.13: 51 files, 2MB
==> Installing git dependency: libxml2
🍺  /home/linuxbrew/.linuxbrew/Cellar/libxml2/2.13.5: 136 files, 8.2MB
==> Installing git dependency: gettext
🍺  /home/linuxbrew/.linuxbrew/Cellar/gettext/0.23: 2,052 files, 22.7MB
==> Installing git dependency: bzip2
🍺  /home/linuxbrew/.linuxbrew/Cellar/bzip2/1.0.8: 32 files, 573.3KB
==> Installing git dependency: pcre2
🍺  /home/linuxbrew/.linuxbrew/Cellar/pcre2/10.44: 241 files, 7.3MB
==> Installing git dependency: ca-certificates
🍺  /home/linuxbrew/.linuxbrew/Cellar/ca-certificates/2024-12-31: 4 files, 233.6KB
==> Installing git dependency: openssl@3
🍺  /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.4.0: 7,246 files, 39.9MB
==> Installing git dependency: brotli
🍺  /home/linuxbrew/.linuxbrew/Cellar/brotli/1.1.0: 25 files, 969KB
==> Installing git dependency: libnghttp2
🍺  /home/linuxbrew/.linuxbrew/Cellar/libnghttp2/1.64.0: 15 files, 892.0KB
==> Installing git dependency: libssh2
🍺  /home/linuxbrew/.linuxbrew/Cellar/libssh2/1.11.1: 202 files, 1.4MB
==> Installing git dependency: rtmpdump
🍺  /home/linuxbrew/.linuxbrew/Cellar/rtmpdump/2.4-20151223_3: 21 files, 593.9KB
==> Installing git dependency: libidn2
🍺  /home/linuxbrew/.linuxbrew/Cellar/libidn2/2.3.7: 82 files, 1022.2KB
==> Installing git dependency: libedit
🍺  /home/linuxbrew/.linuxbrew/Cellar/libedit/20240808-3.1: 55 files, 754KB
==> Installing git dependency: krb5
🍺  /home/linuxbrew/.linuxbrew/Cellar/krb5/1.21.3: 164 files, 5.2MB
==> Installing git dependency: libxcrypt
🍺  /home/linuxbrew/.linuxbrew/Cellar/libxcrypt/4.4.37: 25 files, 338.8KB
==> Installing git dependency: sqlite
🍺  /home/linuxbrew/.linuxbrew/Cellar/sqlite/3.47.2: 13 files, 6.3MB
==> Installing git dependency: util-linux
🍺  /home/linuxbrew/.linuxbrew/Cellar/util-linux/2.40.2: 443 files, 25.4MB
==> Installing git dependency: openldap
🍺  /home/linuxbrew/.linuxbrew/Cellar/openldap/2.6.9: 344 files, 8.8MB
==> Installing git dependency: curl
🍺  /home/linuxbrew/.linuxbrew/Cellar/curl/8.11.1: 532 files, 4.9MB
==> Installing git dependency: expat
🍺  /home/linuxbrew/.linuxbrew/Cellar/expat/2.6.4: 23 files, 857.6KB
==> Installing git
==> Caveats
The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula.
Subversion interoperability (git-svn) is now in the `git-svn` formula.

Bash completion has been installed to:
  /home/linuxbrew/.linuxbrew/etc/bash_completion.d
==> Summary
🍺  /home/linuxbrew/.linuxbrew/Cellar/git/2.47.1: 1,683 files, 59.9MB
==> Running `brew cleanup git`...
==> Caveats
==> git
The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula.
Subversion interoperability (git-svn) is now in the `git-svn` formula.

Bash completion has been installed to:
  /home/linuxbrew/.linuxbrew/etc/bash_completion.d
Installed git.
==> Fetching dependencies for ruby: libyaml, gperf and libffi
==> Fetching libyaml
==> Fetching gperf
==> Fetching libffi
==> Fetching ruby
==> Installing dependencies for ruby: libyaml, gperf and libffi
==> Installing ruby dependency: libyaml
🍺  /home/linuxbrew/.linuxbrew/Cellar/libyaml/0.2.5: 12 files, 387.1KB
==> Installing ruby dependency: gperf
🍺  /home/linuxbrew/.linuxbrew/Cellar/gperf/3.1: 12 files, 538.3KB
==> Installing ruby dependency: libffi
🍺  /home/linuxbrew/.linuxbrew/Cellar/libffi/3.4.6: 19 files, 733.7KB
==> Installing ruby
==> Caveats
By default, binaries installed by gem will be placed into:
  /home/linuxbrew/.linuxbrew/lib/ruby/gems/3.4.0/bin

You may want to add this to your PATH.

Emacs Lisp files have been installed to:
  /home/linuxbrew/.linuxbrew/share/emacs/site-lisp/ruby
==> Summary
🍺  /home/linuxbrew/.linuxbrew/Cellar/ruby/3.4.1: 20,206 files, 55.8MB
==> Running `brew cleanup ruby`...
==> Caveats
==> ruby
By default, binaries installed by gem will be placed into:
  /home/linuxbrew/.linuxbrew/lib/ruby/gems/3.4.0/bin

You may want to add this to your PATH.

Emacs Lisp files have been installed to:
  /home/linuxbrew/.linuxbrew/share/emacs/site-lisp/ruby
Installed ruby.
==> Fetching dependencies for clang-build-analyzer: mpdecimal, berkeley-db@5, libtirpc, libnsl, unzip, [email protected], z3, elfutils and llvm
==> Fetching mpdecimal
==> Fetching berkeley-db@5
==> Fetching libtirpc
==> Fetching libnsl
==> Fetching unzip
==> Fetching [email protected]
==> Fetching z3
==> Fetching elfutils
==> Fetching llvm
==> Fetching clang-build-analyzer
==> Installing dependencies for clang-build-analyzer: mpdecimal, berkeley-db@5, libtirpc, libnsl, unzip, [email protected], z3, elfutils and llvm
==> Installing clang-build-analyzer dependency: mpdecimal
🍺  /home/linuxbrew/.linuxbrew/Cellar/mpdecimal/4.0.0: 22 files, 763.8KB
==> Installing clang-build-analyzer dependency: berkeley-db@5
🍺  /home/linuxbrew/.linuxbrew/Cellar/berkeley-db@5/5.3.28_1: 5,272 files, 87.5MB
==> Installing clang-build-analyzer dependency: libtirpc
🍺  /home/linuxbrew/.linuxbrew/Cellar/libtirpc/1.3.6: 86 files, 1MB
==> Installing clang-build-analyzer dependency: libnsl
🍺  /home/linuxbrew/.linuxbrew/Cellar/libnsl/2.0.1: 18 files, 173.4KB
==> Installing clang-build-analyzer dependency: unzip
🍺  /home/linuxbrew/.linuxbrew/Cellar/unzip/6.0_8: 17 files, 578.2KB
==> Installing clang-build-analyzer dependency: [email protected]
==> /home/linuxbrew/.linuxbrew/Cellar/[email protected]/3.13.1/bin/python3.13 -Im ensurepip
==> /home/linuxbrew/.linuxbrew/Cellar/[email protected]/3.13.1/bin/python3.13 -Im pip install -v --no-index --upgrade --isolated --target=/home/linuxbrew/.linuxbrew/lib/python3.13/site-packages /home/linuxbrew/.linuxbrew/Cellar/[email protected]/3.13.1/lib/python3.13/ensurepip/_bundled/pip-24.3.1-py3-none-any.whl /home/linuxbrew/.linuxbrew/Cellar/[email protected]/3.13.1/libexec/wheel-0.45.1-py3-none-any.whl
🍺  /home/linuxbrew/.linuxbrew/Cellar/[email protected]/3.13.1: 2,821 files, 68.9MB
==> Installing clang-build-analyzer dependency: z3
🍺  /home/linuxbrew/.linuxbrew/Cellar/z3/4.13.4: 120 files, 43.4MB
==> Installing clang-build-analyzer dependency: elfutils
🍺  /home/linuxbrew/.linuxbrew/Cellar/elfutils/0.192: 113 files, 7.6MB
==> Installing clang-build-analyzer dependency: llvm
Failed to install clang-build-analyzer.
--------------------------PATH SET-------------------------------
/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
-----------------------------------------------------------------
Error: The YAML file './config.yaml' is invalid.

⚠️ Script exited with code 1.
🗑️ Removing sudoers file at '/etc/sudoers.d/custom_homebrew_sudoers'...
🗑️ Sudoers file removed.
🔒 Revoking sudo access...
🔒 Sudo access revoked.

MrCee added a commit that referenced this issue Jan 3, 2025
Remove clang-build-analyser
Install python3

If further functionality CBA provided is still required, it will be
provided shortly.

Fixes: #14
MrCee added a commit that referenced this issue Jan 3, 2025
Remove clang-build-analyser
Install python3

If further functionality CBA provided is still required, it will be
provided shortly.

Fixes: #14
@MrCee MrCee closed this as completed in #15 Jan 3, 2025
MrCee added a commit that referenced this issue Jan 3, 2025
Remove clang-build-analyser
Install python3

If further functionality CBA provided is still required, it will be
provided shortly.

Fixes: #14
MrCee added a commit that referenced this issue Jan 3, 2025
Remove clang-build-analyser
Install python3

If further functionality CBA provided is still required, it will be
provided shortly.

Fixes: #14
@MrCee
Copy link
Owner

MrCee commented Jan 3, 2025

@JasonHK ,
Thanks for the detailed log.
My workflow closed this automatically.
Let me know how you go / re-open if there is more I need to consider.

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

Successfully merging a pull request may close this issue.

3 participants