Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #15289 (new defect)

Opened 7 months ago

Last modified 7 months ago

fc-cache hangs when fontconfig is built with universal support

Reported by: nox@… Owned by: ryandesign@…
Priority: Normal Milestone: Port Bugs
Component: ports Version:
Keywords: fc-cache universal Cc:
Port:

Description

When activating fontconfig +universal, port hangs when the post-destroot stage with the fc-cache system call is executed.

$ port installed zlib libiconv expat freetype fontconfig
The following ports are currently installed:
  expat @2.0.1_0+universal (active)
  fontconfig @2.5.0_0+macosx+universal (active)
  freetype @2.3.5_1+bytecode+universal (active)
  libiconv @1.12_0+universal (active)
  zlib @1.2.3_1+universal (active)

When running fc-cache manually:

$ sudo fc-cache -fv
Password:
/usr/share/fonts: skipping, no such directory
/usr/X11/lib/X11/fonts: ^C

I let it run 30 minutes.

$ system_profiler SPHardwareDataType SPSoftwareDataType -detailLevel mini
Hardware:

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: MacBookPro4,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2.4 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 3 MB
      Memory: 2 GB
      Bus Speed: 800 MHz
      Boot ROM Version: MBP41.00C1.B03
      SMC Version: 1.27f1
      Sudden Motion Sensor:
          State: Enabled

Software:

    System Software Overview:

      System Version: Mac OS X 10.5.2 (9C7010)
      Kernel Version: Darwin 9.2.2
      Time since boot: 5 days 7:26

Attachments

fontconfig-universal.diff (2.8 KB) - added by nox@… 7 months ago.

Change History

Changed 7 months ago by nox@…

Changed 7 months ago by nox@…

I've attached a patch with a custom universal variant using the merge procedure. The little hack in the build stage is to work around the fc-arch utility used by fontconfig to guess the platform, when building for ppc, it misguess and says m68k.

Note: See TracTickets for help on using tickets.