This is finally (more or less) solved. The main issue turned out to be the wrong JDK architecture - macos-latest changed to arm64 a couple months ago. More details in the comments of the PR <https://github.com/geotools/geotools/pull/4808> However, there's at least one blocker before it can be merged - One or two community modules (*ogr-jni* and *vsi*) are not compatible with newer versions (>= 3.2.0) of GDAL. We could disable tests for those, or a module maintainer could update the modules. If the former, it's probably worthwhile to update the documentation with supported GDAL versions.
Also, while not a blocker for this effort, it appears that the other OS tests (Linux and Windows) aren't currently running imageio-ext-gdal tests - I was checking the output to compare with what I saw on the Mac OS build, and they all seem to be getting skipped. Cheers, Torben On Fri, Jun 14, 2024 at 11:48 AM Torben Barsballe <torbenbarsba...@gmail.com> wrote: > I'm still at the point where I'm not sure if its a GDAL issue, an > imageio-ext issue, or an "I haven't dealt with the java bindings in several > years and am missing something obvious" issue; I'd hoped to at least narrow > it down to a GDAL issue before making a bug report. > > Is there any way to get imageio-exts to output more info on what it's > doing when it's looking for (and failing to find) the bindings? That might > help narrow it down a bit. > > Cheers, > Torben > > On Thu, Jun 13, 2024 at 1:12 AM Andrea Aime < > andrea.a...@geosolutionsgroup.com> wrote: > >> Maybe you can ask on the devel list, or report on the issue tracker? >> E.g.: >> >> https://github.com/OSGeo/gdal/issues/7779 >> >> Regards, >> >> Andrea Aime >> >> >> == >> GeoServer Professional Services from the experts! >> >> Visit http://bit.ly/gs-services-us for more information. >> == >> >> Ing. Andrea Aime >> @geowolf >> Technical Lead >> >> GeoSolutions Group >> phone: +39 0584 962313 >> >> fax: +39 0584 1660272 >> >> mob: +39 339 8844549 >> >> https://www.geosolutionsgroup.com/ >> >> http://twitter.com/geosolutions_it >> >> ------------------------------------------------------- >> >> Con riferimento alla normativa sul trattamento dei dati personali (Reg. >> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si >> precisa che ogni circostanza inerente alla presente email (il suo >> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è >> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il >> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra >> operazione è illecita. Le sarei comunque grato se potesse darmene notizia. >> >> This email is intended only for the person or entity to which it is >> addressed and may contain information that is privileged, confidential or >> otherwise protected from disclosure. We remind that - as provided by >> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this >> e-mail or the information herein by anyone other than the intended >> recipient is prohibited. If you have received this email by mistake, please >> notify us immediately by telephone or e-mail >> >> >> On Thu, Jun 13, 2024 at 12:30 AM Torben Barsballe < >> torbenbarsba...@gmail.com> wrote: >> >>> That's a good suggestion. Unfortunately, it didn't seem to work. >>> I've also done some local testing now, and I can reproduce the issue on >>> my Mac (and haven't been able to fix it locally either) with GDAL 3.7, so >>> definitely seems like some sort of config is missing somewhere. >>> My Python bindings work fine locally, so I expect it's specifically java >>> related - dependency config or JNI or something like that, but beyond that >>> I've got no clue. >>> >>> Cheers, >>> Torben >>> >>> >>> On Tue, Jun 11, 2024 at 9:30 PM Roar Brænden <roar.brenden...@gmail.com> >>> wrote: >>> >>>> Hi Torben, >>>> >>>> Impressive tweaking. >>>> I haven't looked into the troubles you're facing with the last build, >>>> but I've had problems using GDAL >3.7.1 in a Docker container. >>>> >>>> Best regards, >>>> Roar Brænden >>>> >>>> 12. jun. 2024 kl. 05:05 skrev Torben Barsballe < >>>> torbenbarsba...@gmail.com>: >>>> >>>> I've made an attempt here: >>>> https://github.com/geotools/geotools/pull/4808 >>>> >>>> GDAL's building fine, and producing Java bindings, but for whatever >>>> reason GeoTools is not picking the bindings up. >>>> I've tried a bunch of different fixes (as the commit history can >>>> attest) with no luck so far, and could use a second pair of eyes, if anyone >>>> can see something I've missed. >>>> >>>> Cheers, >>>> Torben >>>> >>>> On Tue, Jan 30, 2024 at 10:47 AM Andrea Aime < >>>> andrea.a...@geosolutionsgroup.com> wrote: >>>> >>>>> That would be awesome Torben! >>>>> >>>>> Cheers >>>>> Andrea >>>>> >>>>> On Tue, Jan 30, 2024 at 7:02 PM Torben Barsballe < >>>>> torbenbarsba...@gmail.com> wrote: >>>>> >>>>>> As far as I'm aware, the conda GDAL distribution doesn't include java >>>>>> bindings, which will be a problem. >>>>>> I've built GDAL from source on Mac relatively recently, and might be >>>>>> able to give a stab at porting that to the GitHub action, but no promises >>>>>> on timeframe. >>>>>> >>>>>> Cheers, >>>>>> Torben >>>>>> >>>>>> On Fri, Jan 26, 2024 at 7:22 AM Andrea Aime < >>>>>> andrea.a...@geosolutionsgroup.com> wrote: >>>>>> >>>>>>> A little (gdal) bird told me we should try conda rather than brew. >>>>>>> Anyone wants to try that out? >>>>>>> >>>>>>> Cheers >>>>>>> Andrea >>>>>>> >>>>>>> On Thu, Jan 25, 2024 at 9:13 AM Jody Garnett <jody.garn...@gmail.com> >>>>>>> wrote: >>>>>>> >>>>>>>> Thanks, >>>>>>>> >>>>>>>> I remember asking at a code sprint and the GDAL folks needed a >>>>>>>> volunteer to publish out java bindings themselves. I did the build >>>>>>>> once a >>>>>>>> couple years back; not sure what shape it is in now. >>>>>>>> >>>>>>>> I do not see Mac instructions in their manual at present: >>>>>>>> https://gdal.org/api/java/index.html >>>>>>>> -- >>>>>>>> Jody Garnett >>>>>>>> >>>>>>>> >>>>>>>> On Jan 24, 2024 at 11:23:57 PM, Roar Brænden < >>>>>>>> roar.brenden...@gmail.com> wrote: >>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> I have some experience in using Mac and GDAL. It will not work by >>>>>>>>> just using "brew install gdal", because that will not install the Java >>>>>>>>> bindings. There was this other brew tap called "osgeo/osgeo4mac" that >>>>>>>>> had a >>>>>>>>> solution for the Java bindings, but I don't that works either. The >>>>>>>>> solution >>>>>>>>> for me was to build the GDAL libraries from sources, an even then >>>>>>>>> there are >>>>>>>>> some settings and tweaks to make it run with GeoTools. >>>>>>>>> >>>>>>>>> So my recommendation is to drop it. >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> Roar Brænden >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 22. jan. 2024 kl. 20:05 skrev Jody Garnett <jody.garn...@gmail.com >>>>>>>>> >: >>>>>>>>> >>>>>>>>> I can look at it after this release >>>>>>>>> -- >>>>>>>>> Jody Garnett >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Jan 22, 2024 at 3:42 AM Andrea Aime < >>>>>>>>> andrea.a...@geosolutionsgroup.com> wrote: >>>>>>>>> >>>>>>>>>> Hi al, >>>>>>>>>> the OSX github action keeps on failing while installing GDAL. >>>>>>>>>> Mark has made a valiant effort to try and get it going, which I >>>>>>>>>> truly appreciate, but... it just keeps on failing. >>>>>>>>>> >>>>>>>>>> At this point, I vote for just pulling the GDAL installation from >>>>>>>>>> the OSX action. >>>>>>>>>> Objections? Ideas? Actions? >>>>>>>>>> >>>>>>>>>> Cheers >>>>>>>>>> Andrea >>>>>>>>>> >>>>>>>>>> == >>>>>>>>>> GeoServer Professional Services from the experts! >>>>>>>>>> Visit http://bit.ly/gs-services-us for more information. >>>>>>>>>> == >>>>>>>>>> >>>>>>>>>> Ing. Andrea Aime >>>>>>>>>> @geowolf >>>>>>>>>> Technical Lead >>>>>>>>>> >>>>>>>>>> GeoSolutions Group >>>>>>>>>> phone: +39 0584 962313 >>>>>>>>>> fax: +39 0584 1660272 >>>>>>>>>> mob: +39 339 8844549 >>>>>>>>>> >>>>>>>>>> https://www.geosolutionsgroup.com/ >>>>>>>>>> http://twitter.com/geosolutions_it >>>>>>>>>> ------------------------------------------------------- >>>>>>>>>> >>>>>>>>>> Con riferimento alla normativa sul trattamento dei dati personali >>>>>>>>>> (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati >>>>>>>>>> “GDPR”), >>>>>>>>>> si precisa che ogni circostanza inerente alla presente email (il suo >>>>>>>>>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza >>>>>>>>>> è >>>>>>>>>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il >>>>>>>>>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni >>>>>>>>>> altra >>>>>>>>>> operazione è illecita. Le sarei comunque grato se potesse darmene >>>>>>>>>> notizia. >>>>>>>>>> >>>>>>>>>> This email is intended only for the person or entity to which it >>>>>>>>>> is addressed and may contain information that is privileged, >>>>>>>>>> confidential >>>>>>>>>> or otherwise protected from disclosure. We remind that - as provided >>>>>>>>>> by >>>>>>>>>> European Regulation 2016/679 “GDPR” - copying, dissemination or use >>>>>>>>>> of this >>>>>>>>>> e-mail or the information herein by anyone other than the intended >>>>>>>>>> recipient is prohibited. If you have received this email by mistake, >>>>>>>>>> please >>>>>>>>>> notify us immediately by telephone or e-mail >>>>>>>>>> _______________________________________________ >>>>>>>>>> GeoTools-Devel mailing list >>>>>>>>>> GeoTools-Devel@lists.sourceforge.net >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/geotools-devel >>>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> GeoTools-Devel mailing list >>>>>>>>> GeoTools-Devel@lists.sourceforge.net >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/geotools-devel >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Regards, >>>>>>> Andrea Aime >>>>>>> == >>>>>>> GeoServer Professional Services from the experts! >>>>>>> Visit http://bit.ly/gs-services-us for more information. >>>>>>> == >>>>>>> >>>>>>> Ing. Andrea Aime >>>>>>> @geowolf >>>>>>> Technical Lead >>>>>>> >>>>>>> GeoSolutions Group >>>>>>> phone: +39 0584 962313 >>>>>>> fax: +39 0584 1660272 >>>>>>> mob: +39 339 8844549 >>>>>>> >>>>>>> https://www.geosolutionsgroup.com/ >>>>>>> http://twitter.com/geosolutions_it >>>>>>> ------------------------------------------------------- >>>>>>> >>>>>>> Con riferimento alla normativa sul trattamento dei dati personali >>>>>>> (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati >>>>>>> “GDPR”), >>>>>>> si precisa che ogni circostanza inerente alla presente email (il suo >>>>>>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è >>>>>>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il >>>>>>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra >>>>>>> operazione è illecita. Le sarei comunque grato se potesse darmene >>>>>>> notizia. >>>>>>> >>>>>>> This email is intended only for the person or entity to which it is >>>>>>> addressed and may contain information that is privileged, confidential >>>>>>> or >>>>>>> otherwise protected from disclosure. We remind that - as provided by >>>>>>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of >>>>>>> this >>>>>>> e-mail or the information herein by anyone other than the intended >>>>>>> recipient is prohibited. If you have received this email by mistake, >>>>>>> please >>>>>>> notify us immediately by telephone or e-mail >>>>>>> _______________________________________________ >>>>>>> GeoTools-Devel mailing list >>>>>>> GeoTools-Devel@lists.sourceforge.net >>>>>>> https://lists.sourceforge.net/lists/listinfo/geotools-devel >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> Regards, >>>>> Andrea Aime >>>>> == >>>>> GeoServer Professional Services from the experts! >>>>> Visit http://bit.ly/gs-services-us for more information. >>>>> == >>>>> >>>>> Ing. Andrea Aime >>>>> @geowolf >>>>> Technical Lead >>>>> >>>>> GeoSolutions Group >>>>> phone: +39 0584 962313 >>>>> fax: +39 0584 1660272 >>>>> mob: +39 339 8844549 >>>>> >>>>> https://www.geosolutionsgroup.com/ >>>>> http://twitter.com/geosolutions_it >>>>> ------------------------------------------------------- >>>>> >>>>> Con riferimento alla normativa sul trattamento dei dati personali >>>>> (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati >>>>> “GDPR”), >>>>> si precisa che ogni circostanza inerente alla presente email (il suo >>>>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è >>>>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il >>>>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra >>>>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia. >>>>> >>>>> This email is intended only for the person or entity to which it is >>>>> addressed and may contain information that is privileged, confidential or >>>>> otherwise protected from disclosure. We remind that - as provided by >>>>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of >>>>> this >>>>> e-mail or the information herein by anyone other than the intended >>>>> recipient is prohibited. If you have received this email by mistake, >>>>> please >>>>> notify us immediately by telephone or e-mail >>>>> >>>> _______________________________________________ >>>> GeoTools-Devel mailing list >>>> GeoTools-Devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/geotools-devel >>>> >>>> >>>>
_______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel