I am building a few ports on my mips64, and pkg-config is taking a
REALLY long time to finish. It does finish, but the tasks it does
should not take minutes.
This is "top" while ports/net/mosh runs configure, looking for protobuf:
load averages: 1.00, 0.91, 0.56
edgepro.inet6.se 12:36:44
57 processes: 1 running, 54 idle, 2 on processor up
0 days 22:35:26
CPU0 states: 53.8% user, 26.9% nice, 11.5% sys, 0.0% spin, 0.0%
intr, 7.7% idle
CPU1 states: 18.5% user, 51.9% nice, 14.8% sys, 0.0% spin, 0.0%
intr, 14.8% idle
Memory: Real: 884M/5444M act/tot Free: 2660M Cache: 4120M Swap: 0K/211M
PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND
82954 root 79 10 51M 55M run/1 - 2:17 98.93%
/usr/bin/perl /usr/bin/pkg-config --cflags protobuf
the current line in config.log under pobj/mosh.../ says:
configure:10643: checking for protobuf
configure:10650: $PKG_CONFIG --exists --print-errors "protobuf"
configure:10653: $? = 0
and the command line is:
82954 /usr/bin/perl /usr/bin/pkg-config --cflags protobuf
Not sure what pkg-config is doing, but it should not take minutes to
figure out what cflags protobuf needs?
Few days old snapshot:
OpenBSD 7.6-current (GENERIC.MP) #287: Mon Jan 6 21:58:45 MST 2025
[email protected]:/usr/src/sys/arch/octeon/compile/GENERIC.MP
Help on how to make pkg-config as started from ports Makefile ->
configure run in debug-mode or with a log file somewhere appreciated
to help figure out this mystery.
--
May the most significant bit of your life be positive.