From the build log: checking if x86_64-pc-linux-gnu-gcc -E requires -undef... x86_64-pc-linux-gnu-gcc: fatal error: no input files From the configure log: configure:19527: checking if x86_64-pc-linux-gnu-gcc -E requires -undef configure:19547: error: x86_64-pc-linux-gnu-gcc -E defines unix with or without -undef. I don't know what to do. Reproducible: Always Steps to Reproduce: 1. emerge '=x11-misc/compose-tables-1.7.1' ~amd64, GCC-11.
Created attachment 710130 [details] Build log
Created attachment 710133 [details] Configure log
Created attachment 710136 [details] emerge --info
x11-misc/compose-tables-1.7.1 compiles on my amd64 system (GCC-10) x11-misc/compose-tables-1.7.0 compiles in my ~amd64 chroot (GCC-11)
checking for cpp... no Are you using [-native-symlinks]?
I see libX11 already has a fix for this, but compose-tables didn't inherit it. Just needs CPP="$(tc-getPROG CPP cpp)" added to CONFIGURE_OPTIONS + inherit
(In reply to Ionen Wolkens from comment #6) > Just needs CPP="$(tc-getPROG CPP cpp)" added to CONFIGURE_OPTIONS + inherit And uh, not in global scope in case anyone went too quick with this.
> Are you using [-native-symlinks]? Yes, but it fails with symlinks too.
(In reply to tastytea from comment #8) > > Are you using [-native-symlinks]? > > Yes, but it fails with symlinks too. Are you sure? Is it still not finding cpp? 1.7.1 + gcc11 + ~amd64 + symlinks is fine for me, only fails if I remove /lib/cpp and /usr/bin/cpp
Oh right, I overlooked /usr/bin/cpp in my workaround-script. 🤦 It works with /usr/bin/cpp.
ci has reproduced this issue with version 1.8.4-r1 - Updating summary.