ports/50599: Xft: cyclic dependency

Serge Negodyuck serg at petrovich.kiev.ua
Fri Apr 4 12:10:16 UTC 2003


>Number:         50599
>Category:       ports
>Synopsis:       Xft: cyclic dependency
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 04 04:10:13 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Serge Negodyuck
>Release:        FreeBSD 4.8-RC i386
>Organization:
>Environment:
System: FreeBSD petrovich.com.ua 4.8-RC FreeBSD 4.8-RC #8: Tue Apr 1 16:43:56 EEST 2003 root at petrovich.com.ua:/home/obj/usr/src/sys/PETR i386


	
>Description:

Xft-2.1_4 has cyclic dependece on itself:

x11-fonts/Xft -> x11-fonts/XFree86-4-fontEncodings -> x11/XFree86-4-clients -> x11-fonts/Xft 

or

x11-fonts/Xft -> XFree86-4-fontScalable -> x11/XFree86-4-clients-> x11-fonts/Xft


>How-To-Repeat:

Just look at Makefiles
Or type 'make clean' in ports/x11-fonts/Xft - you will be out of processes.

>Fix:

Back out changes to ports/x11-fonts/Xft/Makefile, or almost the same, apply following patch:
 

--- Makefile.orig       Fri Apr  4 14:52:47 2003
+++ Makefile    Fri Apr  4 14:52:54 2003
@@ -7,7 +7,7 @@
 PORTNAME=      Xft
 PORTVERSION=   2.1
-PORTREVISION=  4
+PORTREVISION=  5
 CATEGORIES=    x11-fonts
 MASTER_SITES=  http://fontconfig.org/fontconfig/release/
 DISTNAME=      fcpackage.${PORTVERSION:S/./_/}
@@ -16,11 +16,6 @@
 COMMENT=       A client-sided font API for X applications
 LIB_DEPENDS=   fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
-RUN_DEPENDS=   ${FONTSCALE}:${PORTSDIR}/x11-fonts/XFree86-4-fontScalable \
-               ${FONTENCOD}:${PORTSDIR}/x11-fonts/XFree86-4-fontEncodings
-
-FONTSCALE=     ${X11BASE}/lib/X11/fonts/TTF/luximb.ttf
-FONTENCOD=     ${X11BASE}/lib/X11/fonts/encodings/tcvn-0.enc
 USE_GMAKE=     yes
 USE_X_PREFIX=  yes


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list