The freetype support in 4.2.1 doesn't build for me as it is looking for files that no longer exist in the new freetype. This means the IMakefile in xc/lib/freetype2 needs to be updated. I'll try to do that, but for now an exerpt of the compile log: make[3]: Entering directory `/var/tmp/portage/xfree-4.2.1/work/xc/lib/freetype2' rm -f ft2build.h ln -s ../../extras/freetype2/include/ft2build.h ft2build.h + mkdir -p ../../exports/include/freetype2 + cd ../../exports/include/freetype2 + rm -f ft2build.h + ln -s ../../../lib/freetype2/ft2build.h . rm -f ftbase.c ln -s ../../extras/freetype2/src/base/ftbase.c ftbase.c rm -f ftbbox.c ln -s ../../extras/freetype2/src/base/ftbbox.c ftbbox.c rm -f ftdebug.c ln -s ../../extras/freetype2/src/base/ftdebug.c ftdebug.c make[3]: *** No rule to make target `../../extras/freetype2/src/base/ftextend.c' , needed by `ftextend.c'. Stop. make[3]: Leaving directory `/var/tmp/portage/xfree-4.2.1/work/xc/lib/freetype2' make[2]: *** [includes] Error 2 make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1/work/xc/lib' make[1]: *** [includes] Error 2 make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.1/work/xc' make: *** [World] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 179, Exitcode 2 !!! (no error message)
There is a patch ... '091_all_4.2.1-freetype212.patch.bz2' in the XFree86-4.2.1-patches-1.0.tar.bz2 tarball. Please check that you have revision 'xfree-4.2.1.ebuild,v 1.15 2002/10/14 19:49:19 azarah Exp $' of xfree-4.2.1.ebuild, and then if possible why that patch do not apply for you. It works fine on three of my boxes.
It appears to work now, the log file is actually from yesterday 10-14. I don't know what went wrong, but I guess somewhere the unpacking went wrong. I think it has to do with the fact that I was using ebuild, didn't have cabextract, and ebuild thought the workdir was ok. I think this can be closed as WORKSFORME or INVALID
One other thing, I found another compile failure later with gcc-3.2 and the fact that ttmkftdir2 declares the isatty function slightly different from the glibc version. The glibc version throws the empty set, while the redefined version doesn't have a throws clause. Since it is a redefine anyway, this patch removes it: --- xfree-4.2.1/work/xc/ttmkfdir2/parser.cpp.orig 2002-10-15 15:48:02.000000000 +0200 +++ xfree-4.2.1/work/xc/ttmkfdir2/parser.cpp 2002-10-15 15:50:38.000000000 +0200 @@ -1502,7 +1502,7 @@ #ifndef YY_ALWAYS_INTERACTIVE #ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); +//extern int isatty YY_PROTO(( int )); #endif #endif
Ahh, great to hear :) Other than that ... works fine ? Fonts ok ?
Nope. That is actually a problem with flex, and thus the dependancy on -r5 of flex.
Maybe ebuild should include dep checking
Unlinke 'emerge', 'ebuild' does no dependancy checking ...
same probleme here, but in configure gcc 2.95 gentoo 1.2 last update: portage-20021020.tar.bz2 >>> md5 ;-) X420src-1.tgz >>> md5 ;-) X420src-2.tgz >>> md5 ;-) X420src-3.tgz >>> md5 ;-) freetype-2.1.2.tar.bz2 >>> md5 ;-) fcpackage.2_0.tar.gz >>> md5 ;-) ttmkfdir2-1.0.tar.bz2 >>> md5 ;-) 4.2.0-4.2.1.diff.gz >>> md5 ;-) XFree86-4.2.1-patches-1.0.tar.bz2 >>> md5 ;-) xf86Wacom.c.gz >>> md5 ;-) xf41sav.tgz >>> md5 ;-) sis_drv_src_050902-2.tar.gz >>> md5 ;-) andale32.exe >>> md5 ;-) arial32.exe >>> md5 ;-) arialb32.exe >>> md5 ;-) comic32.exe >>> md5 ;-) courie32.exe >>> md5 ;-) georgi32.exe >>> md5 ;-) impact32.exe >>> md5 ;-) times32.exe >>> md5 ;-) trebuc32.exe >>> md5 ;-) verdan32.exe >>> md5 ;-) webdin32.exe >>> md5 ;-) IELPKTH.CAB >>> Unpacking source... >>> Unpacking X420src-1.tgz >>> Unpacking X420src-2.tgz >>> Unpacking X420src-3.tgz >>> Unpacking freetype-2.1.2.tar.bz2 >>> Unpacking XFree86-4.2.1-patches-1.0.tar.bz2 >>> Unpacking fcpackage.2_0.tar.gz >>> Unpacking ttmkfdir2-1.0.tar.bz2 * Updating Freetype2... * Updating 4.2.0 sources to 4.2.1... * Unpacking MS Core Fonts... * andale32.exe... * arial32.exe... * arialb32.exe... * comic32.exe... * courie32.exe... * georgi32.exe... * impact32.exe... * times32.exe... * trebuc32.exe... * verdan32.exe... * webdin32.exe... * IELPKTH.CAB... * Updating Savage driver... * Updating SiS driver... * Updating Wacom USB Driver... * Applying various patches (bugfixes/updates)... * 001_all_4.2.0-Suse-Updates.patch.bz2... * 002_all_4.2.0-agpgart-load.patch.bz2... * 003_all_4.2.0-fixkbd.patch.bz2... * 004_all_4.2.0-i18n.patch.bz2... * 005_all_4.2.0-xkb-fix-deadkey-quotedbl-us_intl.patch.bz2... * 006_all_4.2.0-v4l.patch.bz2... * 007_all_4.2.0-xft-leak.patch.bz2... * 009_all_4.2.0-elf-loader-empty-symbol-table.patch.bz2... * 011_all_4.2.0-GeForce2Go.patch.bz2... * 012_all_4.2.0-G450.patch.bz2... * 013_all_4.2.0-r128-lockup.patch.bz2... * 014_all_4.2.0-ati-r128-vtswitch-fix-busmaster-enable.patch.bz2... * 015_all_4.2.0-ati-radeon-mobility-FireGL-7800.patch.bz2... * 016_all_4.2.0-ati-radeon-vtswitch-fix-busmaster-enable.patch.bz2... * 019_all_4.2.0-tdfx-fix-vtswitch-font-corruption.patch.bz2... * 020_all_4.2.0-trident-driver-update-cvs-20020617.patch.bz2... * 030_x86_4.2.0-i810-dri.patch.bz2... * 031_x86_4.2.0-i810-i845-driver-cvs-20020617.patch.bz2... * 032_x86_4.2.0-i810x-no-for-loops-for-delays.patch.bz2... * 033_x86_4.2.0-i810-vtswitch-sync-fix.patch.bz2... * 090_all_4.2.1-fix-shared-libXau-link.patch.bz2... * 091_all_4.2.1-freetype212.patch.bz2... * 092_all_4.2.1-freetype2-enable-bytecode-interpreter.patch.bz2... * 093_all_4.2.0-imake-tmpdir.patch.bz2... * 020_all_4.2.1-libICE-remove-stupid-delay.patch.bz2... * 021_all_4.1.0-xtt.patch.bz2... * 022_all_4.2.0-FIRSTINDEX-breaks-ttmkfdir.patch.bz2... * 080_all_4.2.1-mit-shm-security.patch.bz2... * 094_all_4.2.1-Xft1-Imake-config.patch.bz2... * 095_all_4.2.1-ttmkfdir2-gentoo.patch.bz2... * Setting up config/cf/host.def... * Updating Xft1... !!! ERROR: The ebuild did not complete successfully. !!! Function src_unpack, Line 160, Exitcode 1 !!! (no error message) gentoo usr #
You are probably missing the following file: /usr/portage/x11-base/xfree/files/XFree86-4.2.1-Xft11-Imakefile.patch Please update the try and try again.
gentoo distfiles # ls -la /usr/portage/x11-base/xfree/files/XFree86-4.2.1-Xft11- Imakefile.patch -rw-r--r-- 1 1105 1105 341 Oct 11 20:53 /usr/portage/x11- base/xfree/files/XFree86-4.2.1-Xft11-Imakefile.patch gentoo distfiles # the file exists
can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- xc/lib/Xft/Imakefile.orig 2002-10-01 19:57:18.000000000 +0200 |+++ xc/lib/Xft/Imakefile 2002-10-01 19:57:42.000000000 +0200 -------------------------- File to patch:
Closing this one. Please use 4.2.1-r1, as it do not use broken xft-1.2 ...