Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 249187

Summary: media-libs/plotutils-2.4.1-r4 - ./../include/plotter.h:61:22: error: iostream.h: No such file or directory, fails to build with gcc 4.3.
Product: Gentoo Linux Reporter: Michele Schiavo <micheleschi>
Component: New packagesAssignee: Printing Team <printing>
Status: RESOLVED WONTFIX    
Severity: normal CC: esigra, rhill, ygorbunov
Priority: Highest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 245690    
Bug Blocks: 198121    
Attachments: proposed patch
plotutils-2.4.1-r4.ebuild

Description Michele Schiavo 2008-11-28 19:09:30 UTC
make: *** [all-recursive-am] Error 2
 * 
 * ERROR: media-libs/plotutils-2.4.1-r4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2753:  Called die
 * The specific snippet of code:
 *       emake || die "Parallel Make Failed"
 *  The die message:
 *   Parallel Make 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/media-libs/plotutils-2.4.1-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/plotutils-2.4.1-r4/temp/environment'.


Reproducible: Always

Steps to Reproduce:
emerge --info
Portage 2.1.4.5 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.7-r2, 2.6.27-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.27-gentoo-r4 x86_64 Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
Timestamp of tree: Fri, 28 Nov 2008 18:07:03 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  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:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -mtune=core2 -march=core2 -pipe -fomit-frame-pointer -msse4.1"
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/bind /var/lib/hsqldb /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=core2 -march=core2 -pipe -fomit-frame-pointer -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg_ collision-protect distcc distlocks maketest metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="it it_IT en en_US en_GB es es_ES"
MAKEOPTS="-j10"
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.gentoo.org/gentoo-portage"
USE="16bit 64bit X X509 a52 aac aalib acl acpi aiglx aim alsa amd64 amr amrnb amrwb apache2 apm applet audiofile avi bash-completion berkdb bidi bitmap-fonts bittorrent bluetooth bonobo branding browserplugin bzip2 cairo caps cdda cddb cdio cdparanoia cdr cgi chroot cli cracklib crypt css ctype cups curl dbus dc1394 deskbar divx dlloader dri dts dv dvb dvd dvdr dvdread dvi dynamic eds em emboss emovix enca encode esd ethereal evo evolution exif expat faillog fam fame fbsplash ffmpeg firefox flac flash fontconfig foomaticdb fortran fping freetds freetype ftp gaim gcc4 gd gdbm gdm gedit gencertdaily geoip gif gimp gimpprint glitz glut gmail gmedia gmp gno gnome gnome-keyring gnutls gpac gphoto2 gpm gsf gsm gstreamer gtk gtk2 gtkhtml guile hal hash hddtemp howl iconv id3tag idea idn ieee1394 imagemagick imap imlib ipod isdnlog ithreads java jpeg kerberos lame lcms libcaca libclamav libedit libnotify libwww live lm_sensors logrotate logwatch lzo lzw lzw-tiff mad maildir maildrop matroska md5sum mhash midi mikmod mime ming mjpeg mmx mmxext mng mono motif mozilla mozsvg mp2 mp3 mpeg mplayer mpm-prefork msn mudflap multilib musepack musicbrainz mysql nautilus ncurses nemesei network networking new-login nfs ng nls nptl nptlonly nsplugin nvidia obex offensive ogg oggvorbis openal opengl openmp opensslcrypt optimisememory pam pcre pdf pdflib perl php pidgin png pnm pop posix ppds pppd prediction python qmail qt3support quicktime quotas radio readline realmedia recode reflection regex remote rtc samba scanner sdl sensord server session simplexml skins slang smp sms sndfile sni sound sox spamassassin speex spell spl sqlite srt sse sse2 sse3 ssl ssse2 ssse3 startup-notification stream subtitles svg symlink sysfs syslog tcltk tcpd teletext templates tetex theora threads threadsafe tiff tivo toolbar tools tracker truetype truetype-fonts twolame type1-fonts udev unicode upnp usb v4l v4l2 vcd vhosts vim-syntax vlm vorbis wavpack wifi wmf wmp wxgtk1 wxwindows x264 xanim xcomposite xml xml2 xmlreader xmlwriter xorg xpm xscreensaver xv xvid xvmc zip zlib" ALSA_CARDS="intel8x0 usb-audio" 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" CAMERAS="spca50x" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="it it_IT en en_US en_GB es es_ES" 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


