delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/04/07/19:02:30

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 56F51384770C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1712271901;
bh=napHpfTLCSr585ZhufYTqxsbyTqQ9UkU6k/lmeRSq7s=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=dp+y0CYG2KJhqb+xaEZY49pr0MOdvBA+bVjxQ2s/cbrdjvH20gOvr6Sg5T9THrnx0
ZrvhjmvKgolU6pJMcsCJYWQD7sH9LUv71R9PHkj6uDtJ02kV/x/082onobjWEoJGB9
+z5xPtH8wjd1nrl1DBkQ1kv2LwJXNtWL9r7DGLMs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D5FD83858C98
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D5FD83858C98
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712271880; cv=none;
b=m5yg9D0vK3a2Er8Vpyopp8N5VbJzy4seC6h1xaJnGbfgg5upha9fePKzychM58ZvLW4xOlRC+D/gkWpFxwkuxKAmUOiqEhikHT3kRmqtXdBXgeAzYpl5iXlgfaE6dxYOKEambQb3MJj5a1xjPjhLt8gs1PO8NBCFnTe1tq1GB/Q=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1712271880; c=relaxed/simple;
bh=oAIuzvyelK+QilpdX7J/Ky8mhtpKDsHKiRsPfmjZ8jA=;
h=DKIM-Signature:Date:From:To:Subject:Message-Id:MIME-Version;
b=OQ0qbs9Pz+IoisCIHp4h5r9A0GXagUKVc9abjolMFbTtGpG0WDFVQ2codgUOIZHYZdHYtL5B8U7d3sA/e7fFviqJAtvL3SToYNyg18FiwWu3aeC3UmW1nGOGu5rMIPE7dxgVvZgnrK5JGyVVhowndEsE2VBsoIpq3+GGGedUi4I=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1712271877; x=1712876677;
h=content-transfer-encoding:mime-version:message-id:references
:in-reply-to:subject:to:from:date:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=bwuGHoeVeYbeOlnUCrW7L3rWIJ8Nf6o/9LLiQKE4D6U=;
b=mjNddlowAR7G6x3nmpSRj4qQef6wNfbNsbx+vJNREeBOv+hfFGP/Uv9ET2gPPPwTLz
hmcqCz8iJIrCNQgf96zzzWn5dSndRQ1+jiLdQr/xKZN7LnL7VUzRnVam5Cf3d/VjoPjd
TcRAJCMc/1LyIlOJvZFA0UTlVWEYqFRsz/XvRyQ9+3THxwCAuramZih99EbqNBCHCrPS
GqJ723QHiczRpxSWamlgi2O4ERCjtMAytDJWGC0HEBi4ldMokzci+45nWg9qCXNfyDxb
Rcp2EaxC3IZXwZ+uguh5xFiOjFIhYf66UDHTHSgp4NLKutA8MhXh/+I+7C/E8De9yc3r
/5hw==
X-Gm-Message-State: AOJu0YxsBJXqWM1N8BtBx+CESATi2QCgWi3SkJn3KkA+nCWOmqOvyfFd
lEq3Q9b+xXTyrdfFhBpJNGdNa2ja+UrPkq4SBy8bdMKhSEf0qhg5BHzkdpQx
X-Google-Smtp-Source: AGHT+IGfH9YpkMMol4GrUy7ukx1d6NiYIEFUfgCTpRNqp89qjjqcQoXqSejtLIurxR+hTVpN/VmEdA==
X-Received: by 2002:a17:903:4290:b0:1e2:bb09:6270 with SMTP id
ju16-20020a170903429000b001e2bb096270mr885508plb.28.1712271876662;
Thu, 04 Apr 2024 16:04:36 -0700 (PDT)
Date: Fri, 05 Apr 2024 08:04:35 +0900
To: cygwin AT cygwin DOT com
Subject: Re: GDAL doesn't read geotiff
In-Reply-To: <20240404020507.738F.50F79699@gmail.com>
References: <CAB8Xom-iikHjiTvsreO_aP-r+7VKJ7U7T-apVW0cuZsoeaM4Og AT mail DOT gmail DOT com>
<20240404020507 DOT 738F DOT 50F79699 AT gmail DOT com>
Message-Id: <20240405080432.2C02.50F79699@gmail.com>
MIME-Version: 1.0
X-Mailer: Becky! ver. 2.81.05 [ja]
X-Antivirus: Avast (VPS 240404-6, 2024/4/4), Outbound message
X-Antivirus-Status: Clean
X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Lemures Lemniscati via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Lemures Lemniscati <lemures DOT lemniscati AT gmail DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

