Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#35478 closed defect (fixed)

kdelibs3 @3.5.10 Not building on Mountain Lion

Reported by: rwc@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: mountainlion Cc: mp@…, FlorianFranzen@…, raimue (Rainer Müller)
Port: kdelibs3

Description

Getting compile errors. The attached log is from a build with gcc45. I've tried it with the gcc42 (apple), gcc44 and gcc46 with similar (the error varies a bit) results. I'm actually trying to build kcachegrind which depends on kdelibs3

Attachments (2)

main.log.gz (61.3 KB) - added by rwc@… 12 years ago.
Build log under gcc45
cups_1.6_CompileScript.sh.patch (360 bytes) - added by FlorianFranzen@… 11 years ago.
Patch for ports/kde/kdelibs3/files/CompileScript.sh to fix cups 1.6 build problem.

Download all attachments as: .zip

Change History (12)

Changed 12 years ago by rwc@…

Attachment: main.log.gz added

Build log under gcc45

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: mountainlion added; Mountain Lion removed

This is hardly surprising since kdelibs3 is ancient.

comment:2 in reply to:  description Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to rwc@…:

I'm actually trying to build kcachegrind which depends on kdelibs3

Then we should update kcachegrind to the latest version which uses kdelibs4 instead; see #34556.

comment:3 Changed 12 years ago by mp@…

Cc: mp@… added

Cc Me!

comment:4 Changed 12 years ago by francois@…

Any update on this one? I've worked around the issue for now by (temporarily) uninstalling kcachegrind.

Changed 11 years ago by FlorianFranzen@…

Patch for ports/kde/kdelibs3/files/CompileScript.sh to fix cups 1.6 build problem.

comment:5 Changed 11 years ago by FlorianFranzen@…

Since Apple update cups to version 1.6 in mountain lion, the ipp_t and ipp_value_t structures are now private by default. You can reenable them by setting _IPP_PRIVATE_STRUCTURES to 1 to fix this problem temporary, since cups still allows you to reenable this deprecated feature (Patch attached above). Till they fix this problem upstream, this fix will just work fine. Please merge it upstream.

comment:6 Changed 11 years ago by FlorianFranzen@…

Cc: FlorianFranzen@… added

Cc Me!

comment:7 Changed 11 years ago by raimue (Rainer Müller)

Similar patch committed in r99958.

comment:8 Changed 11 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

comment:9 Changed 11 years ago by jmroot (Joshua Root)

Cc: raimue@… added

Does CPPFLAGS not work? That's where a -D option should really go.

comment:10 Changed 11 years ago by raimue (Rainer Müller)

Of course, you are right. Moved to CPPFLAGS in r100009.

Note: See TracTickets for help on using tickets.