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.
Can you please post the output of emerge info? Hysteric
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.
I'll have a patch and test ebuild up if this test proves successful.
Created attachment 30404 [details, diff] NTP md5 header fix patch
Created attachment 30405 [details] Modified ebuild to apply the patch
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 :)
`emerge info` ? what linux-headers are you using ?
get back to me
no info, never seen/heard this bug before on a Gentoo system
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"
what package is providing /usr/include/md5.h ?
How can I find out?
`find /var/db/pkg -name CONTENTS | xargs grep -l md5.h`
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