Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 439468 - =net-irc/quassel-0.8.0 build failure
Summary: =net-irc/quassel-0.8.0 build failure
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-24 01:55 UTC by Keshav Kini
Modified: 2012-12-09 22:19 UTC (History)
2 users (show)

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


Attachments
complete build log (build.log,445.43 KB, text/plain)
2012-10-24 01:56 UTC, Keshav Kini
Details
emerge --info '=net-irc/quassel-0.8.0' (emerge-info.log,13.57 KB, text/plain)
2012-10-24 01:56 UTC, Keshav Kini
Details
emerge -pqv '=net-irc/quassel-0.8.0.' (emerge-pqv.log,445 bytes, text/plain)
2012-10-24 01:57 UTC, Keshav Kini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Keshav Kini 2012-10-24 01:55:54 UTC
=net-irc/quassel-0.8.0 fails to build; the end of the output is as follows:

[ 77%] Building CXX object src/qtui/CMakeFiles/mod_qtui.dir/qtuimessageprocessor.cpp.o
cd /var/tmp/portage/net-irc/quassel-0.8.0/work/quassel-0.8.0_build/src/qtui && /usr/bin/x86_64-pc-linux-gnu-g++  -DHAVE_EXECINFO -DQT_CORE_LIB -DHAVE_SSL -DHAVE_DBUS -DHAVE_DBUSMENU -DHAVE_UMASK -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB  -DNDEBUG -march=corei7 -O2 -pipe  -ansi -Wall -Wextra -Wnon-virtual-dtor -fno-strict-aliasing -I/var/tmp/portage/net-irc/quassel-0.8.0/work/quassel-0.8.0/src/common -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/dbusmenu-qt -I/var/tmp/portage/net-irc/quassel-0.8.0/work/quassel-0.8.0/src/client -I/var/tmp/portage/net-irc/quassel-0.8.0/work/quassel-0.8.0/src/qtui -I/var/tmp/portage/net-irc/quassel-0.8.0/work/quassel-0.8.0/src/qtui/settingspages -I/var/tmp/portage/net-irc/quassel-0.8.0/work/quassel-0.8.0/src/uisupport -I/var/tmp/portage/net-irc/quassel-0.8.0/work/quassel-0.8.0_build/src/qtui    -o CMakeFiles/mod_qtui.dir/qtuimessageprocessor.cpp.o -c /var/tmp/portage/net-irc/quassel-0.8.0/work/quassel-0.8.0/src/qtui/qtuimessageprocessor.cpp
/var/tmp/portage/net-irc/quassel-0.8.0/work/quassel-0.8.0/src/qtui/qtuiapplication.cpp: In member function ‘virtual void QtUiApplication::saveState(QSessionManager&)’:
/var/tmp/portage/net-irc/quassel-0.8.0/work/quassel-0.8.0/src/qtui/qtuiapplication.cpp:143:28: error: invalid use of incomplete type ‘struct QSessionManager’
/usr/include/qt4/QtGui/qapplication.h:72:7: error: forward declaration of ‘struct QSessionManager’
/var/tmp/portage/net-irc/quassel-0.8.0/work/quassel-0.8.0/src/qtui/qtuiapplication.cpp: In member function ‘void QtUiApplication::resumeSessionIfPossible()’:
/var/tmp/portage/net-irc/quassel-0.8.0/work/quassel-0.8.0/src/qtui/qtuiapplication.cpp:150:24: error: ‘isSessionRestored’ was not declared in this scope
/var/tmp/portage/net-irc/quassel-0.8.0/work/quassel-0.8.0/src/qtui/qtuiapplication.cpp:151:68: error: ‘sessionId’ was not declared in this scope
make[2]: *** [src/qtui/CMakeFiles/mod_qtui.dir/qtuiapplication.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/net-irc/quassel-0.8.0/work/quassel-0.8.0_build'
make[1]: *** [src/qtui/CMakeFiles/mod_qtui.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-irc/quassel-0.8.0/work/quassel-0.8.0_build'
make: *** [all] Error 2
 * ERROR: net-irc/quassel-0.8.0 failed (compile phase):
 *   emake failed


Reproducible: Always

Steps to Reproduce:
1. `emerge quassel`
Actual Results:  
Build fails

Expected Results:  
Build succeeds

I have these Qt libraries installed (irrelevant entries removed from `eix` output):

[2] fs@erdos ~ $ eix -cI qt
[I] x11-libs/qt-core (4.8.3-r1(4)@10/23/2012): The Qt toolkit is a comprehensive C++ application development framework
[I] x11-libs/qt-dbus (4.8.3(4)@10/23/2012): The DBus module for the Qt toolkit
[I] x11-libs/qt-gui (4.8.3-r1(4)@10/23/2012): The GUI module for the Qt toolkit
[I] x11-libs/qt-script (4.8.3(4)@10/23/2012): The ECMAScript module for the Qt toolkit
[I] x11-libs/qt-svg (4.8.3(4)@10/23/2012): The SVG module for the Qt toolkit
Comment 1 Keshav Kini 2012-10-24 01:56:26 UTC
Created attachment 327264 [details]
complete build log
Comment 2 Keshav Kini 2012-10-24 01:56:51 UTC
Created attachment 327266 [details]
emerge --info '=net-irc/quassel-0.8.0'
Comment 3 Keshav Kini 2012-10-24 01:57:08 UTC
Created attachment 327268 [details]
emerge -pqv '=net-irc/quassel-0.8.0.'
Comment 4 Patrick Lauer gentoo-dev 2012-10-24 02:34:23 UTC
Funtoo - we can't support randomly changed gentoo forks. Please use the proper funtoo channels for bug reporting.
Comment 5 Keshav Kini 2012-10-24 04:51:10 UTC
(In reply to comment #4)
> Funtoo - we can't support randomly changed gentoo forks. Please use the
> proper funtoo channels for bug reporting.

I did verify that all the packages I mentioned are unchanged between funtoo and gentoo, and the error message seems to point to an oversight in the dependencies listed in the Quassel ebuild, but fair enough. Indeed it is possible that totally unconnected packages which Funtoo does change might have subtly altered the dependency graph in some way to cause this. Sorry for the noise, I'll take this to the funtoo bug tracker.

Thanks!
Comment 6 Matthew Walker 2012-10-26 02:40:32 UTC
I just experienced this exact build failure on a Gentoo install.

The solution is simple: Enable the qt3support USE flag. The ebuild needs to require it.

I believe this bug should be re-opened, and the requirement added to the ebuild.
Comment 7 Keshav Kini 2012-10-26 04:09:38 UTC
(In reply to comment #6)
> The solution is simple: Enable the qt3support USE flag. The ebuild needs to
> require it.

I solved this without enabling the qt3support useflag, just by installing qt-meta, FWIW.
Comment 8 Pariksheet Nanda 2012-12-09 22:19:43 UTC
(In reply to comment #6)
> I just experienced this exact build failure on a Gentoo install.
> 
> The solution is simple: Enable the qt3support USE flag. The ebuild needs to
> require it.
> 

On Gentoo as well, and enabling qt3support globally and updating world with newuse, and revdep-rebuild did not help.  Quassel still fails to build.

There are a lot of packages that qt-meta installs, and I would prefer to use the right one since I'm on a non-KDE system:

# emerge -pv qt-meta

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

Calculating dependencies... done!
[ebuild  N     ] x11-libs/qt-meta-4.8:4  USE="dbus opengl qt3support -kde -openvg" 0 kB
[ebuild  N     ]  x11-libs/qt-phonon-4.8.2:4  USE="dbus exceptions qt3support (-aqua) (-c++0x) -debug -pch (-qpa)" 0 kB
[ebuild  N     ]  x11-libs/qt-assistant-4.8.2-r1:4  USE="exceptions glib qt3support (-aqua) (-c++0x) -compat -debug -doc -pch (-qpa) -trace -webkit" 0 kB
[ebuild  N     ]  x11-libs/qt-webkit-4.8.2:4  USE="exceptions gstreamer jit (-aqua) -debug -icu -pch (-qpa)" 0 kB
[ebuild  N     ]  x11-libs/qt-declarative-4.8.2:4  USE="accessibility exceptions qt3support (-aqua) (-c++0x) -debug -pch (-qpa) -webkit" 0 kB
[ebuild  N     ]  x11-libs/qt-multimedia-4.8.2:4  USE="alsa exceptions (-aqua) (-c++0x) -debug -pch (-qpa)" 0 kB
[ebuild  N     ]  x11-libs/qt-opengl-4.8.2:4  USE="exceptions qt3support (-aqua) (-c++0x) -debug -egl -pch (-qpa)" 0 kB
[ebuild  N     ]  x11-libs/qt-svg-4.8.2:4  USE="accessibility exceptions (-aqua) (-c++0x) -debug -pch (-qpa)" 0 kB
[nomerge       ] x11-libs/qt-phonon-4.8.2:4  USE="dbus exceptions qt3support (-aqua) (-c++0x) -debug -pch (-qpa)" 
[ebuild  N     ]  media-plugins/gst-plugins-meta-0.10-r7:0.10  USE="X a52 aac alsa dts dvd flac mp3 mpeg ogg vorbis xv -dv -dvb -ffmpeg -http -lame -libvisual -mms -musepack -oss -pulseaudio -taglib -theora -v4l -vcd -vpx -wavpack" 0 kB
[ebuild  N     ]   media-plugins/gst-plugins-resindvd-0.10.22:0.10  3,457 kB
[ebuild  N     ]   media-plugins/gst-plugins-flac-0.10.30:0.10  3,283 kB
[ebuild  N     ]   media-plugins/gst-plugins-mad-0.10.18:0.10  1,046 kB
[ebuild  N     ]   media-plugins/gst-plugins-vorbis-0.10.35:0.10  0 kB
[ebuild  N     ]   media-plugins/gst-plugins-a52dec-0.10.18:0.10  0 kB
[ebuild  N     ]   media-plugins/gst-plugins-dts-0.10.22:0.10  USE="orc" 0 kB
[ebuild  N     ]   media-plugins/gst-plugins-ogg-0.10.35:0.10  0 kB
[ebuild  N     ]   media-plugins/gst-plugins-dvdread-0.10.18:0.10  0 kB
[ebuild  N     ]   media-plugins/gst-plugins-mpeg2dec-0.10.18:0.10  0 kB
[ebuild  N     ]   media-plugins/gst-plugins-xvideo-0.10.35:0.10  0 kB
[ebuild  N     ]   media-plugins/gst-plugins-faad-0.10.22:0.10  0 kB
[ebuild  N     ]   media-plugins/gst-plugins-x-0.10.35:0.10  0 kB
[nomerge       ] media-plugins/gst-plugins-resindvd-0.10.22:0.10 
[ebuild  N     ]  media-libs/gst-plugins-bad-0.10.22:0.10  USE="nls orc" 0 kB
[nomerge       ] media-plugins/gst-plugins-flac-0.10.30:0.10 
[ebuild  N     ]  media-libs/gst-plugins-good-0.10.30:0.10  USE="nls orc" 0 kB
[nomerge       ] media-plugins/gst-plugins-mad-0.10.18:0.10 
[ebuild  N     ]  media-libs/gst-plugins-ugly-0.10.18:0.10  USE="nls" 0 kB
[nomerge       ] xfce-base/xfce4-meta-4.10  USE="svg -minimal" 
[nomerge       ]  xfce-base/xfce4-settings-4.10.0  USE="libnotify xklavier -debug -libcanberra" 
[nomerge       ]   x11-libs/libxklavier-5.2.1  USE="introspection -doc" 
[ebuild     U  ]    dev-libs/libxml2-2.8.0-r3:2 [2.8.0-r2:2] USE="ipv6 python readline -debug -doc -examples -icu* -lzma -static-libs {-test}" 0 kB
[nomerge       ] media-plugins/gst-plugins-mpeg2dec-0.10.18:0.10 
[ebuild  N     ]  media-libs/libmpeg2-0.5.1  USE="X sdl" 513 kB
[nomerge       ] x11-libs/qt-meta-4.8:4  USE="dbus opengl qt3support -kde -openvg" 
[ebuild  N     ]  x11-libs/qt-test-4.8.2:4  USE="exceptions (-aqua) (-c++0x) -debug -pch (-qpa)" 0 kB
[ebuild  N     ]  x11-libs/qt-xmlpatterns-4.8.2:4  USE="(-aqua) (-c++0x) -debug -pch (-qpa)" 0 kB
[nomerge       ] media-plugins/gst-plugins-faad-0.10.22:0.10 
[ebuild  N     ]  media-libs/faad2-2.7-r2  USE="-digitalradio -static-libs" 1,111 kB
[nomerge       ] media-plugins/gst-plugins-dts-0.10.22:0.10  USE="orc" 
[ebuild  N     ]  media-libs/libdca-0.0.5-r2  USE="-debug -oss -static-libs" 388 kB
[nomerge       ] media-plugins/gst-plugins-a52dec-0.10.18:0.10 
[ebuild  N     ]  media-libs/a52dec-0.7.4-r6  USE="-djbfft -oss -static-libs" 236 kB
[nomerge       ] media-plugins/gst-plugins-mad-0.10.18:0.10 
[ebuild  N     ]  media-libs/libmad-0.15.1b-r7  USE="-debug -static-libs" 491 kB
[nomerge       ] media-plugins/gst-plugins-resindvd-0.10.22:0.10 
[ebuild  N     ]  media-libs/libdvdnav-4.2.0  109 kB
[ebuild  N     ]   media-libs/libdvdread-4.2.0  USE="css" 96 kB
[ebuild  N     ]    media-libs/libdvdcss-1.2.12:1.2  USE="-doc -static-libs" 324 kB
[nomerge       ] media-plugins/gst-plugins-mad-0.10.18:0.10 
[ebuild  N     ]  media-libs/libid3tag-0.15.1b-r2  USE="-debug -static-libs" 331 kB

Total: 36 packages (1 upgrade, 35 new), Size of downloads: 11,380 kB

The following USE changes are necessary to proceed:
#required by x11-libs/qt-webkit-4.8.2[gstreamer], required by x11-libs/qt-meta-4.8, required by qt-meta (argument)
=dev-libs/libxml2-2.8.0-r3 -icu

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.