Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453174 - sci-visualization/gnuplot does not respect CXX
Summary: sci-visualization/gnuplot does not respect CXX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ulrich Müller
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2013-01-20 13:52 UTC by Agostino Sarubbo
Modified: 2013-03-17 23:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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.