Package Details: portmod 2.0.0-1

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
Conflicts: portmod
Provides: portmod
Replaces: openmmm
Submitter: bmwinger
Maintainer: bmwinger
Last Packager: bmwinger
Votes: 6
Popularity: 0.77
First Submitted: 2019-08-11 01:45
Last Updated: 2021-06-18 13:09

Latest Comments

bmwinger commented on 2021-06-03 17:47

Looks like a regression in setuptools-rust 0.12, and it's been fixed, but the fix hasn't been released yet (as of 0.12.1).

For the moment, I'm not sure if there's anything that can be done other than downgrading to setuptools-rust 0.11 (see https://archive.archlinux.org/packages/p/python-setuptools-rust/ if you don't still have the old version cached).

PopeRigby commented on 2021-06-03 17:02

Latest version fails to build:

Traceback (most recent call last):
  File "/home/cassidy/.cache/paru/clone/portmod/src/portmod-v2.0_rc10/setup.py", line 16, in <module>
    setup(
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.9/site-packages/setuptools_rust/command.py", line 52, in run
    self.run_for_extension(ext)
  File "/usr/lib/python3.9/site-packages/setuptools_rust/build.py", line 81, in run_for_extension
    if self.plat_name.startswith("macosx-") and arch_flags:
AttributeError: 'NoneType' object has no attribute 'startswith'

lunchbox commented on 2019-11-02 19:22

fyi my issue was resolved when the patool package updated the egg-info directory as you suggested in your comment on that page. Thank you for your help.

lunchbox commented on 2019-10-18 16:03

Getting an error when I tried to run omwmerge:

[lunchbox@arch1 ~]$ omwmerge -s tamriel Traceback (most recent call last): File "/usr/bin/omwmerge", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 3250, in <module> @_call_aside File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 3234, in _call_aside f(*args, kwargs) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 3263, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 574, in _build_master ws = cls() File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 567, in init self.add_entry(entry) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 623, in add_entry for dist in find_distributions(entry, True): File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 2065, in find_on_path for dist in factory(fullpath): File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 2135, in distributions_from_metadata root, entry, metadata, precedence=DEVELOP_DIST, File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 2592, in from_location py_version=py_version, platform=platform, kw File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 2994, in _reload_version md_version = self._get_version() File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 2772, in _get_version version = _version_from_file(lines) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 2556, in _version_from_file line = next(iter(version_lines), '') File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 2767, in _get_metadata for line in self.get_metadata_lines(name): File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 1432, in get_metadata_lines return yield_lines(self.get_metadata(name)) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 1420, in get_metadata value = self._get(path) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 1616, in _get with open(path, 'rb') as stream: PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.7/site-packages/patool-1.12-py3.7.egg-info/PKG-INFO'

I decided to check the patool folder permissions and I noticed the were 640. Is that correct? I noticed someone mentioned that in the comments for patool in the AUR, but I didn't see a response:

[lunchbox@arch1 /usr/lib/python3.7/site-packages/patool-1.12-py3.7.egg-info]$ ls -ahl total 44K drwxr-xr-x 2 root root 4.0K Oct 18 11:57 . drwxr-xr-x 189 root root 20K Oct 18 11:57 .. -rw-r----- 1 root root 1 Apr 11 2019 dependency_links.txt -rw-r----- 1 root root 2.1K Apr 11 2019 PKG-INFO -rw-r----- 1 root root 4.2K Apr 11 2019 SOURCES.txt -rw-r----- 1 root root 9 Apr 11 2019 top_level.txt