https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-ml/ocamlnet-4.1.9 fails to compile. Discovered on: amd64 (internal ref: ci) NOTE: If you think this is a GCC-11 related issue, please block bug 732706.
Created attachment 762499 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: * ./configure -bindir /usr/bin -datadir /usr/share/${PN} $(ocamlnet_use_enable ssl gnutls) $(ocamlnet_use_enable kerberos gssapi) $(ocamlnet_use_enable pcre pcre) $(ocamlnet_use_enable tk tcl) $(ocamlnet_use_enable zip zip) $(ocamlnet_use_with httpd nethttpd) -cpp $(tc-getPROG CPP cpp) || die "Error: econf failed!" * Error: econf failed! sed: can't read ../opam: No such file or directory
It seems that x86_64-pc-linux-gnu-gcc -E is not one to one corresponding to x86_64-pc-linux-gnu-cpp at least when generating rpc files I can do nothing to make it digest it. But the changes done now support specifying CPP=x86_64-pc-linux-gnu-cpp or generally CPP=${CHOST}-cpp
*** Bug 831422 has been marked as a duplicate of this bug. ***