Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21470 closed defect (worksforme)

fontconfig won't build on snow leopard (x86_64)

Reported by: psm@… Owned by: macports-tickets@…
Priority: Low Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port:

Description

fontconfig won't upgrade properly. symptoms are below. the fix is to force upgrade of libxml2 to darwin 10. a straight full upgrade (even with --enforce-variants) won't work.

--->  Building fontconfig
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.7.3" && /usr/bin/make -j2 all " returned error 2
Command output: make[3]: Nothing to be done for `all-am'.
Making all in fc-glyphname
/usr/bin/make  all-am
make[3]: Nothing to be done for `all-am'.
Making all in fc-arch
/usr/bin/make  all-am
make[3]: Nothing to be done for `all-am'.
Making all in src
/usr/bin/make  all-am
/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -O2 -arch x86_64 -version-info 5:3:4 -no-undefined  -L/opt/local/lib -o libfontconfig.la -rpath /opt/local/lib fcatomic.lo fcblanks.lo fccache.lo fccfg.lo fccharset.lo fcdbg.lo fcdefault.lo fcdir.lo fcformat.lo fcfreetype.lo fcfs.lo fcinit.lo fclang.lo fclist.lo fcmatch.lo fcmatrix.lo fcname.lo fcpat.lo fcserialize.lo fcstr.lo fcxml.lo ftglue.lo -liconv -L/opt/local/lib -lfreetype -lz -L/opt/local/lib -lxml2 -lpthread -lz -liconv -lm    
libtool: link: /usr/bin/gcc-4.2 -dynamiclib  -o .libs/libfontconfig.1.dylib  .libs/fcatomic.o .libs/fcblanks.o .libs/fccache.o .libs/fccfg.o .libs/fccharset.o .libs/fcdbg.o .libs/fcdefault.o .libs/fcdir.o .libs/fcformat.o .libs/fcfreetype.o .libs/fcfs.o .libs/fcinit.o .libs/fclang.o .libs/fclist.o .libs/fcmatch.o .libs/fcmatrix.o .libs/fcname.o .libs/fcpat.o .libs/fcserialize.o .libs/fcstr.o .libs/fcxml.o .libs/ftglue.o   -L/opt/local/lib /opt/local/lib/libfreetype.dylib /opt/local/lib/libxml2.dylib -lpthread -lz /opt/local/lib/libiconv.dylib -lm  -arch x86_64   -install_name  /opt/local/lib/libfontconfig.1.dylib -compatibility_version 6 -current_version 6.3 -Wl,-single_module
ld: warning: in /opt/local/lib/libxml2.dylib, file is not of required architecture
Undefined symbols:
  "_xmlSAX2GetLineNumber", referenced from:
      _FcConfigMessage in fcxml.o
      _FcConfigMessage in fcxml.o
  "_xmlCtxtGetLastError", referenced from:
      _FcConfigParseAndLoad in fcxml.o
  "_xmlParseChunk", referenced from:
      _FcConfigParseAndLoad in fcxml.o
  "_xmlCreatePushParserCtxt", referenced from:
      _FcConfigParseAndLoad in fcxml.o
  "_xmlFreeParserCtxt", referenced from:
      _FcConfigParseAndLoad in fcxml.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [libfontconfig.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History (2)

comment:1 Changed 15 years ago by tobypeterson

Resolution: worksforme
Status: newclosed

see Migration

comment:2 Changed 15 years ago by psm@…

ah well, the real problem is that it takes a while to realize you need to fully reinstall macports to migrate.

Note: See TracTickets for help on using tickets.