Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32986 - Kdevelop: kdevelop-3.0.0_beta1.ebuild should depend on >=qt-3.2
Summary: Kdevelop: kdevelop-3.0.0_beta1.ebuild should depend on >=qt-3.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-07 21:16 UTC by David Grant
Modified: 2003-11-17 12:52 UTC (History)
0 users

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 David Grant 2003-11-07 21:16:15 UTC
This dependancy is needed, and currently there is no dependancy that I can see
for qt.  I assume that "need kde 3" means that qt-3 is required, but
/usr/qt/3/bin/uic barfs when it tries to compile a *.ui file created with a
newer version of qt.

Reproducible: Always
Steps to Reproduce:
1. Install qt-3.1.2-r4 ebuild and remove any more recent version
2. Try to install kdevelop-3.0.0_beta1.ebuild

Actual Results:  
/usr/qt/3/bin/uic -L /usr/kde/3.1/lib/kde3/plugins/designer -nounload -o
bookmarks_settings_base.h ./bookmarks_settings_base.ui
uic: File generated with too recent version of Qt Designer (3.2 vs. 3.1.2)
make[3]: *** [bookmarks_settings_base.h] Error 1


Expected Results:  
No error should have occurred

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb
gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga tcltk
mysql postgres X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk qt
kde motif opengl mozilla cdr 3dnow apache2 artswrappersuid atlas curl dedicated
emacs fbcon gd gtk2 imap java javascript joystick mbox mcal mmx mozcalendar
mozp3p mozsvg mpi offensive pda pic plotutils ppds samba sasl tiff type1 usb v4l
wxwindows xvid -gnome -mikmod -esd"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-11-10 07:47:19 UTC
This is just an error in the beta packaging that didn't get caught - kdevelop
should be compilable against qt's down to 3.0.4.

Comment 2 Douglas Russell (RETIRED) gentoo-dev 2003-11-15 14:03:12 UTC
The ebuild is still failing against <=qt-3.1.2-r4, is this going to be fixed upstream or what?

Puggy
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2003-11-15 19:37:04 UTC
It has been fixed upstream.  It will be fixed in Gentoo when the next beta of kde is released.
Comment 4 David Grant 2003-11-17 10:31:20 UTC
So why don't you add a dependancy on qt-3.2.  Otherwise this ebuild just doesn't work.  So the dependancy should be added, or the ebuild should be pulled out of CVS.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2003-11-17 10:46:50 UTC
Because it's not an explicit dependency, and some people may elect to patch the file by hand instead if they don't want to install Qt 3.2 at this point.  The best solution would be to create a patch that fixes the version of the UI file and include it in the ebuild.  Or just wait until the next beta is released.

Since the package is masked, it's expected there may be troubles with it. Since they're beta packages they're bound to be a little buggy.  That's why they're masked.
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2003-11-17 10:47:52 UTC
And of course my foot goes in my mouth as it's NOT masked.  I am masking it now.
Comment 7 David Grant 2003-11-17 10:54:11 UTC
I understand what you're trying to say, but still IMHO, the ebuild and the upstream tarball as it stands still depends on qt-3.2, whether or not it should or not.   I tried installing with the qt ebuild version previous to 3.2 and I got the error, but upgrading to qt-3.2 seemed to fix the problem.  So it is a fact that the ebuild it broken as it is missing a dependancy.  I don't think any of the ~x86 ebuilds should be broken.  They can be buggy, but not broken.  If people really don't want qt-3.2 then they won't install kdevelop-3.0.0-beta1 since they'll notice it depends on qt-3.2.
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2003-11-17 11:06:44 UTC
How about I do you one better and just fix it by patching the source via the ebuild so that compilation against qt 3.1 works?

Done and done. :)
Comment 9 David Grant 2003-11-17 12:16:03 UTC
This was always option #1, I thought everyone was as lazy as me.  Thanks.
Comment 10 Caleb Tennis (RETIRED) gentoo-dev 2003-11-17 12:52:10 UTC
I am.  But the good news is that it's fixed now.