Hello,

I am the maintainer of the MacPorts fossil package. We use the the source packages from
your download page to assemble the MacPorts package. Starting with the version from 2011-05-23 15:11:12 the fossil build breaks for the i386 architecture on MAC OS X 10.6:

<code>
Undefined symbols for architecture i386: <br/>
   "_fossil_fopen$UNIX2003", referenced from: <br/>
      _do_meta_command in shell.o <br/>
      _do_meta_command in shell.o <br/>
      _do_meta_command in shell.o <br/>
      _do_meta_command in shell.o <br/>
      _sqlite3_shell in shell.o <br/>
ld: symbol(s) not found for architecture i386 <br/>
collect2: ld returned 1 exit status <br/>
lipo: can't open input file: (No such file or directory) <br/>
make: *** [fossil] Error 1 <br/>
</code>

I was able to drill down the the offending change (compared to version 2011-05-12 14:56:52)
to:

<code>
 append opt " -Dfopen=fossil_fopen"
</code>
in makemake.tcl

As a workaround you can change the <code>MACOSX_DEPLOYMENT_TARGET</code> to 10.5, which do not use the strange symbols with the $UNIX2003 suffix.

For more information about the symbols see

Also have look at the corresponding ticket in the MacPorts Bugtracker:
see