[Bug 256510] Mk/Uses/shebang.mk Silently fails on .py files if python env isn't initialized
Date: Wed, 29 Mar 2023 09:23:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256510 Nuno Teixeira <eduardo@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eduardo@FreeBSD.org --- Comment #2 from Nuno Teixeira <eduardo@FreeBSD.org> --- Same here updating print/paps with meson: USES+= shebangfix SHEBANG_FILES= scripts/src-to-paps --- ===> Staging for paps-0.8.0 ===> Generating temporary packing list [ 0% 1/1] /usr/local/bin/meson install --no-rebuild Installing src/paps to /usr/home/nunotex/Work/freebsd/ports/main/print/paps/work/stage/usr/local/bin Stripping target 'src/paps'. Installing /usr/home/nunotex/Work/freebsd/ports/main/print/paps/work/paps-0.8.0/src/paps.1 to /usr/home/nunotex/Work/freebsd/ports/main/print/paps/work/stage/usr/local/man/man1 Installing /usr/home/nunotex/Work/freebsd/ports/main/print/paps/work/paps-0.8.0/misc/pango_markup.outlang to /usr/home/nunotex/Work/freebsd/ports/main/print/paps/work/stage/usr/local/share/paps Installing /usr/home/nunotex/Work/freebsd/ports/main/print/paps/work/paps-0.8.0/scripts/src-to-paps to /usr/home/nunotex/Work/freebsd/ports/main/print/paps/work/stage/usr/local/bin ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Error: '/usr/local/bin/python' is an invalid shebang you need USES=shebangfix for 'bin/src-to-paps' *** Error code 1 --- Any workaround? -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.