This package fails to compile on an unstable system. Attached relevant logs and emerge --info
Created attachment 709362 [details] emerge_info emerge --info
Created attachment 709365 [details] llvm-roc-4.0.0-r2:20210517-075840.log.xz build log (compressed because it exceeds attachment limit, use 'xzless' to read it)
ping
(In reply to Sam James from comment #3) > ping PRs welcome... I'm not experiencing this issue nor do I know how to fix it. :-/
From distant memory, I thin it just takes a one line addition to the .h file, but I'll have to dig into some older bugs to find the specifics.
It looks like you just need to add +#include <limits> to the complaining .h file. (the + is because I pulled the line from a patch file for a different package with the same issue.)
(In reply to Jack from comment #6) > It looks like you just need to add > > +#include <limits> > > to the complaining .h file. (the + is because I pulled the line from a > patch file for a different package with the same issue.) Could I trouble you to please submit a pull request?
I kind of thought I was being dense. You already have files/llvm-roc-4.1.0-fix-missing-include.patch, so it looks like it's already been fixed. That patch is applied in 4.1.0 and 4.1.1, and I'm guessing it's fixed upstream in 4.2.0 (which is what I have installed) which doesn't apply that patch.
(In reply to Craig Andrews from comment #4) > (In reply to Sam James from comment #3) > > ping > > PRs welcome... I'm not experiencing this issue nor do I know how to fix it. > :-/ Sure, no problem at all! But it looks like everything is good now. (Are you using GCC 11 btw?)