Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76939 - labplot 1.4.0 compilation fails
Summary: labplot 1.4.0 compilation fails
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-06 12:25 UTC by rj rooke
Modified: 2005-01-17 02:00 UTC (History)
2 users (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 rj rooke 2005-01-06 12:25:44 UTC
maybe application error?? but ebuild has ~amd64 keyword - getting some code problems from gcc.

Reproducible: Always
Steps to Reproduce:
1.emerge labplot
2.
3.

Actual Results:  
End of compile output:

make[2]: Entering directory `/var/tmp/portage/labplot-1.4.0/work/LabPlot-1.4.0/src'
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DLVERSION=\"1.4.0\" -DLVERSION_DATE=1 -DHAVE_STRTOD=1
-DHAVE_LOG2=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TIFF=1
-DHAVE_GSL=1 -DHAVE_NEWGSL=1 -DHAVE_FFTW3=1 -DHAVE_JASPER=1 -DHAVE_MAGICK=1
-DKDELIBSUFF=\"\" -DHAVE_DLFCN_H=1 -DHAVE_SGI_STL=1 -DHAVE_CRYPT=1
-Dkde_socklen_t=socklen_t -Dksize_t=socklen_t -DHAVE_SYS_TYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_RES_INIT=1 -DHAVE_RES_INIT=1
-DHAVE_RES_INIT_PROTO=1 -DSIZEOF_INT=4 -DSIZEOF_SHORT=2 -DSIZEOF_LONG=8
-DSIZEOF_CHAR_P=8 -DSIZEOF_SIZE_T=8 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_VSNPRINTF=1
-DHAVE_SNPRINTF=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1
-DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1  -I. -I. `Magick++-config --cppflags` 
-I../netcdf    -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include 
 -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith
-Wwrite-strings -g -O2 -Wformat-security -Wmissing-format-attribute
-fno-check-new -fno-common  -MT Plot.lo -MD -MP -MF ".deps/Plot.Tpo" -c -o
Plot.lo Plot.cc; \
then mv -f ".deps/Plot.Tpo" ".deps/Plot.Plo"; else rm -f ".deps/Plot.Tpo"; exit
1; fi
Plot.cc: In member function `void Plot::save(QTextStream*)':
Plot.cc:155: error: 'class PlotQWT3D' has no member named 'PlotStyle'
Plot.cc:156: error: 'class PlotQWT3D' has no member named 'CoordinateStyle'
Plot.cc:157: error: 'class PlotQWT3D' has no member named 'FloorStyle'
Plot.cc:159: error: 'class PlotQWT3D' has no member named 'isolines'
Plot.cc:161: error: `Qwt3D' has not been declared
Plot.cc:161: error: `ColorVector' undeclared (first use this function)
Plot.cc:161: error: (Each undeclared identifier is reported only once for each
function it appears in.)
Plot.cc:161: error: expected `;' before "cv"
Plot.cc:162: error: `cv' undeclared (first use this function)
Plot.cc: In member function `void Plot::open(QTextStream*, int)':
Plot.cc:302: error: 'class PlotQWT3D' has no member named 'setPlotStyle'
Plot.cc:302: error: `Qwt3D' has not been declared
Plot.cc:302: error: `PLOTSTYLE' undeclared (first use this function)
Plot.cc:304: error: 'class PlotQWT3D' has no member named 'setCoordinateStyle'
Plot.cc:304: error: `Qwt3D' has not been declared
Plot.cc:304: error: `COORDSTYLE' undeclared (first use this function)
Plot.cc:306: error: 'class PlotQWT3D' has no member named 'setFloorStyle'
Plot.cc:306: error: `Qwt3D' has not been declared
Plot.cc:306: error: `FLOORSTYLE' undeclared (first use this function)
Plot.cc:310: error: 'class PlotQWT3D' has no member named 'setIsolines'
Plot.cc:313: error: `Qwt3D' has not been declared
Plot.cc:313: error: `ColorVector' undeclared (first use this function)
Plot.cc:313: error: expected `;' before "cv"
Plot.cc:314: error: `cv' undeclared (first use this function)
Plot.cc:315: error: `Qwt3D' has not been declared
Plot.cc:315: error: `RGBA' undeclared (first use this function)
Plot.cc:315: error: expected `;' before "rgb"
Plot.cc:320: error: `rgb' undeclared (first use this function)
Plot.cc:323: error: 'class PlotQWT3D' has no member named 'setColorVector'
Plot.cc: At global scope:
Plot.cc:549: warning: unused parameter 'axisnr'
make[2]: *** [Plot.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/labplot-1.4.0/work/LabPlot-1.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/labplot-1.4.0/work/LabPlot-1.4.0/src'
make: *** [all-recursive] Error 1


Expected Results:  
should have compiled successfully

Compiling on amd64 - tried to reemerge qt (using qt 3.3.3 - latest)

emerge info
Portage 2.0.51-r8 (gcc34-amd64-2004.1, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.10-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jun 18 2004, 12:38:17)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /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=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com
ftp://mirror.iawnet.sandia.gov/pub/gentoo/
http://www.gtlib.cc.gatech.edu/pub/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa amd64 apm arts avi berkdb bitmap-fonts bonobo cdr crypt
cups doc dvd dvdr encode esd f77 flac foomaticdb fortran gdbm gif gimpprint
gnome gpm gstreamer gtk gtk2 gtkhtml guile hal imlib java joystick jpeg kde
libg++ libwww mikmod motif mozilla mp3 mpeg multilib ncurses nls nogcj nvidia
ofx oggvorbis opengl oss pam pdflib perl png python quicktime quotes readline
scanner sdk sdl slang spell ssl svg tcpd tetex tiff truetype truetype-fonts
type1-fonts xine xml2 xmms xprint xv zlib"
Comment 1 Heinz Hombergs 2005-01-06 20:25:13 UTC
Same here on a Pentium 4
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2005-01-09 23:35:25 UTC
Could you please check if (and where and belonging to which package) you have the file
qwt3d_plot.h
on your systems?
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2005-01-17 02:00:01 UTC
Can't reproduce, no response, please re-open if you are still alive.