Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 930154

Summary: kde-frameworks/kio-6.1.0: src/gui/systemd/scopedprocessrunner.cpp:60:9: error: use of undeclared identifier 'close'
Product: Gentoo Linux Reporter: Gonçalo Negrier Duarte <gonegrier.duarte>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED UPSTREAM    
Severity: normal CC: egger.m, gonegrier.duarte, yamadharma
Priority: Normal Keywords: UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=485854
See Also: https://invent.kde.org/frameworks/kio/-/merge_requests/1619
Whiteboard: fixed in 6.2.0
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: Emerge --info
kde-frameworks/kio-6.1.0 build log
0001-Revert-Make-ScopedProcessRunner-hold-the-child-unit.patch

Description Gonçalo Negrier Duarte 2024-04-17 17:18:19 UTC
Created attachment 890998 [details]
Emerge --info

I having the error above when compiling the kde-frameworks/kio-6.1.0 on the llvm profile. 

This bug seems to have been cause by this commit here: 
https://invent.kde.org/frameworks/kio/-/commit/152fa94b5fb2c3226b0f8f7975c1f06bec4ecdaa

I gonna attach my emerge --info and build.log

I will also try revert the commit and see if compile fine (don't know if can cause problems on kio, but for commit message I think it doesn't affect me, since I don't have any systemd error).

Probably this bug also need to be reported upstream.

Best Regards,
Gonçalo Negrier Duarte
Comment 1 Gonçalo Negrier Duarte 2024-04-17 17:20:02 UTC
Created attachment 891000 [details]
kde-frameworks/kio-6.1.0 build log
Comment 2 Gonçalo Negrier Duarte 2024-04-17 17:24:55 UTC
Created attachment 891001 [details, diff]
0001-Revert-Make-ScopedProcessRunner-hold-the-child-unit.patch
Comment 3 Gonçalo Negrier Duarte 2024-04-17 17:29:51 UTC
Here is my list of useflag in kio:
USE="acl handbook kwallet wayland -X -debug -designer -doc -test"
Comment 4 Gonçalo Negrier Duarte 2024-04-17 17:35:46 UTC
(In reply to Gonçalo Negrier Duarte from comment #0)
 
> I will also try revert the commit and see if compile fine (don't know if can
> cause problems on kio, but for commit message I think it doesn't affect me,
> since I don't have any systemd error).


After reverting the commit, using the patch above, it compiled just fine
Comment 5 Andreas Sturmlechner gentoo-dev 2024-04-20 13:09:27 UTC
Obviously we won't revert that commit downstream.

Please file a bug upstream with all your information if you want this fixed.
Comment 6 Gonçalo Negrier Duarte 2024-04-22 10:21:26 UTC
Here is the bug upstream: https://bugs.kde.org/show_bug.cgi?id=485854
Comment 7 Gonçalo Negrier Duarte 2024-04-27 15:47:05 UTC
Andreas you could apply this MR to the current package just to solve the compile error (I’m doing it on my end):
https://invent.kde.org/frameworks/kio/-/merge_requests/1619
Comment 8 Andreas Sturmlechner gentoo-dev 2024-04-27 17:19:39 UTC
Thanks for taking it upstream. This is a minority problem with a still-masked package, and 6.2.0 is slated for release on Fri May 10, 2024 anyway.