--------_660F2DF3000000002BFC_MULTIPART_MIXED_
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

On Thu, 04 Apr 2024 02:05:10 +0900, Lemures Lemniscati
> On Wed, 3 Apr 2024 09:55:33 +0200, marco atzeri via Cygwin
> > On Wed, Apr 3, 2024 at 9:53 AM Nejia Ben Nasr via Cygwin
> > <cygwin AT cygwin DOT com> wrote:
> > >
> > > Hi all,
> > >
> > > I downloaded the last version of GDAL package.
> > > gdalinfo on any tiff file give "Segmentation fault".
> > >
> > 
> > noted.
> > Not sure when I can look on it
> 
> 	
> It might be a situation in which libgeotiff 1.7.1-2 is linked to an old
> libtiff6 4.4.0-1 [1]. Rebuilding libgeotiff packages would resolve it.
> Please, note that current libtiff is libtiff7 4.5.1-1 [2].
> 
> [1]; https://cygwin.com/packages/summary/libgeotiff5.html
> [2]; https://cygwin.com/packages/summary/libtiff7.html
> 

I've confirmed that rebuilding with libgeotiff.cygport (attached to this
mail) can avoid segmentation fault while running gdalinfo on tiff files.
But some tests have failed.

--- libgeotiff-1.7.1-2.src/libgeotiff.cygport	2022-07-05 11:39:27.000000000 +0900
+++ libgeotiff-1.7.1-3.src/libgeotiff.cygport	2024-04-05 07:33:41.279743900 +0900
@@ -1,6 +1,6 @@
 NAME="libgeotiff"
 VERSION=1.7.1
-RELEASE=2
+RELEASE=3
 
 CATEGORY="Graphics Libs"
 DESCRIPTION="GeoTIFF represents an effort by over 160 different
@@ -12,11 +12,13 @@
 HOMEPAGE="https://trac.osgeo.org/geotiff/"
 SRC_URI="https://download.osgeo.org/geotiff/libgeotiff/${PN}-${PV}.tar.gz" 
 SRC_DIR="${PN}-${PV}"
+LICENSE="MIT"
 
 # PATCH_URI="libgeotiff-build.patch"
 
 PKG_NAMES="libgeotiff libgeotiff-devel libgeotiff5"
-BUILD_REQUIRES="libproj-devel libtiff-devel"
+BUILD_REQUIRES="libproj-devel libtiff-devel proj"
+# proj is required to test, though it is unnecessary to build.
 
 libgeotiff_CONTENTS='usr/bin/*.exe usr/share'
 libgeotiff_SUMMARY="${SUMMARY} - utilities"  



* Note: cyggdal-34.dll depends on cygpoppler-106.dll, which dpends on 
cygtiff-6.dll, which is an older binary (latest is cygtiff-7.dll).
So, it would be better to rebuilding poppler packages, too.

Lem

--------_660F2DF3000000002BFC_MULTIPART_MIXED_
Content-Type: application/octet-stream;
 name="libgeotiff.cygport"
Content-Disposition: attachment;
 filename="libgeotiff.cygport"
Content-Transfer-Encoding: base64

