[MacPorts] #21398: freetype: /opt/local/bin/freetype-config is not executable

MacPorts noreply at macports.org
Wed Sep 16 07:45:58 PDT 2009


#21398: freetype: /opt/local/bin/freetype-config is not executable
------------------------------+---------------------------------------------
 Reporter:  sawtdk@…          |       Owner:  ryandesign@…           
     Type:  defect            |      Status:  new                    
 Priority:  Normal            |   Milestone:                         
Component:  ports             |     Version:  1.8.0                  
 Keywords:                    |        Port:  freetype               
------------------------------+---------------------------------------------

Comment(by sawtdk@…):

 I trien the chmod 755 command and then freetype-config was an executable.

 Then I tried to install fontconfig and this happened:

 {{{
 $ sudo port install fontconfig +universal
 --->  Computing dependencies for fontconfig
 --->  Fetching fontconfig
 --->  Verifying checksum(s) for fontconfig
 --->  Extracting fontconfig
 --->  Applying patches to fontconfig
 --->  Configuring fontconfig
 --->  Configuring fontconfig for architecture x86_64
 --->  Configuring fontconfig for architecture i386
 --->  Building fontconfig
 --->  Building fontconfig for architecture x86_64
 --->  Building fontconfig for architecture i386
 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-i386"
 && /usr/bin/make -j2 all " returned error 2
 Command output: fcxml.c:167: warning: assignment discards qualifiers from
 pointer target type
 fcxml.c: At top level:
 fcxml.c:138: warning: 'FcExprCreateNil' defined but not used
 /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2 -arch i386
 -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -I/opt/local/include/freetype2
 -I/opt/local/include -I/opt/local/include/libxml2    -Wall -Wpointer-arith
 -Wstrict-prototypes   -Wmissing-prototypes -Wmissing-declarations
 -Wnested-externs -fno-strict-aliasing
 -DFC_CACHEDIR='"/opt/local/var/cache/fontconfig"'
 -DFONTCONFIG_PATH='"/opt/local/etc/fonts"'  -I/opt/local/include  -O2 -c
 -o ftglue.lo ftglue.c
 libtool: compile:  /usr/bin/gcc-4.2 -arch i386 -DHAVE_CONFIG_H -I. -I..
 -I.. -I../src -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes
 -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-
 aliasing -DFC_CACHEDIR=\"/opt/local/var/cache/fontconfig\"
 -DFONTCONFIG_PATH=\"/opt/local/etc/fonts\" -I/opt/local/include -O2 -c
 ftglue.c  -fno-common -DPIC -o .libs/ftglue.o
 libtool: compile:  /usr/bin/gcc-4.2 -arch i386 -DHAVE_CONFIG_H -I. -I..
 -I.. -I../src -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes
 -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-
 aliasing -DFC_CACHEDIR=\"/opt/local/var/cache/fontconfig\"
 -DFONTCONFIG_PATH=\"/opt/local/etc/fonts\" -I/opt/local/include -O2 -c
 ftglue.c -o ftglue.o >/dev/null 2>&1
 libtool: compile:  /usr/bin/gcc-4.2 -arch i386 -DHAVE_CONFIG_H -I. -I..
 -I.. -I../src -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes
 -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-
 aliasing -DFC_CACHEDIR=\"/opt/local/var/cache/fontconfig\"
 -DFONTCONFIG_PATH=\"/opt/local/etc/fonts\" -I/opt/local/include -O2 -c
 fcxml.c -o fcxml.o >/dev/null 2>&1
 /bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2 -arch i386  -O2
 -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  -L/opt/local/lib
 -lfreetype -lz -L/opt/local/lib -lxml2 -lpthread -lz -liconv -lm
 libtool: link: /usr/bin/gcc-4.2 -arch i386 -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 i386   -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
 ld: warning: in /opt/local/lib/libz.dylib, file is not of required
 architecture
 ld: warning: in /opt/local/lib/libiconv.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

 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21398#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list