Opened 12 years ago

Closed 10 years ago

#36351 closed defect (fixed)

Fontforge build fails on 10.8.2 with xcode 4.4

Reported by: Russell-Jones-OxPhys (Russell Jones) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: asahiro.g@…, neverpanic (Clemens Lang)
Port: fontforge

Description

A segfault occurs in clang when compiling scsstylesui.c. There's also something about the preprocessor and -arch options.

main.log attached

:info:build /usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include/freetype2/ -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include -I../inc -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -I/opt/local/include -DHAVE_CONFIG_H '-DSHAREDIR="/opt/local/share/fontforge"' -DLIBDIR='"/opt/local/lib"' -I/opt/local/include '-DPREFIX="/opt/local"' -c scstylesui.c
:info:build clang: error: unable to execute command: Segmentation fault: 11
:info:build clang: error: clang frontend command failed due to signal (use -v to see invocation)
:info:build clang: note: diagnostic msg: Please submit a bug report to http://developer.apple.com/bugreporter/ and include command line arguments and all diagnostic information.
:info:build clang: note: diagnostic msg: Error generating preprocessed source(s) - cannot generate preprocessed source with multiple -arch options.
:info:build make[1]: *** [metricsview.o] Error 254
:info:build make[1]: *** Waiting for unfinished jobs....

This was after sudo port selfupdate ; sudo port upgrade outdated ; sudo port clean fontforge ; sudo port install fontforge The segfault occurs when compiling different files. I've only tried it three times, but it's been twice as above, and once with metricsview.c

Attachments (1)

fontforge-main.log (457.8 KB) - added by Russell-Jones-OxPhys (Russell Jones) 12 years ago.
10.8.2 build log for fontforge

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by Russell-Jones-OxPhys (Russell Jones)

Attachment: fontforge-main.log added

10.8.2 build log for fontforge

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

Cc: nomaintainer@… removed

Please file a bug report with Apple, as the error message says to do.

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

You should probably try Xcode 4.5; if the problem is fixed there then there's no point reporting it to Apple. If that works, we can make the port warn about using Xcode 4.4 on 10.8.

comment:3 Changed 11 years ago by Russell-Jones-OxPhys (Russell Jones)

The same happens with 4.5.2. I've filed a bug report at developer.apple.com, Problem ID: 12700277

Last edited 11 years ago by Russell-Jones-OxPhys (Russell Jones) (previous) (diff)

comment:4 Changed 11 years ago by Russell-Jones-OxPhys (Russell Jones)

By the way, there seems to be a new version of fontforge, fontforge_full-20120731.tar.bz2

comment:5 Changed 11 years ago by asahiro.g@…

Cc: asahiro.g@… added

Cc Me!

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

Cc: cal@… added
Resolution: fixed
Status: newclosed

fontforge was updated to 20120731 in r103382.

Note: See TracTickets for help on using tickets.