Bug 469979

Summary: kdesrc-build fails building kitinerary due to provided Poppler missing expected build configuration
Product: [KDE Neon] neon Reporter: Mihai Sorin Dobrescu <msdobrescu>
Component: Packages Unstable EditionAssignee: Neon Bugs <neon-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: carlosd.kde, jr, msdobrescu, neon-bugs-null, sitter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Mihai Sorin Dobrescu 2023-05-19 09:22:53 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

Building with kdesrc-build fails.

STEPS TO REPRODUCE
1.  setup kdesrc-build as documented here: https://community.kde.org/Get_Involved/development
2. issue: kdesrc-build --include-dependencies --ignore-modules kdewebkit --refresh-build
3. kitinerary build fails with:

CMake Error at CMakeLists.txt:79 (message):
  Poppler was not build with ENABLE_UNSTABLE_API_ABI_HEADERS!

OBSERVED RESULT

See point 3. above.

EXPECTED RESULT

A Poppler package built with the required configuration to be available in the repos.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 5.19.0-41-generic (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-11700K @ 3.60GHz
Memory: 15,6 GiB of RAM
Graphics Processor: llvmpipe
Manufacturer: QEMU
Product Name: Standard PC (Q35 + ICH9, 2009)
System Version: pc-q35-7.0
kdesrc-build 22.07 (v22.07-204-g03bd060)

ADDITIONAL INFORMATION
Comment 1 Carlos De Maine 2023-05-22 10:00:45 UTC
that's strange as our poppler backports have that flag enabled - https://invent.kde.org/neon/backports-jammy/poppler-jammy/-/blob/Neon/release/debian/rules?ref_type=heads.  also kitinerary packages are built against those poppler packages - https://build.neon.kde.org/job/jammy_unstable_kde_kitinerary_bin_amd64/158/consoleFull
Comment 2 Mihai Sorin Dobrescu 2023-05-22 13:33:38 UTC
Indeed, while it did not work at the time of the bug report, after upgrading the system today, the error changed to:

/home/msdobrescu/kde/src/marble/src/apps/marble-kde/marble_part.cpp: In member function ‘void Marble::MarblePart::showMapWizard()’:
/home/msdobrescu/kde/src/marble/src/apps/marble-kde/marble_part.cpp:1370:48: error: ‘wmtsServers’ is not a member of ‘MarbleSettings’
 1370 |     mapWizard->setWmtsServers( MarbleSettings::wmtsServers() );
      |                                                ^~~~~~~~~~~
/home/msdobrescu/kde/src/marble/src/apps/marble-kde/marble_part.cpp:1374:21: error: ‘setWmtsServers’ is not a member of ‘MarbleSettings’
 1374 |     MarbleSettings::setWmtsServers( mapWizard->wmtsServers() );
      |                     ^~~~~~~~~~~~~~
[ 99%] Building CXX object src/apps/marble-maps/CMakeFiles/marble-maps.dir/MarbleMaps.cpp.o
gmake[2]: *** [src/apps/marble-kde/CMakeFiles/marble_part.dir/build.make:99: src/apps/marble-kde/CMakeFiles/marble_part.dir/marble_part.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:8341: src/apps/marble-kde/CMakeFiles/marble_part.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 99%] Building CXX object src/apps/marble-maps/CMakeFiles/marble-maps.dir/TextToSpeechClient.cpp.o
[ 99%] Building CXX object src/apps/marble-maps/CMakeFiles/marble-maps.dir/qrc_MarbleMaps.cpp.o
[ 99%] Building CXX object src/apps/marble-kde/CMakeFiles/marble.dir/KdeMainWindow.cpp.o
[ 99%] Building CXX object src/apps/marble-kde/CMakeFiles/marble.dir/marble_part.cpp.o
[ 99%] Linking CXX executable marble-maps
[ 99%] Linking CXX executable marble-qt
[ 99%] Built target marble-maps
[100%] Building CXX object src/apps/marble-kde/CMakeFiles/marble.dir/settings.cpp.o
[100%] Built target marble-qt
/home/msdobrescu/kde/src/marble/src/apps/marble-kde/marble_part.cpp: In member function ‘void Marble::MarblePart::showMapWizard()’:
/home/msdobrescu/kde/src/marble/src/apps/marble-kde/marble_part.cpp:1370:48: error: ‘wmtsServers’ is not a member of ‘MarbleSettings’
 1370 |     mapWizard->setWmtsServers( MarbleSettings::wmtsServers() );
      |                                                ^~~~~~~~~~~
/home/msdobrescu/kde/src/marble/src/apps/marble-kde/marble_part.cpp:1374:21: error: ‘setWmtsServers’ is not a member of ‘MarbleSettings’
 1374 |     MarbleSettings::setWmtsServers( mapWizard->wmtsServers() );
      |                     ^~~~~~~~~~~~~~
gmake[2]: *** [src/apps/marble-kde/CMakeFiles/marble.dir/build.make:127: src/apps/marble-kde/CMakeFiles/marble.dir/marble_part.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [CMakeFiles/Makefile2:8370: src/apps/marble-kde/CMakeFiles/marble.dir/all] Error 2
gmake: *** [Makefile:166: all] Error 2

So marble does not build now.
Comment 3 Carlos De Maine 2023-05-23 04:38:51 UTC
unstable has been on a divert for a couple of months whilst plasma6 was stabilised.  the divert was removed so the new poppler packages must be ok.  the marble error is exactly the same one the neon build servers are seeing as well.  i reported the issue upstream to marble last night - https://build.neon.kde.org/job/jammy_unstable_kde_marble_bin_arm64/68/consoleFull.  as this is an unrelated error i am going to close this bug report.  cheers carlos
Comment 4 Mihai Sorin Dobrescu 2023-05-23 04:43:29 UTC
Thanks! Is there a new bug?
Comment 5 Carlos De Maine 2023-05-23 08:40:53 UTC
(In reply to Mihai Sorin Dobrescu from comment #4)
> Thanks! Is there a new bug?

yes in marble and hopefully that issue i've opened will be resolved soon
Comment 6 Mihai Sorin Dobrescu 2023-05-23 09:51:41 UTC
Sorry to be so unclear, I mean a bug report.
Comment 7 Carlos De Maine 2023-05-31 02:18:14 UTC
the issue i created has been addressed by Torsten and bug is fixed in master and packaged in unstable neon.  issues are kind of like but bug reports for developers to communicate together in a easier fashion than wading through bug reports
Comment 8 Mihai Sorin Dobrescu 2023-06-14 09:18:25 UTC
For reference, as there are more packages failing (like discover) what is the right place to report this kind of bug, that relates to KDE Neon specific distro support for building with kdesrc-build?