Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236642 - gnutls-2.5.4 fails to compile due to missing definition
Summary: gnutls-2.5.4 fails to compile due to missing definition
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-04 04:05 UTC by Seemant Kulleen
Modified: 2008-09-04 14:33 UTC (History)
2 users (show)

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 Seemant Kulleen 2008-09-04 04:05:57 UTC
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../lgl -I../lgl -I../includes -I../includes -I./x509 -I../libextra -I../lib/openpgp/ -I./opencdk -I../lib/opencdk -I/usr/include -pipe -O2 -march=prescott -pipe -fomit-frame-pointer -ftracer -Wno-pointer-sign -MT cipher-libgcrypt.lo -MD -MP -MF .deps/cipher-libgcrypt.Tpo -c cipher-libgcrypt.c -o cipher-libgcrypt.o >/dev/null 2>&1                                                            
 i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../lgl -I../lgl -I../includes -I../includes -I./x509 -I../libextra -I../lib/openpgp/ -I./opencdk -I../lib/opencdk -I/usr/include -pipe -O2 -march=prescott -pipe -fomit-frame-pointer -ftracer -Wno-pointer-sign -MT ext_srp.lo -MD -MP -MF .deps/ext_srp.Tpo -c ext_srp.c  -fPIC -DPIC -o .libs/ext_srp.o            
 i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../lgl -I../lgl -I../includes -I../includes -I./x509 -I../libextra -I../lib/openpgp/ -I./opencdk -I../lib/opencdk -I/usr/include -pipe -O2 -march=prescott -pipe -fomit-frame-pointer -ftracer -Wno-pointer-sign -MT mac-libgcrypt.lo -MD -MP -MF .deps/mac-libgcrypt.Tpo -c mac-libgcrypt.c  -fPIC -DPIC -o .libs/mac-libgcrypt.o                                                                     
mac-libgcrypt.c: In function 'wrap_gcry_hash_init':                              
mac-libgcrypt.c:98: error: 'GCRY_MD_SHA224' undeclared (first use in this function)                                                                               
mac-libgcrypt.c:98: error: (Each undeclared identifier is reported only once     
mac-libgcrypt.c:98: error: for each function it appears in.)                     
mac-libgcrypt.c: At top level:                                                   
mac-libgcrypt.c:141: warning: initialization from incompatible pointer type      
mac-libgcrypt.c:142: warning: initialization from incompatible pointer type      
mac-libgcrypt.c:143: warning: initialization from incompatible pointer type      
mac-libgcrypt.c:145: warning: initialization from incompatible pointer type      
mac-libgcrypt.c:151: warning: initialization from incompatible pointer type      
mac-libgcrypt.c:153: warning: initialization from incompatible pointer type      
mac-libgcrypt.c:154: warning: initialization from incompatible pointer type      
mac-libgcrypt.c:156: warning: initialization from incompatible pointer type      
make[3]: *** [mac-libgcrypt.lo] Error 1                                          
make[3]: *** Waiting for unfinished jobs....                                     
mv -f .deps/cipher-libgcrypt.Tpo .deps/cipher-libgcrypt.Plo                      
 i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../lgl -I../lgl -I../includes -I../includes -I./x509 -I../libextra -I../lib/openpgp/ -I./opencdk -I../lib/opencdk -I/usr/include -pipe -O2 -march=prescott -pipe -fomit-frame-pointer -ftracer -Wno-pointer-sign -MT ext_srp.lo -MD -MP -MF .deps/ext_srp.Tpo -c ext_srp.c -o ext_srp.o >/dev/null 2>&1               
mv -f .deps/ext_srp.Tpo .deps/ext_srp.Plo                                        
make[3]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.5.4/work/gnutls-2.5.4/lib'                                                                         
make[2]: *** [all-recursive] Error 1                                             
make[2]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.5.4/work/gnutls-2.5.4/lib'                                                                         
make[1]: *** [all-recursive] Error 1                                             
make[1]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.5.4/work/gnutls-2.5.4'                                                                             
make: *** [all] Error 2
Comment 1 Seemant Kulleen 2008-09-04 04:06:31 UTC
emerge --info:

Portage 2.2_rc8 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)                                                      
=================================================================                
System uname: Linux-2.6.26-gentoo-r1-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-glibc2.0                                                                      
Timestamp of tree: Thu, 04 Sep 2008 01:00:01 +0000                               
app-shells/bash:     3.2_p39                                                     
dev-lang/python:     2.5.2-r7                                                    
dev-python/pycrypto: 2.0.1-r6                                                    
sys-apps/baselayout: 2.0.0                                                       
sys-apps/openrc:     0.2.5                                                       
sys-apps/sandbox:    1.2.18.1-r3                                                 
sys-devel/autoconf:  2.13, 2.62-r1                                               
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                
sys-devel/binutils:  2.18-r3                                                     
sys-devel/gcc-config: 1.4.0-r4                                                   
sys-devel/libtool:   2.2.4                                                       
virtual/os-headers:  2.6.26                                                      
ACCEPT_KEYWORDS="x86 ~x86"                                                       
CBUILD="i686-pc-linux-gnu"                                                       
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -ftracer"                 
CHOST="i686-pc-linux-gnu"                                                        
CONFIG_PROTECT="/etc /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config"                                                          
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"                                                                                
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -ftracer"               
DISTDIR="/usr/portage/distfiles"                                                 
FEATURES="distlocks noinfo parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/kdesvn-portage /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa avahi bash-completion bluetooth branding bzip2 cairo cdaudio cddb cdparanoia cdr cli cpudetection cracklib crypt cscope cups curl daap dbus dell device-mapper dga dia disk-partition divx dmx dri dts dv dvd dvdreadedb emboss encode exif fam ffmpeg flac fontconfig fortran galago gdbm ggi gif glitz gmedia gmp gnokii gnutls gphoto2 gtk hal iconv id3tag ifp imagemagick inkjar ipod isdnlog jpeg jpeg2k kde ladspa lcms libcaca libnotify libsamplerate live lm_sensors lvm lzo mad md5sum midi mikmod mmx mmxext mng mp2 mp3 mp3tunes mp4 mpeg mtp musicbrainz ncurses nemesi njb nptl nptlonly ntp offensive ogg openal opengl openntpd pcre pda pdf pic plotutils png pnm ppds pppd python qt3support qt4 quicktime rar readline reflection rtc samba sametime sdl session smp spell spl sqlite3 srt sse ssl svg svga sysfs t1lib tagwriting tcpd tga theora tiff truetype unicodeusb vidix vim vorbis wifi win32codecs wmf wmp x264 x86 xanim xattr xcomposite xinerama xml xorg xpm xrandr xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dirdisk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glkhd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Daniel Black (RETIRED) gentoo-dev 2008-09-04 07:40:40 UTC
dev-libs/libgcrypt version?
Comment 3 Seemant Kulleen 2008-09-04 11:47:44 UTC
[I--] [  ] dev-libs/libgcrypt-1.2.4 (0)
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-09-04 12:30:21 UTC
GCRY_MD_SHA224 is declared in gcrypt.h in >=dev-libs/libgcrypt-1.3.0.

net-libs/gnutls's {,R}DEPEND should be updated.
Comment 5 Daniel Black (RETIRED) gentoo-dev 2008-09-04 14:33:39 UTC
(In reply to comment #4)
> GCRY_MD_SHA224 is declared in gcrypt.h in >=dev-libs/libgcrypt-1.3.0.
> 
> net-libs/gnutls's {,R}DEPEND should be updated.

Thank you both. Keep this up and well make you both devs.