[Bug 256510] Mk/Uses/shebang.mk Silently fails on .py files if python env isn't initialized
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Jun 2024 10:36:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256510 --- Comment #7 from Shane <FreeBSD@ShaneWare.Biz> --- (In reply to Gleb Popov from comment #6) I was updating graphics/openshadinglanguage, a shebang line was added to a script in the repo (for 1.13.x), they have `#!/usr/bin/env python` After changing version to 1.13.10.0 `make stage-qa` reported the bad shebang. I added USES=shebangfix and SHEBANG_FILES= src/build-scripts/serialize-bc.py Then I got the local/bin/python is invalid. I tried adding PYTHON_NO_DEPENDS=yes as well as USES=python:env and neither changed the error message. I then edited the script in the work stage dir to have python3.9 and make stage-qa didn't report the shebang error. -- You are receiving this mail because: You are on the CC list for the bug.