From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from re-prd-fep-048.btinternet.com (mailomta21-re.btinternet.com [213.120.69.114]) by sourceware.org (Postfix) with ESMTPS id E4596395B085 for ; Fri, 12 Jun 2020 14:44:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E4596395B085 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=jon.turney@dronecode.org.uk Received: from re-prd-rgout-004.btmx-prd.synchronoss.net ([10.2.54.7]) by re-prd-fep-048.btinternet.com with ESMTP id <20200612144424.KAHE4701.re-prd-fep-048.btinternet.com@re-prd-rgout-004.btmx-prd.synchronoss.net> for ; Fri, 12 Jun 2020 15:44:24 +0100 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com X-Originating-IP: [86.141.128.212] X-OWM-Source-IP: 86.141.128.212 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeduhedrudeiuddgkeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecunecujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepteejfffhheeuleeufeeiueduveeltdeiveejuddvgfegjeeuheefgeffgeffheefnecuffhomhgrihhnpegthihgfihinhdrtghomhenucfkphepkeeirddugedurdduvdekrddvuddvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurdduudejngdpihhnvghtpeekiedrudeguddruddvkedrvdduvddpmhgrihhlfhhrohhmpeeojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhequceuqfffjgepkeeukffvoffkoffgpdhrtghpthhtohepoegthihgfihinhdqrghpphhssegthihgfihinhdrtghomheq X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.117] (86.141.128.212) by re-prd-rgout-004.btmx-prd.synchronoss.net (5.8.340) (authenticated as jonturney@btinternet.com) id 5ED9C506016DEDE9 for cygwin-apps@cygwin.com; Fri, 12 Jun 2020 15:44:24 +0100 Subject: Re: Help needed with gobject-introspection To: "cygwin-apps@cygwin.com" References: <2c0802e9-e66c-768e-61f2-f2797acc1acb@cornell.edu> <429779d8-dc38-2f75-bd3e-42f898941483@cornell.edu> <6703fe25-ba53-68c7-c398-843b2a8295dc@dronecode.org.uk> <93b48fc8-61f9-ce33-ac76-0e6cc56aa18c@dronecode.org.uk> <62ba273e-4eed-6578-32e5-8cd24fe25c3f@dronecode.org.uk> <3d2cb151-e243-a539-32f0-ffa40be78745@dronecode.org.uk> <0d6292b3-72df-e6ad-fcc5-f03bbf923087@dronecode.org.uk> <4f5d1485-cf5a-8535-2923-5d31be901741@cornell.edu> <5fb4bf89-58a5-88cb-c2cb-29cfef65ffc1@dronecode.org.uk> <0876122c-1c1e-54e0-1a18-0c3774e71641@cornell.edu> <4345fbc7-0c30-9335-46a8-bfe2ae79a8bc@dronecode.org.uk> <070a6a40-a1f4-c17e-3da6-3541174c5ec5@cornell.edu> From: Jon Turney Message-ID: Date: Fri, 12 Jun 2020 15:44:22 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <070a6a40-a1f4-c17e-3da6-3541174c5ec5@cornell.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, BODY_8BITS, FORGED_SPF_HELO, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2020 14:44:27 -0000 On 12/06/2020 00:23, Ken Brown via Cygwin-apps wrote: > On 6/11/2020 5:39 PM, Jon Turney wrote: [...] >> --- shlibs.py~  2018-02-11 23:15:03.000000000 +0000 >> +++ shlibs.py   2020-06-11 22:28:07.901294700 +0100 >> @@ -62,7 +62,7 @@ >>       if platform.system() == 'Darwin': >>           pattern = "([^\s]*lib*%s[^A-Za-z0-9_-][^\s\(\)]*)" >>       elif platform.platform().startswith('CYGWIN'): >> -        pattern = "([^\s]*cyg*%s[^A-Za-z0-9_][^\s\(\)]*)" >> +        pattern = "([^\s]*cyg%s[-.0-9]*\.[^\s\(\)]*)" >>       return re.compile(pattern % re.escape(library_name)) >> >> But this all seems very fragile though, so I'm not sure if that's the >> right way to fix this. >> >> (This 'if cygwin' case is coming from gobject-introspection package in >> [1], it's not in upstream) >> >> https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/gobject-introspection.git;a=blob;f=1.46.0-cygwin.patch;h=a03271ea17e0d167eba7627ddf5d4303bbde9871;hb=4e3b8bd140db78ee35f29ee3d07ff3715416e259#l93 > > Thanks, Jon!  Just as your mail came in, I was staring at the regex for > harfbuzz-gobject in shlibs.py, trying to understand why it wasn't > matched.  It never occurred to me that the cygharfbuzz-gobject-0.dll > line in the ldd output was being used to match the regex for harfbuzz > rather than the one for harfbuzz-gobject.  What a mess. Yeah, I went around in circles on that a few times myself :)