Created attachment 158224 [details] Log of the failed qgis build. graphics/qgis fails to build on 10.1/amd64 with the default options (PostGIS & Python support). This is for qgis 2.10.0, but 2.8.2 failed the same way. There is a file of context sensitive help messages (src/core/qgscontexthelp_texts.cpp) that is apparently syntactically incorrect. This file is automatically generated as part of the build, which indicates some sort of toolchain problem. Since the package build works, perhaps we can compare exactly which tools/versions are used. The build log up to the error is attached. Setting MAKE_JOBS_UNSAFE=yes as suggested in the error message had no effect.
Many thanks for your report. From time to time I also had this problem with 'src/core/qgscontexthelp_texts.cpp:11:88'. Interestingly enough, line 11 is changing from build to build, i.e. --- gContextHelpTexts.insert( "CMakeFiles", QCoreApplication::translate( "context_help", "^\n" gContextHelpTexts.insert( "CMakeFiles", QCoreApplication::translate( "context_help", "¸`ô\n" gContextHelpTexts.insert( "CMakeFiles", QCoreApplication::translate( "context_help", "(\n" gContextHelpTexts.insert( "CMakeFiles", QCoreApplication::translate( "context_help", "w½\n" --- I will try to find a solution with the upstream devs. Until then it may help to do 'make clean && make build' as a workaround. For me, most 'versions' of qgscontexthelp_texts.cpp do build, even though they are not correct ...
Hi Rainer, Thank you for looking into this. I just tried "make clean && make build" with the same result: the build failed with an error making src/core/qgscontexthelp_texts.cpp. Could this be an internationalization problem? Perhaps there are characters in the context help strings that are not recognized. In my environment I have LANG=en_US.UTF-8 When I open the file src/core/qgscontexthelp_texts.cpp in vim, I see the message: Conversion error on line 11 Press any key to continue: If I look at the file with "od -a" I see the site of the error: gContextHelpTexts.insert( "CmakeFiles", QCoreApplication::translate( "context_help", <97>{<0d><0d><0c>\n" "") ); The hex values in angle brackets are the uninterpreted characters. Hope this helps.
This should be fixed.