From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105527 invoked by alias); 16 Sep 2015 22:17:39 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 105462 invoked by uid 89); 16 Sep 2015 22:17:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_COUK,SPF_PASS autolearn=no version=3.3.2 X-HELO: out.ipsmtp4nec.opaltelecom.net Received: from out.ipsmtp4nec.opaltelecom.net (HELO out.ipsmtp4nec.opaltelecom.net) (62.24.202.76) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 16 Sep 2015 22:17:36 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2GVAQA16vlV/3hd0lUNUcoOA4IKEAEBAQEBAQEDhVQVQDYCBRYLAgsDAgECAVgIAQG9G3GUd4EijxBpglKBQwWSNoMojlGHVpFuOIF1gjiLGgEBAQ X-IPAS-Result: A2GVAQA16vlV/3hd0lUNUcoOA4IKEAEBAQEBAQEDhVQVQDYCBRYLAgsDAgECAVgIAQG9G3GUd4EijxBpglKBQwWSNoMojlGHVpFuOIF1gjiLGgEBAQ Received: from 85-210-93-120.dynamic.dsl.as9105.com (HELO [127.0.0.1]) ([85.210.93.120]) by out.ipsmtp4nec.opaltelecom.net with ESMTP; 16 Sep 2015 23:17:09 +0100 To: cygwin@cygwin.com From: David Stacey Subject: x3270 post install script fails Message-ID: <55F9EA66.8080807@tiscali.co.uk> Date: Wed, 16 Sep 2015 22:17:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00256.txt.bz2 The x3270 package performs the following in its post install script: FONTDIR=/usr/share/fonts ENCODINGSDIR=$FONTDIR/encodings MKFONTDIR=/usr/bin/mkfontdir $MKFONTDIR -e $ENCODINGSDIR $FONTDIR/misc This fails because the directory '/usr/share/fonts/encodings' no longer exists. (The directory used to be provided by the 'font-encodings' package, which is now obsolete). Probably the best way to resolve this is to add a 'mkdir -p ${ENCODINGSDIR}' to the post install script, rather than just assume its existence - provided this 'encodings.dir' is still being read by the X server. Otherwise, use '/usr/share/X11/fonts/encodings' as the encodings directory. Dave. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple