Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261042 - net-libs/gsoap-2.7.12 fails to build - error: iostream.h: No such file or directory
Summary: net-libs/gsoap-2.7.12 fails to build - error: iostream.h: No such file or dir...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-03 10:43 UTC by Graham Murray
Modified: 2009-03-05 20:30 UTC (History)
2 users (show)

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


Attachments
gsoap-2.7.12-fix-pre-iso-headers patch (gsoap-2.7.12-fix-pre-iso-headers.patch,684 bytes, patch)
2009-03-03 23:57 UTC, Alessio Cassibba (X-Drum)
Details | Diff
gsoap-2.7.12-fix-pre-iso-headers patch (gsoap-2.7.12-fix-pre-iso-headers.patch,3.51 KB, patch)
2009-03-04 00:27 UTC, Alessio Cassibba (X-Drum)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Murray 2009-03-03 10:43:46 UTC
make  all-am
make[6]: Entering directory `/var/tmp/portage/net-libs/gsoap-2.7.12/work/gsoap-2.7/gsoap/samples/factorytest'
source='factorytest.cpp' object='factorytest.o' libtool=no \
        depfile='.deps/factorytest.Po' tmpdepfile='.deps/factorytest.TPo' \
        depmode=gcc3 /bin/sh ../../../depcomp \
        i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../gsoap -I../../../gsoap/plugin   -DLINUX -O2 -march=native -mtune=native -pipe -c -o factorytest.o `test -f 'factorytest.cpp' || echo './'`factorytest.cpp 
factorytest.cpp:52:22: error: iostream.h: No such file or directory
factorytest.cpp: In function ‘int main(int, char**)’:
factorytest.cpp:170: error: ‘cout’ was not declared in this scope
factorytest.cpp:170: error: ‘endl’ was not declared in this scope
factorytest.cpp:172: warning: deprecated conversion from string constant to ‘char*’
factorytest.cpp:173: warning: deprecated conversion from string constant to ‘char*’
make[6]: *** [factorytest.o] Error 1


 emerge --info
Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-rc6-00216-g778ef1e i686)
=================================================================
System uname: Linux-2.6.29-rc6-00216-g778ef1e-i686-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-glibc2.0
Timestamp of tree: Tue, 03 Mar 2009 08:30:02 +0000
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r7
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.8
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/gconf /etc/gentoo-release /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -mtune=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="buildsyspkg distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://gentoo.tiscali.nl/ http://mirror.ovh.net/gentoo-distfiles/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en"
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="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 bash-completion berkdb bluetooth branding bzip2 cairo caps cdr cli cracklib crypt cups curl cvs cxx dbus doc dri dvd dvdr dvdread eds emacs emboss encode esd evo examples expat fam ffmpeg flac fortran gd gdbm gif gnome gnome-keyring gnutls gpm gstreamer gtk gtkhtml hal htmlhandbook iconv idn imagemagick imlib ipv6 isdnlog java jpeg kde kdehiddenvisibility ldap libnotify libsamplerate logrotate lzo mad midi mikmod mmap mmx mng mono mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png postgres ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection samba sdl session speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs tcl tcpd theora threads tiff tk truetype unicode usb vim-syntax vorbis win32codecs x264 x86 xattr xcb xcomposite xml xorg xulrunner xv zlib" ALSA_CARDS="intel-hda" 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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" USERLAND="GNU" VIDEO_CARDS="vesa fbdev nv"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-03 12:55:04 UTC
Reassigning to/CCing maintainers.
Comment 2 Alessio Cassibba (X-Drum) 2009-03-03 23:55:38 UTC
(In reply to comment #0)
[..]

Hi,
There is a problem with the samples shipped with gsoap and gcc-4.3.x.
Some samples are using old backwards and deprecated headers.

Please try the attached patch and try to rebuild net-libs/gsoap-2.7.12.
Comment 3 Alessio Cassibba (X-Drum) 2009-03-03 23:57:01 UTC
Created attachment 183829 [details, diff]
gsoap-2.7.12-fix-pre-iso-headers patch

patch to fix some deprecated pre-iso headers
Comment 4 Alessio Cassibba (X-Drum) 2009-03-04 00:27:36 UTC
Created attachment 183832 [details, diff]
gsoap-2.7.12-fix-pre-iso-headers patch

patch to fix some deprecated pre-iso headers and the std namespace
Comment 5 Graham Murray 2009-03-04 12:28:59 UTC
(In reply to comment #4)
> Created an attachment (id=183832) [edit]
> gsoap-2.7.12-fix-pre-iso-headers patch
> 
> patch to fix some deprecated pre-iso headers and the std namespace
> 

It installed with this patch applied
Comment 6 Patrick Lauer gentoo-dev 2009-03-05 20:30:28 UTC
+  05 Mar 2009; Patrick Lauer <patrick@gentoo.org>                                                                                                      
+  +files/gsoap-2.7.12-fix-pre-iso-headers.patch, +gsoap-2.7.12-r1.ebuild:                                                                              
+  Fixing failure in some of the examples. Patch by Alessio Cassibba                                                                                    
+  (X-Drum). Fixes #261042