From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 3 20:50:13 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28D3E16A41F for ; Tue, 3 Jan 2006 20:50:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEA7A43D62 for ; Tue, 3 Jan 2006 20:50:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k03KoAIS057726 for ; Tue, 3 Jan 2006 20:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k03KoAtg057725; Tue, 3 Jan 2006 20:50:10 GMT (envelope-from gnats) Resent-Date: Tue, 3 Jan 2006 20:50:10 GMT Resent-Message-Id: <200601032050.k03KoAtg057725@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Victor Snezhko Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE34A16A423 for ; Tue, 3 Jan 2006 20:43:18 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED8F643D53 for ; Tue, 3 Jan 2006 20:43:17 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k03KhHsC008975 for ; Tue, 3 Jan 2006 20:43:17 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k03KhHnA008974; Tue, 3 Jan 2006 20:43:17 GMT (envelope-from nobody) Message-Id: <200601032043.k03KhHnA008974@www.freebsd.org> Date: Tue, 3 Jan 2006 20:43:17 GMT From: Victor Snezhko To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/91279: [patch] x11-servers/xorg-fontserver startup script doesn't contain ldconfig dependency but actually depends on it X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2006 20:50:13 -0000 >Number: 91279 >Category: ports >Synopsis: [patch] x11-servers/xorg-fontserver startup script doesn't contain ldconfig dependency but actually depends on it >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 03 20:50:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Victor Snezhko >Release: FreeBSD 7.0-CURRENT i386 >Organization: IndorSoft >Environment: System: FreeBSD freebsd.indorsoft.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Mon Jan 2 09:49:40 NOVT 2006 root@freebsd.indorsoft.ru:/home/vvs/obj/usr/src/sys/VVS i386 >Description: I tried to install and run x11-servers/xorg-fontserver on a FreeBSD 7.0-CURRENT machine. When I added "xfs_enable=\"YES\"" to my /etc/rc.conf and rebooted, xfs didn't start and complained it can't find libfreetype.so.9 library. If I add ldconfig to the list of dependencies, everything works. This malfunction is caused by the fact that on -current (and on future FreeBSD 7.0) not only basesystem scripts are called in order specified by rcorder script, but also X11 and local scripts. If xfs startup script doesn't contain ldconfig dependency, it is called before ldconfig (on -current) and therefore can't find libfreetype.so.9 library. >How-To-Repeat: Install x11-servers/xorg-fontserver and enable it. on 7.0-CURRENT it will fail to start and complain about libfreetype.so.9 library >Fix: Here is a trivial patch: --- /usr/ports/x11-servers/xorg-fontserver/files/xfs.sh Wed Dec 14 00:59:12 2005 +++ /usr/ports/x11-servers/xorg-fontserver/files/xfs Wed Jan 4 02:19:25 2006 @@ -4,7 +4,7 @@ # # PROVIDE: xfs -# REQUIRE: cleartmp +# REQUIRE: cleartmp ldconfig # BEFORE: LOGIN # KEYWORD: FreeBSD >Release-Note: >Audit-Trail: >Unformatted: