-
-
Notifications
You must be signed in to change notification settings - Fork 396
Open
Labels
impacts-release-2.8.4Issues reported against NUT release 2.8.4 (maybe vanilla or with minor packaging tweaks)Issues reported against NUT release 2.8.4 (maybe vanilla or with minor packaging tweaks)packagingportabilityWe want NUT to build and run everywhere possibleWe want NUT to build and run everywhere possiblepython
Milestone
Description
A regression between 2.8.3 and 2.8.4, seen from a packager view point, is that the latest NUT release tries to install python modules outside of the given ./configure --prefix=PREFIX
:
$ ./configure --prefix=/nix/store/g8cdal4ikk8wzq0nh9l59a8h8clqqqmq-nut-2.8.4 [...]
[...]
$ make [...]
[...]
make[4]: Nothing to be done for 'install-exec-am'.
/nix/store/ih779chzzag1nm91fgnrndml4mghm3la-coreutils-9.7/bin/mkdir -p '/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/lib/python3.13/site-packages'
/nix/store/ih779chzzag1nm91fgnrndml4mghm3la-coreutils-9.7/bin/mkdir -p '/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/lib/python3.13/site-packages'
/nix/store/ih779chzzag1nm91fgnrndml4mghm3la-coreutils-9.7/bin/mkdir -p '/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/lib/python3.13/site-packages'
/nix/store/ih779chzzag1nm91fgnrndml4mghm3la-coreutils-9.7/bin/mkdir -p '/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/lib/python3.13/site-packages'
/nix/store/ih779chzzag1nm91fgnrndml4mghm3la-coreutils-9.7/bin/install -c -m 644 module/PyNUT.py '/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/lib/python3.13/site-packages'
/nix/store/ih779chzzag1nm91fgnrndml4mghm3la-coreutils-9.7/bin/install -c module/test_nutclient.py '/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/lib/python3.13/site-packages'
/nix/store/ih779chzzag1nm91fgnrndml4mghm3la-coreutils-9.7/bin/install -c -m 644 module/PyNUT.py '/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/lib/python3.13/site-packages'
/nix/store/ih779chzzag1nm91fgnrndml4mghm3la-coreutils-9.7/bin/install -c module/test_nutclient.py '/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/lib/python3.13/site-packages'
install: install: cannot create regular file '/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/lib/python3.13/site-packages/PyNUT.py'cannot create regular file '/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/lib/python3.13/site-packages/test_nutclient.py': Permission denied
: Permission denied
install: cannot create regular file '/nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/lib/python3.13/site-packages/PyNUT.py': Permission denied
make[4]: *** [Makefile:1037: install-pynut_py3_siteDATA] Error 1
I ran ./configure --help
and looked for "python" options, but didn't find anything about where to install those files. (I only found --with-python(|2|3)
options.)
Please default to a path under the given ./configure --prefix=PREFIX
and/or add an option for specifying where to put those files.
This is blocking upgrading NUT in nixpkgs, because it doesn't allow packages to mutate the install tree of other packages (which is the reason for that "Permission denied" error).
Metadata
Metadata
Assignees
Labels
impacts-release-2.8.4Issues reported against NUT release 2.8.4 (maybe vanilla or with minor packaging tweaks)Issues reported against NUT release 2.8.4 (maybe vanilla or with minor packaging tweaks)packagingportabilityWe want NUT to build and run everywhere possibleWe want NUT to build and run everywhere possiblepython