[Kde-games-devel] Build failed in Jenkins: libkdegames_frameworks_qt5 #1

Ian Wadham iandw.au at gmail.com
Fri Sep 12 00:36:48 UTC 2014


Hi all,

It appears that "porting" a game to Frameworks and committing it is not
(yet) the same as getting it built centrally and readied for release… :-(

And this report from KDE CI seems to show that libkdegames ported to
Frameworks has not previously been built centrally.

Indeed, I am rather mystified as to how the ported version of Bovo
actually got built and tested…

This all blew up because I suggested using Bovo as a first app to
try to build and run on the Apple OS X CI (currently under devel),
thinking it would be a nice simple app with immediately checkable
output when it first builds and runs (Bovo runs an animated demo).
Sorry, guys… :-(

But see my detailed diagnosis and proposed remedies below… :-)

On 12/09/2014, at 8:34 AM, KDE CI System wrote:
> See <http://build.kde.org/job/libkdegames_frameworks_qt5/1/>
> 
> ------------------------------------------
> [...truncated 45 lines...]
> ==== phonon - Branch master
> ==== kwallet - Branch master
etc.

> == Configuring Build
> 
> -- The C compiler identification is GNU 4.8.2
> -- The CXX compiler identification is GNU 4.8.2
etc.

> -- Could NOT find OpenAL (missing:  OPENAL_LIBRARY OPENAL_INCLUDE_DIR) 
> -- Found SndFile: /usr/lib64/libsndfile.so  
> -- Checking libsndfile capabilities
> -- FALLBACK LIBRARY FOR SOUND: Phonon:phonon4qt5
> -- 
> -- The following RECOMMENDED packages have been found:
> 
> * SndFile , <http://www.mega-nerd.com/libsndfile/>
>   Phonon is used as a fallback, but low-latency sound output is only available with OpenAL/SndFile

Jenkins needs to be equipped with the OpenAL library.

But who do we tell? "KDE CI System <null at kde.org>" seems
a rather unpromising address… :-)

> -- The following REQUIRED packages have been found:
> 
> * ECM (required version >= 0.0.9)
> * Qt5Core (required version >= 5.3.1)
> * Qt5Gui (required version >= 5.3.1)
etc.

> -- The following OPTIONAL packages have not been found:
> 
> * OpenAL

I think it is high time we made OpenAL MANDATORY in libkdegames.

It has had about 3 years as optional now, and Phonon has not had a
good track record with games...

> -- Configuring done
> -- Generating done
> CMake Warning:
>  Manually-specified variables were not used by the project:
> 
>    KDE4_BUILD_TESTS
>    LIB_SUFFIX
>    SIP_DEFAULT_SIP_DIR
> 
> 
> -- Build files have been written to: <http://build.kde.org/job/libkdegames_frameworks_qt5/ws/build>
> 
> == Commencing the Build
etc.

> <http://build.kde.org/job/libkdegames_frameworks_qt5/ws/libkdegamesprivate/kchatbase.cpp>:0: Note: No relevant classes found. No output generated.
> Generating kgamesvgdocumenttest.moc
> <http://build.kde.org/job/libkdegames_frameworks_qt5/ws/libkdegamesprivate/tests/kgamesvgdocumenttest.cpp>:0: Note: No relevant classes found. No output generated.
> Generating kgamepropertytest.moc
> <http://build.kde.org/job/libkdegames_frameworks_qt5/ws/libkdegamesprivate/tests/kgamepropertytest.cpp>:0: Note: No relevant classes found. No output generated.
> Generating corebindingsplugin.moc
> <http://build.kde.org/job/libkdegames_frameworks_qt5/ws/declarativeimports/corebindingsplugin.cpp>:0: Note: No relevant classes found. No output generated.
etc.

> Generating kgamedifficulty.moc
> Generating moc_kgamethemeselector.cpp
> Generating moc_kchatbase.cppGenerating moc_kchatbaseitemdelegate.cpp
> Generating moc_kchatbasemodel.cpp
> Generating moc_kgame.cpp
> Generating moc_kgamechat.cpp
> Generating moc_kgameio.cpp
> Generating moc_kgamenetwork.cpp
> Generating moc_kgamepropertyhandler.cpp
> Generating moc_kgamesequence.cpp
> Generating moc_kmessageclient.cpp
> Generating moc_kmessageio.cpp
> Generating moc_kmessageserver_p.cpp
> Generating moc_kplayer.cpp
> Generating moc_kgamecanvas.cpp
> [  8%] Built target kdegamesprivate_automoc
> make: *** [all] Error 2
> Compiliation step exited with non-zero code, assuming failure to build from source for project libkdegames.
> Build step 'Execute shell' marked build as failure
> [WARNINGS] Skipping publisher since build result is FAILURE
> Recording test results

I do not understand these later errors.  Libkdegames HAS been built OK
by my KDE-Mac mailing-list friend, Marko Käning, on the (being developed)
Apple OS X Jenkins CI, after I clued him in to install OpenAL and libsndfile.
I think someone has also built it OK with Linux and new Plasma.

Libkdegamesprivate, IIRC, contains obsolescent or obsolete KDE Games
classes and (IIRC) any game still using them is supposed to clone the source
(or something like that).  Maybe it is time to DELETE libkdegamesprivate…

Cheers, Ian W.



More information about the kde-games-devel mailing list