Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sc-controller: 0.4.3 -> 0.4.4 #45144

Closed
wants to merge 1 commit into from

Conversation

r-ryantm
Copy link
Contributor

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/sc-controller/versions.

meta.description for sc-controller is: '"User-mode driver and GUI for Steam Controller and other controllers"'.

Release on GitHub

Compare changes on GitHub

Checks done (click to expand)
  • built on NixOS
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/sc-controller had a zero exit code or showed the expected version
  • /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/scc passed the binary check.
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/scc-daemon had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/scc-osd-dialog had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/scc-osd-keyboard had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/scc-osd-launcher had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/scc-osd-menu had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/scc-osd-message had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/scc-osd-radial-menu had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/scc-osd-show-bindings had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/..sc-controller-wrapped-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/.sc-controller-wrapped had a zero exit code or showed the expected version
  • /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/..scc-wrapped-wrapped passed the binary check.
  • /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/.scc-wrapped passed the binary check.
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/..scc-daemon-wrapped-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/.scc-daemon-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/..scc-osd-dialog-wrapped-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/.scc-osd-dialog-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/..scc-osd-keyboard-wrapped-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/.scc-osd-keyboard-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/..scc-osd-launcher-wrapped-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/.scc-osd-launcher-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/..scc-osd-menu-wrapped-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/.scc-osd-menu-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/..scc-osd-message-wrapped-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/.scc-osd-message-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/..scc-osd-radial-menu-wrapped-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/.scc-osd-radial-menu-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/..scc-osd-show-bindings-wrapped-wrapped had a zero exit code or showed the expected version
  • Warning: no invocation of /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4/bin/.scc-osd-show-bindings-wrapped had a zero exit code or showed the expected version
  • 3 of 30 passed binary check by having a zero exit code.
  • 0 of 30 passed binary check by having the new version present in output.
  • found 0.4.4 with grep in /nix/store/w3v2mwhka81q9s5mir6hjyv57ll5zlgh-sc-controller-0.4.4
  • directory tree listing: https://gist.github.com/42b226264dd468d33b3c915d1c7e2346
  • du listing: https://gist.github.com/8db3935c22c13035b1d3e94e805ded7e
Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:

cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:

git fetch r-ryantm && git checkout 81b681c0f55df908e6494b97c262a0cc5012d5ea && nix-shell --pure -I nixpkgs=. -p sc-controller

cc @orivej @rnhmjoj for testing.

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/sc-controller/versions.
@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: sc-controller

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: sc-controller

Partial log (click to expand)

tests/test_parser/test_macros.py .........                               [ 38%]
tests/test_parser/test_modifiers.py ...................                  [ 52%]
tests/test_parser/test_special_actions.py ............                   [ 60%]
tests/test_profile/test_actions.py ......................                [ 76%]
tests/test_profile/test_modeshift.py ..                                  [ 77%]
tests/test_profile/test_modifiers.py ..................                  [ 90%]
tests/test_profile/test_special_actions.py ............                  [ 99%]
tests/test_strings/test_modifiers.py .                                   [100%]

========================== 140 passed in 1.34 seconds ==========================

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: sc-controller

Partial log (click to expand)

tests/test_parser/test_modifiers.py ...................                  [ 52%]
tests/test_parser/test_special_actions.py ............                   [ 60%]
tests/test_profile/test_actions.py ......................                [ 76%]
tests/test_profile/test_modeshift.py ..                                  [ 77%]
tests/test_profile/test_modifiers.py ..................                  [ 90%]
tests/test_profile/test_special_actions.py ............                  [ 99%]
tests/test_strings/test_modifiers.py .                                   [100%]

========================= 140 passed in 18.58 seconds ==========================
/nix/store/rv1h0bq0v7mjh6934s38ppczp9mzm6xn-sc-controller-0.4.4

@Mic92
Copy link
Member

Mic92 commented Aug 16, 2018

@orivej @rnhmjoj I would appreciate if you can look at this. when running scc gui, I get this error message at some point. I don't have the hardware to do proper testing.

