[MacPorts] #30329: Error: Failed to install fontconfig

MacPorts noreply at macports.org
Sun Jul 24 20:58:02 PDT 2011


#30329: Error: Failed to install fontconfig
---------------------------------+------------------------------------------
 Reporter:  pengyu.ut@…          |       Owner:  ryandesign@…           
     Type:  defect               |      Status:  new                    
 Priority:  Normal               |   Milestone:                         
Component:  ports                |     Version:  2.0.0                  
 Keywords:                       |        Port:  fontconfig             
---------------------------------+------------------------------------------

Comment(by ryandesign@…):

 The log you attached says:

 {{{
 :error:configure You cannot install wine for the architecture(s) i386
 because
 :error:configure its dependency fontconfig only contains the
 architecture(s) x86_64.
 :error:configure
 :error:configure Try rebuilding fontconfig (and all its dependencies) with
 :error:configure the +universal variant by running
 :error:configure
 :error:configure     sudo port upgrade --enforce-variants fontconfig
 +universal
 }}}

 This is odd since the list of installed ports you attached shows:

 {{{
   fontconfig @2.8.0_0+universal (active) platform='darwin 10' archs='i386
 x86_64'
 }}}

 These two facts seem to indicate that MacPorts has recorded in its
 registry that fontconfig is installed universally, but actually it's not.
 (I'm not sure how that's possible, but that's what these facts suggest.)
 What do you get when you run:

 {{{
 lipo -info /opt/local/lib/libfontconfig.dylib
 }}}

 Presumably it will say it is installed for x86_64 only. (That's what the
 archcheck portgroup uses to check ports' dependencies and print out
 instructions like those above.) But we want it to say that it is installed
 for i386 and x86_64. So you could try rebuilding fontconfig with:

 {{{
 sudo port -n upgrade --force fontconfig +universal
 }}}

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


More information about the macports-tickets mailing list