Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285425 - dev-lang/pike compilation fails with >dev-libs/nettle-1.15
Summary: dev-lang/pike compilation fails with >dev-libs/nettle-1.15
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-18 09:44 UTC by Vjaceslavs Klimovs
Modified: 2009-09-18 21:44 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 Vjaceslavs Klimovs 2009-09-18 09:44:25 UTC
dev-lang/pike (versions 7.6.86-r1 7.6.112 7.6.112-r1) compilation fails if >dev-libs/nettle-1.15. With =dev-libs/nettle-1.15 compiles alright.

The error message:
Compiling /var/tmp/portage/dev-lang/pike-7.6.86-r1/work/Pike-v7.6.86/src/post_modules/Nettle/nettle.c                                   
/home/zino/Pike/7.6/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_get_seed':                                               
/home/zino/Pike/7.6/src/post_modules/Nettle/nettle.cmod:122: error: 'struct yarrow256_ctx' has no member named 'seed_file'              
WARNING: Compiler failure! Trying without optimization!                                                                                 
/home/zino/Pike/7.6/src/post_modules/Nettle/nettle.cmod: In function 'f_Yarrow_get_seed':                                               
/home/zino/Pike/7.6/src/post_modules/Nettle/nettle.cmod:122: error: 'struct yarrow256_ctx' has no member named 'seed_file'              
Compilation command was:                                                                                                                
/var/tmp/portage/dev-lang/pike-7.6.86-r1/work/Pike-v7.6.86/build/linux-2.6.30-gentoo-r5-x86_64/smartlink gcc -I. -I/var/tmp/portage/dev-lang/pike-7.6.86-r1/work/Pike-v7.6.86/src/post_modules/Nettle -I/var/tmp/portage/dev-lang/pike-7.6.86-r1/work/Pike-v7.6.86/build/linux-2.6.30-gentoo-r5-x86_64 -I/var/tmp/portage/dev-lang/pike-7.6.86-r1/work/Pike-v7.6.86/src   -I/usr/X11R6/include -DHAVE_CONFIG_H -march=core2 -O2 -pipe  -I/usr/X11R6/include    -c /var/tmp/portage/dev-lang/pike-7.6.86-r1/work/Pike-v7.6.86/src/post_modules/Nettle/nettle.c -o nettle.o                                                                                                                               
make[4]: *** [nettle.o] Error 1                                                                                                         
make[4]: Leaving directory `/var/tmp/portage/dev-lang/pike-7.6.86-r1/work/Pike-v7.6.86/build/linux-2.6.30-gentoo-r5-x86_64/post_modules/Nettle'                                                                                                                                 
make[3]: *** [Nettle] Error 1                                                                                                           
make[3]: Leaving directory `/var/tmp/portage/dev-lang/pike-7.6.86-r1/work/Pike-v7.6.86/build/linux-2.6.30-gentoo-r5-x86_64/post_modules'
make[2]: *** [post_module_objects] Error 1                                                                                              
make[2]: Leaving directory `/var/tmp/portage/dev-lang/pike-7.6.86-r1/work/Pike-v7.6.86/build/linux-2.6.30-gentoo-r5-x86_64'             
make[1]: *** [all] Error 2                                                                                                              
make[1]: Leaving directory `/var/tmp/portage/dev-lang/pike-7.6.86-r1/work/Pike-v7.6.86/build/linux-2.6.30-gentoo-r5-x86_64'             
make: *** [compile] Error 2                                                                                                             
 *                                                                                                                                      
 * ERROR: dev-lang/pike-7.6.86-r1 failed.                                                                                               
 * Call stack:                                                                                                                          
 *               ebuild.sh, line   49:  Called src_compile                                                                              
 *             environment, line  193:  Called die                                                                                      
 * The specific snippet of code:                                                                                                        
 *       make CONFIGUREARGS="                   --prefix=/usr                   --disable-make_conf                     --disable-noopty-retry                  --without-cdebug                        --without-bundles                       --without-copt                 --with-crypt                     --with-gif                      --with-gmp                      --with-bignums                  $(use_with bzip2 Bz2)                   $(use_with debug rtldebug)                      $(use_with fftw)                        $(use_with gdbm)                        $(use_with jpeg jpeglib)                        $(use_with kerberos Kerberos)                   $(use_with mime MIME)                   $(use_with mysql)                       $(use_with opengl GL)                   $(use_with opengl GLUT)        $(use_with pcre _Regexp_PCRE)                    $(use_with pdf libpdf)                  $(use_with scanner sane)                       $(use_with sdl SDL)                      $(use_with sdl SDL_mixer)                       $(use_with ssl ssleay)                  $(use_with svg)                         $(use_with tiff tifflib)                        $(use_with truetype ttflib)                     $(use_with truetype freetype)                   $(use_with zlib)                        ${myconf}                       ${EXTRA_ECONF}         " || die;                                                                                                                                
 *  The die message:                                                                                                                    
 *   (no error message)                                                                                                                 
 *                                                                                                                                      
 * If you need support, post the topmost build error, and the call stack if relevant.                                                   
 * A complete build log is located at '/var/tmp/portage/dev-lang/pike-7.6.86-r1/temp/build.log'.                                        
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/pike-7.6.86-r1/temp/environment'.            
 *           

