Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239449 - compiling app-crypt/qca-ossl-2.0.0_beta3 failed
Summary: compiling app-crypt/qca-ossl-2.0.0_beta3 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 239450 239452 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-03 16:45 UTC by Karel De Vriendt
Modified: 2008-10-04 12:15 UTC (History)
5 users (show)

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


Attachments
Disable broken whirlpool (qca-ossl-2.0.0_beta3-drop-whirlpool-for-openssl-0.9.8i.patch,796 bytes, patch)
2008-10-03 22:48 UTC, Sergey Dryabzhinsky
Details | Diff
qca-ossl-2.0.0_beta3-r1.ebuild (qca-ossl-2.0.0_beta3.ebuild.diff,453 bytes, patch)
2008-10-03 22:49 UTC, Sergey Dryabzhinsky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karel De Vriendt 2008-10-03 16:45:18 UTC
Result of compilation:

Good, your configure finished.  Now run /usr/bin/gmake.

 * Processing qmake qca-ossl.pro ...                                                                        [ ok ]
/usr/bin/moc -DOSSL_097 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/var/tmp/portage/app-crypt/qca-ossl-2.0.0_beta3/work/qca-ossl-2.0.0-beta3 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/include/qca2/QtCrypto -I. -I. qca-ossl.cpp -o qca-ossl.moc                   
i686-pc-linux-gnu-g++ -c -pipe -O2 -march=k8 -pipe -Wall -W -D_REENTRANT -fPIC -DOSSL_097 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/var/tmp/portage/app-crypt/qca-ossl-2.0.0_beta3/work/qca-ossl-2.0.0-beta3 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/include/qca2/QtCrypto -I. -I. -o qca-ossl.o qca-ossl.cpp
qca-ossl.cpp: In function ‘X509_EXTENSION* opensslQCAPlugin::new_subject_key_id(X509*)’:
qca-ossl.cpp:330: let op: deprecated conversion from string constant to ‘char*’
qca-ossl.cpp: In member function ‘virtual QCA::Provider::Context* opensslProvider::createContext(const QString&)’:
qca-ossl.cpp:6815: fout: ‘EVP_whirlpool’ was not declared in this scope
make: *** [qca-ossl.o] Fout 1
 *
 * ERROR: app-crypt/qca-ossl-2.0.0_beta3 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2527:  Called die
 * The specific snippet of code:
 * emake || die "emake failed"
 * The die message:
 * emake failed
 *
 * 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/app-crypt/qca-ossl-2.0.0_beta3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/qca-ossl-2.0.0_beta3/temp/environment'.
 *


Reproducible: Always

Steps to Reproduce:
1. Try to compile qca-ossl-2.0.0_beta3
2.
3.

Actual Results:  
See above

Expected Results:  
Successful compilation

emerge --info         
WARNING: repository at /usr/local/portage is missing a repo_name entry
Portage 2.2_rc11 (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-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-glibc2.0              
Timestamp of tree: Fri, 03 Oct 2008 13:46:01 +0000                                                           
ccache version 2.4 [enabled]                                                                                 
app-shells/bash:     3.2_p39                                                                                 
dev-java/java-config: 1.3.7, 2.1.6-r1                                                                        
dev-lang/python:     2.5.2-r8                                                                                
dev-util/ccache:     2.4-r8                                                                                  
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.63
sys-devel/automake:  1.5, 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.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/env /usr/share/config /usr/shutdown /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LANG="nl_BE.UTF-8"
LC_ALL="nl_BE.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
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/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa avahi branding bzip2 cairo cddb cdparanoia cdr cli cracklib cups dbus dri dts dvd dvdr dvdread encode exif fam ffmpeg firefox flac gdbm gif gimp gpm hal hddtemp iconv id3tag java javasc jpeg kde lame libnotify mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pcsc-lite pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline real reflection ript scanner sdl session spell spl sse ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xv 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 dir disk_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" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-10-03 20:10:10 UTC
*** Bug 239450 has been marked as a duplicate of this bug. ***
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-10-03 20:10:14 UTC
*** Bug 239452 has been marked as a duplicate of this bug. ***
Comment 3 Oliver Knodel 2008-10-03 21:20:20 UTC
same here
emerge --info:
Portage 2.2_rc11 (default-linux/x86/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26.5 i686)
=================================================================
System uname: Linux-2.6.26.5-i686-Intel-R-_Core-TM-2_CPU_4400_@_2.00GHz-with-glibc2.0
Timestamp of tree: Fri, 03 Oct 2008 09:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
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.63
sys-devel/automake:  1.4_p6, 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.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/env /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/shutdown /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ ftp://213.186.33.37/gentoo-distfiles/"
LANG="en_US"
LDFLAGS=""
LINGUAS="en en_US de"
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/local/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi aiglx alsa apache2 asf audacious avi berkdb bzip2 cairo cdr cli cracklib crypt css cups curl dbus djvu dri dtaus dvd dvdr dvdread encode exif extrafilters fbcon ffmpeg flac foomatic fortran fuse gdbm gif gimp glitz gpm gtk2 hal hbci http iconv imagemagick ipv6 isdnlog java jce jpeg jpeg2k kde kdehiddenvisibility laptop ldap libcaca logitech-mouse lzo mad midi mikmod mjpeg mmx mmxext mng modplug mp3 mpeg mplayer mudflap musepack mysql ncurses nls nptl nptlonly nsplugin nvidia obex ofx ogg opengl openmp paludis pam pcre pdf pdflib perl png povray pppd python qt3 qt4 quicktime rdesktop readline real reflection samba scanner sdl session slp smp sndfile snmp spell spl sse sse2 sse3 ssl ssse3 subtitles svg tcpd tetex theora threads tiff tk truetype unicode usb utempter vcd vim vim-syntax vnc vorbis wavpack win32codecs wma wmf x86 xcomposite xgetdefault xine xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1         emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m       maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 dir disk_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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US de" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 4 Sergey Dryabzhinsky 2008-10-03 22:06:55 UTC
Version of dev-libs/openssl please... Is it greater then 0.9.8g-r2 ?
Comment 5 Aaron Slunt 2008-10-03 22:13:08 UTC
dev-libs/openssl=0.9.8i
Comment 6 Sergey Dryabzhinsky 2008-10-03 22:23:05 UTC
Seems like something changed in dev-libs/openssl-0.9.8i, becouse it compiled fine with 0.9.8h-r1 on my box...
Comment 7 Sergey Dryabzhinsky 2008-10-03 22:31:26 UTC
Fix from trunk of kde team:

# emove whirlpool usage.  the algorithm is missing on at least 0.9.8g and 
0.9.8i, even though there's an OBJ_whirlpool definition in 0.9.8i.


--- trunk/kdesupport/qca/plugins/qca-ossl/qca-ossl.cpp	2008/08/18 09:08:51	848615
+++ trunk/kdesupport/qca/plugins/qca-ossl/qca-ossl.cpp	2008/09/24 19:22:26	864423
@@ -6616,9 +6616,11 @@
 #ifdef SHA512_DIGEST_LENGTH
 	list += "sha512";
 #endif
+/*
 #ifdef OBJ_whirlpool
 	list += "whirlpool";
 #endif
+*/
 	return list;
 }
 
