Package Details: portmod 2.8.1-2

Git Clone URL: https://aur.archlinux.org/portmod.git (read-only, click to copy)
Package Base: portmod
Description: A cli tool to manage mods for OpenMW
Upstream URL: https://gitlab.com/portmod/portmod
Licenses: GPL3
Replaces: openmmm
Submitter: bmwinger
Maintainer: bmwinger
Last Packager: bmwinger
Votes: 8
Popularity: 0.000004
First Submitted: 2019-08-11 01:45 (UTC)
Last Updated: 2025-03-29 13:30 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

RamenFiend commented on 2023-05-17 01:15 (UTC) (edited on 2023-05-17 01:16 (UTC) by RamenFiend)

Dependency python-rply (orphaned) will fail to build since last portmod update. Installing python-rply-git builds, but causes a build failure in portmod:


Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/sphinx/config.py", line 354, in eval_config_file
    exec(code, namespace)  # NoQA: S102
    ^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/makepkg/portmod/src/portmod-v2.6.2/doc/conf.py", line 19, in <module>
    from portmod.globals import get_authors, get_version  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/makepkg/portmod/src/portmod-v2.6.2/portmod/__init__.py", line 4, in <module>
    import portmod.globals  # noqa # pylint: disable=unused-import
    ^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/makepkg/portmod/src/portmod-v2.6.2/portmod/globals.py", line 150, in <module>
    from portmod.repos import get_local_repos  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/makepkg/portmod/src/portmod-v2.6.2/portmod/repos.py", line 14, in <module>
    from .config import get_config
  File "/tmp/makepkg/portmod/src/portmod-v2.6.2/portmod/config/__init__.py", line 25, in <module>
    from .pyconf import (
  File "/tmp/makepkg/portmod/src/portmod-v2.6.2/portmod/config/pyconf.py", line 14, in <module>
    from portmodlib._loader import MINIMAL_GLOBALS, Policy
  File "/tmp/makepkg/portmod/src/portmod-v2.6.2/portmodlib/_loader.py", line 19, in <module>
    from RestrictedPython import (
ModuleNotFoundError: No module named 'RestrictedPython'

make: *** [Makefile:20: man] Error 2
make: Leaving directory '/tmp/makepkg/portmod/src/portmod-v2.6.2/doc'
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: portmod-exit status 4

becko commented on 2023-05-08 13:37 (UTC)

Required dependencies got abandoned and they don't build :(

error: can't build portmod-2.6.2-1, deps not satisfied: python-redbaron
error: packages failed to build: python-rply-0.7.8-4  python-baron-0.10.1-2  python-redbaron-0.9.2-8  portmod-2.6.2-1

orphaned deps: python-redbaron, python-baron, python-rply

gyscos commented on 2023-03-13 14:42 (UTC) (edited on 2023-03-13 14:45 (UTC) by gyscos)

Arf the issue was submodule.recurse = true in my user git config. The tests includes running the git CLI to fetch a repo, and it loads my config.

As a result, running git pull -v --rebase -- origin somehow fails. Indeed, for some reasons --recurse-submodules and -v appear incompatible with my git version (2.39.2).

Looks like this: https://lore.kernel.org/git/xmqqiliur6t9.fsf@gitster.g/T/

bmwinger commented on 2023-01-19 01:40 (UTC)

@gyscos, is it related to those tests requiring network access?

gyscos commented on 2023-01-03 14:52 (UTC)

Two tests are failing for me: test/test_log.py and test/test_prefix_cli.py. Both seem to be failing when calling git pull -v --rebase origin.

bmwinger commented on 2022-05-24 22:59 (UTC)

@silverhikari haven't been able to reproduce that. The current package still seems to work fine right after updating the rest of my system.

silverhikari commented on 2022-05-20 01:15 (UTC) (edited on 2022-05-20 01:16 (UTC) by silverhikari)

hey, just wanted to inform you the location of the file "portmod.cpython-310-x86_64-linux-gnu.so" is now back to being located at "/portmod-v2.3.4/build/lib/portmodlib/"

bmwinger commented on 2022-05-18 00:00 (UTC)

Something must have changed. It would be useful if the python-setuptools-rust package would get updated so that we can go back to using the more reliable python setup.py --build_rust --inplace --release.

I've updated it to use the new path.

churro commented on 2022-05-17 23:13 (UTC)

I'm having the same issue as ubervision, in my case the folder where the .so file is being built is different, instead of "$PWD/portmod/src/portmod-v2.3.3/build/lib/portmodlib/" the actual folder is "$PWD/portmod/src/portmod-v2.3.3/build/lib.linux-x86_64-3.10/portmodlib/" and as a result it can't find it.

gyscos commented on 2022-03-31 19:40 (UTC)

For info, tests were failing for me because patool was last installed when I still had python 3.9 (I now have python 3.10), and was not properly detected by python 3.10. Re-building and installing patool solved the issue.