-
Notifications
You must be signed in to change notification settings - Fork 279
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
Changes to compile on MacOS (Darwin) #2323
Conversation
Hi, just checking in on this one - thought I would explain the use-case. I am building My findings are:
With the workarounds above, I can fully support my use-case building >4000 packages. Even if this is a borderline use-case for
This is hopefully sufficient to spot the error for somebody intimate with the codebase (not me). Let me know if there is interest in any of the above. |
dc400d7
to
8dd2822
Compare
After rebasing the compression stream errors disappeared. The rebased code properly uses libarchive from pkg-config. |
I think the changes look generally reasonable although I'm not sure what to make of the |
Hi Ed, sorry, the ... were unintentionally committed here. I am cleaning this up as we speak. |
…url and openssl from pkg-config .
Hi Ed, so here is the revised patch. The source changes are all needed for MacOS only, they are the same as the ones in the initial patch. With this both Ubuntu as well as MacOS compile here on GitHub. The compilations on GitHub run kyua on 3 different OS-es, twice on MacOS to demonstrate the As a summary, note that only Ubuntu 22.04/amd64 actually produces no errors. All of the artefacts are linked above in the checks, or can be looked at at https://github.com/kevemueller/pkg/actions/runs/11785029973 Hope that this can be merged to trigger overall improvement on the codebase and the build system. Cheers, |
Small changes needed to compile on MacOS.
Cannot test on other architectures right now.
Updated to recent improvements in configure/pkg-config of libarchive, libcurl.
Build with:
brew install pkg-config libarchive openssl PKG_CONFIG_PATH="$(brew --prefix libarchive)/lib/pkgconfig" ./configure --prefix=/tmp/pkg --with-libarchive.pc --with-libcurl --with-openssl.pc