Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531356 - sci-visualization/qtiplot-0.9.8.9-r2 - src/core/ApplicationWindow.cpp:178:28: fatal error: QAssistantClient: No such file or directory
Summary: sci-visualization/qtiplot-0.9.8.9-r2 - src/core/ApplicationWindow.cpp:178:28:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-01 16:27 UTC by Pavel
Modified: 2015-01-25 18:22 UTC (History)
8 users (show)

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


Attachments
complete build log (build.log,152.56 KB, text/plain)
2014-12-01 16:32 UTC, Pavel
Details
A patch to get read of QAssistant (qtiplot-0.9.8.9-assistant.patch,3.27 KB, patch)
2015-01-13 09:02 UTC, Vadim Dyadkin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel 2014-12-01 16:27:00 UTC
I tried to install dev-qt/assistant but qtiplot complie phase still fails with error:

x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -D_REENTRANT -Wall -W -DSCRIPTING_CONSOLE -DQTIPLOT_PRO -DSVN_REVISION="\"\"" -DQT_PLUGIN -DTRANSLATIONS_PATH=\"/usr/share/qtiplot/translations\" -DMANUAL_PATH=\"/usr/share/doc/qtiplot/html\" -DSCRIPTING_MUPARSER -DGL2PS_HAVE_LIBPNG -DTEX_OUTPUT -DHAVE_ALGLIB -DHAVE_TAMUANOVA -DNO_LOG_FILE -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++-64 -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/qwt/src -I../3rdparty/qwtplot3d/include -Iicons -Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/excel -Isrc/lib/include -Isrc/lib/3rdparty/qtcolorpicker/src -Isrc/plot2D -Isrc/plot2D/dialogs -Isrc/plot3D -Isrc/matrix -Isrc/table -Isrc/scripting -I/usr/include/tamu_anova -Isrc/plugins/exportEMF -Isrc/plugins/exportEMF/3rdparty/EmfEngine/src -Isrc/plugins/OriginPlugin -Isrc/plugins/OriginPlugin/liborigin1 -Isrc/plugins/OriginPlugin/liborigin2 -Isrc/plugins/OriginPlugin/tree.phi-sci.com -I../3rdparty/boost -I/usr/X11R6/include -I/var/tmp/portage/sci-visualization/qtiplot-0.9.8.9-r2/work/qtiplot-0.9.8.9/tmp/qtiplot -o ../tmp/qtiplot/ApplicationWindow.o src/core/ApplicationWindow.cpp
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -D_REENTRANT -Wall -W -DSCRIPTING_CONSOLE -DQTIPLOT_PRO -DSVN_REVISION="\"\"" -DQT_PLUGIN -DTRANSLATIONS_PATH=\"/usr/share/qtiplot/translations\" -DMANUAL_PATH=\"/usr/share/doc/qtiplot/html\" -DSCRIPTING_MUPARSER -DGL2PS_HAVE_LIBPNG -DTEX_OUTPUT -DHAVE_ALGLIB -DHAVE_TAMUANOVA -DNO_LOG_FILE -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++-64 -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/qwt/src -I../3rdparty/qwtplot3d/include -Iicons -Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/excel -Isrc/lib/include -Isrc/lib/3rdparty/qtcolorpicker/src -Isrc/plot2D -Isrc/plot2D/dialogs -Isrc/plot3D -Isrc/matrix -Isrc/table -Isrc/scripting -I/usr/include/tamu_anova -Isrc/plugins/exportEMF -Isrc/plugins/exportEMF/3rdparty/EmfEngine/src -Isrc/plugins/OriginPlugin -Isrc/plugins/OriginPlugin/liborigin1 -Isrc/plugins/OriginPlugin/liborigin2 -Isrc/plugins/OriginPlugin/tree.phi-sci.com -I../3rdparty/boost -I/usr/X11R6/include -I/var/tmp/portage/sci-visualization/qtiplot-0.9.8.9-r2/work/qtiplot-0.9.8.9/tmp/qtiplot -o ../tmp/qtiplot/ConfigDialog.o src/core/ConfigDialog.cpp
src/core/ApplicationWindow.cpp:178:28: fatal error: QAssistantClient: No such file or directory
 #include <QAssistantClient>
                            ^
compilation terminated.
Makefile:1749: recipe for target '../tmp/qtiplot/ApplicationWindow.o' failed
make[1]: *** [../tmp/qtiplot/ApplicationWindow.o] Error 1
make[1]: *** Waiting for unfinished jobs....
src/core/ConfigDialog.cpp: In member function ‘void ConfigDialog::setColorsList(const QList<QColor>&, const QStringList&)’:
src/core/ConfigDialog.cpp:1393:35: warning: converting ‘false’ to pointer type for argument 1 of ‘QFlags<Enum>::QFlags(QFlags<Enum>::Zero) [with Enum = Qt::ItemFlag; QFlags<Enum>::Zero = void**]’ [-Wconversion-null]
   it->setFlags(!Qt::ItemIsEditable);
                                   ^
make[1]: Leaving directory '/var/tmp/portage/sci-visualization/qtiplot-0.9.8.9-r2/work/qtiplot-0.9.8.9/qtiplot'
Makefile:224: recipe for target 'sub-qtiplot-qtiplot-pro-make_default-ordered' failed
make: *** [sub-qtiplot-qtiplot-pro-make_default-ordered] Error 2
 * ERROR: sci-visualization/qtiplot-0.9.8.9-r2::gentoo failed (compile phase):
 *   emake failed


