Bug 477116

Summary: Doesn't build
Product: [Applications] kgeography Reporter: Antonio Rojas <arojas>
Component: generalAssignee: Albert Astals Cid <aacid>
Status: RESOLVED NOT A BUG    
Severity: normal CC: lauranger
Priority: NOR    
Version First Reported In: 24.01.75   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Antonio Rojas 2023-11-16 22:16:12 UTC
24.01.75 and git master both fail to build:

CMake Error at /usr/lib/cmake/KF6I18n/build-tsfiles.cmake:35 (message):
  failed generating: /build/kgeography/src/kgeography/po
Call Stack (most recent call first):
  /usr/lib/cmake/KF6I18n/build-tsfiles.cmake:65 (_processCommands)


make[2]: *** [CMakeFiles/tsfiles-40fd3fd1b3cacd8c23b5347a09a989e0.dir/build.make:71: CMakeFiles/tsfiles-40fd3fd1b3cacd8c23b5347a09a989e0] Error 1
make[1]: *** [CMakeFiles/Makefile2:930: CMakeFiles/tsfiles-40fd3fd1b3cacd8c23b5347a09a989e0.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
I/O warning : failed to load external entity "/usr/share/kf6/kdoctools/customization/xsl/pt-BR.xml"
Comment 1 Albert Astals Cid 2023-11-16 23:16:21 UTC
Works fine for me and in CI.

Is this a cmake or a make stage issue?
Comment 2 Antonio Rojas 2023-11-17 07:06:47 UTC
Make stage. This is really strange: it works fine when building on my plain filesystem, but it fails when building in a systemd container (which is how Arch packages are built)
Comment 3 Antonio Rojas 2023-11-17 07:29:52 UTC
Nevermind, this was a missing python dependency. Very confusing since ts-pmap-compile doesn't give any meaningful error message. Sorry for the noise.