Opened 21 years ago

Closed 19 years ago

#1448 closed defect (fixed)

BUG: gdk-pixbuf broken

Reported by: darwin@… Owned by: mij@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: markd@…
Port:

Description

I installed darwinports on January 21st and am currently trying to complie Gnome. It will not build as gdk-pixbuf is broken. I port -dv install gdk-pixbuf and received the following errors. I downloaded the source and noticed that same errors occur. I don't know how to fix the problem thus I am posting the bug here.

Cheers, J

---> Building gdk-pixbuf with target all Error: Target com.apple.build returned: shell command "cd "/usr/local/darwinports/dports/ graphics/gdk-pixbuf/work/gdk-pixbuf-0.22.0" && make all" returned error 2 Command output: gdk-pixbuf.c:281: error: parse error before "gdk_pixbuf_get_has_alpha" gdk-pixbuf.c: In function `gdk_pixbuf_get_has_alpha': gdk-pixbuf.c:285: error: dereferencing pointer to incomplete type gdk-pixbuf.c:285: error: `TRUE' undeclared (first use in this function) gdk-pixbuf.c:285: error: `FALSE' undeclared (first use in this function) gdk-pixbuf.c: In function `gdk_pixbuf_get_bits_per_sample': gdk-pixbuf.c:301: error: dereferencing pointer to incomplete type gdk-pixbuf.c: At top level: gdk-pixbuf.c:312: error: parse error before '*' token gdk-pixbuf.c: In function `gdk_pixbuf_get_pixels': gdk-pixbuf.c:317: error: dereferencing pointer to incomplete type gdk-pixbuf.c: In function `gdk_pixbuf_get_width': gdk-pixbuf.c:333: error: dereferencing pointer to incomplete type gdk-pixbuf.c: In function `gdk_pixbuf_get_height': gdk-pixbuf.c:349: error: dereferencing pointer to incomplete type gdk-pixbuf.c: In function `gdk_pixbuf_get_rowstride': gdk-pixbuf.c:365: error: dereferencing pointer to incomplete type gdk-pixbuf.c: At top level: gdk-pixbuf.c:371: error: parse error before "gdk_pixbuf_major_version" gdk-pixbuf.c:371: warning: data definition has no type or storage class gdk-pixbuf.c:372: error: parse error before "gdk_pixbuf_minor_version" gdk-pixbuf.c:372: warning: data definition has no type or storage class gdk-pixbuf.c:373: error: parse error before "gdk_pixbuf_micro_version" gdk-pixbuf.c:373: warning: data definition has no type or storage class gdk-pixbuf.c:378: error: parse error before "app" gdk-pixbuf.c:383: error: parse error before "app" make[3]: * [gdk-pixbuf.lo] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive-am] Error 2

Change History (6)

comment:1 Changed 21 years ago by waqar@…

Owner: changed from darwinports-bugs@… to mij@…

comment:2 Changed 20 years ago by thomas+opendarwin@…

Status: newassigned

This is interesting. It compiles fine with Mac OS X 10.3.5 with xCode 1.2 / gcc version 3.3 20030304 (Apple Computer, Inc. build 1640), but not my other machine with xCode 1.5 / gcc version 3.3 20030304 (Apple Computer, Inc. build 1666).

The xCode 1.5 machine was newly installed yesterday with a nightly build of darwinport. What gcc version do you have? We may want to note xCode 1.5 in the title if so. The line in gdk-pixbuf.c that it reports a syntax error on (line 281) is:

gboolean gdk_pixbuf_get_has_alpha (const GdkPixbuf *pixbuf) {

I'm not sure where the parse error before hand is. For giggles, I tried to change gboolean (from glib) to boolean to see if it would change the error message, but it didn't. Anyone else better at C venture to guess?

comment:3 Changed 20 years ago by ksahr@…

The Makefile as written isn't finding "gdk/gdk.h" which is included by gdk-pixbuf.h, so GdkPixbuf isn't getting fully defined. At least for me :)

(In reply to comment #1)

The line in gdk-pixbuf.c that it reports a syntax error on (line 281) is:

gboolean gdk_pixbuf_get_has_alpha (const *pixbuf) {

I'm not sure where the parse error before hand is. For giggles, I tried to change gboolean (from glib)

to

boolean to see if it would change the error message, but it didn't. Anyone else better at C venture to guess?

comment:4 Changed 20 years ago by snu@…

Summary: gdk-pixbuf brokenBUG: gdk-pixbuf broken

comment:5 Changed 19 years ago by markd@…

Cc: markd@… added

This port has been fixed by a revision. This can be closed.

comment:6 Changed 19 years ago by mij@…

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