Package Details: gdal-hdf4 2.2.1-1

Git Clone URL: https://aur.archlinux.org/gdal-hdf4.git (read-only)
Package Base: gdal-hdf4
Description: A translator library for raster geospatial data formats, with support to HDF4 format (required to use MODIStsp tool: http://github.com/lbusett/MODIStsp)
Upstream URL: http://www.gdal.org/
Licenses: custom
Conflicts: gdal
Provides: gdal
Submitter: ggranga
Maintainer: ggranga
Last Packager: ggranga
Votes: 1
Popularity: 0.095066
First Submitted: 2016-04-26 14:23
Last Updated: 2017-08-07 11:58

Required by (92)

Sources (1)

Latest Comments

ggranga commented on 2017-02-10 09:46

The patch was added to the PKGBUILD, now it should compile (without the need to downgrade jasper).

chikycin commented on 2017-02-10 05:22

This worked: replace JAS_CAST(uchar *, buf); by JAS_CAST(unsigned char*, buf) in frmts/jpeg2000/jpeg2000_vsil_io.cpp, line 212.

Reference: http://osgeo-org.1560.x6.nabble.com/gdal-dev-jpeg2000-jasper-error-compiling-gdal-2-1-from-git-release-branch-td5299100.html

chikycin commented on 2017-02-09 13:43

The build is breaking:

###########
In file included from /usr/include/jasper/jasper.h:68:0,
from jpeg2000_vsil_io.h:33,
from jpeg2000_vsil_io.cpp:77:
jpeg2000_vsil_io.cpp: In function 'void JPEG2000_VSIL_jas_stream_initbuf(jas_stream_t*, int, char*, int)':
jpeg2000_vsil_io.cpp:212:32: error: 'uchar' was not declared in this scope
stream->bufbase_ = JAS_CAST(uchar *, buf);
^
jpeg2000_vsil_io.cpp:212:23: error: expected primary-expression before ')' token
stream->bufbase_ = JAS_CAST(uchar *, buf);
^
make[2]: *** [../../GDALmake.opt:648: ../o/jpeg2000_vsil_io.lo] Error 1
make[2]: Leaving directory '/tmp/packerbuild-1000/gdal-hdf4/gdal-hdf4/src/gdal-2.1.1/frmts/jpeg2000'
make[1]: *** [GNUmakefile:15: jpeg2000-install-obj] Error 2
make[1]: Leaving directory '/tmp/packerbuild-1000/gdal-hdf4/gdal-hdf4/src/gdal-2.1.1/frmts'
make: *** [GNUmakefile:88: frmts-target] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The build failed.
########