Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 217876

Summary: sci-libs/gdal-1.5.0-r1 fails w/ gcc-4.3.0; bump and patch
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Steve Arnold <nerdboy>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, hanno, sci-geosciences
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: gdal-ebuild.patch
gdal-1.5.1-max-min.patch
gdal-1.5.1-python-install.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-15 21:56:49 UTC
i686-pc-linux-gnu-g++ -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC  -Wall  -I/var/tmp/portage/sci-libs/gdal-1.5.0-r1/work/gdal-1.5.0/port -I/var/tmp/portage/sci-libs/gdal-1.5.0-r1/work/gdal-1.5.0/gcore -I/var/tmp/portage/sci-libs/gdal-1.5.0-r1/work/gdal-1.5.0/alg -I/var/tmp/portage/sci-libs/gdal-1.5.0-r1/work/gdal-1.5.0/ogr -I/var/tmp/portage/sci-libs/gdal-1.5.0-r1/work/gdal-1.5.0/ogr/ogrsf_frmts -c -o ../o/ilwisdataset.o ilwisdataset.cpp
ilwisdataset.cpp: In function ‘CPLErr GetStoreType(std::string, ilwisStoreType&)’:
ilwisdataset.cpp:409: error: no matching function for call to ‘transform(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, <unresolved overloaded function type>)’
ilwisdataset.cpp: In member function ‘void ILWISDataset::CollectTransformCoef(std::string&)’:
ilwisdataset.cpp:485: error: no matching function for call to ‘transform(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, <unresolved overloaded function type>)’
ilwisdataset.cpp: In static member function ‘static GDALDataset* ILWISDataset::Open(GDALOpenInfo*)’:
ilwisdataset.cpp:791: error: no matching function for call to ‘transform(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, <unresolved overloaded function type>)’
ilwisdataset.cpp: In member function ‘CPLErr ILWISRasterBand::GetILWISInfo(std::string)’:
ilwisdataset.cpp:1321: error: no matching function for call to ‘transform(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, <unresolved overloaded function type>)’
ilwisdataset.cpp:1373: error: no matching function for call to ‘transform(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, <unresolved overloaded function type>)’
make[2]: *** [../o/ilwisdataset.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-libs/gdal-1.5.0-r1/work/gdal-1.5.0/frmts/ilwis'
make[1]: *** [ilwis-install-obj] Error 2
make[1]: Leaving directory `/var/tmp/portage/sci-libs/gdal-1.5.0-r1/work/gdal-1.5.0/frmts'
make: *** [frmts-target] Error 2


Reproducible: Always
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-15 21:57:54 UTC
Created attachment 149853 [details, diff]
gdal-ebuild.patch
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-15 21:58:31 UTC
Created attachment 149854 [details, diff]
gdal-1.5.1-max-min.patch
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-15 21:58:59 UTC
Created attachment 149856 [details, diff]
gdal-1.5.1-python-install.patch
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-15 22:01:09 UTC
gdal-ebuild.patch is for bumping to gdal-1.5.1, which has fixed building with GCC 4.3.0. gdal-1.5.1-max-min.patch fixes a newly occuring build error in that release and gdal-1.5.1-python-install.patch is an adaptation of gdal-1.5.0-python-install.patch to the new codebase. Enjoy!
Comment 5 Steve Arnold archtester gentoo-dev 2008-05-20 03:19:59 UTC
Now in portage...  Thanks for the patches...