Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

[gentoo-user-fr] libXfont ne compile pas

5 réponses
Avatar
Jean Magnan de Bornier
Bonjour à tous,
Lors du passage à xorg-X11 modulaire la mise à jour bloque sur libXfont
avec ce message (tout n'est sans doute pas à considérer):

......................................
Making all in FreeType
make[3]: Entering directory `/home/tmp/portage/libXfont-1.1.0-r1/work/libXfont-1.1.0/src/
FreeType'
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I
. -I. -I../.. -I../../include/X11/fonts -I../../include -I/usr/include/freetype2 -Wal
l -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -
Wnested-externs -fno-strict-aliasing -O2 -mcpu=i686 -pipe -g -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -D_XOPEN_SOURCE -MT ftenc.lo -MD -MP -MF ".deps/ftenc.Tpo" -c -o f
tenc.lo ftenc.c; \
then mv -f ".deps/ftenc.Tpo" ".deps/ftenc.Plo"; else rm -f ".deps/ftenc.Tpo"; exit 1; fi
mkdir .libs
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/X11/fonts -I../../
include -I/usr/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prot
otypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -mcpu=i686 -pipe
-g -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_XOPEN_SOURCE -MT ftenc.lo -MD -MP -
MF .deps/ftenc.Tpo -c ftenc.c -fPIC -DPIC -o .libs/ftenc.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/X11/fonts -I../../
include -I/usr/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prot
otypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -mcpu=i686 -pipe
-g -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_XOPEN_SOURCE -MT ftenc.lo -MD -MP -
MF .deps/ftenc.Tpo -c ftenc.c -o ftenc.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I
. -I. -I../.. -I../../include/X11/fonts -I../../include -I/usr/include/freetype2 -Wal
l -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -
Wnested-externs -fno-strict-aliasing -O2 -mcpu=i686 -pipe -g -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -D_XOPEN_SOURCE -MT ftfuncs.lo -MD -MP -MF ".deps/ftfuncs.Tpo" -c
-o ftfuncs.lo ftfuncs.c; \
then mv -f ".deps/ftfuncs.Tpo" ".deps/ftfuncs.Plo"; else rm -f ".deps/ftfuncs.Tpo"; exit
1; fi i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/X11/fonts -I../../
include -I/usr/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prot
otypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -mcpu=i686 -pipe
-g -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_XOPEN_SOURCE -MT ftfuncs.lo -MD -MP
-MF .deps/ftfuncs.Tpo -c ftfuncs.c -fPIC -DPIC -o .libs/ftfuncs.o
ftfuncs.c:57:10: #include expects "FILENAME" or <FILENAME>
ftfuncs.c:59:10: #include expects "FILENAME" or <FILENAME>
ftfuncs.c:60:10: #include expects "FILENAME" or <FILENAME>
ftfuncs.c: In function `FreeTypeOpenInstance':
ftfuncs.c:467: error: `TT_Face' undeclared (first use in this function)
ftfuncs.c:467: error: (Each undeclared identifier is reported only once
ftfuncs.c:467: error: for each function it appears in.)
ftfuncs.c:467: error: syntax error before "tt_face"
ftfuncs.c:471: error: `SFNT_Service' undeclared (first use in this function)
ftfuncs.c:471: error: syntax error before "sfnt"
ftfuncs.c:472: error: `tt_face' undeclared (first use in this function)
ftfuncs.c:472: error: syntax error before "face"
ftfuncs.c:486: error: `sfnt' undeclared (first use in this function)
ftfuncs.c:486: error: syntax error before "tt_face"
ftfuncs.c: In function `tt_get_metrics':
ftfuncs.c:815: error: `TT_LongMetrics' undeclared (first use in this function)
ftfuncs.c:815: error: syntax error before "longs_m"
ftfuncs.c:824: error: `longs_m' undeclared (first use in this function)
ftfuncs.c:824: error: syntax error before "header"
ftfuncs.c:829: error: `TT_ShortMetrics' undeclared (first use in this function)
ftfuncs.c:829: error: syntax error before ')' token
ftfuncs.c:830: error: syntax error before "header"
ftfuncs.c: In function `ft_get_very_lazy_bbox':
ftfuncs.c:845: error: `TT_Face' undeclared (first use in this function)
ftfuncs.c:845: error: syntax error before "ttface"
ftfuncs.c:852: error: `ttface' undeclared (first use in this function)
ftfuncs.c: In function `FT_Do_SBit_Metrics':
ftfuncs.c:914: error: `SFNT_Service' undeclared (first use in this function)
ftfuncs.c:914: error: syntax error before "sfnt"
ftfuncs.c:915: error: `TT_Face' undeclared (first use in this function)
ftfuncs.c:918: error: `TT_SBit_Strike' undeclared (first use in this function)
ftfuncs.c:918: error: syntax error before "strike"
ftfuncs.c:919: error: `TT_SBit_Range' undeclared (first use in this function)
ftfuncs.c:920: error: `TT_SBit_MetricsRec' undeclared (first use in this function)
ftfuncs.c:931: error: `face' undeclared (first use in this function)
ftfuncs.c:931: error: syntax error before "ft_face"
ftfuncs.c:932: error: `sfnt' undeclared (first use in this function)
ftfuncs.c:932: error: syntax error before "face"
ftfuncs.c:938: error: `range' undeclared (first use in this function)
ftfuncs.c:938: error: `strike' undeclared (first use in this function)
ftfuncs.c:955: warning: implicit declaration of function `FT_STREAM_POS'
ftfuncs.c:958: warning: implicit declaration of function `FT_STREAM_SEEK'
ftfuncs.c:961: error: `elem_metrics' undeclared (first use in this function)
make[3]: *** [ftfuncs.lo] Erreur 1
make[3]: Leaving directory `/home/tmp/portage/libXfont-1.1.0-r1/work/libXfont-1.1.0/src/FreeType'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/home/tmp/portage/libXfont-1.1.0-r1/work/libXfont-1.1.0/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/tmp/portage/libXfont-1.1.0-r1/work/libXfont-1.1.0'
make: *** [all] Erreur 2


!!! ERROR: x11-libs/libXfont-1.1.0-r1 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
ebuild.sh, line 1248: Called x-modular_src_compile
x-modular.eclass, line 327: Called x-modular_src_make
x-modular.eclass, line 322: Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

....................................................

Je n'ai pas vu ce bug sur http://bugs.gentoo.org/
Merci d'avance de toute aide
--
Jean

--
gentoo-user-fr@gentoo.org mailing list

5 réponses

Avatar
Antoine Van-Elstraete
Le Lundi 31 Juillet 2006 08:51, Jean Magnan de Bornier a écrit :
Bonjour à tous,
Lors du passage à xorg-X11 modulaire la mise à jour bloque sur libXfont
avec ce message (tout n'est sans doute pas à considérer):


[...]
Je n'ai pas vu ce bug sur http://bugs.gentoo.org/
Merci d'avance de toute aide



Tu utilises quels CFLAGS ? quels USE ?

--
Antoine Van-Elstraete || Jabber :
|| MSN :
aka BlueCat || Skype : ve.antoine
|| IRC : BlueCat (IRCNet, #cafzone)
Antoine (GeekNode, #gentoofr)

http://bluecat.homelinux.net
(+33)(0)6 76 57 30 87

--
mailing list
Avatar
Fabrice Delliaux
Jean Magnan de Bornier a écrit :
Bonjour à tous,
Lors du passage à xorg-X11 modulaire la mise à jour bloque sur libXfont
avec ce message (tout n'est sans doute pas à considérer):
ftfuncs.c:57:10: #include expects "FILENAME" or <FILENAME>
ftfuncs.c:59:10: #include expects "FILENAME" or <FILENAME>
ftfuncs.c:60:10: #include expects "FILENAME" or <FILENAME>
ftfuncs.c: In function `FreeTypeOpenInstance':
ftfuncs.c:467: error: `TT_Face' undeclared (first use in this function)


[...]

Je n'ai pas vu ce bug sur http://bugs.gentoo.org/



http://bugs.gentoo.org/show_bug.cgi?id7759
http://bugs.freedesktop.org/show_bug.cgi?idi18

Quelle version de freetype as-tu sur ton système ?

"Version 2.2 no longer exposes its internals, this is, the header
files located in the `include/freetype/internal' directory of
the source package are not copied anymore by the `make install'
command. Consequently, a number of rogue clients which directly
access FreeType's internal functions and structures won't
compile without modification."




(tiré du changelog de libXfont)

*libXfont-1.2.0 (08 Jul 2006)

08 Jul 2006; Donnie Berkholz <spyderous () gentoo ! org>;
+libXfont-1.2.0.ebuild:
FreeType 2.2 compatibility, and some other fixes.

--
mailing list
Avatar
Jean Magnan de Bornier
Le 31 juillet à 11:32:19 Fabrice Delliaux écrit notamment:

| Jean Magnan de Bornier a écrit :
| > Bonjour à tous,
| > Lors du passage à xorg-X11 modulaire la mise à jour bloque sur libXfont
| > avec ce message (tout n'est sans doute pas à considérer):
| > ftfuncs.c:57:10: #include expects "FILENAME" or <FILENAME>
| > ftfuncs.c:59:10: #include expects "FILENAME" or <FILENAME>
| > ftfuncs.c:60:10: #include expects "FILENAME" or <FILENAME>
| > ftfuncs.c: In function `FreeTypeOpenInstance':
| > ftfuncs.c:467: error: `TT_Face' undeclared (first use in this function)
| [...]
| >
| > Je n'ai pas vu ce bug sur http://bugs.gentoo.org/



| http://bugs.gentoo.org/show_bug.cgi?id7759
| http://bugs.freedesktop.org/show_bug.cgi?idi18



| Quelle version de freetype as-tu sur ton système ?



| > "Version 2.2 no longer exposes its internals, this is, the header
| > files located in the `include/freetype/internal' directory of
| > the source package are not copied anymore by the `make install'
| > command. Consequently, a number of rogue clients which directly
| > access FreeType's internal functions and structures won't
| > compile without modification."




| (tiré du changelog de libXfont)



| *libXfont-1.2.0 (08 Jul 2006)



| 08 Jul 2006; Donnie Berkholz <spyderous () gentoo ! org>;
| +libXfont-1.2.0.ebuild:
| FreeType 2.2 compatibility, and some other fixes.

/home/jean % eix freetype
* media-gfx/gimp-freetype
Available versions: 0.2-r3 0.5 0.6
Installed: none
Homepage: http://freetype.gimp.org/
Description: Freetype text plugin for The Gimp 2

* media-libs/freetype
Available versions: 1.3.1-r4 1.3.1-r5 2.1.9-r1 2.1.10 2.1.10-r1 2.1.10-r2 2.2.1
Installed: 1.3.1-r4 2.2.1
Homepage: http://www.freetype.org/
Description: A high-quality and portable font engine

Dois-je revenir à la version 1.3.1-r4?

Et pour répondre à Antoine:
USE="debug doc emacs imap maildir mozsvg multi-tty pam-mysql pdf pdfkit
plotutils sasl usb -libg"


11:57 /home/jean % grep CFLAGS /etc/make.conf
# For optimal performance, enable a CFLAGS setting appropriate for your CPU.
#CFLAGS="-mcpu=athlon-xp -O3 -pipe"
#CFLAGS="-march=pentium3 -O3 -pipe"
# If you set a CFLAGS above, then this line will set your default C++ flags to
#CXXFLAGS="${CFLAGS}"

(pour le CFLAGS je ne comprends pas que ce soit commenté, je n'avais pas
regardé cela depuis longtemps!)

Merci d'avance de toute solution!
--
Jean

--
mailing list
Avatar
Fabrice Delliaux
Jean Magnan de Bornier a écrit :
Dois-je revenir à la version 1.3.1-r4?



Installe libXfont-1.2.0 au lieu de la 1.1.0-r1.
--
mailing list
Avatar
Jean Magnan de Bornier
Le 31 juillet à 12:13:32 Fabrice Delliaux écrit notamment:

| Jean Magnan de Bornier a écrit :
| > Dois-je revenir à la version 1.3.1-r4?



| Installe libXfont-1.2.0 au lieu de la 1.1.0-r1.

Oui, très bon conseil,
merci à tous
--
Jean

--
mailing list