cant build from source - FC_ANY_METRICS

Bug #104290 reported by Marcos Pinto
6
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Invalid
Undecided
Mozilla Bugs

Bug Description

Binary package hint: firefox

apt-get build-dep firefox && apt-get source -b firefox
compiling begins but ultimately fails:
nsFontMetricsPS.cpp: In static member function ‘static nsFontPS* nsFontPSXft::FindFont(PRUnichar, const nsFont&, nsFontMetricsPS*)’:
nsFontMetricsPS.cpp:953: error: ‘FC_ANY_METRICS’ was not declared in this scope
make[5]: *** [nsFontMetricsPS.o] Error 1
make[5]: Leaving directory `/usr/src/firefox-2.0.0.3+0dfsg/gfx/src/ps'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/usr/src/firefox-2.0.0.3+0dfsg/gfx/src'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/usr/src/firefox-2.0.0.3+0dfsg/gfx'
make[2]: *** [tier_9] Error 2
make[2]: Leaving directory `/usr/src/firefox-2.0.0.3+0dfsg'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/src/firefox-2.0.0.3+0dfsg'
make: *** [build-stamp] Error 2
Build command 'cd firefox-2.0.0.3+0dfsg && dpkg-buildpackage -b -uc' failed.
E: Child process failed
peg:/usr/src#

Revision history for this message
John Vivirito (gnomefreak) wrote :

Can you please run that again and pipe the output to a file and upload the file please.

Changed in firefox:
assignee: nobody → mozilla-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Muelli (ubuntu-bugs-auftrags-killer) wrote :
Download full text (29.8 KiB)

Hi.

I encounter the same problem while building mozilla with jhbuild.

Here is my recent output:

...
gcc -o cairo-gstate.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -I/usr/include/freetype2 -I. -I./../../libpixman/src -I../../../../dist/include/png -I../../../../dist/include/libpixman -I../../../../dist/include/cairo -I../../../../dist/include -I../../../../dist/include/nspr -I../../../../dist/sdk/include -fPIC -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -pthread -pipe -DNDEBUG -DTRIMMED -O -include ../../../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/cairo-gstate.pp cairo-gstate.c
In file included from cairo-gstate.c:40:
cairoint.h:142:1: warning: C++ style comments are not allowed in ISO C90
cairoint.h:142:1: warning: (this will be reported only once per input file)
In file included from cairo-gstate.c:40:
cairoint.h:257: warning: ISO C forbids forward references to ‘enum’ types
cairo-hash.c
gcc -o cairo-hash.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -I/usr/include/freetype2 -I. -I./../../libpixman/src -I../../../../dist/include/png -I../../../../dist/include/libpixman -I../../../../dist/include/cairo -I../../../../dist/include -I../../../../dist/include/nspr -I../../../../dist/sdk/include -fPIC -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -pthread -pipe -DNDEBUG -DTRIMMED -O -include ../../../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/cairo-hash.pp cairo-hash.c
In file included from cairo-hash.c:39:
cairoint.h:142:1: warning: C++ style comments are not allowed in ISO C90
cairoint.h:142:1: warning: (this will be reported only once per input file)
In file included from cairo-hash.c:39:
cairoint.h:257: warning: ISO C forbids forward references to ‘enum’ types
cairo-hull.c
gcc -o cairo-hull.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -I/usr/include/freetype2 -I. -I./../../libpixman/src -I../../../../dist/include/png -I../../../../dist/include/libpixman -I../../../../dist/include/cairo -I../../../../dist/include -I../../../../dist/include/nspr -I../../../../dist/sdk/include -fPIC -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -pthread -pipe -DNDEBUG -DTRIMMED -O -include ../../../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/cairo-hull.pp cairo-hull.c
In file included from cairo-hull.c:37:
cairoint.h:142:1: warning: C++ style comments are not allowed in ISO C90
cairoint.h:142:1: warning: (this will be reported only once per input file)
In file included from cairo-hull.c:37:
cairoint.h:257: warning: ISO C forbids forward references to ‘enum’ types
cairo-image-surface.c
gcc -o cairo-image-surface.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -I/usr/include/freetype2 -I. -I./../../libpixman/src -I../../../../dist/include/png -I../../../../dist/include/libpixman -I../../../../dist/include/cairo -I../../../../dist/include -I../../../../dist/include/nspr -I../../../../dist/sdk/include -fPIC -Wall -W -Wno-unused -...

Revision history for this message
John Vivirito (gnomefreak) wrote :

Muelli what version of ubuntu and what version of firefox are you using? Does it fail using apt-get source -b firefox?

Revision history for this message
Alexander Sack (asac) wrote :

the latest security release does build. So I don't see the issue here.

Changed in firefox:
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.