Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102859 - gdal-1.3.0 released (version bump)
Summary: gdal-1.3.0 released (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-17 08:32 UTC by Ryan May
Modified: 2005-09-13 19:02 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for gdal-1.3.0 (gdal-1.3.0.ebuild,4.76 KB, text/plain)
2005-08-17 08:46 UTC, Ryan May
Details
Fixed ebuild for gdal-1.3.0 (gdal-1.3.0.ebuild,4.77 KB, text/plain)
2005-08-17 09:14 UTC, Ryan May
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan May 2005-08-17 08:32:55 UTC
New version of GDAL released: 1.3.0

Please bump in portage.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Ryan May 2005-08-17 08:46:34 UTC
Created attachment 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 Ryan May 2005-08-17 09:14:15 UTC
Created attachment 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 Steve Arnold archtester gentoo-dev 2005-09-13 19:02:51 UTC
This is now in portage, but hdf5 support is still on hold for a bit.