Hi, upgrading spidermonkey to slot 52 (due to an polkit upgrade) and depcleaning of slot 0 afterwards broke powerdevils brightness control in KDE Plasma 5. The relevant output message was "powerdevil: The profile "AC" tried to activate "BrightnessControl" a non-existent action. This is usually due to an installation problem, or to a configuration problem, or simply the action is not supported". The only workaround I found so far was to manually reinstall spidermonkey:0. I tried other spidermonkey versions, but the mentioned error message remained for the remaining slots. My ouptut of "emerge --info spidermonkey powerdevil upower": Portage 2.3.43 (python 3.6.6-final-0, default/linux/amd64/17.0/no-multilib/hardened, gcc-8.1.0, glibc-2.26-r7, 4.17.10-x240 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.17.10-x240-x86_64-Intel-R-_Core-TM-_i5-4300U_CPU_@_1.90GHz-with-gentoo-2.6 KiB Mem: 8GiB total, enough free KiB Swap: enough total, all free Timestamp of repository gentoo: Sat, 28 Jul 2018 08:24:21 +0000 Head commit of repository gentoo: 9c1284f62ff213a95785bb02f2aa84270669a336 Timestamp of repository holgersson-overlay: Sat, 28 Jul 2018 08:40:53 +0000 Head commit of repository holgersson-overlay: f18cda339c1815941f09136aae61930eeb89cb19 sh bash 4.4_p23 ld GNU ld (Gentoo 2.30 p3) 2.30.0 app-shells/bash: 4.4_p23::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.6::gentoo dev-util/cmake: 3.12.0::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.38.1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r3::gentoo sys-devel/gcc: 8.1.0-r3::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r3::gentoo sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r7::gentoo Repositories: gentoo location: /var/lib/portage/tree sync-type: git sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git sync-user: portage-sync priority: -1000 sync-git-clone-extra-opts: --branch master sync-git-verify-commit-signature: true g-cpan location: /var/lib/portage/g-cpan-overlay masters: gentoo priority: 0 local location: /var/lib/portage/overlay masters: gentoo priority: 1 holgersson-overlay location: /var/lib/layman/holgersson-overlay sync-type: git sync-uri: https://git.holgersson.xyz/holgersson-overlay masters: gentoo priority: 50 Installed sets: @SDR, @custom_KDE, @electronics, @games ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -ffunction-sections -fdata-sections -fstack-clash-protection -fcf-protection=full -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -ffunction-sections -fdata-sections -fstack-clash-protection -fcf-protection=full -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register" DISTDIR="/var/lib/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build --autounmask=n --binpkg-respect-use=y" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -frecord-gcc-switches" FEATURES="assume-digests binpkg-logs buildpkg cgroup clean-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nodoc noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -frecord-gcc-switches" GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--gc-sections" LINGUAS="de de_DE" MAKEOPTS="-j5 -l5" PKGDIR="/var/lib/portage/packages" PORTAGE_COMPRESS="xz" PORTAGE_COMPRESS_FLAGS="-6 -T4" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X acl acpi alsa amd64 apparmor bash-completion bluetooth bzip2 caps cgroups crypt cryptsetup cups cxx dbus djvu egl elogind exif fam firefox flac fontconfig git glamor gles gpg gpm graphicsmagick gstreamer hardened hunspell iconv icu int64 ipv6 jit jpeg kde kipi lapack libinput libtirpc lzma ncurses networkmanager nftables nls nptl offensive ogg opengl openmp openmpi openmpi2 opus pam pcre pdf phonon pic pie pkcs11 plasma png policykit postscript pulseaudio qml qt5 readline samba sasl sdl seccomp semantic-desktop smp sound spell ssh ssl ssp startup-notification svg theora threads tiff truetype udev udisks unicode upower usb v4l vaapi video vim-syntax vorbis vpx wavpack wayland widgets x264 x265 xattr xcb xcomposite xkb xtpax xv xvid zlib zsh-completion" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics wacom" KERNEL="linux" L10N="de de_DE" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= dev-lang/spidermonkey-1.8.5-r6::gentoo was built with the following: USE="-debug -minimal -static-libs -test" dev-lang/spidermonkey-52.9.1_pre1::gentoo was built with the following: USE="system-icu -custom-cflags -custom-optimization -debug -minimal -test" kde-plasma/powerdevil-5.13.3::gentoo was built with the following: USE="brightness-control wireless -consolekit -debug -handbook" sys-power/upower-0.99.7::gentoo was built with the following: USE="introspection -doc -ios (-selinux)" Reproducible: Always
For the record, I needed to fall back to polkit-0.113-r4, the last version with a spidermonkey:0 dep, kill the running instance by hand, and then starting powerdevil again.
Might be a polkit bug (and not really a powerdevil related one) as I wasn't able to mount SD cards etc. before a downgrade (and restart of polkitd) :-/
I can reproduce this behavior on my machine (Lenovo netbook with AMD APU). Moreover I cannot disconnect,reconnect or modify networks via plasma-nm. Downgrading to polkit-0.113-r4 seems as temporary workaround.
Could you please work out if the regression is with polkit-0.114 or 0.115?
Do you both use elogind?
I use elogind-238.1 and tried (only) polkit-115.
(In reply to Nils Freydank from comment #6) > I use elogind-238.1 and tried (only) polkit-115. Of course I meant polkit-0.115 :-) polkit: USE="elogind introspection jit kde nls pam" elogind: USE="acl pam policykit"
Hi Andreas, yes I am using elogind also. Moreover a couple of days ago I have spotted a patch from Rasmus Thomsen in this bug report: https://bugs.freedesktop.org/show_bug.cgi?id=105989, but had no time to try it out earlier. Cross-checking in https://cgit.freedesktop.org/polkit/tree/configure.ac showed that the patch is not included yet. Without this patch the necessary files are only included if systemd is present. Applying the diff makes polkit-0.115 work as expected. Please see also: https://bugs.gentoo.org/show_bug.cgi?id=660880. The question arise, is there possibility to include this in to gentoo's mainline ebuild? Thanks, Przemek.
(In reply to PrSo from comment #8) > The question arise, is there possibility to include this in to gentoo's > mainline ebuild? Definitely.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=796d413851084fa37559c1806e436cb8bdfce936 commit 796d413851084fa37559c1806e436cb8bdfce936 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-08-08 19:55:48 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-08-08 20:45:29 +0000 sys-auth/polkit: Fix configure with elogind See also: https://bugs.freedesktop.org/show_bug.cgi?id=105989 Closes: https://bugs.gentoo.org/660880 Closes: https://bugs.gentoo.org/662338 Package-Manager: Portage-2.3.45, Repoman-2.3.10 sys-auth/polkit/files/polkit-0.115-elogind.patch | 28 +++++ sys-auth/polkit/polkit-0.115-r1.ebuild | 137 +++++++++++++++++++++++ 2 files changed, 165 insertions(+)