Summary: | chrony will not emerge, econf failed. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James Snook <jsnook> |
Component: | Current packages | Assignee: | Sparc Porters <sparc> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | Sparc | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to fix econf problem |
Description
James Snook
2003-10-06 12:24:24 UTC
Created attachment 18866 [details, diff]
Patch to fix econf problem
Hi,
econf fails because the configure script coming with chrony is just braindead
:)
The attached patch fixes this, *but* chrony fails with a gcc parse error
during
compilation. One reason might be because the author doesnt provide build
support for Linux-Sparc[64]. A quick look at the configure script explains
it
(removed unimportant lines):
17 OPERATINGSYSTEM=`uname -s`
18 VERSION=`uname -r`
19 MACHINE=`uname -m`
20
21 SYSTEM=${OPERATINGSYSTEM}-${MACHINE}
(gives "Linux-Sparc64" for $SYSTEM here)
71 case $SYSTEM in
72 SunOS-sun4* )
93 Linux-i[3456]86 | Linux-ppc* )
104 BSD/386-i[3456]86 )
112 NetBSD-* )
118 SunOS-i86pc* )
127 CYGWIN32_NT-i[3456]86 )
133 * )
134 echo "Sorry, I don't know how to build this software on your
system.
As you see, "Linux-Sparc64" or "Linux-Sparc" would result in the "Sorry blah
blah" error. My patch adds one sed instruction to the ebuild src_unpack which
adds a match to Linux-Sparc* but as said above the compilation borks after
a
while.
In short, I'd suggest to remove arch "sparc" from the ebuild and that the
submitter contacts the Author of Chrony about a Linux-Sparc version if needed.
I do notice that while the chrony-1.19.99.2.ebuild file complains about all the unrecognized options, it will actually build. So I've marked the chrony-1.19.99.2.ebuild stable and masked the old chrony-1.19.ebuild. Wait at least half an hour before syncing your portage tree again, then emerge chrony again. Closing as no new problems have been reported. |