Bug 102859 - gdal-1.3.0 released (version bump)
Bug#: 102859 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: nerdboy@gentoo.org Reported By: rmay31@gmail.com
Component: Ebuilds
URL: 
Summary: gdal-1.3.0 released (version bump)
Keywords:  
Status Whiteboard: 
Opened: 2005-08-17 08:32 0000
Description:   Opened: 2005-08-17 08:32 0000
New version of GDAL released: 1.3.0

Please bump in portage.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Ryan May 2005-08-17 08:46:34 0000 -------
Created an attachment (id=66142) [details]
Ebuild for gdal-1.3.0

Pretty much a straight bump of previous ebuild.  The only change is adding
support and USE flags for HDF5, since GDAL 1.3.0 adds support for this.

However, I am unable to get GDAL to build with HDF5 support, the build fails
when compiling HDF5 support:

make -C hdf5 install-obj
make[2]: Entering directory
`/var/tmp/portage/gdal-1.3.0/work/gdal-1.3.0/frmts/hdf5'
/bin/sh ../../libtool --mode=compile g++ -Wall	-march=athlon64 -O2 -pipe
-fomit-frame-pointer   -I../../port -I../../gcore -I../../alg -I../../ogr
-I../../ogr/ogrsf_frmts -I/usr/include	-I../../port  -c -o ../o/hdf5dataset.o
hdf5dataset.cpp
 g++ -Wall -march=athlon64 -O2 -pipe -fomit-frame-pointer -I../../port
-I../../gcore -I../../alg -I../../ogr -I../../ogr/ogrsf_frmts -I/usr/include
-I../../port -c hdf5dataset.cpp  -fPIC -DPIC -o ../o/.libs/hdf5dataset.o
 cp ../o/.libs/hdf5dataset.o ../o/hdf5dataset.o
/bin/sh ../../libtool --mode=compile g++ -Wall	-march=athlon64 -O2 -pipe
-fomit-frame-pointer   -I../../port -I../../gcore -I../../alg -I../../ogr
-I../../ogr/ogrsf_frmts -I/usr/include	-I../../port  -c -o
../o/hdf5imagedataset.o hdf5imagedataset.cpp
 g++ -Wall -march=athlon64 -O2 -pipe -fomit-frame-pointer -I../../port
-I../../gcore -I../../alg -I../../ogr -I../../ogr/ogrsf_frmts -I/usr/include
-I../../port -c hdf5imagedataset.cpp  -fPIC -DPIC -o
../o/.libs/hdf5imagedataset.o
hdf5imagedataset.cpp: In member function `virtual CPLErr
HDF5ImageRasterBand::IReadBlock(int, int, void*)':
hdf5imagedataset.cpp:266: error: invalid conversion from `hsize_t*' to `const
hssize_t*'
hdf5imagedataset.cpp:266: error:   initializing argument 3 of `herr_t
H5Sselect_hyperslab(hid_t, H5S_seloper_t, const hssize_t*, const hsize_t*,
const hsize_t*, const hsize_t*)'
make[2]: *** [../o/hdf5imagedataset.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gdal-1.3.0/work/gdal-1.3.0/frmts/hdf5'
make[1]: *** [hdf5-install-obj] Error 2
make[1]: Leaving directory `/var/tmp/portage/gdal-1.3.0/work/gdal-1.3.0/frmts'
make: *** [frmts-target] Error 2

!!! ERROR: sci-libs/gdal-1.3.0 failed.
!!! Function src_compile, Line 118, Exitcode 2
!!! emake failed

This is with hdf5-1.6.2 installed.  If I turn off HDF5 support however, the
library builds and works fine.

------- Comment #2 From Ryan May 2005-08-17 09:14:15 0000 -------
Created an attachment (id=66146) [details]
Fixed ebuild for gdal-1.3.0

Ok, I fixed the compile failure by upgrading hdf5 to 1.6.4.  I revised the
ebuild to reflect this requirement.

Builds and works fine on my amd64 and x86 boxen.

------- Comment #3 From Steve Arnold 2005-09-13 19:02:51 0000 -------
This is now in portage, but hdf5 support is still on hold for a bit.