Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227619 - media-video/smplayer-0.6.0 fails to build without qt3support
Summary: media-video/smplayer-0.6.0 fails to build without qt3support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-16 19:03 UTC by Peter Volkov (RETIRED)
Modified: 2008-08-13 09:31 UTC (History)
1 user (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 2008-06-16 19:03:38 UTC
This is actually copy of my report from stabilization bug #224795, where you could miss my report. 

x86_64-pc-linux-gnu-g++ -c -pipe -O2 -pipe -march=athlon64 -mtune=athlon64
-msse3 -fomit-frame-pointer -Wall -W -D_REENTRANT
-DDATA_PATH=\"/usr/share/smplayer\"
-DDOC_PATH=\"/usr/share/doc/smplayer-0.6.0\"
-DTRANSLATION_PATH=\"/usr/share/smplayer/translations\"
-DCONF_PATH=\"/etc/smplayer\" -DTHEMES_PATH=\"/usr/share/smplayer/themes\"
-DSHORTCUTS_PATH=\"/usr/share/smplayer/shortcuts\" -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++
-I/var/tmp/portage/media-video/smplayer-0.6.0/work/smplayer-0.6.0final/src
-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 -Icorelib
-I.moc -I.ui -o .obj/logwindow.o logwindow.cpp
In file included from logwindow.h:22,
                 from logwindow.cpp:19:
.ui/ui_logwindowbase.h:13:42: error: Qt3Support/Q3MimeSourceFactory: No such
file or directory
make[1]: *** [.obj/logwindow.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-video/smplayer-0.6.0/work/smplayer-0.6.0final/src'
make: *** [src/smplayer] Error 2

This kind of errors should be checked in pkg_setup stage, using 
QT4_BUILT_WITH_USE_CHECK
qt4.eclass variable.


The strange thing is that I found the following in ChangeLog:

  14 May 2008; Ben de Groot <yngwin@gentoo.org> +smplayer-0.6.0.ebuild:
  Version bump to 0.6.0 final release. Removed qt3support checks, as
  qt3support is no longer needed.

But how it's not needed if build still fails without it?
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2008-06-16 19:27:41 UTC
As the upstream developer had said it was no longer needed, I wanted to check with him. Here is his answer:

"It seemed there was some old code in some of the ui files which made the files generated by uic to depend on qt3support. I removed the obsolete lines. So this problem should be fixed now in r1355.

I renamed the Q3Support directory in the Qt includes and now I can tell that smplayer really compiles without it."

As a result I have re-added the check for qt3support for 0.6.0 and 0.6.1.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2008-08-13 05:23:45 UTC
i just hit this w/ smplayer-0.6.1, same error as above.  i had qt-4 completely uninstalled and it pulled in these packages:


[ebuild  N    ] x11-libs/qt-core-4.4.1  USE="glib pch qt3support ssl -debug -doc" 0 kB
[ebuild  N    ] x11-libs/qt-dbus-4.4.1  USE="pch -debug" 0 kB
[ebuild  N    ] x11-libs/qt-script-4.4.1  USE="pch -debug" 0 kB
[ebuild  N    ] x11-libs/qt-gui-4.4.1  USE="dbus glib pch qt3support tiff -accessibility -cups -debug -mng -nas -nis -xinerama" INPUT_DEVICES="-wacom" 0 kB
[ebuild   R   ] media-video/smplayer-0.6.1  LINGUAS="en_US -bg -ca -cs -de -el -es -eu -fi -fr -hu -it -ja -ka -ko -mk -nl -pl -pt_BR -pt_PT -ro -ru -sk -sr -sv -tr -uk -zh_CN -zh_TW" 0 kB


Portage 2.2_rc8 (default/linux/amd64/2008.0/developer, gcc-4.3.2-pre9999, glibc-2.8_p20080602-r0, 2.6.26-gentoo x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-glibc2.2.5
Timestamp of tree: Wed, 13 Aug 2008 04:02:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18.50.0.7
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=core2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=core2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect cvs digest distlocks fixpackages multilib-strict parallel-fetch preserve-libs sandbox sfperms sign splitdebug strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,--as-needed,--hash-style=gnu"
LINGUAS="en en_US"
MAKEOPTS="-j4"
Comment 3 Ben de Groot (RETIRED) gentoo-dev 2008-08-13 09:31:48 UTC
Thanks for reporting, Ryan. It was actually a missing PDEPEND on the qt-qt3support package in the qt-core ebuild, which I fixed now.