re-emerge xorg-x11 fails with the following error: set USE-Flags for the xorg-ebuild are: "+pam +nls" ... LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale ../../../exports/bin/mkfontscale . make[5]: *** [fonts.scale] Illegal instruction make[5]: *** Deleting file 'fonts.scale' Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc/fonts/scaled/Type1' ... Installed versions: fontconfig 2.2.2 freetype 2.1.7 USE="+zlib" autoconf 2.58-r1 automake 1.8.3 CFLAGS "-Os -pipe -mcpu=750" MAKEOPTS="-j2"
Illegal instruction? Sounds like you may have sse, mmx or 3dnow USE flags on a CPU that's not capable of them. Please attach a full compilation log and the output of `emerge info`.
Created attachment 30028 [details] my emerge info output as file-attachie
Try rebuilding freetype with -fno-strict-aliasing. Foser, here's that problem I was mentioning a while back.
yep.. thought it was 2.1.7 only (?) or does it go for all versions ?
Problem is only with 2.1.7. 2.1.5-r1 -> no problems. I am waiting for ebuild 2.1.8 and will try it again on ppc.
Some more info: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118021
Just switched from xfree86 to xorg-x11-6.7.0-r1 and fonts.scale creation is still broken: * Creating fonts.scale files...... /usr/sbin/ebuild.sh: line 1430: 18651 Segmentation fault LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${ROOT}/usr/X11R6/lib" ${ROOT}/usr/X11R6/bin/ttmkfdir -x 2 -e ${ROOT}/usr/share/fonts/encodings/encodings.dir -o ${x}/fonts.scale -d ${x} /usr/sbin/ebuild.sh: line 1430: 5573 Segmentation fault LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${ROOT}/usr/X11R6/lib" ${ROOT}/usr/X11R6/bin/ttmkfdir -x 2 -e ${ROOT}/usr/share/fonts/encodings/encodings.dir -o ${x}/fonts.scale -d ${x} /usr/sbin/ebuild.sh: line 1430: 4321 Segmentation fault LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${ROOT}/usr/X11R6/lib" ${ROOT}/usr/X11R6/bin/ttmkfdir -x 2 -e ${ROOT}/usr/share/fonts/encodings/encodings.dir -o ${x}/fonts.scale -d ${x} [ ok ] * Generating fonts.dir files...... [ ok ] * Generating Xft cache......
Uh, Carsten, that looks like a distinctly different bug. Look at the error message "Illegal instruction" in the original report. Also note that yours fails at ttmkfdir, not mkfontscale. Maybe you need to try a better search. I came up with bug #55383 and bug #54356, both of which actually show the symptoms you have.
Sorry for misusing this bug report, Donny. I searched for "scale font" and this bug report was the "best" fit. I was pretty sure, that opening a new bug report would create a dupe, so I used this one... Thanks for pointing me to Bug 55883 - going back to =ttmkfdir-3.0.9 fixed the problem.
I'm getting the same error when I try to compile [ebuild N ] x11-base/xorg-x11-6.8.2-r1 -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -hardened -insecure-drivers +ipv6 -minimal +mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB on the following machine: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 Celeron (Coppermine) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 17:34:27)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://eglimp/gentoo-portage" USE="x86 X acpi alsa apm arts avi berkdb bitmap-fonts crypt cups emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww mad mikmod mmx motif mp3 mpeg mtrr ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY livecd xorg-x11-6.8.2-r1 # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Celeron (Coppermine) stepping : 3 cpu MHz : 564.896 cache size : 128 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse bogomips : 1114.11 This is the error I get: LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale ../../../exports/bin/bdftopcf -t screen8x16b.bdf | gzip > screen8x16b.pcf.gz rm -f fonts.dir LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale ../../../exports/bin/mkfontscale -b -s -l . make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/fonts/bdf/cyrillic' make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/fonts/bdf' making all in fonts/scaled... make[4]: Entering directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/fonts/scaled' making all in fonts/scaled/Type1... make[5]: Entering directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/fonts/scaled/Type1' rm -f fonts.scale LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale ../../../exports/bin/mkfontscale . rm -f fonts.dir LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale ../../../exports/bin/mkfontscale -b -s -l . /usr/bin/fc-cache . make[5]: *** [fonts.cache] Illegal instruction make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/fonts/scaled/Type1' make[4]: *** [all] Error 2 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/fonts/scaled' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/fonts' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xorg-x11-6.8.2-r1 failed. !!! Function build, Line 954, Exitcode 2 I tried compiling the thing with -march=pentium4, and pentium3, and finally i686 and none of them worked, i386 will probably do the same thing ..any help would be greatly appreciated.
someone upgrade this to a blocker
Anyone having a problem, look at comment #3.
*** Bug 103040 has been marked as a duplicate of this bug. ***
Have tried the suggestion of rebuilding freetype with -fno-strict-aliasing but still cannot emerge xorg which is very frustrating as without xorg I do not have a useful system
Is this still an issue?
Obsolete dead bug.