I know that openoffice isn't supported in the e-build for the sparc distrobution, but I thought I would give it a try anyway, and added the ~sparc keyword to the ebuild manually and tried to build it. This app is rather important for me as I do a lot of office stuff, and would love to see it on the sparc platform. When trying to do the emerge, it gets through unpacking the source and everything (all other depenancies are satisified at this point) and begins the configure. During that time, it generates the following error: ******************************************************************** * * * Setting up the build environment variables. * * * ******************************************************************** updating cache ./config.cache creating ./config.status creating set_soenv Setting up the environment for building OpenOffice.org Use of uninitialized value in concatenation (.) or string at ./set_soenv line 435. Setting platform independent values... done Use of uninitialized value in concatenation (.) or string at ./set_soenv line 758. Use of uninitialized value in concatenation (.) or string at ./set_soenv line 891. Use of uninitialized value in concatenation (.) or string at ./set_soenv line 891. Use of uninitialized value in concatenation (.) or string at ./set_soenv line 891. Use of uninitialized value in concatenation (.) or string at ./set_soenv line 891. Use of uninitialized value in concatenation (.) or string at ./set_soenv line 945. Use of uninitialized value in concatenation (.) or string at ./set_soenv line 1183. Use of uninitialized value in concatenation (.) or string at ./set_soenv line 1183. Use of uninitialized value in concatenation (.) or string at ./set_soenv line 1183. Setting the environment variables... done Setting the aliases... done Use of uninitialized value in concatenation (.) or string at ./set_soenv line 1345. Use of uninitialized value in concatenation (.) or string at ./set_soenv line 1345. Cannot open : No such file or directory !!! ERROR: app-office/openoffice-1.0.2 failed. !!! Function src_compile, Line 319, Exitcode 2 !!! (no error message)
Started looking into this. The reason for the error you posted here is due to the way openoffice checks platforms when it configures. Right now, the scripts oo_1.0.2_src/config_office/set_soenv.in and oo_1.0.2_src/config_office/set_soenv.1 do pattern matching against the output of "uname -m" to determine what arch it's running. However, when it comes to sparc they are only matching against sparc, which doesn't account for ultrasparcs as they return sparc64 from "uname -m". Editing this fixes the problem and corrects the problem you posted below. However I have not gotten openoffice to sucessfully compile yet. I will work on it more as time permits.
OpenOffice has assembly in it that won't allow to compile on sparc. Untill this is fixed upstream, it won't compile. Closing bug