Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41808 - silc-toolkit installed headers create problem for ntp-4.2.0 ebuild
Summary: silc-toolkit installed headers create problem for ntp-4.2.0 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chuck Short (RETIRED)
URL:
Whiteboard:
Keywords:
: 41809 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-16 10:47 UTC by imgvg
Modified: 2004-02-17 15:49 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description imgvg 2004-02-16 10:47:25 UTC
silc-toolkit installs all of its headers directly into /usr/include, including an md5.h header which prevents ntp-4.2.0 from building by masking the openssl header of the same name.  Other silc-toolkit headers are likely to cause problems for other packages.

Reproducible: Always
Steps to Reproduce:
1. emerge ntp-4.2.0 while silc-toolkit installed
2.
3.

Actual Results:  
ntp-4.2.0 fails to build with the error:

a_md5encrypt.c: In function `MD5authencrypt':
a_md5encrypt.c:40: error: `MD5_CTX' undeclared (first use in this function)
a_md5encrypt.c:40: error: (Each undeclared identifier is reported only once
a_md5encrypt.c:40: error: for each function it appears in.)
a_md5encrypt.c:40: error: syntax error before "md5"
a_md5encrypt.c:46: warning: implicit declaration of function `MD5Init'
a_md5encrypt.c:46: error: `md5' undeclared (first use in this function)
a_md5encrypt.c:47: warning: implicit declaration of function `MD5Update'
a_md5encrypt.c:49: warning: implicit declaration of function `MD5Final'
a_md5encrypt.c: In function `MD5authdecrypt':
a_md5encrypt.c:68: error: `MD5_CTX' undeclared (first use in this function)
a_md5encrypt.c:68: error: syntax error before "md5"
a_md5encrypt.c:74: error: `md5' undeclared (first use in this function)
a_md5encrypt.c: In function `addr2refid':
a_md5encrypt.c:91: error: `MD5_CTX' undeclared (first use in this function)
a_md5encrypt.c:91: error: syntax error before "md5"
a_md5encrypt.c:98: error: `md5' undeclared (first use in this function)
make[2]: *** [a_md5encrypt.o] Error 1


Expected Results:  
ntp-4.2.0 should be able to build while silc-toolkit is installed.

Suggested fix: add --include dir=${D}/usr/include/silc to ${myconf} in
silc-toolkit ebuild.

This may also necessitate changes in ebuilds needing silc-toolkit, e.g. silky
requires adding --with-silc-includes=/usr/include/silc to configure args.

emerge info:
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0,
2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r2
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X aavm alsa apache2 atlas avi berkdb bonobo cdr crypt cups dga dvd emacs
encode esd fbcon foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile
imlib java jpeg libg++ libwww mad mcal mikmod motif mozilla mpeg ncurses nls
oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline
scanner sdl slang spell sse ssl svga tcltk tcpd tetex truetype usb x86 xface
xml2 xmms xv zlib"
Comment 1 imgvg 2004-02-16 10:51:52 UTC
*** Bug 41809 has been marked as a duplicate of this bug. ***
Comment 2 Chuck Short (RETIRED) gentoo-dev 2004-02-17 15:48:56 UTC
Fixed in cvs thanks for the bug report.
Comment 3 Chuck Short (RETIRED) gentoo-dev 2004-02-17 15:49:42 UTC
closed