Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108146 - no ebuild for chrony on amd64; patch available
Summary: no ebuild for chrony on amd64; patch available
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Torsten Veller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-04 23:23 UTC by Chris Haumesser
Modified: 2006-03-26 11:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
debian patch for chrony-1.20 (chrony_1.20-8.diff.gz,147.26 KB, application/octet-stream)
2005-10-04 23:24 UTC, Chris Haumesser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Haumesser 2005-10-04 23:23:27 UTC
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.
Comment 1 Chris Haumesser 2005-10-04 23:24:05 UTC
Created attachment 69895 [details]
debian patch for chrony-1.20
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-05 00:21:43 UTC
Uh, this is *huge*... I don't think that maintaining such patches is the best idea.
Comment 3 Tobias Klausmann (RETIRED) gentoo-dev 2005-11-27 13:01:39 UTC
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.
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2006-03-25 01:58:54 UTC
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).
Comment 5 Chris Haumesser 2006-03-26 11:02:06 UTC
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!!