[QGIS-Developer] Mac build broken d0e927a

Gary Sherman gsherman at geoapt.com
Thu Dec 7 08:36:29 PST 2017


Larry,

Thanks for th einfo. I’m actually behind the times as usual, using CMake 3.9.1, but my build is working now.


> On Dec 5, 2017, at 12:59 PM, Larry Shaffer <larrys at dakotacarto.com> wrote:
> 
> Hi Gary,
> 
> Upon a clean build with CMake 3.10.0 (latest in Homebrew since end of November), I get the same error as you reported. I did the following to get back to a working compilation toolchain (assuming you are using CMake from Homebrew): 
> 
> brew rm -f cmake
> 
> # the following is CMake at 3.9.6, with available 'bottled' binaries, i.e. no need to build from source:
> brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/33ed355cfc5ae6c64bb70f80b74876b58d6d413a/Formula/cmake.rb <https://raw.githubusercontent.com/Homebrew/homebrew-core/33ed355cfc5ae6c64bb70f80b74876b58d6d413a/Formula/cmake.rb>
> 
> # this brings 3.10.0 in again
> brew upgrade cmake
> 
> This leaves you with 3.10.0 'cmake' utility discoverable on PATH (assuming /usr/local/bin is on PATH) and 3.9.6 available from:
> /usr/local/Cellar/cmake/3.9.6/bin/cmake
> 
> You can use `brew switch cmake 3.9.6` if you want 3.9.6 on PATH. I didn't do that, but instead created a new CMake configuration in Qt Creator (assuming you are using that) and applied it to the kit I am using to build QGIS 3. 
> 
> I reported upstream at CMake that this issue has returned:
> https://gitlab.kitware.com/cmake/cmake/issues/17278 <https://gitlab.kitware.com/cmake/cmake/issues/17278>
> 
> Regards,
> 
> Larry Shaffer
> Dakota Cartography
> Black Hills, South Dakota
> ----------------------------------
> Boundless Desktop and QGIS Support/Development
> Boundless Spatial - http://boundlessgeo.com <http://boundlessgeo.com/>
> lshaffer at boundlessgeo.com <mailto:lshaffer at boundlessgeo.com>
> On Mon, Dec 4, 2017 at 10:50 AM, Larry Shaffer <larrys at dakotacarto.com <mailto:larrys at dakotacarto.com>> wrote:
> Hi Gary,
> 
> Which CMake version are you using? There is a flaw with CMake 3.9.0 thru 3.9.3 that affects automoc targets, which gave me similar errors:
> https://gitlab.kitware.com/cmake/cmake/issues/17278 <https://gitlab.kitware.com/cmake/cmake/issues/17278>
> 
> Works for me with CMake 3.9.4+, using Homebrew dependencies.
> 
> Larry Shaffer
> Dakota Cartography
> Black Hills, South Dakota
> ----------------------------------
> Boundless Desktop and QGIS Support/Development
> Boundless Spatial - http://boundlessgeo.com <http://boundlessgeo.com/>
> lshaffer at boundlessgeo.com <mailto:lshaffer at boundlessgeo.com>
> 
> On Sat, Dec 2, 2017 at 8:44 AM, Gary Sherman <gsherman at geoapt.com <mailto:gsherman at geoapt.com>> wrote:
> make[2]: *** No rule to make target `output/lib/qgis_core.framework/qgis_core', needed by `tests/src/core/CMakeFiles/qgis_compositiontest_autogen'.  Stop.
> make[1]: *** [tests/src/core/CMakeFiles/qgis_compositiontest_autogen.dir/all] Error 2
> make: *** [all] Error 2
> 
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
> Gary Sherman
> Founder, QGIS Project
> -Open Source GIS Books:
>  *http://locatepress.com <http://locatepress.com/>
> -Geospatial Consulting & Hosting:
>  *http://geoapt.com <http://geoapt.com/>
> "We work virtually everywhere"
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
> 
> 
> 
> 
> 
> 
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
> 

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Gary Sherman
Founder, QGIS Project 
-Open Source GIS Books:
 *http://locatepress.com
-Geospatial Consulting & Hosting:
 *http://geoapt.com
"We work virtually everywhere"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171207/1e0c09a2/attachment-0001.html>


More information about the QGIS-Developer mailing list