Bug 47973 - kvisualboyadvance requires Qt Designer 3.2, but the ebuild doesn't reflect this
Bug#: 47973 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: CLOSED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: frepe@bredband.net
Component: Games
URL: 
Summary: kvisualboyadvance requires Qt Designer 3.2, but the ebuild doesn't reflect this
Keywords:  
Status Whiteboard: 
Opened: 2004-04-15 14:36 0000
Description:   Opened: 2004-04-15 14:36 0000
When I try to emerge kvisualboyadvance, I an error about Qt Designer. Here are
the last lines of the output:

Making all in src
make[2]: Entering directory
`/var/tmp/portage/kvisualboyadvance-0.3.1/work/kvisualboyadvance-0.3.1/src'
/usr/qt/3/bin/uic -L /usr/kde/3.1/lib/kde3/plugins/designer -nounload -o
kvisualboyadvancedlg.h ./kvisualboyadvancedlg.ui
/usr/qt/3/bin/moc ./kvisualboyadvance.h -o kvisualboyadvance.moc
uic: File generated with too recent version of Qt Designer (3.2 vs. 3.1.2)
make[2]: *** [kvisualboyadvancedlg.h] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kvisualboyadvance-0.3.1/work/kvisualboyadvance-0.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kvisualboyadvance-0.3.1/work/kvisualboyadvance-0.3.1'
make: *** [all] Error 2

!!! ERROR: games-emulation/kvisualboyadvance-0.3.1 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make




Reproducible: Always
Steps to Reproduce:
1. Find a Gentoo box with KDE 3.1.2, it should have Qt Designer version 3.1.2
installed.
2. Log in as root
3. type "emerge kvisualboyadvance"

Actual Results:  
kvisualboyadvance didn't build properly.

Expected Results:  
It should have built kvisualboyadvance and installed it.

I downloaded the pristine sources and tried to compile them; same error. It
seems the original author distributes the sources with a generated file. The
should probably change the build procedure to have the file generated during
the
build, so that you can build this package regardless of which version of KDE
(and especially Qt Designer) the user has installed.

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2004-04-15 15:18:16 0000 -------
actually is qt 3.2 needed, not qtdesigner.

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2004-04-15 15:19:14 0000 -------
Created an attachment (id=29372) [details]
kvisualboyadvance-0.3.1.ebuild

------- Comment #3 From Mr. Bones. 2004-04-15 15:48:41 0000 -------
Fixed in CVS.  Thanks for the bug report.

------- Comment #4 From Fredrik Persson 2004-04-16 14:47:08 0000 -------
It still doesn't build. This is what happened:

I did 'emerge sync' a few hours ago, and then did 'emerge kvisualboyadvance'. This time it required Qt 3.3.0-r1, so that was built and installed first. Then portage tried to build kvisualboyadvance, but this time it wont even get through the 'configure' phase. It ends like this:

/... lots of 'configure'-output .../
checking for KDE... libraries /usr/kde/3.1/lib, headers /usr/kde/3.1/include
checking if UIC has KDE plugins available... no
configure: error: you need to install kdelibs first.

!!! ERROR: games-emulation/kvisualboyadvance-0.3.1 failed.
!!! Function kde_src_compile, Line 117, Exitcode 1
!!! died running ./configure, kde_src_compile:configure

So kvisualboyadvance still doesn't build.

(But that's not the worst part. The worst part is that this completely changed the way my desktop looks. It switched the style, and the icons doesn't match this so things look really crappy... this problem isn't part of the bug per se, of course.)

------- Comment #5 From Caleb Tennis 2004-05-20 17:53:45 0000 -------
your latest problem isn't related to this bug - just re-emerge kdelibs to fix
your style issue.

------- Comment #6 From Fredrik Persson 2004-07-26 16:15:15 0000 -------
kvisualboyadvance builds correctly now.