From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97567 invoked by alias); 16 Apr 2018 20:45:37 -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 94958 invoked by uid 89); 16 Apr 2018 20:45:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,KAM_NUMSUBJECT,SPF_PASS,TVD_RCVD_IP autolearn=ham version=3.3.2 spammy=issuing, Manually, H*c:HHHH X-HELO: ripple.fruitbat.org Received: from 173-228-5-241.dsl.static.fusionbroadband.com (HELO ripple.fruitbat.org) (173.228.5.241) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 16 Apr 2018 20:45:31 +0000 Received: from ming.fruitbat.org (ming.fruitbat.org [192.168.55.2]) by ripple.fruitbat.org (8.14.4/8.14.4/fruitwall-1.7) with ESMTP id w3GKiPcL032239 for ; Mon, 16 Apr 2018 13:44:25 -0700 Received: from ming.fruitbat.org (ming.fruitbat.org [192.168.55.2]) by ming.fruitbat.org (8.14.4/8.14.4/fruithub-1.11) with ESMTP id w3GKiPIl012652 for ; Mon, 16 Apr 2018 13:44:25 -0700 Date: Mon, 16 Apr 2018 20:45:00 -0000 From: "Peter A. Castro" To: Cygwin List Subject: RE: [E] Re: x3270 In-Reply-To: <17719c5937494136b75a8f40d56ab39f@OMZP1LUMXCA08.uswin.ad.vzwcorp.com> Message-ID: References: <42cdfad1-ddd5-5573-67eb-b90d7421dda4@gmail.com> <915ecf26-eed6-ba47-8352-fcf369362f1e@gmail.com> <17719c5937494136b75a8f40d56ab39f@OMZP1LUMXCA08.uswin.ad.vzwcorp.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1463811529-771360554-1523910707=:2256" Content-ID: X-IsSubscribed: yes X-SW-Source: 2018-04/txt/msg00181.txt.bz2 ---1463811529-771360554-1523910707=:2256 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; FORMAT=flowed Content-Transfer-Encoding: 8BIT Content-ID: Content-length: 3398 On Mon, 16 Apr 2018, mark.paulus@verizon.com wrote: Greetings, Mark, Marco & Chris (original poster), > Date: Mon, 16 Apr 2018 19:37:36 +0000 > From: mark.paulus@verizon.com > To: Marco Atzeri , > "cygwin@cygwin.com" > Subject: RE: [E] Re: x3270 > > -----Original Message----- >> On 4/15/2018 2:48 AM, Chris Johnson wrote: >>> Hi. >>> >>> Not sure when this happened but I now have a complaint for cygwin on >>> exit about  x3270.sh returning exit code 1.  I found it listed in >>> /etc/setup/install.db and remove it.  No joy.  Do I recall the x3270 >>> is defunct?  Either way, how do I get rid of this error.  It's annoying. >>> >>> Thanks. >>> >> >> x3270 is still an active package >> >> run /etc/postinstall/x3270.sh from bash and if you have no error rename it as /etc/postinstall/x3270.sh.done >> >> Regards >> Marco The issue with mkfontdir in the postinstall script is already known (reported back in 2016, yikes!). I just haven't gotten around to issuing an update. The path to the encodings dir is wrong (was moved as part of an X update). I have plans to better determine which directory to use, but haven't completed that. I also need to build the latest version, but the maintainer has drastically re-org'd the code. So, still work in progress. The "workaround" is to either add a symlink, as you've noted below, or update the script to point to the "correct" place: /usr/bin/mkfontdir -e /usr/share/x11/fonts/encodings /usr/share/fonts/misc Oh, and, yes, adding a dependency on mkfontdir is needed. Thanks for helping to poke me about getting this addresses. :) > Manually ran x3270.sh and ran into a couple of issues that looks like they could use addressing: > First time I ran it, got this: > $ ./x3270.sh > ./x3270.sh: line 9: /usr/bin/mkfontdir: No such file or directory > > Installed mkfontdir package (need a dependency maybe?), then ran it again > and got this: > $ bash -x x3270.sh > + FONTDIR=/usr/share/fonts > + ENCODINGSDIR=/usr/share/fonts/encodings > + MKFONTDIR=/usr/bin/mkfontdir > + /usr/bin/mkfontdir -e /usr/share/fonts/encodings /usr/share/fonts/misc > opendir: No such file or directory > > I "think" the issue here is that the encoding directory we want is actually > in /usr/share/X11/fonts/encoding instead of /usr/share/fonts/encoding. > Solved this by creating a soft link: > /usr/share/fonts > $ ln -sf /usr/share/x11/fonts/encodings . > /usr/share/fonts > $ ll > total 93 > drwxr-xr-x+ 1 v808297 Domain Users 0 Apr 16 13:23 ./ > drwxr-xr-x+ 1 v808297 Domain Users 0 Apr 16 11:44 ../ > drwxr-xr-x+ 1 v808297 Domain Users 0 Feb 26 08:50 dejavu/ > lrwxrwxrwx 1 v808297 Domain Users 30 Apr 16 13:23 encodings -> /usr/share/x11/fonts/encodings/ > drwxr-xr-x+ 1 v808297 Domain Users 0 Feb 26 08:57 microsoft/ > drwxr-xr-x+ 1 v808297 Domain Users 0 Feb 26 08:53 misc/ > > After these 2 corrections the x3270.sh script ran successfully and > I was able to rename it to x3270.sh.done > > Thanks, > > Mark > > -- > 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 > > -- --=> Peter A. Castro Email: doctor at fruitbat dot org / Peter dot Castro at oracle dot com "Cats are just autistic Dogs" -- Dr. Tony Attwood ---1463811529-771360554-1523910707=:2256 Content-Type: text/plain; charset=us-ascii Content-length: 219 -- 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 ---1463811529-771360554-1523910707=:2256--