I wonder if it is a race condition in the Makefile. libmux.so is built from code in the package. It isn't an external dependency. From the Makefile:
MUX_LIBS = -lmux ... all: libmux.so netmux slave stubslave links subdirs ... stubslave: stubslave.o $(CXX) $(ALLCXXFLAGS) -o stubslave stubslave.o -L. $(LIBS) $(MUX_LIBS) $(STUBLIBS) I bet that should be stubslave: stubslave.o libmux.so $(CXX) $(ALLCXXFLAGS) -o stubslave stubslave.o -L. $(LIBS) $(MUX_LIBS) $(STUBLIBS) This has probably been an issue forever, but no one has tried to build it on enough cores, yet. And, likewise, I won't know for certain that it is fixed without someone without enough cores. Stephen On Tue, Jul 26, 2022 at 8:03 PM Adam Borowski <kilob...@angband.pl> wrote: > On Tue, Jul 26, 2022 at 03:29:03PM -0600, Stephen Dennis wrote: > > * Package name : tinymux > > Version : 2.12.0.10-1 > > > tinymux (2.12.0.10-1) unstable; urgency=medium > > . > > * New upstream release > > + fixes ftbfs with GCC-12. (Closes: #1013053) > > * Update Standards-Version in debian/control from 4.0.1 to 4.6.1. > > + Removed build date and number for reproducible build. > > (Closes: #866945) > > Alas, it fails to build: > g++ -std=c++14 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -g -O > -DSTUB_SLAVE -o stubslave stubslave.o -L. -lm -lcrypt -lmux > /usr/bin/ld: cannot find -lmux: No such file or directory > > > Meow! > -- > ⢀⣴⠾⠻⢶⣦⠀ > ⣾⠁⢠⠒⠀⣿⡁ Imagine there are bandits in your house, your kid is bleeding out, > ⢿⡄⠘⠷⠚⠋⠀ the house is on fire, and seven giant trumpets are playing in the > ⠈⠳⣄⠀⠀⠀⠀ sky. Your cat demands food. The priority should be obvious... >