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

Bug 453174

Summary: sci-visualization/gnuplot does not respect CXX
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Ulrich Müller <ulm>
Severity: normal CC: sci
Priority: Normal Keywords: InVCS, REGRESSION
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2013-01-20 13:52:08 UTC
You receive this bug because this package does not respect my system's CXX ( x86_64-pc-linux-gnu-g++ - /usr/bin/x86_64-pc-linux-gnu-g++ ) and calls directly g++ -/usr/bin/g++
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can
2)inherit toolchain-funcs and use tc-export CXX
3)inherit toolchain-funcs and use emake CXX="$(tc-getCXX)"

c++ -DHAVE_CONFIG_H -I. -I..  -I../term -I../term -DBINDIR=\"/usr/bin\" -DX11_DRIVER_DIR=\"/usr/libexec/gnuplot/4.6\" -DQT_DRIVER_DIR=\"/usr/libexec/gnuplot/4.6\" 
-DGNUPLOT_SHARE_DIR=\"/usr/share/gnuplot/4.6\" -DGNUPLOT_PS_DIR=\"/usr/share/gnuplot/4.6/PostScript\" -DGNUPLOT_JS_DIR=\"/usr/share/gnuplot/4.6/js\" 
-DGNUPLOT_LUA_DIR=\"/usr/share/gnuplot/4.6/lua\" -DCONTACT=\"\" -DHELPFILE=\"/usr/share/gnuplot/4.6/gnuplot.gih\" -DGNUPLOT_X11=\"`echo 
gnuplot_x11 | sed 's,x,x,'`\" -DXAPPLRESDIR=\"/etc/X11/app-defaults/\" -DQTGNUPLOT_DATA_DIR=\"/usr/share/gnuplot/4.6/qt\" -I/usr/include -DQT_SHARED -I/usr/include/qt4 
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSvg    -march=native -O2 -pipe  -c -o qt_term.o `test -f 
'qtterminal/qt_term.cpp' || echo './'`qtterminal/qt_term.cpp
Comment 1 Ulrich Müller gentoo-dev 2013-01-20 14:50:11 UTC
This is a regression from gnuplot 4.4. Can you also report it upstream, please?
Comment 2 Ulrich Müller gentoo-dev 2013-01-20 14:58:06 UTC
Fixed without revbump in gnuplot-4.6.1.