External Publication
Visit Post

Browser Development • Re: 34.2.0 build failed, --enable-jxl unknown ??

Pale Moon forum - Forum index [Unofficial] April 7, 2026
Source

breaking the building process due to a redundant option seems... illogical. The logical way would be to add all such redundant/obsolete options to an internal list, and when any of them is encountered just notify the user about its status

Configure does exactly that.

0:10.16 mozbuild.configure.options.InvalidOptionError: Unknown option: --enable-jxl

it halts the build process at the first stage (very early in the build process) with the message that it's an invalid option. This has been the way the Mozilla build system works for a long time. Invalid configure options are fatal.

I wonder, would that option's counterpart ( --disable-jxl ) be available and valid?

it's not. And by treating invalid options as fatal, you aren't left guessing if your mozconfig options are actually doing anything or not. If you just let the build continue (most people won't view the compile output) then you get confusion "why is my config option not working...?"

You might think it's a "bit harsh" to do it that way but there is no real option to do it another way other than adding a bunch of complexity to the build system to have "depreciation" stages. And that's just overkill for a single application.


Discussion in the ATmosphere

Loading comments...