These files in my /usr/include/schily contain wrong includes: xconfig.h 141:#include <schily/x86_64-linux-gcc/xconfig.h> avoffset.h 127:#include <schily/x86_64-linux-gcc/avoffset.h> align.h 136:#include <schily/x86_64-linux-gcc/align.h> The subdirectory x86_64-linux-gcc doesn't exist for me, instead I have one called amd64-linux-cc which contains the 3 .h files listed above. Either the include path is wrong or the name of that directory on my filesystem is wrong. Reproducible: Always Steps to Reproduce: 1. Write a simple hello world program in C and make sure it compiles 2. Add #include <schily/standard.h> at the top of your source file 3. Compile your program Actual Results: Compilation fails with an error like schily/x86_64-linux-gcc/xconfig.h file not found. Expected Results: Compilation should pass. equery b /usr/include/schily/standard.h * Searching for /usr/include/schily/standard.h ... app-cdr/cdrtools-3.02_alpha09 (/usr/include/schily/standard.h)
I took a look at this. The include paths of the files mentioned seem hard-coded depending on the architecture. From the source code the directory containing the three files is named after the OARCH variable in RULES/rules1.top. OARCH returns amd64-linux-cc on a 64-bit x86 cpu. So the solution would be changing the OARCH variable or the include paths. However from the number of architectures cdrtools supports on Gentoo it is hard for me to fix this for all as I can only test amd64.