[Midnightbsd-cvs] [MidnightBSD/mports] 443bbe: devel/valgrind: Fix build failure with invalid she...
Lucas Holt
noreply at github.com
Fri May 29 14:35:08 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: 443bbea77192d220a355737c620b9c0113aa5a78
https://github.com/MidnightBSD/mports/commit/443bbea77192d220a355737c620b9c0113aa5a78
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-05-29 (Fri, 29 May 2026)
Changed paths:
M devel/valgrind/Makefile
Log Message:
-----------
devel/valgrind: Fix build failure with invalid shebangs and bump PORTREVISION (#601)
Fixes the build failure for devel/valgrind on MidnightBSD due to invalid
python3 shebangs in cachegrind helper scripts.
During package staging verification (fake-qa), the build was flagged as
a failure because `cg_annotate`, `cg_diff`, and `cg_merge` were
installed with an uncorrected `/usr/bin/env python3` shebang:
```
fake-qa reported: '/usr/bin/env python3' is an invalid shebang you need USES=shebangfix for 'bin/cg_annotate'...
```
Adding `python:run` to `USES` and adding the three cachegrind python
scripts to `SHEBANG_FILES` so that `shebangfix` processes them resolves
the issue. Also bumps PORTREVISION to 2.
AI-Assisted-by: Antigravity <antigravity-cli at google.com>
## Summary by Sourcery
Fix valgrind port installation on MidnightBSD by correcting python
shebang handling in cachegrind helper scripts and bumping the port
revision.
Bug Fixes:
- Resolve package staging failures caused by invalid python3 shebangs in
cachegrind helper scripts.
Build:
- Add python runtime to USES and include cachegrind helper scripts in
SHEBANG_FILES so they are processed by shebangfix.
- Increment PORTREVISION to 2 to reflect the packaging change.
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list