Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2007 19:37:32 -0700 (PDT)
From:      <soralx@cydem.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/116321: LabPlot compile fails if liborigin from ports is installed
Message-ID:  <200709130237.l8D2bWfv094040@soralx.cydem.org>
Resent-Message-ID: <200709130240.l8D2e2s4049049@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116321
>Category:       ports
>Synopsis:       LabPlot compile fails if liborigin from ports is installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 13 02:40:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD soralx.cydem.org 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jun 6 22:19:28 PDT 2007 sol@soralx.cydem.org:/usr/src/sys/i386/compile/SORALX i386


>Description:
	If liborigin from ports is already installed (which is pulled in by qtiplot), trying to compile ports/math/labplot results in:

if /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DLVERSION=\"1.5.1\" -DLVERSION_DATE=1 -DHAVE_STRTOD=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_GSL14=1 -DHAVE_GSL16=1 -DHAVE_GSL17=1 -DGSL_DISABLE_DEPRECATED=1 -DHAVE_FFTW3=1 -DHAVE_FFTW3_THREADS=1 -DHAVE_JASPER=1 -DHAVE_MAGICK=1 -DHAVE_AUDIOFILE=1 -DHAVE_GL=1 -DHAVE_UNDO=1 -DKDELIBSUFF=\"\" -DHAVE_DLFCN_H=1 -DHAVE_SGI_STL=1 -DHAVE_STRLCAT=1 -DHAVE_STRLCAT_PROTO=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCPY_PROTO=1 -DHAVE_CRYPT=1 -Dkde_socklen_t=socklen_t -Dksize_t=socklen_t -DHAVE_SYS_TYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_RES_INIT=1 -DHAVE_RES_INIT_PROTO=1 -DSIZEOF_INT=4 -DSIZEOF_SHORT=2 -DSIZEOF_LONG=4 -DSIZEOF_CHAR_P=4 -DSIZEOF!
 _SIZE_T=4 -DSIZEOF_UNSIGNED_LONG=4 -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/include -I/include/qwtplot3d  -I/usr/local/include  -I/usr/local/include -I../liborigin/ -I../libundo/  -DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include  -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -msse2 -O2 -march=nocona -pipe -fno-check-new -fno-common  -MT ImportOPJ.lo -MD -MP -MF ".deps/ImportOPJ.Tpo" -c -o ImportOPJ.lo ImportOPJ.cc; \
        then mv -f ".deps/ImportOPJ.Tpo" ".deps/ImportOPJ.Plo"; else rm -f ".deps/ImportOPJ.Tpo"; exit 1; fi
In file included from ImportOPJ.cc:12:
/usr/local/include/OPJFile.h: In constructor `originData::originData(double)':
/usr/local/include/OPJFile.h:52: warning: `originData::d' will be initialized after
/usr/local/include/OPJFile.h:51: warning:   `int originData::type'
/usr/local/include/OPJFile.h:58: warning:   when initialized here
/usr/local/include/OPJFile.h: In constructor `originData::originData(char*)':
/usr/local/include/OPJFile.h:53: warning: `originData::s' will be initialized after
/usr/local/include/OPJFile.h:51: warning:   `int originData::type'
/usr/local/include/OPJFile.h:63: warning:   when initialized here
/usr/local/include/OPJFile.h: In constructor `spreadColumn::spreadColumn(std::string, int)':
/usr/local/include/OPJFile.h:77: warning: `spreadColumn::index' will be initialized after
/usr/local/include/OPJFile.h:74: warning:   `std::string spreadColumn::command'
/usr/local/include/OPJFile.h:92: warning:   when initialized here
/usr/local/include/OPJFile.h:75: warning: `spreadColumn::comment' will be initialized after
/usr/local/include/OPJFile.h:69: warning:   `int spreadColumn::value_type'
/usr/local/include/OPJFile.h:92: warning:   when initialized here
/usr/local/include/OPJFile.h:76: warning: `spreadColumn::width' will be initialized after
/usr/local/include/OPJFile.h:73: warning:   `int spreadColumn::numeric_display_type'
/usr/local/include/OPJFile.h:92: warning:   when initialized here
/usr/local/include/OPJFile.h: In constructor `matrix::matrix(std::string, int)':
/usr/local/include/OPJFile.h:121: warning: `matrix::index' will be initialized after
/usr/local/include/OPJFile.h:119: warning:   `std::string matrix::command'
/usr/local/include/OPJFile.h:132: warning:   when initialized here
/usr/local/include/OPJFile.h:119: warning: `matrix::command' will be initialized after
/usr/local/include/OPJFile.h:115: warning:   `int matrix::value_type_specification'
/usr/local/include/OPJFile.h:132: warning:   when initialized here
/usr/local/include/OPJFile.h:120: warning: `matrix::width' will be initialized after
/usr/local/include/OPJFile.h:118: warning:   `int matrix::numeric_display_type'
/usr/local/include/OPJFile.h:132: warning:   when initialized here
/usr/local/include/OPJFile.h: In constructor `function::function(std::string, int)':
/usr/local/include/OPJFile.h:142: warning: `function::index' will be initialized after
/usr/local/include/OPJFile.h:137: warning:   `int function::type'
/usr/local/include/OPJFile.h:151: warning:   when initialized here
ImportOPJ.cc: In member function `int ImportOPJ::import()':
ImportOPJ.cc:40: error: 'class OPJFile' has no member named 'Data'
ImportOPJ.cc:49: error: 'class OPJFile' has no member named 'SData'
gmake[2]: *** [ImportOPJ.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/math/labplot/work/LabPlot-1.5.1.5/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/math/labplot/work/LabPlot-1.5.1.5/src'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/math/labplot.


	I reckon it should compile in liborogin that is part of the labplot source (which is suboptimal, really -- a fresh steaming liborigin is right there in the ports tree, but I am not to question the developers' decisions).

>How-To-Repeat:
	

>Fix:
	No fix, but a workaround that works: `pkg_delete -f /var/db/pkg/liborigin-20070529/` before trying to compile LabPlot.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709130237.l8D2bWfv094040>