Opened 9 years ago

Closed 9 years ago

#47555 closed defect (fixed)

json-glib @1.0.4: Need to define glib_enum_h and glib_enum_c

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: haspatch Cc: dbevans (David B. Evans)
Port: json-glib

Description

json-glib @1.0.4 fails to build on OS X 10.4 PPC:

Makefile:1378: *** Need to define glib_enum_h and glib_enum_c.  Stop.

Attachments (2)

main.log (19.7 KB) - added by ryandesign (Ryan Carsten Schmidt) 9 years ago.
json-glib.diff (275 bytes) - added by ryandesign (Ryan Carsten Schmidt) 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

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

Cc: devans@… added
Keywords: haspatch added

The attached patch, which removes the Tiger-specific block to disable gobject introspection, fixes the problem for me. Any objections?

I suspect gobject introspection was being disabled in this port specifically for Tiger because gobject introspection cannot be compiled with the old make 3.80 on Tiger. But we handle that now in the gobject_introspection portgroup by using a newer make from MacPorts, and I suspect the "Need to define" error indicates an incompatibility with make 3.80 as well.

Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: json-glib.diff added

comment:2 in reply to:  1 ; Changed 9 years ago by dbevans (David B. Evans)

Replying to ryandesign@…:

The attached patch, which removes the Tiger-specific block to disable gobject introspection, fixes the problem for me. Any objections?

I suspect gobject introspection was being disabled in this port specifically for Tiger because gobject introspection cannot be compiled with the old make 3.80 on Tiger. But we handle that now in the gobject_introspection portgroup by using a newer make from MacPorts, and I suspect the "Need to define" error indicates an incompatibility with make 3.80 as well.

This may be a dumb question as I've lost touch with Tiger issues, but is using the current gmake out of the question? Are you saying the the current gmake (4.1) is causing the current problem?

Last edited 9 years ago by dbevans (David B. Evans) (previous) (diff)

comment:3 in reply to:  2 Changed 9 years ago by dbevans (David B. Evans)

Replying to devans@…:

Replying to ryandesign@…:

The attached patch, which removes the Tiger-specific block to disable gobject introspection, fixes the problem for me. Any objections?

I suspect gobject introspection was being disabled in this port specifically for Tiger because gobject introspection cannot be compiled with the old make 3.80 on Tiger. But we handle that now in the gobject_introspection portgroup by using a newer make from MacPorts, and I suspect the "Need to define" error indicates an incompatibility with make 3.80 as well.

This may be a dumb question as I've lost touch with Tiger issues, but is using the current gmake out of the question? Are you saying the the current gmake (4.1) is causing the current problem?

Never mind. I mis-read your post and got things completely backwards. No objection here.

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.