TkFNRT0ibGliZ2VvdGlmZiIKVkVSU0lPTj0xLjcuMQpSRUxFQVNFPTMKCkNBVEVHT1JZPSJHcmFw
aGljcyBMaWJzIgpERVNDUklQVElPTj0iR2VvVElGRiByZXByZXNlbnRzIGFuIGVmZm9ydCBieSBv
dmVyIDE2MCBkaWZmZXJlbnQKcmVtb3RlIHNlbnNpbmcsIEdJUywgY2FydG9ncmFwaGljLCBhbmQg
c3VydmV5aW5nIHJlbGF0ZWQKY29tcGFuaWVzIGFuZCBvcmdhbml6YXRpb25zIHRvIGVzdGFibGlz
aCBhIFRJRkYgYmFzZWQKaW50ZXJjaGFuZ2UgZm9ybWF0IGZvciBnZW9yZWZlcmVuY2VkIHJhc3Rl
ciBpbWFnZXJ5LiIKClNVTU1BUlk9Imdlb3JlZmVyZW5jZWQgcmFzdGVyIGltYWdlcnkiCkhPTUVQ
QUdFPSJodHRwczovL3RyYWMub3NnZW8ub3JnL2dlb3RpZmYvIgpTUkNfVVJJPSJodHRwczovL2Rv
d25sb2FkLm9zZ2VvLm9yZy9nZW90aWZmL2xpYmdlb3RpZmYvJHtQTn0tJHtQVn0udGFyLmd6IiAK
U1JDX0RJUj0iJHtQTn0tJHtQVn0iCkxJQ0VOU0U9Ik1JVCIKCiMgUEFUQ0hfVVJJPSJsaWJnZW90
aWZmLWJ1aWxkLnBhdGNoIgoKUEtHX05BTUVTPSJsaWJnZW90aWZmIGxpYmdlb3RpZmYtZGV2ZWwg
bGliZ2VvdGlmZjUiCkJVSUxEX1JFUVVJUkVTPSJsaWJwcm9qLWRldmVsIGxpYnRpZmYtZGV2ZWwg
cHJvaiIKIyBwcm9qIGlzIHJlcXVpcmVkIHRvIHRlc3QsIHRob3VnaCBpdCBpcyB1bm5lY2Vzc2Fy
eSB0byBidWlsZC4KCmxpYmdlb3RpZmZfQ09OVEVOVFM9J3Vzci9iaW4vKi5leGUgdXNyL3NoYXJl
JwpsaWJnZW90aWZmX1NVTU1BUlk9IiR7U1VNTUFSWX0gLSB1dGlsaXRpZXMiICAKCmxpYmdlb3Rp
ZmZfZGV2ZWxfQ09OVEVOVFM9J3Vzci9saWIvbGliZ2VvdGlmZi5kbGwuYSB1c3IvaW5jbHVkZScK
bGliZ2VvdGlmZl9kZXZlbF9TVU1NQVJZPSIke1NVTU1BUll9IC0gZGV2ZWxvcG1lbnQgbGlicmFy
aWVzIgoKbGliZ2VvdGlmZjVfQ09OVEVOVFM9J3Vzci9iaW4vY3lnZ2VvdGlmZi01LmRsbCcKbGli
Z2VvdGlmZjVfU1VNTUFSWT0iJHtTVU1NQVJZfSAtIHNoYXJlZCBsaWJyYXJpZXMiCgoKRElGRl9F
WENMVURFUz0iTWFrZWZpbGUgZ2VvX2NvbmZpZy5oIgpLRUVQX0xBX0ZJTEVTPSJub25lIgoKc3Jj
X2NvbXBpbGUoKSB7CgljZCAke1N9CiAgICAJY3lnYXV0b3JlY29uZgoJY2QgJHtCfQoJY3lnY29u
ZiAtLWVuYWJsZS1zaGFyZWQgXAoJCS0tZGlzYWJsZS1zdGF0aWMgXAoJCS0td2l0aC16aXAgXAoJ
CS0td2l0aC1qcGVnIFwKCQktLXdpdGgtcHJvagoJY3lnbWFrZSAKfQoKc3JjX3Rlc3QoKSB7Cglj
ZCAke0J9CgljeWdtYWtlIC1pIGNoZWNrCn0KCnNyY19pbnN0YWxsKCkgewoJY2QgJHtCfQoJY3ln
aW5zdGFsbCAKfQo=
--------_660F2DF3000000002BFC_MULTIPART_MIXED_
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

--------_660F2DF3000000002BFC_MULTIPART_MIXED_--

- Raw text -


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