Opened 13 years ago

Closed 13 years ago

#29487 closed defect (invalid)

freetype: ftimage.h:1292:2: error: #endif without #if

Reported by: williamgpriceiii@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: freetype

Description (last modified by mf2k (Frank Schima))

While trying to install wine I receive this error:

Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install freetype

and

Error: Status 1 encountered during processing.

I have XCode 3.2.5 and Snow Leopard installed.

Attachments (1)

main.log (8.4 KB) - added by williamgpriceiii@… 13 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: freetype added
Resolution: worksforme
Status: newclosed
Summary: Failed to install WineFailed to install freetype

Without a log, there is nothing to diagnose. Please attach it and re-open the ticket.

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

Cc: ryandesign@… added

Changed 13 years ago by williamgpriceiii@…

Attachment: main.log added

comment:3 Changed 13 years ago by williamgpriceiii@…

Resolution: worksforme
Status: closedreopened

I've added the log. Sorry about that.

comment:4 Changed 13 years ago by jmroot (Joshua Root)

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: reopenednew
Summary: Failed to install freetypeFailed to build freetype +universal

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

Summary: Failed to build freetype +universalfreetype: ftimage.h:1292:2: error: #endif without #if

The error I see in the log is:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_freetype/work/freetype-2.4.4-x86_64/include/freetype/ftimage.h:1292:2: error: #endif without #if

When I extract a fresh copy of freetype 2.4.4, the #endif comes on line 1305; line 1292 is in the middle of the FT_Raster_Funcs struct definition. The #if to which this #endif corresponds is the one at the top of the file reading "#ifndef __FTIMAGE_H__". freetype builds fine universal for me.

The log you attached is incomplete. (Contains lines "Skipping...") Can you clean and try again, and if it fails again, attach the complete main.log?

sudo port clean freetype
sudo port install freetype +universal

comment:6 Changed 13 years ago by williamgpriceiii@…

Clean and reinstall of freetype worked.

Thank you.

comment:7 Changed 13 years ago by mf2k (Frank Schima)

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