emerge plotutils
Comment 1 Michele Schiavo 2008-11-28 19:11:03 UTC
now i'm testing with -j1 and no distcc
Comment 2 Michele Schiavo 2008-11-28 19:15:44 UTC
-march=core2 -pipe -fomit-frame-pointer -msse4.1 -c main.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I./include    -O2 -mtune=core2 -march=core2 -pipe -fomit-frame-pointer -msse4.1 -c object.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I./include    -O2 -mtune=core2 -march=core2 -pipe -fomit-frame-pointer -msse4.1 -c plot.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I./include    -O2 -mtune=core2 -march=core2 -pipe -fomit-frame-pointer -msse4.1 -c gram.cc
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I./include    -O2 -mtune=core2 -march=core2 -pipe -fomit-frame-pointer -msse4.1 -c fontlist.c
/bin/sh ../libtool --mode=link c++  -O2 -mtune=core2 -march=core2 -pipe -fomit-frame-pointer -msse4.1 -Wl,-O1 -o pic2plot  common.o lex.o main.o object.o plot.o gram.o fontlist.o ../lib/libcommon.a ./libgroff/libgroff.a ../libplot/libplot.la -lm
mkdir .libs
c++ -O2 -mtune=core2 -march=core2 -pipe -fomit-frame-pointer -msse4.1 -Wl,-O1 -o .libs/pic2plot common.o lex.o main.o object.o plot.o gram.o fontlist.o ../lib/libcommon.a ./libgroff/libgroff.a ../libplot/.libs/libplot.so -L/usr/lib64 -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lpng -lz -lm -lm -Wl,--rpath -Wl,/usr/lib64
creating pic2plot
make[3]: Leaving directory `/var/tmp/portage/media-libs/plotutils-2.4.1-r4/work/plotutils-2.4.1/pic2plot'
make[2]: Leaving directory `/var/tmp/portage/media-libs/plotutils-2.4.1-r4/work/plotutils-2.4.1/pic2plot'
Making all in libplotter
make[2]: Entering directory `/var/tmp/portage/media-libs/plotutils-2.4.1-r4/work/plotutils-2.4.1/libplotter'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I..  -I./../include -DLIBPLOT -DLIBPLOTTER    -O2 -mtune=core2 -march=core2 -pipe -fomit-frame-pointer -msse4.1 -c apioldcc.cc
mkdir .libs
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -DLIBPLOT -DLIBPLOTTER -O2 -mtune=core2 -march=core2 -pipe -fomit-frame-pointer -msse4.1 -c apioldcc.cc  -fPIC -DPIC -o .libs/apioldcc.lo
In file included from extern.h:44,
                 from apioldcc.cc:19:
./../include/plotter.h:61:22: error: iostream.h: No such file or directory
In file included from extern.h:44,
                 from apioldcc.cc:19:
./../include/plotter.h:683: error: ISO C++ forbids declaration of 'istream' with no type
./../include/plotter.h:683: error: expected ';' before '*' token
./../include/plotter.h:684: error: ISO C++ forbids declaration of 'ostream' with no type
./../include/plotter.h:684: error: expected ';' before '*' token
./../include/plotter.h:685: error: ISO C++ forbids declaration of 'ostream' with no type
./../include/plotter.h:685: error: expected ';' before '*' token
./../include/plotter.h:901: error: expected `)' before '&' token
./../include/plotter.h:902: error: expected `)' before '&' token
./../include/plotter.h:907: error: expected `)' before '&' token
./../include/plotter.h:908: error: expected `)' before '&' token
./../include/plotter.h:1490: error: expected `)' before '&' token
./../include/plotter.h:1491: error: expected `)' before '&' token
./../include/plotter.h:1496: error: expected `)' before '&' token
./../include/plotter.h:1497: error: expected `)' before '&' token
./../include/plotter.h:1569: error: expected `)' before '&' token
./../include/plotter.h:1570: error: expected `)' before '&' token
./../include/plotter.h:1575: error: expected `)' before '&' token
./../include/plotter.h:1576: error: expected `)' before '&' token
./../include/plotter.h:1616: error: expected `)' before '&' token
./../include/plotter.h:1617: error: expected `)' before '&' token
./../include/plotter.h:1622: error: expected `)' before '&' token
./../include/plotter.h:1623: error: expected `)' before '&' token
./../include/plotter.h:1668: error: expected `)' before '&' token
./../include/plotter.h:1669: error: expected `)' before '&' token
./../include/plotter.h:1674: error: expected `)' before '&' token
./../include/plotter.h:1675: error: expected `)' before '&' token
./../include/plotter.h:1719: error: expected `)' before '&' token
./../include/plotter.h:1720: error: expected `)' before '&' token
./../include/plotter.h:1725: error: expected `)' before '&' token
./../include/plotter.h:1726: error: expected `)' before '&' token
./../include/plotter.h:1815: error: expected `)' before '&' token
./../include/plotter.h:1816: error: expected `)' before '&' token
./../include/plotter.h:1821: error: expected `)' before '&' token
./../include/plotter.h:1822: error: expected `)' before '&' token
./../include/plotter.h:1846: error: expected `)' before '&' token
./../include/plotter.h:1847: error: expected `)' before '&' token
./../include/plotter.h:1852: error: expected `)' before '&' token
./../include/plotter.h:1853: error: expected `)' before '&' token
./../include/plotter.h:1896: error: expected `)' before '&' token
./../include/plotter.h:1897: error: expected `)' before '&' token
./../include/plotter.h:1902: error: expected `)' before '&' token
./../include/plotter.h:1903: error: expected `)' before '&' token
./../include/plotter.h:1981: error: expected `)' before '&' token
./../include/plotter.h:1982: error: expected `)' before '&' token
./../include/plotter.h:1987: error: expected `)' before '&' token
./../include/plotter.h:1988: error: expected `)' before '&' token
./../include/plotter.h:2022: error: expected `)' before '&' token
./../include/plotter.h:2023: error: expected `)' before '&' token
./../include/plotter.h:2028: error: expected `)' before '&' token
./../include/plotter.h:2029: error: expected `)' before '&' token
./../include/plotter.h:2081: error: expected `)' before '&' token
./../include/plotter.h:2082: error: expected `)' before '&' token
./../include/plotter.h:2087: error: expected `)' before '&' token
./../include/plotter.h:2088: error: expected `)' before '&' token
./../include/plotter.h:2125: error: expected `)' before '&' token
./../include/plotter.h:2126: error: expected `)' before '&' token
./../include/plotter.h:2131: error: expected `)' before '&' token
./../include/plotter.h:2132: error: expected `)' before '&' token
./../include/plotter.h:2164: error: expected `)' before '&' token
./../include/plotter.h:2165: error: expected `)' before '&' token
./../include/plotter.h:2170: error: expected `)' before '&' token
./../include/plotter.h:2171: error: expected `)' before '&' token
./../include/plotter.h:2199: error: expected `)' before '&' token
./../include/plotter.h:2200: error: expected `)' before '&' token
./../include/plotter.h:2205: error: expected `)' before '&' token
./../include/plotter.h:2206: error: expected `)' before '&' token
./../include/plotter.h:2273: error: expected `)' before '&' token
./../include/plotter.h:2274: error: expected `)' before '&' token
./../include/plotter.h:2279: error: expected `)' before '&' token
./../include/plotter.h:2280: error: expected `)' before '&' token
./../include/plotter.h:2348: error: expected `)' before '&' token
./../include/plotter.h:2349: error: expected `)' before '&' token
./../include/plotter.h:2354: error: expected `)' before '&' token
./../include/plotter.h:2355: error: expected `)' before '&' token
make[2]: *** [apioldcc.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/plotutils-2.4.1-r4/work/plotutils-2.4.1/libplotter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/plotutils-2.4.1-r4/work/plotutils-2.4.1'
make: *** [all-recursive-am] Error 2
 * 
 * ERROR: media-libs/plotutils-2.4.1-r4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2765:  Called die
 * The specific snippet of code:
 *       emake || die "Parallel Make Failed"
 *  The die message:
 *   Parallel Make 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/media-libs/plotutils-2.4.1-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/plotutils-2.4.1-r4/temp/environment'.
Comment 3 Rafał Mużyło 2008-11-28 21:49:47 UTC
While nothing about it is mentioned in package's ChangeLog,
bug 245690 suggests that you need to put a more recent version 
in package.keywords (or wait for stabilization).
Comment 4 Michele Schiavo 2008-11-28 23:30:28 UTC
it was after the last change in the last stable versione of media-gfx/hugin-0.7.0.

But i'm using only gcc-4.3.1-r1 from ~amd64 (and some little ebuild fixed for gcc 4.3.1)
Comment 5 Yaroslav Gorbunov 2008-11-29 04:16:01 UTC
Created attachment 173719 [details, diff]
proposed patch
Comment 6 Yaroslav Gorbunov 2008-11-29 04:18:12 UTC
Created attachment 173721 [details]
plotutils-2.4.1-r4.ebuild
Comment 7 Michele Schiavo 2008-11-29 10:05:24 UTC
Working good on me
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2009-02-12 04:53:14 UTC
2.5.1 builds fine and is stable on all archs.