python-lz4 is needed:
File "openage/convert/value_object/read/media/slp.pyx", line 6, in init openage.convert.value_object.read.media.slp ModuleNotFoundError: No module named 'lz4'
Git Clone URL: | https://aur.archlinux.org/openage-git.git (read-only, click to copy) |
---|---|
Package Base: | openage-git |
Description: | A free (as in freedom) clone of the Age of Empires II engine |
Upstream URL: | https://openage.sft.mx/ |
Keywords: | aoe game |
Licenses: | |
Conflicts: | |
Provides: | |
Submitter: | linkmauve |
Maintainer: | FabioLolix |
Last Packager: | FabioLolix |
Votes: | 10 |
Popularity: | 0.000362 |
First Submitted: | 2015-03-23 17:01 |
Last Updated: | 2021-01-06 22:49 |
python-lz4 is needed:
File "openage/convert/value_object/read/media/slp.pyx", line 6, in init openage.convert.value_object.read.media.slp ModuleNotFoundError: No module named 'lz4'
Thanks for reporting
this depends on python-toml
It looks like a few dependencies are missing: the openage executable doesn't run when the "make dependencies" are removed after building. It runs perfectly fine if I leave the "make dependencies" installed after building the package. So one or more of them must be real dependencies. Probably cython? I'll see if I have time to debug this further.
Additionally, python-toml
is needed for the convert functionality. Maybe add it as optdepends?
NB: This dependency also listed in openage/doc/build_instructions/arch_linux.md
Can you add aarch64? So it can compile out of the box on my pinebookpro?
arch=('i686' 'x86_64' 'aarch64')
Thnx
@siranderu you need to install the base-devel group before dealing with AUR packages
Couldn't build without flex package from core repo. Should be added as dependency.
EDIT: flex is included in base-devel group. No need for dependency
You must change the run.py
current path in the PKGBUILD script to fix it and get a proper package. The actual path for run.py
is $srcdir/$pkgname/build/run.py
So line 46 should be:
install -Dm755 "$srcdir/$pkgname/build/run.py" "$pkgdir/usr/bin/openage"
EDIT:
Probably you don't need even that line, according with SFTtech people, the install target already installs the run script as binary
In here: https://github.com/SFTtech/openage/blob/master/CMakeLists.txt#L221
install: cannot stat '/home/main-builder/pkgwork/src/openage-git/run.py': No such file or directory
Currently broken :)
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/main-builder/pkgwork/src/openage-git/build/openage/__main__.py", line 133, in <module>
sys.exit(main())
File "/home/main-builder/pkgwork/src/openage-git/build/openage/__main__.py", line 83, in main
from .convert.main import init_subparser
File "/home/main-builder/pkgwork/src/openage-git/build/openage/convert/main.py", line 7, in <module>
import readline # pylint: disable=unused-import
ImportError: libreadline.so.8: cannot open shared object file: No such file or directory
CMake Error at buildsystem/codegen.cmake:32 (message):
failed to get target list from codegen invocation
Call Stack (most recent call first):
buildsystem/python.cmake:430 (codegen_run)
CMakeLists.txt:223 (python_finalize)
Maybe missing readline
?
vulkan-headers
can be added as makedepends and vulkan-icd-loader
as optdepends:-- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR)
-- optional dependency is unavailable: vulkan
Pinned Comments
fzerorubigd commented on 2016-03-18 10:35
This is the game engine only package. for assets you need the original game, and also need to use extractor to extract them. check the https://github.com/SFTtech/openage for the extraction doc.