Opened 14 years ago

Closed 14 years ago

#24521 closed defect (fixed)

ecore-0.9.9.038 : ecore_evas_private.h:122 syntax error

Reported by: hashar@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: ecore

Description (last modified by jmroot (Joshua Root))

I tried to install the "eport" package on Mac OS X 1.5.8. It seems to compile with GCC 4.0. The relevant section is :

Making all in ecore_evas
if /bin/sh ../../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/lib/ecore -I../../../src/lib/ecore_evas -I../../../src/lib/ecore -I../../../src/lib/ecore_evas -I../../../src/lib/ecore_x   -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/eina-0 -I/opt/local/include/eina-0/eina   -I/opt/local/include  -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/eina-0 -I/opt/local/include/eina-0/eina   -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/eina-0 -I/opt/local/include/eina-0/eina   -O2 -arch i386 -Wall -MT ecore_evas.lo -MD -MP -MF ".deps/ecore_evas.Tpo" -c -o ecore_evas.lo ecore_evas.c; \
	then mv -f ".deps/ecore_evas.Tpo" ".deps/ecore_evas.Plo"; else rm -f ".deps/ecore_evas.Tpo"; exit 1; fi
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/lib/ecore -I../../../src/lib/ecore_evas -I../../../src/lib/ecore -I../../../src/lib/ecore_evas -I../../../src/lib/ecore_x -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/eina-0 -I/opt/local/include/eina-0/eina -I/opt/local/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/eina-0 -I/opt/local/include/eina-0/eina -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/eina-0 -I/opt/local/include/eina-0/eina -O2 -arch i386 -Wall -MT ecore_evas.lo -MD -MP -MF .deps/ecore_evas.Tpo -c ecore_evas.c  -fno-common -DPIC -o .libs/ecore_evas.o
In file included from ecore_evas.c:4:
ecore_evas_private.h:122: error: syntax error before 'Evas_List'
ecore_evas_private.h:122: warning: no semicolon at end of struct or union
ecore_evas_private.h:122: warning: no semicolon at end of struct or union
ecore_evas_private.h:132: error: syntax error before ':' token
etc

This is either an upstream error or related to GCC version. My C knowledge isn't good enough to check this.

Let me know if I should report this error upstream.

Attachments (1)

Portfile-ecore.diff (1.3 KB) - added by hashar@… 14 years ago.
Update ecore Portfile (new upstream location & version). Based on evas Portfile.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: syntax error removed

Please remember to preview and use WikiFormatting. This port has no maintainer, so reporting upstream is all you can do unless you can provide a patch.

comment:2 Changed 14 years ago by jmroot (Joshua Root)

It seems that version 0.9.9.038 is almost 3 years old, so this may well be fixed upstream already.

Changed 14 years ago by hashar@…

Attachment: Portfile-ecore.diff added

Update ecore Portfile (new upstream location & version). Based on evas Portfile.

comment:3 Changed 14 years ago by hashar@…

This is my first attempt at editing a portfile. Note : I did not test ecore but at least the above patch makes it compiles and bring the latest upstream version ;)

comment:4 Changed 14 years ago by hashar@…

I submited another ticket for edje and embryo ports : #24538

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Thanks, updated ecore in r67647.

Note: See TracTickets for help on using tickets.