New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
devilutionX: update to 1.4.1. #39184
devilutionX: update to 1.4.1. #39184
Conversation
dc5567e
to
bd34d67
Compare
On ARM architectures there are many Cmake errors for different targets like this:
If anyone has any idea why the libs seem to be missing, let me know. As far as I know, |
Seems there's a problem with building SDL_audiolib from the fetched source, we could try packaging it ourselves ...or not, it's not versioned in any way :/ |
It really does not seem to be versioned ... it's a bit like someone made a quick solution to their problem. I've also noticed that there is some overlap between contributors of devilutionX and SDL_audiolib. It's a good question if the package would be useful for anything else besides devilutionX. However, I don't think it is a SDL_audiolib-specific issue that we're facing here. It seems to me that it simply doesn't find SDL libraries. They are detected as dynamic system libraries, but not found when things should get compiled. |
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it. |
My PR is funcional for all architectures: #34039 |
@chloris-pale-green, I could make it build wth aarch64 on https://github.com/kruceter/void-packages/pull/2. My work also includes your changes for which you have my gratitude. I hope it will be useful to you. |
Thank you, @kruceter. You've displayed some templating skills I'll never acquire in my life. 😁 Actually, I'm very grateful to you to make use of my incomplete work. So nice it didn't go to waste. 🙂 I'm closing this pull request. Further development should go in kruceter#2. |
Updated the package since the packaged version was released more than a year ago. For the most recent release, the template had to be changed for the build to succeed. See notes below.
Cross builds seem to fail. See notes below. Help is welcome.
Testing the changes
Local build testing
Template changes
smpq
to create a MPQ archive with game assets. Manually usempqtool
from Void repos. If the assets are not in a MPQ archive, the game expects them in something like/usr/bin/assets
, which is not acceptable.cmake --install
. The installation is not complicated so I've created an alternative install script.Failing cross builds
Both
aarch64
andarmv6l
crossbuilds fail with the same error:Additionally, when I've tried to move
devel
deps tohostmakedepends
, the build failed because the binary could not be stripped. I suspect that the build process does not cross-compile, but builds for the host arch instead (looking for libraries in/usr/lib64
onarmv6l
is suspicious enough). Perhaps some additional arguments for Cmake are required.