www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:in-reply-to:message-id | |
:references:mime-version:content-type:content-id; q=dns; s= | |
default; b=y5EmGVLIdzd5FKlLvBCXCJDINy0m/YKT+acbxTwM38XqYwEIr6jey | |
gh0ZCnAKXUtkMzrtwRZMqBewuKY5FiLp+6GwYgUygUqOkAxMTsTii8FhmQ0yChU7 | |
E5ZpJ/r5fAGjviv8CyEgt0o7lLljMZCK02+tSmtfwAS7H9BTK+rkLg= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:in-reply-to:message-id | |
:references:mime-version:content-type:content-id; s=default; bh= | |
+1C0z7ayM+avcJoAYXlsz4YkT+o=; b=mmiyK76Ir1C2I6yEsohl1tq5uwiNckZL | |
lyMadDeTOrqzb1IX2mCSD3z4aJZbcrhRZAHex2jg64GeLHjAzRUYyJK/kvGzifbd | |
KGxdtU0Ub+wrOm/8l6aIbBIO0cUA3lgLh2euNqsj865o9k9oV5gDN9YXEh+Mi1GL | |
epv9X6zocs8= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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 |
Date: | Mon, 16 Apr 2018 13:44:25 -0700 (PDT) |
From: | "Peter A. Castro" <doctor AT fruitbat DOT org> |
To: | Cygwin List <cygwin AT cygwin DOT com> |
Subject: | RE: [E] Re: x3270 |
In-Reply-To: | <17719c5937494136b75a8f40d56ab39f@OMZP1LUMXCA08.uswin.ad.vzwcorp.com> |
Message-ID: | <alpine.LNX.2.00.1804161331250.2256@ming.fruitbat.org> |
References: | <42cdfad1-ddd5-5573-67eb-b90d7421dda4 AT gmail DOT com> <915ecf26-eed6-ba47-8352-fcf369362f1e AT gmail DOT com> <17719c5937494136b75a8f40d56ab39f AT OMZP1LUMXCA08 DOT uswin DOT ad DOT vzwcorp DOT com> |
User-Agent: | Alpine 2.00 (LNX 1167 2008-08-23) |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
---1463811529-771360554-1523910707=:2256 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; FORMAT=flowed Content-Transfer-Encoding: 8BIT Content-ID: <alpine DOT LNX DOT 2 DOT 00 DOT 1804161337301 DOT 2256 AT ming DOT fruitbat DOT org> On Mon, 16 Apr 2018, mark DOT paulus AT verizon DOT com wrote: Greetings, Mark, Marco & Chris (original poster), > Date: Mon, 16 Apr 2018 19:37:36 +0000 > From: mark DOT paulus AT verizon DOT com > To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>, > "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT 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 -- 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--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |