[MacPorts] #20727: fontconfig +universal installs broken fontconfig.pc if libiconv is not universal (was: fontconfig 2.7.1 appears to install broken fontconfig.pc)

MacPorts noreply at macports.org
Tue Aug 18 21:26:38 PDT 2009


#20727: fontconfig +universal installs broken fontconfig.pc if libiconv is not
universal
---------------------------------------------+------------------------------
 Reporter:  asb@…                            |       Owner:  ryandesign@…           
     Type:  defect                           |      Status:  assigned               
 Priority:  Normal                           |   Milestone:                         
Component:  ports                            |     Version:  1.7.1                  
 Keywords:  fontconfig pkg-config universal  |        Port:  fontconfig             
---------------------------------------------+------------------------------
Changes (by ryandesign@…):

 * cc: asb@… (removed)
  * status:  new => assigned


Comment:

 I can reproduce this problem on my Intel Mac running 10.4.11 if I build
 libiconv non-universal and then build fontconfig universal (for i386 ppc)
 -- that is, with this set of ports installed:

 {{{
 $ port installed libiconv fontconfig
 The following ports are currently installed:
   fontconfig @2.7.1_1+macosx+universal (active)
   libiconv @1.13_0 (active)
 }}}

 If this matches your situation, then you must rebuild libiconv so it is
 universal, then rebuild fontconfig.

 {{{
 $ sudo port -nf upgrade libiconv +universal
 $ sudo port -nf upgrade fontconfig
 }}}

 Does that help?

 When installing any port with the universal variant, you must ensure that
 any of its dependencies that are already installed are installed with the
 universal variant as well. MacPorts does not detect if this is not the
 case, though it [ticket:20728  would be nice if it did].

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


More information about the macports-tickets mailing list