@@ -6863,10 +6865,12 @@
 		else if ( type == "sha512" )
 			return new opensslHashContext( EVP_sha512(), this, type);
 #endif
+/*
 #ifdef OBJ_whirlpool
 		else if ( type == "whirlpool" )
 			return new opensslHashContext( EVP_whirlpool(), this, type);
 #endif
+*/
 		else if ( type == "pbkdf1(sha1)" )
 			return new opensslPbkdf1Context( EVP_sha1(), this, type );
 		else if ( type == "pbkdf1(md2)" )
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2008-10-03 22:33:03 UTC
+  03 Oct 2008; Peter Alfredsen <loki_val@gentoo.org>
+  files/qca-ossl-openssl-0.9.8i.patch qca-ossl-2.0.0_beta3.ebuild:
+  Fix compilation failure w/ openssl-0.9.8i by commenting out some ifdeffed
+  code. Bug 239449.
+
Comment 9 Sergey Dryabzhinsky 2008-10-03 22:48:26 UTC
Created attachment 167115 [details, diff]
Disable broken whirlpool

From upstream...
Comment 10 Sergey Dryabzhinsky 2008-10-03 22:49:15 UTC
Created attachment 167117 [details, diff]
qca-ossl-2.0.0_beta3-r1.ebuild

Updated ebuild
Comment 11 ipse 2008-10-04 12:15:41 UTC
(In reply to comment #10)
> Created an attachment (id=167117) [edit]
> qca-ossl-2.0.0_beta3-r1.ebuild
> 
> Updated ebuild
> 

>>> Unpacking qca-ossl-2.0.0-beta3.tar.bz2 to /var/tmp/portage/app-crypt/qca-ossl-2.0.0_beta3/work                                                                                                               
 * Applying qca-ossl-2.0.0_beta3-drop-whirlpool-for-openssl-0.9.8i.patch ...                                                                                                                                [ ok ]
>>> Source unpacked.                                                                                                                                                                                              
>>> Compiling source in /var/tmp/portage/app-crypt/qca-ossl-2.0.0_beta3/work/qca-ossl-2.0.0-beta3 ...                                                                                                             
Configuring qca-ossl ...                                                                                                                                                                                          
Verifying Qt 4 build environment ... ok                                                                                                                                                                           
Checking for QCA >= 2.0 ... yes                                                                                                                                                                                   
Checking for OpenSSL ... yes                                                                                                                                                                                      

Good, your configure finished.  Now run /usr/bin/gmake.

 * Processing qmake qca-ossl.pro ...                                                                                                                                                                        [ ok ]
/usr/bin/moc -DOSSL_097 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/var/tmp/portage/app-crypt/qca-ossl-2.0.0_beta3/work/qca-ossl-2.0.0-beta3 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/include/qca2/QtCrypto -I. -I. qca-ossl.cpp -o qca-ossl.moc                                                                                                 
i686-pc-linux-gnu-g++ -c -pipe -march=pentium4 -O3 -pipe -fomit-frame-pointer -Wall -W -D_REENTRANT -fPIC -DOSSL_097 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/var/tmp/portage/app-crypt/qca-ossl-2.0.0_beta3/work/qca-ossl-2.0.0-beta3 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/include/qca2/QtCrypto -I. -I. -o qca-ossl.o qca-ossl.cpp      
qca-ossl.cpp: In function ‘X509_EXTENSION* opensslQCAPlugin::new_subject_key_id(X509*)’:                                                                                                                          
qca-ossl.cpp:330: warning: deprecated conversion from string constant to ‘char*’