Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299696 - sci-visualization/qtiplot-0.9.7.10 fails to build with USE=-python
Summary: sci-visualization/qtiplot-0.9.7.10 fails to build with USE=-python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-05 08:13 UTC by Peter Volkov (RETIRED)
Modified: 2010-01-05 11:08 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 Peter Volkov (RETIRED) gentoo-dev 2010-01-05 08:13:54 UTC
i686-pc-linux-gnu-g++ -c -pipe -O2 -march=i686 -pipe -mtune=pentium3 -D_REENTRANT -Wall -W -DSCRIPTING_CONSOLE -DSCRIPTING_DIALOG -DQT_PLUGIN -DTRANSLATIONS_PATH=\"/usr/share/qtiplot/translations\" -DSCRIPTING_MUPARSER -DSCRIPTING_PYTHON -DPYTHON_CONFIG_PATH=\"/usr/lib/python2.6/site-packages\" -DGL2PS_HAVE_LIBPNG -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include/qt4/QtAssistantClient -I/usr/include/qt4/QtAssistant -I../3rdparty/qwtplot3d/include -I../3rdparty/zlib -I/usr/include -I../3rdparty/qwt/src -I/usr/include/boost-1_35/boost -I/usr/include/liborigin2 -Iicons -Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/lib/include -Isrc/lib/3rdparty/qtcolorpicker/src -Isrc/plot2D -Isrc/plot2D/dialogs -Isrc/plot3D -Isrc/matrix -Isrc/origin -Isrc/table -Isrc/scripting -I/usr/include -I/usr/include/python2.6 -I/usr/libpng/ -I/usr/include -I/usr/X11R6/include -I/var/tmp/portage/sci-visualization/qtiplot-0.9.7.10/work/qtiplot-0.9.7.10/tmp/qtiplot -o ../tmp/qtiplot/PythonScripting.o src/scripting/PythonScripting.cpp
src/scripting/PythonScripting.cpp:61:23: error: sipAPIqti.h: No such file or directory
src/scripting/PythonScripting.cpp: In member function 'QString PythonScripting::toString(PyObject*, bool)':
src/scripting/PythonScripting.cpp:71: warning: suggest explicit braces to avoid ambiguous 'else'
src/scripting/PythonScripting.cpp: In member function 'bool PythonScripting::setQObject(QObject*, const char*, PyObject*)':
src/scripting/PythonScripting.cpp:338: error: 'sipWrapperType' was not declared in this scope
src/scripting/PythonScripting.cpp:338: error: 'klass' was not declared in this scope
src/scripting/PythonScripting.cpp:338: error: 'sipFindClass' was not declared in this scope
src/scripting/PythonScripting.cpp:340: error: 'sipConvertFromInstance' was not declared in this scope
make[1]: *** [../tmp/qtiplot/PythonScripting.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-visualization/qtiplot-0.9.7.10/work/qtiplot-0.9.7.10/qtiplot'
make: *** [sub-qtiplot-make_default] Error 2


 # emerge --info sci-visualization/qtiplot
Portage 2.2_rc61 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.27-openvz-briullov.1-r4 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.27-openvz-briullov.1-r4-i686-Intel-R-_Xeon-R-_CPU_E5310_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 04 Jan 2010 22:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -mtune=pentium3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe -mtune=pentium3"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests buildpkg ccache collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,--as-needed,--hash-style=gnu"
LINGUAS="en ru en_GB en_US"
MAKEOPTS="-j8"
PKGDIR="/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amr bash-completion bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cleartype cli consolekit cracklib crypt cups cxx dbus dga dirac djvu dri dvi eds encode exif faac faad fam ffmpeg flac fontconfig fortran gif gnome gnome-keyring gphoto2 gs gsm gstreamer gtk hal iconv id3tag imagemagick inotify ipv6 jbig jpeg jpeg2k laptop latex lcms libnotify libsamplerate mad matroska midi mikmod mmx mng modplug modules mp2 mp3 mpeg mtp mudflap nautilus ncurses network nls nptl nptlonly nsplugin ogg opengl openmp pam pango parport pcre pdf plotutils png policykit ppds pppd qt3support raw readline reflection schroedinger session sndfile spell spl sse sse2 ssl startup-notification svg sysfs taglib theora threads tiff timidity truetype tta unicode usb vorbis wavpack wma wmf wxwindows x264 x86 xmp xorg xpm xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev wacom synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru en_GB en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa radeon intel sis" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sci-visualization/qtiplot-0.9.7.7-r1 was built with the following:
USE="-bindist -doc -python" LINGUAS="ru -de -es -fr -ja -sv"
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-01-05 11:08:54 UTC
+  05 Jan 2010; Samuli Suominen <ssuominen@gentoo.org>
+  qtiplot-0.9.7.10.ebuild:
+  Remove USE="python" since it doesn't compile without wrt #299696, thanks
+  to Peter Volkov for reporting.

If you want it optional, feel free to provide patches.