Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49065 - ntp-4.2.0-r2 ebuild fails to emerge
Summary: ntp-4.2.0-r2 ebuild fails to emerge
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-26 12:49 UTC by geoffrey
Modified: 2004-12-16 11:46 UTC (History)
2 users (show)

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


Attachments
NTP md5 header fix patch (4.2.0-md5_header_fix.patch,239 bytes, patch)
2004-04-30 13:00 UTC, Chris White (RETIRED)
Details | Diff
Modified ebuild to apply the patch (ntp-4.2.0-r2.ebuild,3.77 KB, text/plain)
2004-04-30 13:01 UTC, Chris White (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description geoffrey 2004-04-26 12:49:32 UTC
While emerging ntp-4.2.0-r2 it fails consistently with this error:

In file included from ../include/ntp_md5.h:6,
                 from md5c.c:28:
/usr/include/md5.h:37: error: syntax error before "caddr_t"
make[2]: *** [md5c.o] Error 1

This has happened on several different systems, both Intel and AMD, and on usermode kernel systems. It appears to be a problem in the source files.

Reproducible: Always
Steps to Reproduce:
1. emerge net-misc/ntp-4.2.0-r2
2.Fails as shown above.
3.Try changing USE flags and try again, but same results.

Actual Results:  
Emerge fails as previously stated.

Expected Results:  
Update of ntp should succeed.

I have not tried unmerging ntp-4.1.2 before emergeing ntp-4.2.0-r2.
Comment 1 Ghislain Bourgeois 2004-04-30 12:00:07 UTC
Can you please post the output of emerge info?

Hysteric
Comment 2 Chris White (RETIRED) gentoo-dev 2004-04-30 12:17:44 UTC
related to a previous ntp bug:

http://mailman.ntp.org/pipermail/bugs/2004-February/000939.html

Might help the devs in fixing the problem.  Looks like a missing header file.
Comment 3 Chris White (RETIRED) gentoo-dev 2004-04-30 12:53:26 UTC
I'll have a patch and test ebuild up if this test proves successful.
Comment 4 Chris White (RETIRED) gentoo-dev 2004-04-30 13:00:42 UTC
Created attachment 30404 [details, diff]
NTP md5 header fix patch
Comment 5 Chris White (RETIRED) gentoo-dev 2004-04-30 13:01:51 UTC
Created attachment 30405 [details]
Modified ebuild to apply the patch
Comment 6 Chris White (RETIRED) gentoo-dev 2004-04-30 13:02:50 UTC
NTP md5 header fix patch should go:

/usr/portage/net-misc/ntp/files

and Modified ebuild to apply the patch should go:

/usr/portage/net-misc/ntp

Let me know if it works :)
Comment 7 SpanKY gentoo-dev 2004-05-02 12:18:42 UTC
`emerge info` ? what linux-headers are you using ?
Comment 8 SpanKY gentoo-dev 2004-05-13 18:00:15 UTC
get back to me
Comment 9 SpanKY gentoo-dev 2004-07-23 23:30:08 UTC
no info, never seen/heard this bug before on a Gentoo system
Comment 10 Paul Slinski 2004-12-16 11:24:05 UTC
I'll help you out since I'm having the exact problem on one of my machines.

Here is my emerge info

Portage 2.0.51-r3 (default-linux/x86/gcc2, gcc-2.95.3, glibc-2.2.5-r2,glibc-2.2.5-r9, 2.6.7 i686)
=================================================================
System uname: 2.6.7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.11.92.0.12.3-r2,sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.18,sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://192.168.10.198/ http://mirror.clarkson.edu/pub/distributions/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://192.168.10.198/gentoo-portage"
USE="berkdb bitmap-fonts crypt f77 fortran gdbm innodb ipv6 libg++ mbox mmx mysql ncurses pam perl pic python readline sasl snmp ssl tcpd x86 xfs zlib"
Comment 11 SpanKY gentoo-dev 2004-12-16 11:31:09 UTC
what package is providing /usr/include/md5.h ?
Comment 12 Paul Slinski 2004-12-16 11:38:48 UTC
How can I find out?
Comment 13 SpanKY gentoo-dev 2004-12-16 11:40:33 UTC
`find /var/db/pkg -name CONTENTS | xargs grep -l md5.h`
Comment 14 Paul Slinski 2004-12-16 11:46:43 UTC
There were quite a few hits so I modified the string. Seems that cyrus-sasl provides the /ust/include/md5.h

# othello pkg # find /var/db/pkg -name CONTENTS | xargs grep -l '/usr/include/md5.h'

/var/db/pkg/dev-libs/cyrus-sasl-1.5.27-r4/CONTENTS