macOS, Hombrew and KAte

Jack ostroffjh at users.sourceforge.net
Mon Jul 18 20:53:20 BST 2022


On 2022.07.18 13:30, Yoann LE BARS wrote:
> 
> Hello, everybody out there!
> 
> 	I am mostly used to Linux, but right now I have to use a  
> computer running macOS. I want to install Kate and KDEvelop on it – I  
> really like these tools, by the way, thank you for this very good job.
> 
> 	The DMG installer did work for Kate, but not for KDEvelop. So I  
> figured out I rather install them with Hombrew, and I have already  
> used it. I have installed KDE specific Hombrew repository  
> (https://invent.kde.org/packaging/homebrew-kde).
> 
> 	Then, I have uninstalled Kate and try to install it back, this  
> time using Homebrew, but I got the error given at the end of this  
> message. As I am quite new in using macOS, I must say I do not really  
> know what I should do. Can anyone help me?
> 
> 	Best regards.
> 
> 
> The error message:
> 
> ==> Installing kde-mac/kde/kate dependency:  
> kde-mac/kde/kf5-plasma-frame
> ==> Patching
> ==> Applying dff1b034c1162062aa2292099d3d01fc53dafdf6.diff
> patching file CMakeLists.txt
> Hunk #1 FAILED at 118.
> 1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej
> patching file src/declarativeimports/core/CMakeLists.txt
> Hunk #1 FAILED at 70.
> 1 out of 1 hunk FAILED -- saving rejects to file  
> src/declarativeimports/core/CMakeLists.txt.rej
I don't use a Mac or Homebrew at all, but I'd say you need to start by  
finding out why the patch doesn't apply cleanly.  You can start by  
looking in those reject files, although that might not really tell you  
much.   If there is a forum or mailing list or bugtracker for where you  
get the homebrew recipe (is that even the right term?) I'd start by  
looking there.  It's possible the patches simply have not been updated  
for the latest version of the plasma framework (kf5-plasma-frame).
> 
> Do not report this issue to Homebrew/brew or Homebrew/core!
Too bad it doesn't say where you CAN report it, but it means it's not a  
bug in the homebrew software itself, but likely in the specific brew  
for kf5-plasma-frame.
> 
> /opt/homebrew/Library/Homebrew/utils/github/api.rb:304:in  
> `raise_error': Validation Failed: [{"message"=>"The listed users and  
> repositories cannot be searched either because the resources do not  
> exist or you do not have permission to view them.",  
> "resource"=>"Search", "field"=>"q", "code"=>"invalid"}]  
> (GitHub::API::ValidationFailedError)
> 	from /opt/homebrew/Library/Homebrew/utils/github/api.rb:234:in  
> `open_rest'
> 	from /opt/homebrew/Library/Homebrew/utils/github.rb:173:in  
> `search'
> 	from /opt/homebrew/Library/Homebrew/utils/github.rb:34:in  
> `search_issues'
> 	from /opt/homebrew/Library/Homebrew/utils/github.rb:67:in  
> `issues_for_formula'
> 	from /opt/homebrew/Library/Homebrew/exceptions.rb:486:in  
> `fetch_issues'
> 	from /opt/homebrew/Library/Homebrew/exceptions.rb:482:in  
> `issues'
> 	from /opt/homebrew/Library/Homebrew/exceptions.rb:536:in `dump'
> 	from /opt/homebrew/Library/Homebrew/brew.rb:140:in `rescue in  
> <main>'
> 	from /opt/homebrew/Library/Homebrew/brew.rb:128:in `<main>'
> /opt/homebrew/Library/Homebrew/patch.rb:166:in `rescue in apply':  
> Failed executing: patch -g 0 -f -p1 -i  
> /private/tmp/kf5-plasma-framework--patch-20220718-58553-1gzz3dq/dff1b034c1162062aa2292099d3d01fc53dafdf6.diff  
> (BuildError)
> 	from /opt/homebrew/Library/Homebrew/patch.rb:138:in `apply'
> 	from /opt/homebrew/Library/Homebrew/formula.rb:1270:in `each'
> 	from /opt/homebrew/Library/Homebrew/formula.rb:1270:in `patch'
> 	from /opt/homebrew/Library/Homebrew/build.rb:144:in `block (3  
> levels) in install'
> 	from /opt/homebrew/Library/Homebrew/utils.rb:601:in `with_env'
> 	from /opt/homebrew/Library/Homebrew/build.rb:134:in `block (2  
> levels) in install'
> 	from /opt/homebrew/Library/Homebrew/formula.rb:1286:in `block  
> in brew'
> 	from /opt/homebrew/Library/Homebrew/formula.rb:2462:in `block  
> (2 levels) in stage'
> 	from /opt/homebrew/Library/Homebrew/utils.rb:601:in `with_env'
> 	from /opt/homebrew/Library/Homebrew/formula.rb:2461:in `block  
> in stage'
> 	from /opt/homebrew/Library/Homebrew/resource.rb:130:in `block  
> (2 levels) in unpack'
> 	from /opt/homebrew/Library/Homebrew/download_strategy.rb:115:in  
> `chdir'
> 	from /opt/homebrew/Library/Homebrew/download_strategy.rb:115:in  
> `chdir'
> 	from /opt/homebrew/Library/Homebrew/download_strategy.rb:102:in  
> `stage'
> 	from /opt/homebrew/Library/Homebrew/resource.rb:126:in `block  
> in unpack'
> 	from /opt/homebrew/Library/Homebrew/mktemp.rb:63:in `block in  
> run'
> 	from /opt/homebrew/Library/Homebrew/mktemp.rb:63:in `chdir'
> 	from /opt/homebrew/Library/Homebrew/mktemp.rb:63:in `run'
> 	from /opt/homebrew/Library/Homebrew/resource.rb:239:in `mktemp'
> 	from /opt/homebrew/Library/Homebrew/resource.rb:125:in `unpack'
> 	from /opt/homebrew/Library/Homebrew/resource.rb:99:in `stage'
> 	from  
> /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/forwardable.rb:230:in  
> `stage'
> 	from /opt/homebrew/Library/Homebrew/formula.rb:2441:in `stage'
> 	from /opt/homebrew/Library/Homebrew/formula.rb:1279:in `brew'
> 	from /opt/homebrew/Library/Homebrew/build.rb:129:in `block in  
> install'
> 	from /opt/homebrew/Library/Homebrew/utils.rb:601:in `with_env'
> 	from /opt/homebrew/Library/Homebrew/build.rb:124:in `install'
> 	from /opt/homebrew/Library/Homebrew/build.rb:224:in `<main>'
> 
>-- 
> Yoann LE BARS
> https://le-bars.net/yoann/
> 


More information about the kde-community mailing list