Bug 277795

Summary: build failure in klineal
Product: [Applications] kruler Reporter: tropikhajma <tropikhajma>
Component: generalAssignee: Mathias Soeken <soeken>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: cfeck, neundorf
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tropikhajma 2011-07-14 21:27:08 UTC
Version:           unspecified (using Devel) 
OS:                Solaris

kruler 4.6.90 fails to build with the sun studio 12u1 compiler with the below error messages:

...
pkgbuild: "/home/test/packages/BUILD/kruler-4.6.90/klineal.cpp", line 116: Error: RulerSettings is not defined.
pkgbuild: "/home/test/packages/BUILD/kruler-4.6.90/klineal.cpp", line 116: Error: The function "self" must have a prototype.
pkgbuild: "/home/test/packages/BUILD/kruler-4.6.90/klineal.cpp", line 116: Error: The function "self" must have a prototype.
pkgbuild: "/home/test/packages/BUILD/kruler-4.6.90/klineal.cpp", line 117: Error: RulerSettings is not defined.
pkgbuild: "/home/test/packages/BUILD/kruler-4.6.90/klineal.cpp", line 117: Error: The function "self" must have a prototype.
pkgbuild: "/home/test/packages/BUILD/kruler-4.6.90/klineal.cpp", line 117: Error: The function "self" must have a prototype.
pkgbuild: "/home/test/packages/BUILD/kruler-4.6.90/klineal.cpp", line 118: Error: RulerSettings is not defined.
...
...

I do not have a patch ATM

Reproducible: Always

Steps to Reproduce:
try to build it


Expected Results:  
builds ok
Comment 1 Christoph Feck 2011-07-21 12:24:10 UTC
That's odd, because "kde4_add_kcfg_files" should have created the kruler.h file and if it hadn't been included, the compiler would have complained earlier. Can you check if the kruler.h file is created in build dir, and whether there are messages before?
Comment 2 Alexander Neundorf 2016-05-31 20:39:38 UTC
Can we close this one ?
The report is 5 years old, we moved to Qt5 and KF5 and newer compiler versions in the meantime...