Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190422 - net-libs/wvstreams-4.4 fails to compile (gcc 4.2)
Summary: net-libs/wvstreams-4.4 fails to compile (gcc 4.2)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-27 16:39 UTC by Doug Goldstein (RETIRED)
Modified: 2007-09-06 11:11 UTC (History)
1 user (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 Doug Goldstein (RETIRED) gentoo-dev 2007-08-27 16:39:56 UTC
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=athlon64 -msse3 -ggdb -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBUG=0  -Wall -Iyes/include -I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -pipe -march=athlon64 -msse3 -ggdb -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBUG=0 -Wall -Woverloaded-virtual -fno-exceptions -Iyes/include -I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Woverloaded-virtual     -c crypto/wvx509mgr.cc -o crypto/wvx509mgr.o
crypto/wvx509.cc: In function 'WvString set_name_entry(X509_NAME*, const WvFastString&)':
crypto/wvx509.cc:157: warning: deprecated conversion from string constant to 'char*'
crypto/wvx509.cc: In member function 'bool WvX509::get_policy_constraints(int&, int&) const':
crypto/wvx509.cc:815: error: 'POLICY_CONSTRAINTS' was not declared in this scope
crypto/wvx509.cc:815: error: 'constraints' was not declared in this scope
crypto/wvx509.cc:818: error: expected type-specifier before 'POLICY_CONSTRAINTS'
crypto/wvx509.cc:818: error: expected `>' before 'POLICY_CONSTRAINTS'
crypto/wvx509.cc:818: error: expected `(' before 'POLICY_CONSTRAINTS'
crypto/wvx509.cc:818: error: expected primary-expression before '>' token
crypto/wvx509.cc:820: error: expected `)' before ';' token
crypto/wvx509.cc:834: error: 'POLICY_CONSTRAINTS_free' was not declared in this scope
crypto/wvx509.cc: In member function 'void WvX509::set_policy_constraints(int, int)':
crypto/wvx509.cc:847: error: 'POLICY_CONSTRAINTS' was not declared in this scope
crypto/wvx509.cc:847: error: 'constraints' was not declared in this scope
crypto/wvx509.cc:847: error: 'POLICY_CONSTRAINTS_new' was not declared in this scope
crypto/wvx509.cc:860: error: 'POLICY_CONSTRAINTS_free' was not declared in this scope
crypto/wvx509.cc: In member function 'bool WvX509::get_policy_mapping(WvList<WvX509::PolicyMap>&) const':
crypto/wvx509.cc:868: error: 'POLICY_MAPPINGS' was not declared in this scope
crypto/wvx509.cc:868: error: 'mappings' was not declared in this scope
crypto/wvx509.cc:869: error: 'POLICY_MAPPING' was not declared in this scope
crypto/wvx509.cc:869: error: 'map' was not declared in this scope
crypto/wvx509.cc:872: error: expected type-specifier before 'POLICY_MAPPINGS'
crypto/wvx509.cc:872: error: expected `>' before 'POLICY_MAPPINGS'
crypto/wvx509.cc:872: error: expected `(' before 'POLICY_MAPPINGS'
crypto/wvx509.cc:872: error: expected primary-expression before '>' token
crypto/wvx509.cc:873: error: 'NID_policy_mappings' was not declared in this scope
crypto/wvx509.cc:874: error: expected `)' before ';' token
crypto/wvx509.cc:881: error: 'sk_POLICY_MAPPING_num' was not declared in this scope
crypto/wvx509.cc:883: error: 'sk_POLICY_MAPPING_value' was not declared in this scope
crypto/wvx509.cc:889: error: 'POLICY_MAPPING_free' was not declared in this scope
crypto/wvx509.cc:889: error: 'sk_POLICY_MAPPING_pop_free' was not declared in this scope
crypto/wvx509.cc: In member function 'void WvX509::set_policy_mapping(WvList<WvX509::PolicyMap>&)':
crypto/wvx509.cc:899: error: 'POLICY_MAPPINGS' was not declared in this scope
crypto/wvx509.cc:899: error: 'maps' was not declared in this scope
crypto/wvx509.cc:899: error: 'sk_POLICY_MAPPING_new_null' was not declared in this scope
crypto/wvx509.cc:904: error: 'POLICY_MAPPING' was not declared in this scope
crypto/wvx509.cc:904: error: 'map' was not declared in this scope
crypto/wvx509.cc:904: error: 'POLICY_MAPPING_new' was not declared in this scope
crypto/wvx509.cc:907: error: 'sk_POLICY_MAPPING_push' was not declared in this scope
crypto/wvx509.cc:911: error: 'NID_policy_mappings' was not declared in this scope
crypto/wvx509.cc:914: error: 'POLICY_MAPPING_free' was not declared in this scope
crypto/wvx509.cc:914: error: 'sk_POLICY_MAPPING_pop_free' was not declared in this scope
make: *** [crypto/wvx509.o] Error 1


$ emerge --info
Portage 2.1.3.7 (default-linux/amd64/2006.1/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-ck1 x86_64)
=================================================================
System uname: 2.6.22-ck1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 2.0.0_rc3
Timestamp of tree: Mon, 27 Aug 2007 13:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0_rc3-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.18
sys-devel/gcc-config: 1.4.0-r1
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -msse3 -ggdb"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=athlon64 -msse3 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache cvs distlocks metadata-transfer sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa amd64 avahi bash-completion berkdb bitmap-fonts bzip2 cairo ccache cdr cli cracklib crypt cups daap dbus dri dvd dvdr encode fam gdbm gecko-sdk gif glitz gnome gstreamer hal iconv ipod ipv6 jpeg kdeenablefinal ldap mad midi mikmod mp3 mpeg mudflap nautilus ncurses network-cron nptl nptlonly ogg opengl pam pcre pdf perl png python qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl startup-notification svg tcpd tiff truetype truetype-fonts type1-fonts unicode vhosts vorbis xcomposite xinerama xml xorg xulrunner xv xvmc zlib" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2007-09-01 08:10:59 UTC
It compiles fine with gcc-4.2. Probably something has changed in openssl. What version do you use?
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2007-09-04 16:04:00 UTC
dev-libs/openssl-0.9.7m
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2007-09-06 11:11:41 UTC
Seems >=dev-libs/openssl-0.9.7 is no longer enough.

Fixed in cvs (without revbumping) by actualizing dependency atom versions.