Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201484 - sci-visualization/qtiplot-0.9.2 fails on x86
Summary: sci-visualization/qtiplot-0.9.2 fails on x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Marcus D. Hanwell (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-06 13:59 UTC by Werner Pessenhofer
Modified: 2007-12-11 13:38 UTC (History)
4 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 Werner Pessenhofer 2007-12-06 13:59:06 UTC
emerge snippet:

i686-pc-linux-gnu-g++ -c -pipe -march=prescott -O2 -pipe -fomit-frame-pointer -D_REENTRANT -Wall -W -DSCRIPTING_CONSOLE -DSCRIPTING_DIALOG -DQT_PLUGIN -DSCRIPTING_MUPARSER -DSCRIPTING_PYTHON -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/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include/qt4/QtAssistantClient -I/usr/include/qt4/QtAssistant -I/usr/include/muParser -I/usr/include/qwtplot3d -I/usr/include/qwt5 -I/usr/include/liborigin -I/usr/include/gsl -I/usr/include/python2.5 -I/usr/include -I../tmp/qtiplot -I. -o ../tmp/qtiplot/PythonScript.o src/PythonScript.cpp
src/MatrixModel.h: In constructor 'MatrixModel::MatrixModel(int, int, QObject*)':
src/MatrixModel.h:76: warning: 'MatrixModel::d_matrix' will be initialized after
src/MatrixModel.h:74: warning:   'int MatrixModel::d_rows'
src/MatrixModel.cpp:36: warning:   when initialized here
src/MatrixModel.cpp: In member function 'virtual QVariant MatrixModel::headerData(int, Qt::Orientation, int) const':
src/MatrixModel.cpp:154: warning: control reaches end of non-void function
i686-pc-linux-gnu-g++ -c -pipe -march=prescott -O2 -pipe -fomit-frame-pointer -D_REENTRANT -Wall -W -DSCRIPTING_CONSOLE -DSCRIPTING_DIALOG -DQT_PLUGIN -DSCRIPTING_MUPARSER -DSCRIPTING_PYTHON -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/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include/qt4/QtAssistantClient -I/usr/include/qt4/QtAssistant -I/usr/include/muParser -I/usr/include/qwtplot3d -I/usr/include/qwt5 -I/usr/include/liborigin -I/usr/include/gsl -I/usr/include/python2.5 -I/usr/include -I../tmp/qtiplot -I. -o ../tmp/qtiplot/PythonScripting.o src/PythonScripting.cpp
make[1]: *** No rule to make target `../tmp/qtiplot/sipqticmodule.cpp', needed by `../tmp/qtiplot/sipqticmodule.o'.  Stop.
make[1]: *** Waiting for unfinished jobs....
src/muParserScript.cpp: In member function 'virtual QVariant muParserScript::eval()':
src/muParserScript.cpp:376: warning: 'val' may be used uninitialized in this function
src/PythonScript.cpp: In member function 'virtual QVariant PythonScript::eval()':
src/PythonScript.cpp:200: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/PythonScript.cpp:211: warning: suggest parentheses around assignment used as truth value
src/PythonScripting.cpp:60:23: error: sipAPIqti.h: No such file or directory
src/PythonScripting.cpp: In member function 'bool PythonScripting::setQObject(QObject*, const char*, PyObject*)':
src/PythonScripting.cpp:335: error: 'sipTypeDef' was not declared in this scope
src/PythonScripting.cpp:335: error: 't' was not declared in this scope
src/PythonScripting.cpp:336: error: 'sipModuleAPI_qti' was not declared in this scope
src/PythonScripting.cpp:343: error: 'sipConvertFromInstance' was not declared in this scope
src/PythonScripting.cpp:348: error: 'sipModuleAPI_qti_QtCore' was not declared in this scope
src/PythonScripting.cpp:352: 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.2/work/qtiplot-0.9.2/qtiplot'
make: *** [sub-qtiplot-make_default] Error 2
 * 
 * ERROR: sci-visualization/qtiplot-0.9.2 failed.
 * Call stack:
 *              ebuild.sh, line 1701:  Called dyn_compile
 *              ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *              ebuild.sh, line   44:  Called src_compile
 *   qtiplot-0.9.2.ebuild, line   65:  Called die
 * The specific snippet of code:
 *   	emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sci-visualization/qtiplot-0.9.2/temp/build.log'.
 * 

 * Messages for package sci-libs/gsl-1.10:

 * Current eselected cblas is threaded-atlas
 * To use cblas gsl implementation, you have to issue (as root):
 * 	 eselect cblas set gsl

 * Messages for package sci-visualization/qtiplot-0.9.2:

 * 
 * ERROR: sci-visualization/qtiplot-0.9.2 failed.
 * Call stack:
 *              ebuild.sh, line 1701:  Called dyn_compile
 *              ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *              ebuild.sh, line   44:  Called src_compile
 *   qtiplot-0.9.2.ebuild, line   65:  Called die
 * The specific snippet of code:
 *   	emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sci-visualization/qtiplot-0.9.2/temp/build.log'.
 * 
 * Regenerating GNU info directory index...
 * Processed 216 info files.
localhost qtiplot # eselect -h


Reproducible: Always

Steps to Reproduce:
1. emerge qtiplot-0.9.2
2.
3.

Actual Results:  
emerge failes 


versions:


kermit@localhost ~ $ eix -cI qwt                 
[I] x11-libs/qwt (5.0.2-r1(5)@06/12/07): 2D plotting library for Qt4
[I] x11-libs/qwtplot3d (0.2.7@06/12/07): Qt4/OpenGL-based 3D widget library for C++
Found 2 matches.


kermit@localhost ~ $ eix -cI python
[I] app-admin/python-updater (0.2@24/10/07): Script used to remerge python packages when changing Python version.
[I] dev-lang/python (2.4.4-r6(2.4)@14/11/07 2.5.1-r4(2.5)@06/12/07): Python is an interpreted, interactive, object-oriented programming language.
[I] dev-python/gnome-python (2.20.0(2)@27/11/07): GNOME 2 bindings for Python
[I] dev-python/gnome-python-extras (2.14.2-r1@14/11/07): GNOME 2 Bindings for Python
[I] dev-python/python-cdb (0.32@17/07/07): A Python extension module for cdb
[I] dev-python/python-fchksum (1.7.1@24/10/07): Python module to find the checksum of files
[I] dev-python/wxpython (2.6.4.0(2.6)@30/10/07): A blending of the wxWindows C++ class library with Python
Found 7 matches.


localhost qtiplot # emerge --info
Portage 2.1.3.19 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Genuine Intel(R) CPU T2500 @ 2.00GHz
Timestamp of tree: Thu, 06 Dec 2007 09:30:07 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tugraz.at/pub/mirror/gentoo/ http://gentoo.inode.at"
LINGUAS="en de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-de /usr/portage/local/layman/sunrise /usr/portage/local/layman/emacs /usr/portage/local/layman/science /usr/local/ebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acpi alsa auctex avi bash-completion berkdb bitmap-fonts bluetooth cairo cdparanoia cdr cli cracklib crypt cups dbus divx divx4linux dri dvd dvdr dvdread eds emboss encode esd fam ffmpeg firefox flac foomaticdb fortran fuse gcj gdbm gif gphoto2 gpm gstreamer gtk gtk2 hal iconv ieee1394 imagemagick imap imlib ipv6 irda isdnlog jpeg ldap libg++ lm_sensors mad midi mikmod mime mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly ntfs ogg opengl openmp openssh oss pam pcre pdf perl png ppds pppd python qt3support quicktime readline realmedia reflection scanner sdl session sox spell spl sse sse2 ssl svga tcpd tetex tiff tk truetype truetype-fonts type1 type1-fonts udev unicode usb v4l vcd vorbis wifi win32codecs wmp x86 xine xinerama xml xorg xpm xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2007-12-06 14:51:31 UTC
Hi Werner,

Could you try with lower MAKEOPTS (I tried with -j2 and -j3 successfully).
Comment 2 Werner Pessenhofer 2007-12-06 15:03:14 UTC
Hi Sebastien, 

same result with j2 and j3.
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2007-12-07 11:48:42 UTC
I still can't reproduce it. What is your sip version?
Also, do you have the python use flag set for this package? if yes, you need python-2.5 for scripting.
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2007-12-07 14:21:33 UTC
Hi Werner,

Please try with -j1, i.e. parallel make turned-off completely.

cheers,
Markus
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2007-12-07 16:06:24 UTC
I think I finally reproduced your problems when you have a mixed python-2.4 and python-2.5 system and is not MAKEOPTS related.

Could you run python-updater and see if you hit this problem again?
Comment 6 Dieter Ries 2007-12-08 16:09:03 UTC
Hi,
I had exactly the same problem on amd64 here.
I also had a mixed python env, and after using python-updater now qtiplot compiled fine. Thanks a lot!
Comment 7 Werner Pessenhofer 2007-12-11 13:38:05 UTC
Solved also my problem. 

Thx a lot. I think we can change the state to FIXED.

Best regards

Werner