BobBuildTool/basement

usr/bin/meson shebang is wrong

Closed this issue · 2 comments

python3BuildSetuptools "$1"

for my current setup meson execution fails with strange issues. as i realized, the problem is the shebang to systems python3 installation:

#!/usr/bin/python3

i fixed it by using:

#!/usr/bin/env python3

btw.: meson > 0.60 is a milestone for many libraries out there, so we should update it.

Strange, I cannot reproduce this.

cd tests/linux
bob dev --sandbox buildall/devel::meson -j
$ head -1 dev/dist/devel/meson/1/workspace/usr/bin/meson 
#!/usr/bin/env python3

The python3-pkg class has a function (python3FixupScripts) to address exactly this issue...

btw.: meson > 0.60 is a milestone for many libraries out there, so we should update it.

Indeed.

as i realized, i am not on the current HEAD of the repository. that problem was implicitly fixed by using the python support feature. 👍

updating the package still left :)