Bug 277795 - build failure in klineal
Summary: build failure in klineal
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kruler
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Mathias Soeken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 21:27 UTC by tropikhajma
Modified: 2018-10-02 01:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...