Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656822 - sci-libs/gdal-2.2.3-r1 falls over at frmts/pcidsk
Summary: sci-libs/gdal-2.2.3-r1 falls over at frmts/pcidsk
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-29 05:00 UTC by Geoff Madden
Modified: 2022-03-14 12:00 UTC (History)
4 users (show)

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


Attachments
emerge info for x86_64/6core unit (emerge.inf,5.83 KB, text/plain)
2018-05-29 05:00 UTC, Geoff Madden
Details
build log for gdal-2.2.3-r1 (build_log.tar.bz2,28.95 KB, application/x-bzip)
2018-05-29 05:10 UTC, Geoff Madden
Details
emerge info update (emerge.inf,6.38 KB, text/plain)
2018-05-29 05:12 UTC, Geoff Madden
Details
environment file for gdal-2.2.3-r1 (environment.tar.bz2,48.94 KB, application/x-bzip)
2018-05-29 05:15 UTC, Geoff Madden
Details
updated emerge info with extra files added (emerge.info,5.73 KB, application/x-info)
2018-06-08 14:22 UTC, Geoff Madden
Details
config log from my build of gdal-2.3.0 (config.log,211.75 KB, text/x-log)
2018-06-09 16:52 UTC, Geoff Madden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Madden 2018-05-29 05:00:26 UTC
Created attachment 533916 [details]
emerge info for x86_64/6core unit

