Re: breaking modules

From: Julian H. Stacey <>
Date: Tue, 03 May 2022 14:46:48 UTC
Hi, Reference:
> From:		"Julian H. Stacey" <>
> Date:		Fri, 29 Apr 2022 23:57:02 +0200

"Julian H. Stacey" wrote:
> Ed Maste wrote:
> > On Thu, 28 Apr 2022 at 11:28, Julian H. Stacey <> wrote:
> > >
> > > but that's crude. It's nice to be able to build most modules ready
> > > in case wanted later, so how about a DUDS env. mechanism like ports/ ?
> > 
> > I'd rather not add additional complexity to our build infrastructure
> > to address a situation that shouldn't exist. Modules should build &
> > function on an ongoing basis (and, I believe they generally do). CI
> > doesn't report any issues on either stable branch or main at present.
> I'm building stable-12 not stable-13. It's broken here. I've seen modules break
> for years, I used to suspect modules werent built by default by
> build engines as often as main src/, so modules had more time to rot against
> changing includes & libs, maybe now build engines might compile
> them as often as eg bin/ls/ ? I don't know; But I'm seeing modules breaks.
> I just refetched with git this mid Friday afternoon (TZ=+02:00) 12.3-STABLE
> & the 2 breaks are still present. See below.
> Setting a MODULE_DUDS would save work rather than repetitively retro
> patching out the same modules in Makefile after each git pull --ff-only.
> I'd happily develop a patch for sys/modules/, but if someone
> else prefers to, that might increase the chance of it being commited.
> I'd be happy to test or develop a fix for sys/modules/Makefile.

Eugene Grosbein wrote:
> Unfortunately, CI does not catch stand-alone module build failures,
> out of kernel build directory.
> For example:
> if_em
> if_epair
> linuxkpi

I developed a fix, patch appended, mastered inc. a mini test Makefile at

Filed with as

I added cc: current@, Would someone like to try it please ?

BTW I've not yet but will later read how DUDS is implemented in

Julian Stacey http://StolenVotes.UK  
Kill / remove Putin: He kills innocents & causes global grain & fuel shortage.