https://bugs.kde.org/show_bug.cgi?id=485854
Bug ID: 485854
Summary: kde-frameworks/kio-6.1.0: [LLVM-18]
src/gui/systemd/scopedprocessrunner.cpp:60:9: error:
use of undeclared identifier 'close'
Classification: Frameworks and Libraries
Product: frameworks-kio
Version: 6.1.0
Platform: Gentoo Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 168714
--> https://bugs.kde.org/attachment.cgi?id=168714&action=edit
kde-frameworks/kio-6.1.0 build log
I having the error above when compiling the kde-frameworks/kio-6.1.0 on the
llvm-18 profile.
This bug seems to have been cause by this commit here:
https://invent.kde.org/frameworks/kio/-/commit/152fa94b5fb2c3226b0f8f7975c1f06bec4ecdaa
I gonna attach the emerge --info and build.log, the same are also present on
the gentoo bug tracker: https://bugs.gentoo.org/930154
STEPS TO REPRODUCE
1. Have LLVM-18.1.4
2. Update KDE Plasma 6.0.4, Gear 24.02.2 and Frameworks 6.1.0
2. Compiled kde-frameworks/kio-6.1.0 with useflags "acl handbook kwallet
wayland"
OBSERVED RESULT
```bash
/var/tmp/portage/kde-frameworks/kio-6.1.0/work/kio-6.1.0/src/gui/systemd/scopedprocessrunner.cpp:60:9:
error: use of undeclared identifier 'close'
60 | close(efd);
| ^
1 error generated.
```
EXPECTED RESULT
Compliled without any error
SOFTWARE/OS VERSIONS
Linux: Gentoo Linux 2.15
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0*
Qt Version: 6.7.0
ADDITIONAL INFORMATION
I was able to update to KDE Frameworks 6.1.0 by apply a patch that revert the
commit above
For my understanding I don't think this bug is llvm-18 specific I think can
also happen on gcc
Best Regards,
Gonçalo Negrier Duarte
--
You are receiving this mail because:
You are watching all bug changes.