Closed JSTNFPS closed 2 weeks ago
I solved this by downloading the commit (0c9b42a)
prior to this update that caused the problem and replacing the content in the src
folder inside the oh-my-zsh-git
which is inside the yay
folder in .cache
and opening a terminal in the oh-my-zsh-git
folder and using makepkg -si
I am still encountering the same issue even after copying the files over from the specific ohmyzsh commit.
Let me tell you, what i did.
Downloaded (0c9b42a)
from ohmyzsh repo
Went to ~/.cache/yay/oh-my-zsh-git/src
wiped the two files that were present, and pasted the contents of the downloaded commits inside it.
Changed directory back, and ran makepkg -si
Got the same error. Are you using the latest oh-my-zsh-git version i.e. oh-my-zsh-git r6192.be4a95297-1
? Or any older version?
For anyone who just want to build it successfully.
the error is due to the latest patch.
So please navigate to the PKGBUILD
Find that line then just comment it for now.
If the package updates soon, and the issue is fixed, you'll get the update too.
This workaround should not break it, as we are only removing the patch. (Ig the patch is not critical for functionality)
I just tried to comment that line out, when I run the install script again it still fails giving me the same error. After I get the same error I go back to the PKGBUILD file and the file got reverted back to default, thus removing my comment.
I am still encountering the same issue even after copying the files over from the specific ohmyzsh commit. Let me tell you, what i did. Downloaded
(0c9b42a)
from ohmyzsh repo Went to~/.cache/yay/oh-my-zsh-git/src
wiped the two files that were present, and pasted the contents of the downloaded commits inside it. Changed directory back, and ranmakepkg -si
Got the same error. Are you using the latest oh-my-zsh-git version i.e.oh-my-zsh-git r6192.be4a95297-1
? Or any older version?I solved this by downloading the commit
(0c9b42a)
prior to this update that caused the problem and replacing the content in thesrc
folder inside theoh-my-zsh-git
which is inside theyay
folder in.cache
and opening a terminal in theoh-my-zsh-git
folder and usingmakepkg -si
How would I be able to install that specific commit? Im using minimal arch and I'm quite new to linux as well so im still learning my way around things.
Ops I forgot to continue,
after editing the file , build oh-my-zsh first in archlinux:
makepkg -sfi
inside the PKGBUILD directory.
now oh-my-zsh should be installed .
Run the installer, then it should skip the oh-my-zsh as it is already installed
Noted, I'll give that a try and come back with updates, your help is very much appreciated! :D
Ops I forgot to continue,
after editing the file , build oh-my-zsh first in archlinux:
makepkg -sfi
inside the PKGBUILD directory.now oh-my-zsh should be installed .
Run the installer, then it should skip the oh-my-zsh as it is already installed
This worked perfectly! thank you very much
When attempting to install hyprdots, everything else works fine except the installation of oh-my-zsh. I get the following error.
==> Making package: oh-my-zsh-git r6192.be4a95297-1 (Sun 16 Jun 2024 06:47:36 PM EDT) ==> Retrieving sources... -> Updating oh-my-zsh-git git repo... -> Found 0001-zshrc.patch ==> Validating source files with sha256sums... oh-my-zsh-git ... Skipped 0001-zshrc.patch ... Passed ==> Making package: oh-my-zsh-git r6192.be4a95297-1 (Sun 16 Jun 2024 06:47:38 PM EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating oh-my-zsh-git git repo... -> Found 0001-zshrc.patch ==> Validating source files with sha256sums... oh-my-zsh-git ... Skipped 0001-zshrc.patch ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of oh-my-zsh-git git repo... Cloning into 'oh-my-zsh-git'... done. ==> Starting prepare()... patching file zshrc Hunk #1 FAILED at 1. Hunk #2 succeeded at 72 with fuzz 2 (offset 16 lines). Hunk #3 succeeded at 101 (offset 20 lines). 1 out of 3 hunks FAILED -- saving rejects to file zshrc.rej ==> ERROR: A failure occurred in prepare(). Aborting... error: failed to build 'oh-my-zsh-git-r6192.be4a95297-1': error: packages failed to build: oh-my-zsh-git-r6192.be4a95297-1