Not detecting lib32 deps anymore
First reported by @dvzrv on IRC, cc @foxboron @arojas:
2023-05-21 15:29:38⇥dvzrv⇥ hm, I think new namcap is broken
2023-05-21 15:29:57⇥dvzrv⇥ it does not detect needed libs for lib32 anymore
2023-05-21 15:31:19⇥dvzrv⇥ alerque: any recent changes that might have caused namcap to not detect lib32 deps anymore (show them as "may not needed")?
2023-05-21 17:11:30⇥arojas⇥ dvzrv: not just for lib32
2023-05-21 18:37:09⇥dvzrv|M1⇥ "dvzrv: not just for lib32" <- Hmm, another 64bit pkg seemed fine tho
2023-05-21 18:47:40⇥arojas⇥ dvzrv|M1: new namcap is still in testing, you were probably building against stable
2023-05-21 18:49:15⇥dvzrv⇥ ah yes
2023-05-21 18:49:31⇥dvzrv⇥ the lib32 issue was against staging. that explains it. thanks!
2023-05-21 19:48:25⇥alerque⇥dvzrv: No nothing in the patch release 3.4.1 should have affected lib32 stuff. There was a pkgconfig related bug fix that I kind of expected to "break" a few things (as in not do what people expected because they were used to the bug), but otherwise most of it was internal houskeeping.
2023-05-21 19:49:11⇥alerque⇥dvzrv arojas: I don't quite understand why building agaist staging should give a different result though...
2023-05-21 19:49:51⇥dvzrv⇥ alerque: if new namcap is currently in testing then it is used also in staging
2023-05-21 19:52:14⇥alerque⇥Yes, but where does the "issue" come in? Is 3.4.1 doing something different than 3.4.0?
2023-05-21 20:05:07⇥dvzrv⇥ I don't know. maybe something else in testing causes this
2023-05-21 22:38:32⇥arojas⇥ alerque: this is the problem 2b259ef1
2023-05-21 22:38:45⇥arojas⇥ removing all those imports breaks populating the rules list
2023-05-21 22:46:22⇥dvzrv|M1⇥ "alerque: this is the problem..." <- ouf, LOL
2023-05-21 22:49:34⇥Foxboron⇥ >for name,value in dict(locals()).items():
2023-05-21 22:49:39⇥Foxboron⇥ that's one way of having a dynamic loading thingie
2023-05-21 22:55:28⇥kpcyrd⇥ forbidden python
2023-05-21 23:10:17⇥dvzrv⇥ ou lala, ze forbidden zone
It would be nice if somebody with more Python chops than I stepped in with a suggest about how to do this better that isn't a crazy namespace hack like the original (and hence doesn't foul up linters) but still gets the job done right. I'm sure I can cobble something together bit it would likely be less than elegant.