[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building 2.8.1 segfaults if ~/.rh-fontconfig does not exist.
From: |
Quentin Spencer |
Subject: |
Building 2.8.1 segfaults if ~/.rh-fontconfig does not exist. |
Date: |
Thu, 11 May 2006 16:54:54 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
I'm trying to package 2.8.1 for Fedora Extras. I am getting the following error
during a build:
Initializing FontConfig...
Rebuilding FontConfig cache /home/qspencer/.rh-fontconfig/.fonts.cache-2. this
may take a while...
adding font directory:
/home/qspencer/rpm/BUILD/lilypond-2.8.1/out/share/lilypond/current/fonts/otf/
adding font directory:
/home/qspencer/rpm/BUILD/lilypond-2.8.1/out/share/lilypond/current/fonts/type1/
Building font database.
/bin/sh: line 1: 21855 Segmentation fault
/home/qspencer/rpm/BUILD/lilypond-2.8.1/lily/out/lilypond --verbose
/home/qspencer/rpm/BUILD/lilypond-2.8.1/ly/generate-documentation
make[2]: *** [out/lilypond-internals.texi] Error 139
make[2]: Leaving directory
`/home/qspencer/rpm/BUILD/lilypond-2.8.1/Documentation/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/qspencer/rpm/BUILD/lilypond-2.8.1/Documentation'
make: *** [all] Error 2
After looking at lily/fontconfig.cc to see what was happening, it appears that
it is trying to create and write to the file ~/.rh-fontconfig/.fonts.cache-2,
whether or not ~/.rh-fontconfig exists. If it doesn't exist, it crashes; if it
does exist, everything is fine and the build finishes. In the Fedora Extras
build system, the build is exectuted in a temporary build directory and the font
cache directory will never exist.
- Building 2.8.1 segfaults if ~/.rh-fontconfig does not exist.,
Quentin Spencer <=