Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353319 - net-libs/gsoap-2.8.1[examples] - fails to build - incorrect interface to openssl
Summary: net-libs/gsoap-2.8.1[examples] - fails to build - incorrect interface to openssl
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on: 389883
Blocks:
  Show dependency tree
 
Reported: 2011-01-31 14:50 UTC by Graham Murray
Modified: 2016-01-24 21:57 UTC (History)
6 users (show)

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


Attachments
gsoap-2.8.8 build.log (build.log,166.40 KB, text/plain)
2012-03-24 17:21 UTC, jannis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Murray 2011-01-31 14:50:34 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../gsoap -I../../../gsoap/plugin   -DWITH_DOM -DWITH_OPENSSL -DWITH_GZIP -O2 -march=native -mtune=native -pipe -ggdb -MT wssedemo-mecevp.o -MD -MP -MF .deps/wssedemo-mecevp.Tpo -c -o wssedemo-mecevp.o `test -f '../../plugin/mecevp.c' || echo './'`../../plugin/mecevp.c
../../plugin/mecevp.c: In function ‘soap_mec_init’:
../../plugin/mecevp.c:280:7: warning: passing argument 1 of ‘EVP_PKEY_encrypt’ from incompatible pointer type
/usr/include/openssl/evp.h:1098:5: note: expected ‘struct EVP_PKEY_CTX *’ but argument is of type ‘unsigned char *’
../../plugin/mecevp.c:280:7: warning: passing argument 3 of ‘EVP_PKEY_encrypt’ makes pointer from integer without a cast
/usr/include/openssl/evp.h:1098:5: note: expected ‘size_t *’ but argument is of type ‘int’
../../plugin/mecevp.c:280:7: warning: passing argument 4 of ‘EVP_PKEY_encrypt’ from incompatible pointer type
/usr/include/openssl/evp.h:1098:5: note: expected ‘const unsigned char *’ but argument is of type ‘struct EVP_PKEY *’
../../plugin/mecevp.c:280:7: error: too few arguments to function ‘EVP_PKEY_encrypt’
/usr/include/openssl/evp.h:1098:5: note: declared here
make[6]: *** [wssedemo-mecevp.o] Error 1

emerge -pv gsoap openssl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-libs/openssl-1.0.0c  USE="gmp rfc3779 sse2 zlib -bindist -kerberos -test" 0 kB
[ebuild     U ] net-libs/gsoap-2.8.1 [2.8.0] USE="doc examples ssl -debug (-static-libs%)" 0 kB


emerge --info =net-libs/gsoap-2.8.1
Portage 2.2.0_alpha19 (default/linux/x86/10.0/desktop, gcc-4.5.2, glibc-2.12.2-r0, 2.6.38-rc2-00324-g70d1f36 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.38-rc2-00324-g70d1f36-i686-Intel-R-_Core-TM-2_CPU_6700_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 31 Jan 2011 03:45:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.6.3-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.3.5, 4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo perl-experimental sunrise x11 sping kde newton_local
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa /var/bind /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/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mtune=native -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"                                                                                                                                                
FEATURES="assume-digests binpkg-logs buildsyspkg distlocks fixlafiles fixpackages installsources news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"                                                                                                                        
FFLAGS=""                                                                                                                                                                           
GENTOO_MIRRORS="http://ftp.first-world.info/ http://de-mirror.org/distro/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.tiscali.nl/"                   
LANG="en_GB.UTF-8"                                                                                                                                                                  
LC_ALL="en_GB.UTF-8"                                                                                                                                                                
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                                                   
LINGUAS="en_GB en fr_FR fr"                                                                                                                                                         
MAKEOPTS="-j3"                                                                                                                                                                      
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="/var/lib/layman/perl-experimental /var/lib/layman/sunrise /var/lib/layman/x11 /var/lib/layman/sping /var/lib/layman/kde /usr/local/portage"                        
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"                                                                                                                               
USE="X a52 aac aalib acl acpi aim alsa apache2 audiofile avi bash-completion berkdb bluetooth bonobo branding browserplugin bzip2 bzlib cairo caps cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt cups curl cvs cxx dbus directfb doc dri dts dv dvd dvdr dvdread eds emacs emboss encode esd ethereal examples exif expat fam fbcon ffmpeg fftw flac fontconfig foomaticdb fortran ftp gcj gd gdbm gdu geoip gif glut gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile htmlhandbook iconv icq icu idn imagemagick imlib ipv6 jabber jack java javascript jbig jce jpeg jpeg2k junit kde kdehiddenvisibility ladspa latex lcms ldap leim libgda libnotify libsamplerate libwww lm_sensors logrotate lua mad matroska mbox mikmod milter mime mmap mmx mng modplug modules mono mozilla mp3 mp4 mpeg mpi mplayer msn mtp mudflap musepack mysql ncurses nls nptl nptlonly nsplugin odbc offensive ogg oggvorbis openal opengl openmp oscar oss pam pango pcntl pcre pdf perl php plasma png policykit postgres ppds pppd profile pulseaudio python qt3support qt4 quicktime raw readline recode ruby samba sasl sdl semantic-desktop session sharedmem sndfile snmp soap sockets sox speex spell sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs sysvipc tcl tcltk tcpd theora threads tiff tk truetype udev unicode usb v4l v4l2 vim-syntax vorbis wavpack win32codecs wmf wxwindows x264 x86 xattr xcb xcomposite xface xft xine xml xml2 xorg xulrunner xv xvid yahoo 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en fr_FR fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev vga v4l r300" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-31 16:53:02 UTC
In case you don't need the examples just disable the USE flag for now.
Comment 2 jannis 2012-03-24 17:21:16 UTC
Created attachment 306541 [details]
gsoap-2.8.8 build.log

Since 2.8.8 has been bumped (https://bugs.gentoo.org/show_bug.cgi?id=389883) the error message has changed but still looks OpenSSL-related. build.log attached.

USE="-examples" works with version 2.8.8. OpenSSL-version installed is 1.0.0h
Comment 3 jannis 2012-03-24 17:24:06 UTC
(In reply to comment #2)
> ...
If this is unrelated to this bug just tell me and I'll open a new one.
Comment 4 jannis 2012-07-17 12:12:51 UTC
Different error on gsoap-2.8.9:
https://bugs.gentoo.org/show_bug.cgi?id=426990
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-07-14 20:16:32 UTC
Ping, this bug has been around for over 2 years; any progress?

Swapon, regardless of the other maintainers, please respond to this bug to indicate that you still want to continue contributing as a proxy maintainer; a search for ALL assignee:swapon@gmail.com reveals you haven't contributed lately.
Comment 6 Göktürk Yüksek archtester gentoo-dev 2015-12-27 06:28:01 UTC
Fixed upstream: https://sourceforge.net/p/gsoap2/code/81/tree//gsoap/plugin/mecevp.c?diff=69

None of the affected versions is in the tree.