From: Lemures Lemniscati <lemures.lemniscati@gmail.com>
To: cygwin@cygwin.com
Subject: Re: GDAL doesn't read geotiff
Date: Fri, 05 Apr 2024 08:04:35 +0900 [thread overview]
Message-ID: <20240405080432.2C02.50F79699@gmail.com> (raw)
In-Reply-To: <20240404020507.738F.50F79699@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1985 bytes --]
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 #2: libgeotiff.cygport --]
[-- Type: application/octet-stream, Size: 1322 bytes --]
NAME="libgeotiff"
VERSION=1.7.1
RELEASE=3
CATEGORY="Graphics Libs"
DESCRIPTION="GeoTIFF represents an effort by over 160 different
remote sensing, GIS, cartographic, and surveying related
companies and organizations to establish a TIFF based
interchange format for georeferenced raster imagery."
SUMMARY="georeferenced raster imagery"
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 proj"
# proj is required to test, though it is unnecessary to build.
libgeotiff_CONTENTS='usr/bin/*.exe usr/share'
libgeotiff_SUMMARY="${SUMMARY} - utilities"
libgeotiff_devel_CONTENTS='usr/lib/libgeotiff.dll.a usr/include'
libgeotiff_devel_SUMMARY="${SUMMARY} - development libraries"
libgeotiff5_CONTENTS='usr/bin/cyggeotiff-5.dll'
libgeotiff5_SUMMARY="${SUMMARY} - shared libraries"
DIFF_EXCLUDES="Makefile geo_config.h"
KEEP_LA_FILES="none"
src_compile() {
cd ${S}
cygautoreconf
cd ${B}
cygconf --enable-shared \
--disable-static \
--with-zip \
--with-jpeg \
--with-proj
cygmake
}
src_test() {
cd ${B}
cygmake -i check
}
src_install() {
cd ${B}
cyginstall
}
prev parent reply other threads:[~2024-04-04 23:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-03 7:53 Nejia Ben Nasr
2024-04-03 7:55 ` marco atzeri
2024-04-03 17:05 ` Lemures Lemniscati
2024-04-04 23:04 ` Lemures Lemniscati [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240405080432.2C02.50F79699@gmail.com \
--to=lemures.lemniscati@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).