<div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif">Found it, in short:</div><div class="gmail_default" style="font-family:times new roman,serif">chmod +x ./utils/tracepoints/gen-tp-header.py<br></div><div class="gmail_default" style="font-family:times new roman,serif"><br></div><div class="gmail_default" style="font-family:times new roman,serif">It looks like other python build steps already have +x and the right things happen, but this one was missed and the build system cleverly runs it under python (but the wrong one).</div><div class="gmail_default" style="font-family:times new roman,serif"><br></div><div class="gmail_default" style="font-family:times new roman,serif">Patch attached, or it's probably easier for someone with committer to just run that chmod line.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Dec 5, 2021 at 8:05 AM Brian Olson <<a href="mailto:icic@bolson.org">icic@bolson.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:"times new roman",serif">$ ninja -C build install<br></div><div class="gmail_default" style="font-family:"times new roman",serif">...</div><div class="gmail_default" style="font-family:"times new roman",serif">/usr/bin/python3 /blah/blah/blah/libcamera/utils/tracepoints/./gen-tp-header.py ...<br></div><div class="gmail_default" style="font-family:"times new roman",serif">Traceback (most recent call last):<br>  File "/blah/blah/blah/libcamera/utils/tracepoints/./gen-tp-header.py", line 10, in <module><br>    import jinja2<br>ModuleNotFoundError: No module named 'jinja2'<br></div><div class="gmail_default" style="font-family:"times new roman",serif"><br></div><div class="gmail_default" style="font-family:"times new roman",serif">Yeah, I don't have it installed at the root level, but I have jinja2 installed in the venv I was running ninja from. I don't know how to say "use this python3" other than putting it in the PATH, which it was, but ninja ignored that and went with /usr/bin/python3, and that failed.</div></div>
</blockquote></div>