This has been happening since the notification that python3_6 will be the new default. I followed the instructions regarding the make.conf additions regarding python targets,but had no luck there, after 3 days I gave up & removed all entries from the make.conf for python. but gdal consistently fails to compile at the frtms/pcidsk.
Comment 1 Geoff Madden 2018-05-29 05:10:12 UTC
Created attachment 533918 [details]
build log for gdal-2.2.3-r1
Comment 2 Geoff Madden 2018-05-29 05:12:43 UTC
Created attachment 533920 [details]
emerge info update
Comment 3 Geoff Madden 2018-05-29 05:15:21 UTC
Created attachment 533922 [details]
environment file for gdal-2.2.3-r1
Comment 4 Geoff Madden 2018-06-07 04:36:17 UTC
I gave up on this version,downloaded 2.3.0,and compiled up ok with no real stoppers,just a few error msg's, so an update might be called for HEY,!!!
Comment 5 Juergen Rose 2018-06-08 09:00:24 UTC
(In reply to Geoff Madden from comment #4)
> I gave up on this version,downloaded 2.3.0,and compiled up ok with no real
> stoppers,just a few error msg's, so an update might be called for HEY,!!!

Emerging gdal-2.3.0 fails here with:
...
pdfobject.cpp: In member function ‘virtual const CPLString& GDALPDFObjectPoppler::GetString()’:
pdfobject.cpp:1058:47: error: invalid conversion from ‘const GooString*’ to ‘GooString*’ [-fpermissive]
         GooString* gooString = m_po->getString();
Comment 6 Geoff Madden 2018-06-08 14:17:09 UTC
(In reply to Juergen Rose from comment #5)
> (In reply to Geoff Madden from comment #4)
> > I gave up on this version,downloaded 2.3.0,and compiled up ok with no real
> > stoppers,just a few error msg's, so an update might be called for HEY,!!!
> 
> Emerging gdal-2.3.0 fails here with:
> ...
> pdfobject.cpp: In member function ‘virtual const CPLString&
> GDALPDFObjectPoppler::GetString()’:
> pdfobject.cpp:1058:47: error: invalid conversion from ‘const GooString*’ to
> ‘GooString*’ [-fpermissive]
>          GooString* gooString = m_po->getString();

did you get the stable version ???
Comment 7 Geoff Madden 2018-06-08 14:22:07 UTC
Created attachment 535250 [details]
updated emerge info with extra files added
Comment 8 Juergen Rose 2018-06-09 14:11:20 UTC
(In reply to Geoff Madden from comment #6)
> (In reply to Juergen Rose from comment #5)
> > (In reply to Geoff Madden from comment #4)
> > > I gave up on this version,downloaded 2.3.0,and compiled up ok with no real
> > > stoppers,just a few error msg's, so an update might be called for HEY,!!!
> > 
> > Emerging gdal-2.3.0 fails here with:
> > ...
> > pdfobject.cpp: In member function ‘virtual const CPLString&
> > GDALPDFObjectPoppler::GetString()’:
> > pdfobject.cpp:1058:47: error: invalid conversion from ‘const GooString*’ to
> > ‘GooString*’ [-fpermissive]
> >          GooString* gooString = m_po->getString();
> 
> did you get the stable version ???

I renamed gdal-2.2.3-r1.ebuild to gdal-2.3.0.ebuild and removed and removed the ${P}-json-c-0.13.patch and the ${P}-bashcomp-path.patch, which failed, from the ebuild. 
poppler-0.65.0 is installed.

What do you mean with "stable version"?
Comment 9 Juergen Rose 2018-06-09 14:16:58 UTC
My /usr/portage/distfiles/gdal-2.3.0.tar.gz is identical with gdal-2.3.0.tar.gz from http://download.osgeo.org/gdal/2.3.0/.
Comment 10 Geoff Madden 2018-06-09 16:50:58 UTC
(In reply to Juergen Rose from comment #9)
> My /usr/portage/distfiles/gdal-2.3.0.tar.gz is identical with
> gdal-2.3.0.tar.gz from http://download.osgeo.org/gdal/2.3.0/.

I downloaded the version off the gdal site.and compiled it up as it came,ie with out any patches,and it compiled up ok this end,I just used the configure to place it into the normal places,also for the missing files it requested I used the ones in the gentoo repository. I still have the build log from the compile & will add it to the list of files here.
Comment 11 Geoff Madden 2018-06-09 16:52:08 UTC
Created attachment 535382 [details]
config log from my build of gdal-2.3.0
Comment 12 Juergen Rose 2018-06-10 13:56:47 UTC
@Geoff which poppler version is installed on your system?
Comment 13 Andrzej Kardas 2018-06-10 14:37:00 UTC
I put an ebuild into local overlay changed the version to 2.3.0 comented out one patch witch was cousing rejects and emerge leads to the same outcome as with gdal-2.2.3-r1 - my poppler is 0.65 - some same problem here.
Comment 14 Geoff Madden 2018-06-11 05:00:10 UTC
(In reply to Juergen Rose from comment #12)
> @Geoff which poppler version is installed on your system?

0.65
Comment 15 Geoff Madden 2018-06-11 05:09:56 UTC
(In reply to Andrzej Kardas from comment #13)
> I put an ebuild into local overlay changed the version to 2.3.0 comented out
> one patch witch was cousing rejects and emerge leads to the same outcome as
> with gdal-2.2.3-r1 - my poppler is 0.65 - some same problem here.

Why dont you try what I did,that is to do it the old fashioned way:ie, download untar configure & make then install,this way it picks up all the needed files that are on your system,I did note that it was looking for hdf5 which I did not have installed,installed that  in the normal way,then gdal compiled up ok. That is when I suggested that an update to 2.3.0 might be a good idea. If gdal is not compiling up after this ,when using the ebuild method,I would surmise the the ebuild is creating the problem,and probably should be looked at to correct the fault.
Comment 16 Andrzej Kardas 2018-06-11 20:17:01 UTC
(In reply to Geoff Madden from comment #15)
> (In reply to Andrzej Kardas from comment #13)
> > I put an ebuild into local overlay changed the version to 2.3.0 comented out
> > one patch witch was cousing rejects and emerge leads to the same outcome as
> > with gdal-2.2.3-r1 - my poppler is 0.65 - some same problem here.
> 
> Why dont you try what I did,that is to do it the old fashioned way:ie,
> download untar configure & make then install,this way it picks up all the
> needed files that are on your system,I did note that it was looking for hdf5
> which I did not have installed,installed that  in the normal way,then gdal
> compiled up ok. That is when I suggested that an update to 2.3.0 might be a
> good idea. If gdal is not compiling up after this ,when using the ebuild
> method,I would surmise the the ebuild is creating the problem,and probably
> should be looked at to correct the fault.

When I run the config like this:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --datadir=/usr/share --enable-static=no --with-gnu-ld --with-sse=yes --with-ssse3=yes --with-libz=internal --with-png=internal --with-hdf5 --with-poppler --with-python
Same as your log says I end up with:
pdfobject.cpp: In member function ‘virtual const CPLString& GDALPDFObjectPoppler::GetString()’:
pdfobject.cpp:1058:47: error: invalid conversion from ‘const GooString*’ to ‘GooString*’ [-fpermissive]
         GooString* gooString = m_po->getString();

So same result :-(
How ever if i will build using emerge with USE=-pdf the 2.2.3-r1 and 2.3.0  versions builds just fine so there is some pdf poppler incompatibility I assume.
Comment 17 Andreas Sturmlechner gentoo-dev 2020-04-13 09:30:37 UTC
Please test with sci-libs/gdal-3.0.4-r1.