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

Bug 49754

Summary: media-gfx/gnuplot-4.0 fails compile
Product: Gentoo Linux Reporter: fatty
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description fatty 2004-05-02 14:26:11 UTC
I tried to emerge media-gfx/gnuplot-4.0 today, but after a while I got the following error:

In file included from /usr/include/libpng12/png.h:332,
                 from ../term/png.trm:99,
                 from term.h:364,
                 from term.c:1005:
/usr/include/libpng12/pngconf.h:255: error: Syntaxfehler before '.' token
make[3]: *** [term.o] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: Leaving directory `/var/tmp/portage/gnuplot-4.0/work/gnuplot-4.0.0/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/gnuplot-4.0/work/gnuplot-4.0.0/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/gnuplot-4.0/work/gnuplot-4.0.0'
make: *** [all] Fehler 2
 
!!! ERROR: media-gfx/gnuplot-4.0 failed.
!!! Function src_compile, Line 72, Exitcode 2
!!! (no error message)

I'm sure I had to edit png.h for version 2.8* to compile correctly and now the error occurs in a very other line.

Can anybody confirm this behavior or am I the only one to wait for an working ebuild?

Reproducible: Always
Steps to Reproduce:
1. emerge media-gfx/gnuplot (version 4.0)




# emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.5)
=================================================================
System uname: 2.6.5 i686 Mobile Intel(R) Pentium(R) 4     CPU 3.06GHz
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="S3TC X Xaw3d aalib acpi acpi4linux alsa apache2 apm arts avi berkdb bonobo
cdr chroot crypt cscope cups curl dga doc dv dvd dvdr encode esd expat faad fam
fbcon ffmpeg foomaticdb freetype fs gdbm gif glut gnome gpm gstreamer gtk gtk2
gtkhtml guile imagemagick imlib imlib2 ipv6 jack jack-caps java javascript
joystick jpeg kde lcd lcms ldap libg++ libwww linguas_de mad md5sum mikmod mmx
mng motif mozilla moznocompose moznoirc moznomail mpeg mpeg4 mule mysql ncurses
nls nowin oav oggvorbis openal opengl openssh oss pam pcmcia pdflib perl php
physfs png ppds pwdb python qt quicktime readline samba scanner sdl slang sox
speex spell sse ssl svga tcltk tcpd tetex tiff transcode truetype unicode usb
videos vim-with-x x86 xine xml2 xmms xosd xv xvid zlib"
Comment 1 Martin Ehmsen (RETIRED) gentoo-dev 2004-05-04 08:06:20 UTC
This is clearly a dup of bug 49263.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2004-05-05 01:36:17 UTC

*** This bug has been marked as a duplicate of 49263 ***