Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#15289 closed defect (fixed)

fc-cache hangs when fontconfig is built with universal support

Reported by: nox@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: fc-cache universal Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: fontconfig

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 (1)

fontconfig-universal.diff (2.8 KB) - added by nox@… 16 years ago.

Download all attachments as: .zip

Change History (5)

Changed 16 years ago by nox@…

Attachment: fontconfig-universal.diff added

comment:1 Changed 16 years 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.

comment:2 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Cc: jeremyhu@… added

r47800 should solve this without needing the custom variant

comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Port: fontconfig added
Resolution: fixed
Status: newclosed

Thanks.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.