delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/04/16/15:38:36

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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=A4pbFC6EUVv295A8cNqEwShb5TKfN
rv4Qz0a67X+cgw7WGHsI2gBUpndFv44xZkexcUYR9YEOQNM/NHbcaYuQliDK3AAj
5xXa6swXffqqvSRaVOkp4M7fnJtKhO71Qf+6eDpe8GtObVC5iMDsVB8iyxi5C2Xe
Vmcbm/gtLaouss=
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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=Fvu0s2g2wO7KUeQrIkW5Ptu8QyM=; b=qcR
Xv9bVh0wFtHljsJDfLPOHyQIY+YMZzpTjVyCPq7ul7jQwOW3SpUnyqDzOuOwvwE+
a5G2TGvPma2ely5mIz7kyrXIUwjVaPBeOJThIY02PC5qdR7AD3ykA+HZWqjjqZXD
Is4VatwoX5lveL5v9x6XimucoIqIxp75K699ulyM=
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=-6.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,KAM_NUMSUBJECT,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Feb, feb, 1
X-HELO: omzsmtpe01.verizonbusiness.com
From: mark DOT paulus AT verizon DOT com
X-Host: surveyor.tdc.vzwcorp.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
Date: Mon, 16 Apr 2018 19:37:36 +0000
Message-ID: <17719c5937494136b75a8f40d56ab39f@OMZP1LUMXCA08.uswin.ad.vzwcorp.com>
References: <42cdfad1-ddd5-5573-67eb-b90d7421dda4 AT gmail DOT com> <915ecf26-eed6-ba47-8352-fcf369362f1e AT gmail DOT com>
In-Reply-To: <915ecf26-eed6-ba47-8352-fcf369362f1e@gmail.com>
x-ms-exchange-transport-fromentityheader: Hosted
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id w3GJcZDx026000

-----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

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019