pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: strange trouble building qgis



On Fri, Sep 11, 2020 at 08:40:08PM -0400, Greg Troxel wrote:
> geography/qgis used to build ok (on netbsd-8 amd64).  There were a bunch
> of udpates to dependencies and thus pkg_rr was trying to rebuild it.
> Now it fails because in:
> 
>   work/qgis-3.10.7/build/src/core/CMakeFiles/qgis_core.dir/build.make
> 
> there is a dependency expressed on a doc file:
> 
> src/core/qgsexpression_texts.cpp: ../resources/function_help/json/$$$$area
> 
> but the file is $area (one $ in the filesystem), so there should only
> be two in the makefile.  But there are four, and it thus fails to find
> $$area, and the build fails.  Changing $$$$ to $$ results in a
> successful build.
> 
> I don't see any real changes to the package that would cause this, and
> I'm not sure how the $$$$ gets created; it is dependent on using ninja
> and feels like deep cmake magic.  Any clues appreciated, as well as
> reports of builds/ddoesn't-build.

I tried on -current with latest pkgsrc and it doesn't build for me in
the same way.

The file is added to the build here:

src/core/CMakeLists.txt:
FILE(GLOB JSON_HELP_FILES "${CMAKE_SOURCE_DIR}/resources/function_help/json/*")

cmake was last updated on August 22, perhaps the update broke it.
If you have an old version lying around, try that and/or contact cmake upstream.

Cheers,
 Thomas





Home | Main Index | Thread Index | Old Index