Reproducible: Always




Portage 2.2.14 (python 2.7.8-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.20, 3.17.1-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.17.1-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7_CPU_M_620_@_2.67GHz-with-gentoo-2.2
KiB Mem:     3910008 total,   1316144 free
KiB Swap:    4192928 total,   3797976 free
Timestamp of tree: Mon, 01 Dec 2014 15:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.3_p30-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r3
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.6.4, 4.7.4, 4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3-r2
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo vmware my_local_overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /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"
CXXFLAGS="-march=native -O2 -pipe"                                                             
DISTDIR="/usr/portage/distfiles"                                                               
FCFLAGS="-O2 -pipe"                                                                            
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"                      
FFLAGS="-openmp -mp -I/opt/vni/imsl/fnl600/lnxin100e64/include"                                
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"                                                                                            
LANG="en_US.UTF-8"                                                                             
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                              
MAKEOPTS="-j4"                                                                                 
PKGDIR="/usr/portage/packages"                                                                 
PORTAGE_CONFIGROOT="/"                                                                         
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emacs emboss enca encode exif fam firefox flac fontconfig fortran gdbm gif glamor gpm gsl gtk hdf5 iconv jpeg kde kipi lapack latex lcms libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline samba sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis wavpack wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3 3.4"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pavel 2014-12-01 16:32:18 UTC
Created attachment 390724 [details]
complete build log
Comment 2 Ivan Savyhin 2014-12-20 21:30:39 UTC
Seems to be related to that Bug 529398 due to absence compat headers which must be installed by qthelp package
Comment 3 Juergen Rose 2014-12-25 06:29:42 UTC
I have the same issue. And qthelp is installed with compat USE flag:

src/core/ApplicationWindow.cpp:178:28: fatal error: QAssistantClient: No such file or directory
 #include <QAssistantClient>
                            ^
compilation terminated.
Makefile:1912: recipe for target '../tmp/qtiplot/ApplicationWindow.o' failed
make[1]: *** [../tmp/qtiplot/ApplicationWindow.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/sci-visualization/qtiplot-0.9.8.9-r2/work/qtiplot-0.9.8.9/qtiplot'
Makefile:224: recipe for target 'sub-qtiplot-qtiplot-pro-make_default-ordered' failed
make: *** [sub-qtiplot-qtiplot-pro-make_default-ordered] Error 2
 * ERROR: sci-visualization/qtiplot-0.9.8.9-r2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sci-visualization/qtiplot-0.9.8.9-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-visualization/qtiplot-0.9.8.9-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-visualization/qtiplot-0.9.8.9-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-visualization/qtiplot-0.9.8.9-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-visualization/qtiplot-0.9.8.9-r2/work/qtiplot-0.9.8.9'
 * S: '/var/tmp/portage/sci-visualization/qtiplot-0.9.8.9-r2/work/qtiplot-0.9.8.9'

>>> Failed to emerge sci-visualization/qtiplot-0.9.8.9-r2, Log file:

>>>  '/var/tmp/portage/sci-visualization/qtiplot-0.9.8.9-r2/temp/build.log'
root@caiman:/usr/local/portage/sci-visualization/paraview(59)# emerge -pvD qthelp

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-qt/qthelp-4.8.6-r1:4  USE="compat doc exceptions (-aqua) -debug -pch" ABI_X86="(64) -32 (-x32)" 0 KiB
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2015-01-06 09:16:30 UTC
@qt, why is this header missing?
Comment 5 Vadim Dyadkin 2015-01-13 09:02:11 UTC
Created attachment 393824 [details, diff]
A patch to get read of QAssistant

This stupid patch helps to compile qtiplot and it works after
Comment 6 Juergen Rose 2015-01-24 16:39:01 UTC
(In reply to Vadim Dyadkin from comment #5)
> Created attachment 393824 [details, diff] [details, diff]
> A patch to get read of QAssistant
> 
> This stupid patch helps to compile qtiplot and it works after

Thanks, the patch worked here.
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2015-01-24 18:38:30 UTC
(In reply to Vadim Dyadkin from comment #5)
> Created attachment 393824 [details, diff] [details, diff]
> A patch to get read of QAssistant
> 
> This stupid patch helps to compile qtiplot and it works after

Is the functionality still the same afterwards?
Comment 8 Vadim Dyadkin 2015-01-24 19:10:36 UTC
(In reply to Justin Lecher from comment #7)
> Is the functionality still the same afterwards?

I do not see any difference. It seems that the QAssistant class deals with a help facility, thus, sub-items of the help menu may not work properly. But I consider it as the least functionality of Qtiplot.
Comment 9 Justin Lecher (RETIRED) gentoo-dev 2015-01-25 15:56:36 UTC
(In reply to Vadim Dyadkin from comment #8)
> I do not see any difference. It seems that the QAssistant class deals with a
> help facility, thus, sub-items of the help menu may not work properly. But I
> consider it as the least functionality of Qtiplot.

We won't break any functionality of qtiplot just because the qthelp ebuild is broken. that needs to be fixed instead.
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2015-01-25 18:22:59 UTC
*qthelp-4.8.6-r2 (25 Jan 2015)
+
+  25 Jan 2015; Justin Lecher <jlec@gentoo.org> +qthelp-4.8.6-r2.ebuild,
+  +files/qthelp-4.8.6-fix-compat.patch, metadata.xml:
+  Install compat headers
+