Skip to content

cross compilation terminates with failure to execute archive4pl #1365

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

Open
Biswa96 opened this issue May 7, 2025 · 5 comments
Open

cross compilation terminates with failure to execute archive4pl #1365

Biswa96 opened this issue May 7, 2025 · 5 comments

Comments

@Biswa96
Copy link

Biswa96 commented May 7, 2025

I can provide further information if required.

@JanWielemaker
Copy link
Member

I'm running around in circles, but so far failed to find the actual log. Can you add the link?

@Biswa96
Copy link
Author

Biswa96 commented May 7, 2025

Please click on the "Show log" line in the issue.

@JanWielemaker
Copy link
Member

As, I was looking for a link ... It is not entirely clear to me what is going on. It seems related to QLF installation. That is still broken in 9.2.23, explaining part of the error. It is not clear what happens with libarchive though. Early it claims it is not present, later it configures it anyway but then it seems it cannot load the .so file. Similar with Python and Java. A number of the issues are already fixed in 9.3.24 and more in the current GIT version. If you cannot build from the git version, it might be best to wait for 9.3.25. Then we can see what remains. You can most likely get it to build using -DINSTALL_QLF=OFF, but that is a pity as using the .qlf libraries is particularly useful on slow mobile devices.

@Biswa96
Copy link
Author

Biswa96 commented May 7, 2025

Thanks for the hint. I have tried the current master branch of this repository and it builds without any error. Some directories are missing after installing it, e.g. PREFIX/lib/swipl/doc/packages/examples/, PREFIX/lib/swipl/lib/arm64-android/, PREFIX/lib/swipl/library/ext/. would that cause any issue?

@JanWielemaker
Copy link
Member

Sounds dubious. What happens if you run ?- check_installation. in the final system?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants