[QGIS-Developer] QGIS 3.8.0 on FreeBSD: build takes several hours

Rainer Hurling rhurlin at gwdg.de
Mon Jun 24 03:48:31 PDT 2019


Hi Nyall,

Am 24.06.19 um 01:33 schrieb Nyall Dawson:
> On Sat, 22 Jun 2019 at 16:55, Rainer Hurling <rhurlin at gwdg.de> wrote:
>>
>> As the maintainer of the QGIS port for FreeBSD, I am preparing a port
>> for the recent update to QGIS 3.8.0.
>>
>>
>> This seems to happen since #18fb3f2 [1] (committed 2019-05-13, submitted
>> 2019-04-30). Before the commit, the build process takes a normal
>> duration on FreeBSD.
>>
>> As far as I can say, the problem occurs with both proj-5.1.0 and
>> proj-6.1.0. GDAL version is 2.4.1, the OS is FreeBSD 13-0 CURRENT amd64.
>>
> 
> Hmm - perplexing. Most of that commit should be ifdefed out for proj <
> 6 builds. I wonder if you tried trimming the contents of
> qgscoordinatereferencesystem_legacy.h to just a couple of sample lines
> as a test? Maybe there's something in the compiler which doesn't like
> the large static QMap...
> 
> Nyall
> 

Many thanks for your response.

After trimming the contents of qgscoordinatereferencesystem_legacy.h
(about 10 lines left), it builds in a normal time again.

So it is likely, that the problem on FreeBSD has something to do with
its compiler suite? I am using FreeBSD clang version 8.0.1
(branches/release_80 363030) (based on LLVM 8.0.1).

Is there any workaround, which lets me use the whole contents again?

Rainer


More information about the QGIS-Developer mailing list