Bug 377464

Summary: kopete fails to build with glibc 2.25
Product: [Unmaintained] kopete Reporter: Antonio Rojas <arojas>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Compilation output

Description Antonio Rojas 2017-03-10 14:16:59 UTC
Created attachment 104492 [details]
Compilation output

kopete (16.12.3) fails to build after updating glibc to 2.25.

Compilation outputs several errors like

/build/kdenetwork-kopete/src/kopete-16.12.3/protocols/jabber/libiris/src/irisnet/noncore/cutestuff/bytestream.h:52: Parse error at "defined"
automoc4: process for /build/kdenetwork-kopete/src/build/protocols/jabber/libiris/bsocket.moc failed: Unknown error
pid to wait for: 0

(multiple times)
and

/build/kdenetwork-kopete/src/kopete-16.12.3/protocols/jabber/libiris/src/irisnet/noncore/legacy/servsock.h:52: Parse error at "defined"
automoc4: process for /build/kdenetwork-kopete/src/build/protocols/jabber/libiris/moc_servsock.cpp failed: Unknown error
pid to wait for: 0

and finally

returning failed..
make[2]: *** [protocols/jabber/CMakeFiles/kopete_jabber_automoc.dir/build.make:57: protocols/jabber/CMakeFiles/kopete_jabber_automoc] Error 1
make[1]: *** [CMakeFiles/Makefile2:3952: protocols/jabber/CMakeFiles/kopete_jabber_automoc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

It works fine with glibc 2.24. Full compilation output attached
Comment 1 Antonio Rojas 2017-03-13 12:55:41 UTC
Seems to be a general problem with qt4-moc, see https://bugzilla.redhat.com/show_bug.cgi?id=1396755