Bug 56886 - unable to build fontconfig due to missing patch
Bug#: 56886 Product:  Gentoo Linux Version: unspecified Platform: MIPS
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: mips@gentoo.org Reported By: healer@rpi.edu
Component: Applications
URL: 
Summary: unable to build fontconfig due to missing patch
Keywords:  
Status Whiteboard: 
Opened: 2004-07-13 05:20 0000
Description:   Opened: 2004-07-13 05:20 0000
When I try to emerge fluxbox on a new install, installation fails on installing
fontconfig.  Portage can not find a required patch file.

/usr/portage/media-libs/fontconfig/files/patch/fontconfig-2.1-cvs-update-20021221.patch

As this is a dependency for X, that highly limits the usefulness of this box in
its intended purpose.


Reproducible: Always
Steps to Reproduce:
1. emerge fluxbox

Actual Results:  
helpdesk2 root # emerge fluxbox
Calculating dependencies ...done!
>>> emerge (1 of 4) media-libs/fontconfig-2.1-r1 to /
>>> md5 src_uri ;-) fcpackage.2_1.tar.gz
>>> Unpacking source...
>>> Unpacking fcpackage.2_1.tar.gz to /var/tmp/portage/fontconfig-2.1-r1/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage/media-libs/fontconfig/files/patch/fontconfig-2.1-cvs-update-
20021221.patch


!!! ERROR: media-libs/fontconfig-2.1-r1 failed.
!!! Function epatch, Line 182, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!


Expected Results:  
emerged and install fluxbox and all dependencies

Portage 2.0.50-r9 (default-mips-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r0, 
2.4.26-mipscvs-20040415)
=================================================================
System uname: 2.4.26-mipscvs-20040415 mips R4600 V2.0  FPU V2.0
Gentoo Base System version 1.4.16
distcc 2.13 mips-unknown-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="mips"
AUTOCLEAN="yes"
CFLAGS="-O2 -mips3  -mabi=32 -fomit-frame-pointer"
CHOST="mips-unknown-linux-gnu"
COMPILER="gcc3"
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 -mips3  -mabi=32 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://acm.cs.rpi.edu/gentoo-portage"
USE="X berkdb crypt dga gdbm gpm kerb libwww mips nis opengl oss pam perl 
python readline sdl slang spell ssl tcpd xv zlib"

------- Comment #1 From foser (RETIRED) 2004-07-13 10:22:45 0000 -------
dunno where that patch went, i thought everything 2.1 related got ressurrected.
Use the ~mips version of fontconfig.

mips peepz, please mark a newer fontconfig stable, 2.1 is ancient

------- Comment #2 From Stephen Becker (RETIRED) 2004-07-13 20:15:05 0000 -------
I made fontconfig-2.2.2 stable on mips...should fix the problem without having
to unmask it yourself.