On 2025/01/08 13:36, Theo Buehler wrote: > On Wed, Jan 08, 2025 at 12:24:48PM +0000, Stuart Henderson wrote: > > On 2025/01/08 12:55, Theo Buehler wrote: > > > On Wed, Jan 08, 2025 at 12:50:31PM +0100, Theo Buehler wrote: > > > > > Not sure what pkg-config is doing, but it should not take minutes to > > > > > figure out what cflags protobuf needs? > > > > > > > > It's a known issue. The reason is that abseil-cpp ships 100000 libraries > > > > with .pc files and parsing those takes an inordinate amount of time. > > > > Some improvements to the NIH pkg-config were made, but it's still not > > > > good enough. IMO it's just cutting it anymore. Unfortunately, attempts > > > > > > this should have read "It's just not cutting it anymore." > > > > > > > at using devel/pkgconf as a drop-in replacement failed so far (lang/rust > > > > doesn't build with it for one thing). > > > > > > > > > > > pkgconf isn't the answer, tines when running --cflags protobuf:
Nearly an hour and still running(!). I've ^C'd it now. > The one in ports is super old. With the master branch: > > $ time ./pkg-config --cflags protobuf >/dev/null > 0m00.01s real 0m00.02s user 0m00.00s system > > $ time pkg-config --cflags protobuf >/dev/null > 0m08.36s real 0m08.27s user 0m00.12s system > Confirmed here too.