Traceback (most recent call last):
  File "/nix/store/wcgg4rb4blmp7ypqqs6sihwvwi77282m-sc-controller-0.4.3/bin/..scc-daemon-wrapped-wrapped", line 37, in <module>
    main()
  File "/nix/store/wcgg4rb4blmp7ypqqTraceback (most recent call last):
  File "/nix/store/wcgg4rb4blmp7ypqqs6sihwvwi77282m-sc-controller-0.4.3/bin/..scc-daemon-wrapped-wrapped", line 37, in <module>
    main()
  File "/nix/store/wcgg4rb4blmp7ypqqs6sihwvwi77282m-sc-controller-0.4.3/bin/..scc-daemon-wrapped-wrapped", line 16, in main
    daemon = SCCDaemon(get_pid_file(), get_daemon_socket())
  File "/nix/store/wcgg4rb4blmp7ypqqs6sihwvwi77282m-sc-controller-0.4.3/lib/python2.7/site-packages/scc/sccdaemon.py", line 48, in __init__
    self.dev_monitor = create_device_monitor(self)
  File "/nix/store/wcgg4rb4blmp7ypqqs6sihwvwi77282m-sc-controller-0.4.3/lib/python2.7/site-packages/scc/device_monitor.py", line 279, in create_device_monitor
    m = Eudev().monitor(subclass=DeviceMonitor)
  File "/nix/store/wcgg4rb4blmp7ypqqs6sihwvwi77282m-sc-controller-0.4.3/lib/python2.7/site-packages/scc/lib/eudevmonitor.py", line 31, in __init__
    assert find_library(self.LIB_NAME), self.LIB_NAME + "library not found"
AssertionError: udevlibrary not founds6sihwvwi77282m-sc-controller-0.4.3/bin/..scc-daemon-wrapped-wrapped", line 16, in main
    daemon = SCCDaemon(get_pid_file(), get_daemon_socket())
  File "/nix/store/wcgg4rb4blmp7ypqqs6sihwvwi77282m-sc-controller-0.4.3/lib/python2.7/site-packages/scc/sccdaemon.py", line 48, in __init__
    self.dev_monitor = create_device_monitor(self)
  File "/nix/store/wcgg4rb4blmp7ypqqs6sihwvwi77282m-sc-controller-0.4.3/lib/python2.7/site-packages/scc/device_monitor.py", line 279, in create_device_monitor
    m = Eudev().monitor(subclass=DeviceMonitor)
  File "/nix/store/wcgg4rb4blmp7ypqqs6sihwvwi77282m-sc-controller-0.4.3/lib/python2.7/site-packages/scc/lib/eudevmonitor.py", line 31, in __init__
    assert find_library(self.LIB_NAME), self.LIB_NAME + "library not found"
AssertionError: udevlibrary not found

@rnhmjoj
Copy link
Contributor

rnhmjoj commented Aug 20, 2018

@Mic92 I have just tried it: the demon is not starting so the program is effectively broken.
This issue has been reported upstream by a NixOS user and there is a possibile fix here.
I'll try it soon.

@rnhmjoj
Copy link
Contributor

rnhmjoj commented Aug 20, 2018

The fix doesn't seem to work either.

@Mic92
Copy link
Member

Mic92 commented Aug 20, 2018

I assume the error is also present in the current version. Should we mark the package as broken?

@rnhmjoj
Copy link
Contributor

rnhmjoj commented Aug 20, 2018

I'm not sure as I'm running 0.4.1, at least that version works.

@rnhmjoj
Copy link
Contributor

rnhmjoj commented Aug 21, 2018

0.4.2 is the last working version, perhaps we should downgrade it.

@rnhmjoj
Copy link
Contributor

rnhmjoj commented Aug 21, 2018

kozec/sc-controller#402 seems to work. We could do this in the meantime.

@Mic92
Copy link
Member

Mic92 commented Aug 22, 2018

can you open a pull request?

@rnhmjoj
Copy link
Contributor

rnhmjoj commented Aug 22, 2018

I'm not so sure: this probably doesn't work on non-NixOS systems.

@rnhmjoj
Copy link
Contributor

rnhmjoj commented Aug 26, 2018

Found another issue: the program also needs libbluetooth.so but adding bluez to the library path doesn't work for some reason. Interestingly it works for python3 but not python2:

$ set -x LD_LIBRARY_PATH="/nix/store/fp5gdlhl7zv0qb3n1d54dyq1mpkj9ssx-bluez-5.50/lib"
$ nix run nixpkgs.python3 -c python3 -c "from ctypes.util import find_library; print(find_library('bluetooth'))"
libbluetooth.so.3
$ nix run nixpkgs.python2 -c python2 -c "from ctypes.util import find_library; print(find_library('bluetooth'))"
None

@xeji
Copy link
Contributor

xeji commented Sep 2, 2018

closing in favor of #45939

@xeji xeji closed this Sep 2, 2018
@r-ryantm r-ryantm deleted the auto-update/sc-controller branch September 2, 2018 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants