Bug 458942 - kdesrc-build of kcodecs fails
Summary: kdesrc-build of kcodecs fails
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kcodecs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-10 05:07 UTC by Alexander Wilms
Modified: 2022-09-15 03:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
error.log (1.65 KB, text/x-log)
2022-09-10 05:07 UTC, Alexander Wilms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Wilms 2022-09-10 05:07:04 UTC
Created attachment 151959 [details]
error.log

SUMMARY
I tried to kdesrc-build plasma-desktop, but the kcodecs module failed.


STEPS TO REPRODUCE
1. kdesrc-build kcodecs

OBSERVED RESULT
Building kcodecs from frameworks (10/96)
        Fetching remote changes to kcodecs
        Merging kcodecs changes from branch master
        No changes to kcodecs source, proceeding to build.
        Compiling... failed (after 3 seconds)

/home/alexander/kde/src/kcodecs/src/kcharsets.cpp: In static member function ‘static QChar KCharsets::fromEntity(const QString&)’:
/home/alexander/kde/src/kcodecs/src/kcharsets.cpp:556:11: error: ‘entity’ does not name a type
  556 |     const entity *e = KCodecsEntities::kde_findEntity(raw.data(), raw.length());
      |           ^~~~~~
/home/alexander/kde/src/kcodecs/src/kcharsets.cpp:558:10: error: ‘e’ was not declared in this scope
  558 |     if (!e) {
      |          ^
/home/alexander/kde/src/kcodecs/src/kcharsets.cpp:564:18: error: ‘e’ was not declared in this scope
  564 |     return QChar(e->code);
      |                  ^

EXPECTED RESULT
Build succeeds

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220908
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.7-1-default (64-bit)
Graphics Platform: Wayland


ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-09-13 18:02:54 UTC
Works for me and the CI is green. There's probably a local issue on your end, or you're building an old version.
Comment 2 Alexander Wilms 2022-09-15 03:54:50 UTC
This fixed it for me:

kdesrc-build --refresh-build kcodecs