Closed
Bug 465445
Opened 16 years ago
Closed 8 years ago
Branch build error with Fontconfig on Ubuntu 8.10: "nsFontMetricsPS.cpp:728: undefined reference to `FcPatternGetString'"
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: dholbert, Unassigned)
Details
Attachments
(2 files)
|
434 bytes,
application/octet-stream
|
Details | |
|
671 bytes,
patch
|
Details | Diff | Splinter Review |
On Ubuntu 8.10, I get this set of build errors when trying to build Firefox 2, I get these build errors:
nsFontMetricsPS.o: In function `nsXftEntry':
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:728: undefined reference to `FcPatternGetString'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:732: undefined reference to `FcPatternGetString'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:736: undefined reference to `FcPatternGetString'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:740: undefined reference to `FcPatternGetInteger'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:728: undefined reference to `FcPatternGetString'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:732: undefined reference to `FcPatternGetString'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:736: undefined reference to `FcPatternGetString'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:740: undefined reference to `FcPatternGetInteger'
nsFontMetricsPS.o: In function `nsFontPSXft::FindFont(unsigned short, nsFont const&, nsFontMetricsPS*)':
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:839: undefined reference to `FcCharSetHasChar'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:909: undefined reference to `FcPatternCreate'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:948: undefined reference to `FcPatternAddInteger'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:951: undefined reference to `FcPatternAddInteger'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:954: undefined reference to `FcConfigSubstitute'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:955: undefined reference to `FcDefaultSubstitute'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:958: undefined reference to `FcFontSort'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:972: undefined reference to `FcPatternGetBool'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:976: undefined reference to `FcPatternGetString'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:980: undefined reference to `FcPatternGetString'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:984: undefined reference to `FcPatternGetCharSet'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:988: undefined reference to `FcCharSetCopy'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:1004: undefined reference to `FcFontSetDestroy'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:1006: undefined reference to `FcPatternDestroy'
nsFontMetricsPS.o: In function `~nsFontMetricsPS':
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:111: undefined reference to `FcCharSetDestroy'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:111: undefined reference to `FcCharSetDestroy'
/mozilla/gfx/src/ps/nsFontMetricsPS.cpp:111: undefined reference to `FcCharSetDestroy'
../../../dist/lib/libgfxshared_s.a(nsFontConfigUtils.o): In function `NS_AddFFRE(_FcPattern*, nsCString*, int)':
/mozilla/gfx/src/shared/nsFontConfigUtils.cpp:185: undefined reference to `FcPatternAddWeak'
/mozilla/gfx/src/shared/nsFontConfigUtils.cpp:187: undefined reference to `FcPatternAdd'
../../../dist/lib/libgfxshared_s.a(nsFontConfigUtils.o): In function `NS_AddLangGroup(_FcPattern*, nsIAtom*)':
/mozilla/gfx/src/shared/nsFontConfigUtils.cpp:168: undefined reference to `FcPatternAddString'
/mozilla/gfx/src/shared/nsFontConfigUtils.cpp:170: undefined reference to `FcPatternAddString'
collect2: ld returned 1 exit status
make[5]: *** [libgfxps.so] Error 1
make[4]: *** [libs] Error 2
make[3]: *** [libs] Error 2
make[2]: *** [tier_9] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2
| Reporter | ||
Comment 1•16 years ago
|
||
This same issue was described in Debian iceowl here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489092
and was fixed there with this patch:
http://patch-tracking.debian.net/patch/series/view/icedove/2.0.0.17-1/bzXXX_ftbfs_fontconfig.patch
| Reporter | ||
Comment 2•16 years ago
|
||
(In reply to comment #1)
> and was fixed there with this patch:
> http://patch-tracking.debian.net/patch/series/view/icedove/2.0.0.17-1/bzXXX_ftbfs_fontconfig.patch
I'm attaching a copy of this patch. I'm building with it right now, and I think it fixes the issue...
| Reporter | ||
Updated•16 years ago
|
Summary: Branch build error on Ubuntu 8.10 "nsFontMetricsPS.cpp:728: undefined reference to `FcPatternGetString'" → Branch build error with Fontconfig on Ubuntu 8.10: "nsFontMetricsPS.cpp:728: undefined reference to `FcPatternGetString'"
Comment 3•8 years ago
|
||
Mass bug cleanup for Core:Build Config.
If you feel this bug has been closed in error, please re-open with new details.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•