Firstly I don't understand what spits our the error you mention in the description.
"TypeError: first argument must be string or compiled pattern"
Secondly what are you trying to say?
"The distro it occurs on is irrelevant. It happens and it is the distro's bug.
Now you know.
And you can also finish your job of bzr removal."
So if it is a bug in your distro, then it is not a bug in kicad. We do not depend on bzr anymore and the next release is imminent. No new updates are made for the 4.0 branch. Depending on how broken your distro is, you can skip the boost option. Look in the source. This is the only of those things you show that are enabled by default in the 4.0 series of releases IIRC.
Firstly I don't understand what spits our the error you mention in the description.
"TypeError: first argument must be string or compiled pattern"
Secondly what are you trying to say?
"The distro it occurs on is irrelevant. It happens and it is the distro's bug.
Now you know.
And you can also finish your job of bzr removal."
So if it is a bug in your distro, then it is not a bug in kicad. We do not depend on bzr anymore and the next release is imminent. No new updates are made for the 4.0 branch. Depending on how broken your distro is, you can skip the boost option. Look in the source. This is the only of those things you show that are enabled by default in the 4.0 series of releases IIRC.