You are not logged in.

#1 2025-05-13 21:35:35

silverhikari
Member
Registered: 2018-09-09
Posts: 17

stardrop fails to run after packaging

URL for PKGBUILD and XML file: https://paste.ee/p/yA77l3Dj

i am packaging the binary distribution of Stardrop a mod manager for Stardew Valley, Reason for this is not requiring the dotnet 7 SDK and adding in the mime-type support for download mods via nexus mods using the nxm protocol.

after packaging the program and installing the package the following error happens when trying to run the program:

Failure processing application bundle; possible file corruption.
Arithmetic overflow while reading bundle.
A fatal error occurred while processing application bundle

this error happens also when trying to run the executable from the pkg directory. this problem seems to be caused by either copying or moving the folder from src/ to pkg/ in the packaging step as doing so manually does not cause this issue and can start the executable normally. this issue also does not happen if running the executable from the src/ directory, so it does not seem to be a problem caused by unpacking the archive.

any possible solutions to remedy this issue?

Last edited by silverhikari (2025-05-13 21:38:26)

Offline

#2 2025-05-13 21:43:03

loqs
Member
Registered: 2014-03-06
Posts: 18,433

Re: stardrop fails to run after packaging

Have you tried disabling strip?

options=(!strip)

Offline

#3 2025-05-13 21:48:23

silverhikari
Member
Registered: 2018-09-09
Posts: 17

Re: stardrop fails to run after packaging

yep that was it. i am slightly annoyed that it was that simple

Offline

Board footer

Powered by FluxBB