Date: Wed, 29 Mar 2023 09:23:08 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 256510] Mk/Uses/shebang.mk Silently fails on .py files if python env isn't initialized Message-ID: <bug-256510-21822-PptJZcPy3N@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-256510-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-256510-21822@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
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 on the CC list for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256510-21822-PptJZcPy3N>
