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

no szip formula #5

Open
ipatch opened this issue May 3, 2022 · 5 comments
Open

no szip formula #5

ipatch opened this issue May 3, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@ipatch
Copy link

ipatch commented May 3, 2022

homebrew-freecad ci is failing using this mojave tap as homebrew-core due to szip.rb formula dependency 🤷‍♂️


https://github.com/FreeCAD/homebrew-freecad/runs/6265538531?check_suite_focus=true#step:17:1669

@ipatch ipatch added the bug Something isn't working label May 3, 2022
@ipatch
Copy link
Author

ipatch commented May 3, 2022

and searching the commit history for szip it looks like it got replaced by libaec at some point

@ipatch
Copy link
Author

ipatch commented May 3, 2022

@ipatch
Copy link
Author

ipatch commented May 3, 2022

not sure if adding an entry to formula_renames.json might resolve this issue

@gromgit
Copy link
Owner

gromgit commented May 3, 2022

It might or might not, but since the intent of this repo is to mirror the main Homebrew core as closely as possible, I won't be modifying any config files except where absolutely necessary.

Sorry, but you'll have to change the dependency on the FreeCAD side--you'd have to do so for everyone using the main Homebrew core anyway.

@ipatch
Copy link
Author

ipatch commented May 3, 2022

i was trying to avoid setting up another fork of another repo 🙃 but your previous response made my decision easier for me.

either way since you're attempting mirror the upstream counterpart of this repo ie, homebrew/homebrew-core and have this "fork" work with mojave you're going to run into some issues with the current state of this repo one way or another.

doing a quick grep through this repo at its current state for sizp yields

rg --fixed-strings -- 'szip'
formula_renames.json
140:  "szip": "libaec",

Formula/vtk.rb
46:    depends_on "szip"

Formula/libaec.rb
21:  # These may have been linked by `szip` before keg_only change

Formula/[email protected]
45:    depends_on "szip"

Formula/cdo.rb
23:  depends_on "szip"
32:      --with-szlib=#{Formula["szip"].opt_prefix}

Formula/cgns.rb
22:  depends_on "szip"

Formula/pdal.rb
30:  depends_on "laszip"

Formula/laszip.rb
1:class Laszip < Formula
3:  homepage "https://laszip.org/"
4:  url "https://github.com/LASzip/LASzip/releases/download/3.4.3/laszip-src-3.4.3.tar.gz"
10:    root_url "https://github.com/gromgit/homebrew-core-mojave/releases/download/laszip"
24:    system ENV.cxx, pkgshare/"example/laszipdllexample.cpp", "-L#{lib}",
25:                    "-llaszip", "-llaszip_api", "-Wno-format", "-ldl", "-o", "test"

Formula/caffe.rb
32:  depends_on "szip"

on my local system. so anybody using this repo with homebrew/homebrew-test-bot will eventually run into above mentioned error if their formula crosses paths with any of the formula in the above results.

it looks the szip formula was never properly deprecated upstream, it seems like the maintainers just decided to remove references of it, even though there are tap migrations and formula renames.

just my two cents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants