Post about your mods, learn about OpenMW mod compatibility, check for problematic mods, discuss issues, and give us feedback about your experience with modded OpenMW.
C:\Users\olivi>portmod openmw merge --no-confirm meta-momw/graphics-overhaul
Calculating Dependencies…
Done!
These are the packages to be installed, in order:
[ N] bin/delta-plugin-0.16.1
[ N] common/fix_maps-1.1
...
[ N] patches/omwllf-1.0-r2
Total: 142 packages (0 updates, 142 new, 0 reinstalls, 0 removals),
Size of downloads: 242,022 MiB
>>> Executing pkg_pretend for package sys-bin/java-1.8
>>> Executing pkg_pretend for package sys-bin/magick-7.0
>>> Executing pkg_pretend for package sys-bin/perl-0
WARNING: Unable to find executable perl\nPlease download and install it using your package manager\nor from the following location(s):\n https://www.perl.org/get.html\n
>>> Starting installation of bin/delta-plugin-0.16.1
>>> Unpacking package…
>>> Preparing source in "C:\Users\olivi\AppData\Local\Temp\portmod\bin\delta-plugin-0.16.1\work"…
Traceback (most recent call last):
File "C:\Users\olivi\AppData\Local\portmod\portmod\repos\openmw\bin\delta-plugin\delta-plugin-0.16.1.pybuild", line 38, in src_prepare
os.stat(exe_name).st_mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH,
FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable: 'delta_plugin'
ERROR: An error was encountered when execuring code inside the sandbox: C:\Users\olivi\AppData\Local\portmod\portmod\repos\openmw\bin\delta-plugin\delta-plugin-0.16.1.pybuild prepare failed!
For the sentence in French, "Le fichier spécifié est introuvable" = "The specified file could not be found".
It looks to me like you're using Windows, and it should be looking for delta_plugin.exe on windows, but it's possible it's not detecting that properly. Are you using something like cygwin or WSL (neither of which are really supported at the moment, but if they are actually working then we could support them)?
The most useful piece of info is probably the platform detected by python, which you can view using `portmod openmw info` (the PLATFORM variable).
Oh. You appear to be missing all the stuff that should be set in the profile, so it's not that the platform is set to something unexpected, but that the hidden use flag representing the platform is not being set at all. But the profile must be set to something, otherwise there would be an error message. Is your profile pointing to an empty or unrelated directory or something? ("portmod openmw select profile" and its subcommands can be used to display and modify your profile).
What exactly have you managed to do so far? Assuming that you followed the setup guide, was anything installed when you ran portmod openmw merge -uD @world? Did you modify portmod.conf at all, or did portmod prompt you to make any configuration changes?
Your portmod openmw info output is missing both the INFO_VARS from the profile (even if it was reading the values, they'd only be shown if they were in INFO_VARS) and also the packages in the @system set (though those also wouldn't show up if they weren't installed yet). What bothers me is that if it's unable to read INFO_VARS for some reason, then it also wouldn't be able to read some of the other default configuration values in the profile which are set via the same mechanism, some of which are mandatory and will break installation at a much earlier stage if they're not set. But that's obviously not happening either, so I feel like there must be multiple issues, both the installation issue you ran into, and some issue with the info subcommand, and the profile itself must be more or less working.
Did you run this multiple times, and did it download the delta-plugin archive file in an earlier run (it would be in the downloads subdirectory of CACHE_DIR)? I don't see it in the log you posted, but it wouldn't be there if it was already downloaded, and while it's possible that it skipped it due to platform_win32 not being set (same thing that caused the error), that happens in a different scope, so if it did get downloaded that could help narrow down the problem.
# This is a placeholder config file for Portmod 2.4.2 This file is created if no
# config file is found, and not updated when Portmod updates. To regenerate this
# config file for the latest version of Portmod, delete it and run `portmod
# openmw info`.
# This file contains optional config values that override those set by your
# profile. See https://gitlab.com/portmod/portmod/wikis/Portmod-Config for a
# full description of the options used by Portmod itself. Note that some
# variables may be used for specific packages and may not be listed on the wiki
# Valid global use flags can be found in the profiles/use.yaml file of the
# repository Default USE flag configurations vary with the profile
# USE=""
# Valid TEXTURE_SIZE options are
# max
# min
# max <= SIZE (e.g. 2048)
# min >= SIZE
# The default is "min"
TEXTURE_SIZE="min"
# Keywords to accept. Valid choices at the global level are arch (stable
# packages only) and ~arch (stable and testing packages). Defaults to arch
ACCEPT_KEYWORDS="openmw"
# Licenses to accept. Packages with licenses not accepted here will not be able
# to be installed unless overridden by a package-specific rule in
# package.accept_license
# Defaults to "* -EULA"
ACCEPT_LICENSE="* -EULA"
# Auto-detected by default, however if it fails to detect the location, specify
# it here
# OPENMW_CONFIG_DIR="/path/to/config"
# Auto-detected by default, however if it fails to detect the location, specify
# it here Note that this should be the root where the executable is found, not
# the data files directory Note that this only applies to the `base/morrowind`
# package in the `openmw` repo.
# MORROWIND_PATH="/path/to/Morrowind"
REPOS = "openmw"
Yes, I just uncommented the default value. I don't remember the error message I was getting, but doing that fixed that error.
Regarding the delta-plugin archive, it does seem to be here: