mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1398] [CLOSED] fix(termux): add native dependencies and error handling to start-termux.sh #5065
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5065
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1398
Author: @vanta-jack
Created: 5/27/2026
Status: ❌ Closed
Base:
staging← Head:fix/termux-sharp-build📝 Commits (7)
19411f3Fix mobile composer text input collapse (#1136)77a30faFix tracker aliases, avatars, HUD temps, and changelog (#1137)e85da38Reduce chat startup and focus refetch lag10b6330Revert "Reduce chat startup and focus refetch lag"1ab4c3fRegister pre-alpha workflow on default branch1f7b25aMerge pull request #1382 from munimunigamer/ci/register-prealpha-workflowa4190a7fix(termux): add native dependencies and error handling to start-termux.sh📊 Changes
12 files changed (+529 additions, -69 deletions)
View changed files
➕
.github/workflows/prealpha-platform-builds.yml(+335 -0)📝
CHANGELOG.md(+16 -0)📝
packages/client/src/components/chat/ConversationInput.tsx(+5 -5)📝
packages/client/src/components/chat/RoleplayHUD.tsx(+19 -37)📝
packages/client/src/components/panels/SettingsPanel.tsx(+1 -1)📝
packages/client/src/components/panels/settings/TrackerCardColorSettings.tsx(+17 -11)📝
packages/client/src/features/tracker-panel/hooks/use-tracker-sprite-lookup.ts(+11 -6)📝
packages/client/src/features/tracker-panel/lib/tracker-metadata.ts(+31 -0)📝
packages/client/src/lib/character-display.ts(+40 -0)📝
packages/server/src/routes/generate.routes.ts(+8 -4)📝
packages/server/src/routes/generate/generate-route-utils.ts(+40 -4)📝
start-termux.sh(+6 -1)📄 Description
Linked issue
Closes #1397
Why this change
Termux users often encounter a "tsc not found" error during the first run. This is caused by a silent failure of
pnpm installwhen it attempts to build thesharpnative module without the required system-level dependencies (libvips,pkg-config). Becausepnpmstops on the first failure, the linking phase never completes, leaving thenode_modules/.binfolder empty.What changed
libvipsandpkg-configto the automatedpkg installloop instart-termux.sh.SHARP_FORCE_GLOBAL_LIBVIPS=1in the Termux startup flow to ensuresharpcorrectly links against the systemlibvips.pnpm installcommand instart-termux.shto prevent the script from proceeding to the build phase if installation fails.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
node_modulesand clearedlibvipsfrom the environment.start-termux.sh.libvipsandpkg-configwere automatically installed viapkg.pnpm installcompleted successfully, including thesharpbuild.tscwas correctly linked and the build process completed successfully.Docs and release impact
UI evidence (if applicable)
N/A (Shell script changes)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.