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@cygwin.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

Attachment: libgeotiff.cygport
Description: Binary data

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

Reply via email to