Summary: | sys-power/upower-0.99.12: does not recognize laptop battery | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marco Scardovi (scardracs) <mscardovi> |
Component: | Current packages | Assignee: | Freedesktop bugs <freedesktop-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | contactopublico57, dennis.lissov, gentoo.defile, gentoo, marduk, maxbritov, nowa, nrndda, polynomial-c, soprwa |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://gitlab.freedesktop.org/upower/upower/-/merge_requests/75 | ||
See Also: | https://gitlab.freedesktop.org/upower/upower/-/issues/149 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 803869 | ||
Bug Blocks: | 796896 | ||
Attachments: | diff libgudev 234 vs 236 |
Description
Marco Scardovi (scardracs)
2021-07-17 07:37:46 UTC
I can confirm this. Downgrading to upower-0.99.11 "fixes" the issue. What happens if you stop applying https://gitlab.freedesktop.org/upower/upower/-/commit/2949136b152e94aa3b57da5130bcb9022724debe as current ebuild does? (In reply to Pacho Ramos from comment #2) > What happens if you stop applying > https://gitlab.freedesktop.org/upower/upower/-/commit/ > 2949136b152e94aa3b57da5130bcb9022724debe > > as current ebuild does? Tested, it's not the patch Arch seem to be packaging it at commit 0f2837acded0bf82acedf5caafc81684e1919c89, but no way for me to check that out right now for inaccessible cgit.freedesktop. (In reply to Andreas Sturmlechner from comment #4) > but no way for me to check that > out right now for inaccessible cgit.freedesktop. Is https://gitlab.freedesktop.org/upower/upower/-/tree/master a different repository? Nah, that's actually the current one, they did not update their homepage to link to it, thx. I can confirm this issue. Also I think that br0ken upower should be masked untill fix will be applyed (In reply to Alexey Shvetsov from comment #7) > I can confirm this issue. Also I think that br0ken upower should be masked > untill fix will be applyed IMHO it needs to be reported to upstream first in order to get a fix ;) *** Bug 803263 has been marked as a duplicate of this bug. *** Are you running systemd or eudev? For me it seems libgudev-236 fix my Dell Battery and upower-0.99.12 libgudev-236.news CHANGES WITH 236: * Fix meson project name to match autotools CHANGES WITH 235: * Port build system to meson and remove autotools * Fix conversion of sysfs attributes to boolean Created attachment 726574 [details, diff]
diff libgudev 234 vs 236
mkdir -p /etc/portage/patches/dev-libs/libgudev-234
put patch to the folder
emerge dev-libs/libgudev
check it
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84cc5276796ac5ebe1074b6f2473869fe9fb7218 commit 84cc5276796ac5ebe1074b6f2473869fe9fb7218 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-07-26 18:10:24 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-07-26 18:12:05 +0000 sys-power/upower: Raise minimum dev-libs/libgudev version to 236 Thanks-to: Maxim Britov <maxbritov@ya.ru> Closes: https://bugs.gentoo.org/802552 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> sys-power/upower/upower-0.99.12-r1.ebuild | 102 ++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) |