emerge --info:
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================                                                
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-gentoo-1.12.11.1    
Timestamp of tree: Fri, 18 Sep 2009 07:15:01 +0000                                                               
ccache version 2.4 [enabled]                                                                                     
app-shells/bash:     4.0_p28                                                                                     
dev-java/java-config: 2.1.8-r1                                                                                   
dev-lang/python:     2.6.2-r1                                                                                    
dev-util/ccache:     2.4-r7                                                                                      
dev-util/cmake:      2.6.4                                                                                       
sys-apps/baselayout: 1.12.11.1                                                                                   
sys-apps/sandbox:    1.6-r2                                                                                      
sys-devel/autoconf:  2.13, 2.63-r1                                                                               
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                        
sys-devel/binutils:  2.18-r3                                                                                     
sys-devel/gcc-config: 1.4.1                                                                                      
sys-devel/libtool:   2.2.6a                                                                                      
virtual/os-headers:  2.6.27-r2                                                                                   
ACCEPT_KEYWORDS="amd64"                                                                                          
CBUILD="x86_64-pc-linux-gnu"                                                                                     
CFLAGS="-march=core2 -O2 -pipe"                                                                                  
CHOST="x86_64-pc-linux-gnu"                                                                                      
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"                                                                                                                               
CXXFLAGS="-march=core2 -O2 -pipe"                                                                                                       
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.ds.karen.hj.se/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru sv lv"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi alsa amd64 aspell audiofile avahi bash-completion bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt css cups cvs dbus dirac divx djvu dri dts dv dvb dvd dvdr emboss encode exif fam fat ffmpeg firefox flac fortran fuse gdbm gif gimp git gpm gstreamer gzip hal hfs iconv ieee1394 imagemagick inotify isdnlog java java5 java6 jfs jpeg kde kerberos lame latex lcms ldap libcaca libnotify live lm_sensors lzma lzo mad matroska mikmod mmx mng mono moonlight mp2 mp3 mp4 mpeg mudflap multilib musepack ncurses networkmanager nls nptl nptlonly nsplugin ntfs ogg openal opengl openmp pam pcmcia pcre pdf perl plasma png portaudio ppds pppd python qt3 qt3support qt4 quicktime rar raw rdesktop readline reflection reiser4 reiserfs samba schroedinger sdl semantic-desktop session smp speex spell spl sse sse2 ssl startup-notification subversion svg svn sysfs syslog taglib tcpd theora thunar tiff timidity truetype unicode usb v4l2 vcd vnc vorbis wavpack wmf x264 xattr xcb xcomposite xfs xinerama xml xorg xosd xpm xrandr xscreensaver xulrunner xv xvid xvmc zeroconf zip zlib" 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="alias auth_basic auth_digest authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex dav deflate dir filter headers include log_config mime rewrite setenvif" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru sv lv" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Patrick Lauer gentoo-dev 2009-09-18 09:49:17 UTC
/home/zino/Pike/7.6/src/post_modules/Nettle/nettle.cmod

That doesn't look like a path used by a portage-installed package. How did you install the newer version of nettle?
Comment 2 Vjaceslavs Klimovs 2009-09-18 10:45:24 UTC
The path looks strange indeed, but I got nettle-2.0 from portage. 
Comment 3 Patrick Lauer gentoo-dev 2009-09-18 21:41:27 UTC
Ah crud. It's fixed in ~arch :)

Short version, nettle-2 and pike don't agree yet
Comment 4 Patrick Lauer gentoo-dev 2009-09-18 21:44:34 UTC
And it's fixed for the stable version too.
Next sync things should be fixed for you.