Closed timsutton closed 3 months ago
To clarify, I can build the libs if I set -DBUILD_SAMPLES=OFF
. So it seems the issue is mainly with the sample code?
thanks for reporting this issue @timsutton. I tried to reproduce locally on MacOS 14.2 but the build completes correctly.
Did you have any luck reproducing locally? That would help us understand the issue and work on a fix
Just to confirm is your repro on an Apple Silicon machine?
I can repro it locally (on AS) within the same context that a brew build is done, via a brew install --build-from-source proxygen
on a branch that bumps these various shared libraries, like this one. I think the basic instructions to recreate it would be (assuming gh
CLI is installed):
brew tap homebrew/core
cd $(brew --prefix)/Library/Taps/homebrew/homebrew-core
gh pr checkout 160044
export HOMEBREW_NO_INSTALL_FROM_API=1
# (I might have some of the deps orderings wrong here, this is to ensure they're all built via brew from the same 2024.01.15 revision)
brew install -s mvfst
brew install -s folly fizz wangle
brew install -s proxygen
# ^ should fail, you can add the --debug to give the option to drop into a shell in the proper build env, when it errors
Separately I just tried to see about doing a local build from the repo directly and leaving homebrew out of it, but when I ran build.sh
from the proxygen I hit a snag during the Folly build: https://gist.github.com/timsutton/514f2ddc79337dc212f533fb4a690352
If I wanted to try setting up the build differently (as CI does) I could try and follow through the GitHub actions flow here. It looks like the CI uses macOS 12 with Xcode 14.2. Haven't yet tried that though.
I was able to figure out which commit broke it https://github.com/facebook/proxygen/commit/1a9557d9a481ea60ca7142b15f34528894730f7f
I am however still working on reproducing the build error locally (on a macbook air M2 on Sonoma 14.2.1)
I hit a snag during the Folly build:
Yeah this seems to be an issue with the build.sh script that is somehow picking up the homebrew version (v10) of the fmt library instead of the one that it installs itself (v9).
Can you try brew uninstall --ignore-dependencies fmt
and rerun build.sh?
I was able to repro and will land a fix soon.
please reopen if the patch doesn't fix the issue
@lnicco Thanks for the fix! Confirmed it fixes the issue, much appreciated!
👋 Hello, proxygen is part of the homebrew-core repository and we've been having issues bumping it since September. Currently it seems like the build error is on building (within samples?) libhttpperf2 for
quic::samples::HQLoggerHelper::HQLoggerHelper
. Wondered if you have suggestions for how to resolve it?More context and full build logs are over here in the
Full install --build-bottle proxygen
output.