Package Details: optimus-manager 1.4-2

Git Clone URL: https://aur.archlinux.org/optimus-manager.git (read-only, click to copy)
Package Base: optimus-manager
Description: Management utility to handle GPU switching for Optimus laptops
Upstream URL: https://github.com/Askannz/optimus-manager
Licenses: MIT
Conflicts: optimus-manager-git
Provides: optimus-manager=1.4
Submitter: Askannz
Maintainer: Askannz
Last Packager: Askannz
Votes: 78
Popularity: 1.12
First Submitted: 2018-11-17 05:42
Last Updated: 2021-03-01 22:30

Latest Comments

1 2 3 4 5 Next › Last »

Askannz commented on 2021-03-01 22:30

Fixed, apologies for the inconvenience.

chepito commented on 2021-03-01 12:09

Can also confirm that the removal of the suggested line fixes the build.

ixevix commented on 2021-03-01 08:24

Can confirm the removal of install -Dm755 config/xsetup-intel.sh "$pkgdir/etc/optimus-manager/xsetup-intel.sh" fixes the build.

siliconmeadow commented on 2021-02-28 21:47

I think Kr1ss and konicks are right. This worked for me:

diff --git a/PKGBUILD b/PKGBUILD
index e95feb4..83033de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -63,7 +63,6 @@ package() {
   install -Dm644 config/xorg/hybrid-mode/integrated-gpu.conf "$pkgdir/etc/optimus-manager/xorg/hybrid-mode/integrated-gpu.conf"
   install -Dm644 config/xorg/hybrid-mode/nvidia-gpu.conf "$pkgdir/etc/optimus-manager/xorg/hybrid-mode/nvidia-gpu.conf"

-  install -Dm755 config/xsetup-intel.sh "$pkgdir/etc/optimus-manager/xsetup-intel.sh"
   install -Dm755 config/xsetup-nvidia.sh "$pkgdir/etc/optimus-manager/xsetup-nvidia.sh"
   install -Dm755 config/xsetup-hybrid.sh "$pkgdir/etc/optimus-manager/xsetup-hybrid.sh"
   install -Dm755 config/xsetup-integrated.sh "$pkgdir/etc/optimus-manager/xsetup-integrated.sh"

konicks commented on 2021-02-28 11:50

config/xsetup-intel.sh seems to be gone in the actual package but not the PKGBUILD function, please patch it as in it's current form the package is un-buildable

Kr1ss commented on 2021-02-28 09:51

I think

install -Dm755 config/xsetup-intel.sh "$pkgdir/etc/optimus-manager/xsetup-intel.sh"

in package()

needs to be removed, as that file has been renamed in the new release.

EDIT/

anjanik012 commented on 2021-02-28 07:08

I also got the same error as @Xarius.

siliconmeadow commented on 2021-02-28 06:06

I just got the same as @xarius:

:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  optimus-manager-1.4-1

  1 optimus-manager                          (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/rsheppard/.cache/yay/optimus-manager
:: Downloaded PKGBUILD (1/1): optimus-manager
  1 optimus-manager                          (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: optimus-manager
==> Making package: optimus-manager 1.4-1 (Sun 28 Feb 2021 04:46:41 GMT)
==> Retrieving sources...
  -> Cloning optimus-manager git repo...
Cloning into bare repository '/home/rsheppard/.cache/yay/optimus-manager/optimus-manager'...
remote: Enumerating objects: 174, done.
remote: Counting objects: 100% (174/174), done.
remote: Compressing objects: 100% (110/110), done.
remote: Total 4809 (delta 107), reused 106 (delta 62), pack-reused 4635
Receiving objects: 100% (4809/4809), 904.10 KiB | 1.65 MiB/s, done.
Resolving deltas: 100% (2955/2955), done.
==> Validating source files with sha256sums...
    optimus-manager ... Skipped
==> Making package: optimus-manager 1.4-1 (Sun 28 Feb 2021 04:46:45 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating optimus-manager git repo...
Fetching origin
==> Validating source files with sha256sums...
    optimus-manager ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of optimus-manager git repo...
Cloning into 'optimus-manager'...
done.
Switched to a new branch 'makepkg'
==> Sources are ready.
==> Making package: optimus-manager 1.4-1 (Sun 28 Feb 2021 04:46:49 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
running build
running build_py
creating build
creating build/lib
creating build/lib/optimus_manager
copying optimus_manager/envs.py -> build/lib/optimus_manager
copying optimus_manager/var.py -> build/lib/optimus_manager
copying optimus_manager/__init__.py -> build/lib/optimus_manager
copying optimus_manager/config.py -> build/lib/optimus_manager
copying optimus_manager/daemon.py -> build/lib/optimus_manager
copying optimus_manager/kernel_parameters.py -> build/lib/optimus_manager
copying optimus_manager/kernel.py -> build/lib/optimus_manager
copying optimus_manager/log_utils.py -> build/lib/optimus_manager
copying optimus_manager/pci.py -> build/lib/optimus_manager
copying optimus_manager/xorg.py -> build/lib/optimus_manager
copying optimus_manager/checks.py -> build/lib/optimus_manager
copying optimus_manager/sessions.py -> build/lib/optimus_manager
copying optimus_manager/acpi_data.py -> build/lib/optimus_manager
copying optimus_manager/processes.py -> build/lib/optimus_manager
creating build/lib/optimus_manager/hacks
copying optimus_manager/hacks/manjaro.py -> build/lib/optimus_manager/hacks
copying optimus_manager/hacks/__init__.py -> build/lib/optimus_manager/hacks
creating build/lib/optimus_manager/hooks
copying optimus_manager/hooks/pre_xorg_start.py -> build/lib/optimus_manager/hooks
copying optimus_manager/hooks/post_daemon_stop.py -> build/lib/optimus_manager/hooks
copying optimus_manager/hooks/post_resume.py -> build/lib/optimus_manager/hooks
copying optimus_manager/hooks/__init__.py -> build/lib/optimus_manager/hooks
copying optimus_manager/hooks/pre_suspend.py -> build/lib/optimus_manager/hooks
copying optimus_manager/hooks/post_xorg_start.py -> build/lib/optimus_manager/hooks
copying optimus_manager/hooks/pre_daemon_start.py -> build/lib/optimus_manager/hooks
creating build/lib/optimus_manager/client
copying optimus_manager/client/__init__.py -> build/lib/optimus_manager/client
copying optimus_manager/client/client_checks.py -> build/lib/optimus_manager/client
copying optimus_manager/client/args.py -> build/lib/optimus_manager/client
copying optimus_manager/client/utils.py -> build/lib/optimus_manager/client
copying optimus_manager/client/error_reporting.py -> build/lib/optimus_manager/client
copying optimus_manager/config_schema.json -> build/lib/optimus_manager
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'config/xsetup-intel.sh': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
error making: optimus-manager

Xarius commented on 2021-02-28 04:42

Ending up with the following error when trying to update to 1.4-1 using paru or yay: ==> Entering fakeroot environment... ==> Starting package()... install: cannot stat 'config/xsetup-intel.sh': No such file or directory

zwastik commented on 2021-01-02 15:02

sudo prime-switch

...
modprobe: ERROR: Error running install command '/usr/bin/false' for module   ipmi_devintf: retcode 1
modprobe: ERROR: Error running install command '/bin/false' for module nvidia: retcode 1
modprobe: ERROR: could not insert 'nvidia': Invalid argument
...