There's currently no ebuild for chrony on amd64. I realize the upstream source does not build properly on amd64, as I tried it myself. However, with the Debian patch to chrony-1.20, it builds and works just fine on my gentoo amd64 machine. I'd like to write an ebuild, but don't know how to do it yet. Maybe I'll learn soon. In the meantime, thought I'd contribute the info to fix the problem. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 69895 [details] debian patch for chrony-1.20
Uh, this is *huge*... I don't think that maintaining such patches is the best idea.
Thing is, if you comment out this: /* We need `struct timespec' later on. */ # define __need_timespec # include <time.h> in /usr/include/gentoo-multilib/amd64/signal.h (around line 208), chrony compiles. Ihaven't yet tested it for longer amounts of time, so I don't know if it's a workaround. It certainly is no fix per se. Still, I suspect the problem in the include files or the way chrony uses them. I can't really see why that monster patch would be necessary.
chrony-1.21 has been commited to the tree with a patch to fix compilation on multiple arches. Please test (it is currently package.masked).
I installed the 1.21 ebuild on amd64 yesterday afternoon. It compiled cleanly, and so far seems to be working perfectly. I'm happy. :-) Seems like 1.21 could probably be marked ~amd64 in the tree. Thanks!!