On sparc mplayer fails to build on sparc with the following errors thrown repeatedly: ./config.h:119:23: warning: missing terminating " character [enabled by default] ./config.h:120:1: warning: missing terminating " character [enabled by default] ./config.h:120:1: error: missing terminating " character Looking at the generated config.h on lines 119-120 it appears that the quote is not ended properly on line 119 and instead there is a space, then newline, and then the quote on its own line. Fixing this manually fixes the problem. Reproducible: Always Steps to Reproduce: 1.emerge mplayer on sparc 2. 3.
Created attachment 376162 [details] output of emerge --info
Please attach the entire build log to this bug report.
Created attachment 376254 [details] build.log
It's probably useful to attach that config.h too.
Created attachment 376256 [details] config.h
I experienced the same problem on amd64. I was using lto also when compiling mplayer and you also did, if I understand well. I solved the problem compiling w/out lto.
You're absolutely right, it was lto. I didn't even consider it because it was so early in the build process. Whatever causes this should be fixed as once manually correcting the config.h mplayer compiles fine with lto.
I confirm this. I'm using LTO. But this's note related to linking.
Current version of =media-video/mplayer-1.4-r1 builds fine for me with LTO on sparc, this version has been out of tree for a while. Is this still relevant?