Grass 6.3.0 is failing to build with gcc-4.4. This was reported as debian bug #526204 against 6.4.0~rc4-1 and patch was proposed by Martin Michlmayr. In current grass-6.4.0-SVN this problem was resolved the same way. build: ... Output.h: In static member function 'static void Output::Begin()': Output.h:17: error: 'stderr' was not declared in this scope Output.h:17: error: 'fprintf' was not declared in this scope Output.h: In static member function 'static void Output::Print(std::string)': Output.h:24: error: 'stderr' was not declared in this scope Output.h:24: error: 'fprintf' was not declared in this scope Output.h: In static member function 'static void Output::Repeat(int, char)': Output.h:31: error: 'stderr' was not declared in this scope Output.h:31: error: 'fprintf' was not declared in this scope Output.h: In static member function 'static void Output::End()': Output.h:40: error: 'stderr' was not declared in this scope Output.h:40: error: 'fprintf' was not declared in this scope ... Reproducible: Always Steps to Reproduce: 1. build grass-6.3.0 with gcc-4.4/glibc-2.10.1 Actual Results: Errors in: /var/tmp/portage/sci-geosciences/grass-6.3.0/work/grass-6.3.0/imagery/i.atcorr -- In case of errors please change into the directory with error and run 'make'. If you get multiple errors, you need to deal with them in the order they appear in the error log. If you get an error building a library, you will also get errors from anything which uses the library. Expected Results: grass build without error
Created attachment 192171 [details, diff] patch proposed as solution of same problem with building grass-6.4.0-rc4
Now updated in portage; thanks for the patch...