#1136559 powerdevil uses pidof but does not depend on procps

Package:
src:powerdevil
Source:
src:powerdevil
Submitter:
Gioele Barabucci
Date:
2026-07-12 23:25:01 UTC
Severity:
normal
Tags:
#1136559#5
Date:
2026-05-13 23:31:00 UTC
From:
To:
Dear maintainer(s) of powerdevil,

it appears that powerdevil uses `pidof` in its testsuite, or that
at least one of its binary packages uses `pidof` at runtime.
Historically, `pidof` was provided by the Essential package
`sysvinit-tools`, making an explicit dependency unnecessary. However
`pidof` will soon be moved to `procps` and will no longer be part of
the Essential set.

Please add an explicit dependency on `procps`:

* via the `Depends:` field of all binary packages of powerdevil
  that use `pidof` at runtime;
* via the `Build-Depends:` field of powerdevil, if `pidof` is
  used in tests run at build-time;
* via the `Depends:` field of `debian/control/tests`, if `pidof` is
  used in autopkgtests.

To prevent any disruption for users of powerdevil, please add
this dependency now, before `pidof` is moved from `sysvinit-utils` to
`procps`. Alternatively, you could remove all uses of `pidof`.

It is believed that powerdevil uses `pidof` due to the following
code snippets:

```
path: powerdevil_4:6.5.4-2/autotests/applets/batterymonitortest.py
        for _ in range(10):
            try:
                subprocess.check_call(["pidof", "plasmawindowed"])
            except subprocess.CalledProcessError:
                break


path: powerdevil_4:6.5.4-2/autotests/applets/brightnesstest.py
        for _ in range(10):
            try:
                subprocess.check_call(["pidof", "plasmawindowed"])
            except subprocess.CalledProcessError:
                break
```

Feel free to close this issue if this is a false positive (for example
if this code is in an unreachable code path).

Regards,

#1136559#10
Date:
2026-07-07 06:10:37 UTC
From:
To:
Le jeudi 14 mai 2026, 01:31:00 heure d’été d’Europe centrale Gioele Barabucci a écrit :

Hi,

this is fixed in soon-to-be-uploaded Plasma 6.7 where upstream dropped these tests.


Happy hacking,
--
Aurélien

#1136559#17
Date:
2026-07-12 23:22:39 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
powerdevil, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1136559@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurélien COUDERC <coucouf@debian.org> (supplier of updated powerdevil package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 05 Jul 2026 17:57:17 +0200
Source: powerdevil
Architecture: source
Version: 4:6.7.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Aurélien COUDERC <coucouf@debian.org>
Closes: 1136559
Changes:
 powerdevil (4:6.7.2-1) unstable; urgency=medium
 .
   [ Aurélien COUDERC ]
   * New upstream release (6.7.2). (Closes: #1136559)
   * Drop patches applied upstream.
   * Update build-deps and deps with the info from cmake.
   * Refresh copyright information.
Checksums-Sha1:
 47e4ed23eee2b68cd19eb1837535f54b474ace7e 3718 powerdevil_6.7.2-1.dsc
 970cf4bf0ea263ec223eb95be175c87b54f2ebc5 1249540 powerdevil_6.7.2.orig.tar.xz
 af7e917737f601bafe9bed1c5cffae3bc6ecb794 488 powerdevil_6.7.2.orig.tar.xz.asc
 0494a5a4469cb0e374aae6cc85a5f5cfef6c374e 21372 powerdevil_6.7.2-1.debian.tar.xz
 1c7db70b177326c12084237748d3c7edb1f73a83 37238 powerdevil_6.7.2-1_amd64.buildinfo
Checksums-Sha256:
 506ca831b3a3a2cbd8b193763817dc012b7b94f20a478832ca0d0aa0b5754d95 3718 powerdevil_6.7.2-1.dsc
 0073d3dc4e0735eab2212e2c395c7e9fe6680146856421bb70eff42ebf88cc04 1249540 powerdevil_6.7.2.orig.tar.xz
 d80fe3820c79245c8fc239d1c7a93b0948b9b0e0c8bb5f7f19b5953b4e2e59ab 488 powerdevil_6.7.2.orig.tar.xz.asc
 ef834da8540d99b74009883710b5afb2d125311147c741ff930a4887206d8f7d 21372 powerdevil_6.7.2-1.debian.tar.xz
 ddfd1e969f5e9ec2d92879ce698777186b583fe4992e326a5cd24a68ba61b00d 37238 powerdevil_6.7.2-1_amd64.buildinfo
Files:
 4d475e05a25728b3d3bf20b601bbd401 3718 kde optional powerdevil_6.7.2-1.dsc
 5b4ef0e4994540c31610c99531605a69 1249540 kde optional powerdevil_6.7.2.orig.tar.xz
 cc47506b794931c1df3c9168166a8fa0 488 kde optional powerdevil_6.7.2.orig.tar.xz.asc
 1af23e256b8c7ecd745ce95c320804bb 21372 kde optional powerdevil_6.7.2-1.debian.tar.xz
 58e66a93f9b6fda747e338e07e885e8a 37238 kde optional powerdevil_6.7.2-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEIW//QAAaDgcOKDsfcaflM/KRoyQFAmpRCQETHGNvdWNvdWZA
ZGViaWFuLm9yZwAKCRBxp+Uz8pGjJFaMD/9siJuaAe4gKjMh0ImIvy4ITE2M0WWc
eK07M3cgbygq8t/jEdtEqpvbSuxnkGjkXvs5bAN9ijGgy6f3R6dTj4e4kyej1O8o
ZGMUnmYaWKmKn7xzlWOyI9KkEqSfQk4zF6uCNPtIwgykM7I9LJ61ZZxDcdjfhd8I
Xjj5kmO9bE6gmghSC+XtlK19hwJXFmNjSjauIt8zrFJAW6LhSYE050yybM670zE9
1Sjwtu7rWaj85zq1ICC+vcb55P3hL+s/SiCGwRMqBWHcTkVVMTB8M9HAdY4+FfDb
G7mDss0CBHDVPaceDjkxuko/yhkYFDE2MNUOqfeRvnl3+yrv1V6oJuv5LJHLRvzF
5wkwhWvEWX8htz8ddPU0wYBUzftVOIzDchnQoKSrv5Gg9HANrkpDs04xGtpja1jS
HwsGobFMSQXOM9BwBqfBq60mDssZMc6RbybKGceC+vzVnla6UDCkN+wXzpyLk7+Z
3fzGlVQn+Z63PpIRieji9c0V33F7EgOZTaYeKkWo9yvsh11zUiEUkS1FZKfP0fws
n6z/puWRMC/tkoIT3vqI+dph2aDtyol7DKogrviMI1JJi2KHeoGp0iS9or68yyoq
TmCfA+QLoaTrZIYQRGyZt2zV9B8SzfdR+/v0qlH7pPUONaHranIRMMu15bh8Gepe
9SH1Zaqh1kJluQ==
=cvwN
-----END PGP SIGNATURE-----