First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 97535
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Qt Bug Alias <qt@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Caleb Tennis <caleb@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 97535 depends on: 99808 Show dependency tree
Show dependency graph
Bug 97535 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-06-30 13:24 0000
An ebuild/eclass which directly calls Qt3's 'qmake' now needs to specify which  
one to call, since the qmake provided by Qt4 won't necessarily work in place.   
The fix is simple, replace the call to qmake in the ebuild with:  

$QTDIR/qmake (or /usr/qt/3/bin/qmake, if you're so inclined)  

To verify the proper qmake is called (Qt4's version resides in /usr/bin, and 
Qt 4 doesn't use the QTDIR environment variable).  QTDIR should be set via 
env.d, or if you inherit the qt.eclass/kde-functions.eclass.  

Offending ebuilds/eclasses are below: 

app-dicts/qvortaro/qvortaro-0.3.0.ebuild:       qmake || die "qmake failed" 
app-editors/cute/cute-0.2.8.ebuild:     qmake -o Makefile cute.pro 
app-editors/cute/cute-0.2.9-r1.ebuild:  qmake -o Makefile cute.pro 
app-editors/cute/cute-0.2.9.ebuild:     qmake -o Makefile cute.pro 
app-i18n/qimhangul/qimhangul-0.0.1.ebuild:      qmake -makefile || die "qmake 
failed" 
app-misc/chesstask/chesstask-2.0.ebuild:        qmake -o Makefile 
ChessTask.pro || die 
app-office/texmaker/texmaker-1.11.ebuild:       qmake -unix texmaker.pro || 
die "qmake failed" 
app-office/indeview/indeview-0.6.6.ebuild:      qmake || die "qmake failed" 
app-office/indeview/indeview-0.6.5.ebuild:      qmake || die "qmake failed" 
dev-python/qscintilla/qscintilla-1.4-r1.ebuild: qmake -o Makefile 
qscintilla.pro 
dev-python/qscintilla/qscintilla-1.61.ebuild:   qmake -o Makefile 
qscintilla.pro 
dev-python/qscintilla/qscintilla-1.5.1.ebuild:  qmake -o Makefile 
qscintilla.pro 
dev-python/qscintilla/qscintilla-1.54.ebuild:   qmake -o Makefile 
qscintilla.pro 
dev-python/qscintilla/qscintilla-1.60.ebuild:   qmake -o Makefile 
qscintilla.pro 
dev-python/qscintilla/qscintilla-1.5-r1.ebuild: qmake -o Makefile 
qscintilla.pro 
dev-util/qsoapman/qsoapman-0.3.ebuild:  qmake -o Makefile qsoapman.pro 
dev-util/lincvs/lincvs-1.4.2.ebuild:    qmake -o Makefile lincvs.pro 
dev-util/lincvs/lincvs-1.4.1.ebuild:    qmake -o Makefile lincvs.pro 
dev-util/lincvs/lincvs-1.4.0.ebuild:    qmake -o Makefile lincvs.pro 
dev-util/qtunit/qtunit-0.9.8.ebuild:    qmake qtunit.pro || die 
eclass/myth.eclass:     qmake -o "Makefile" "${S}/${pkg_pro}" 
eclass/mythtv-plugins.eclass:   qmake -o "Makefile" mythplugins.pro || die 
"qmake failed to run" 
games-board/mahjongg3d/mahjongg3d-0.96.ebuild:  qmake -o Makefile 
mahjongg3d.pro 
games-board/kcheckers/kcheckers-0.5.ebuild:     qmake 
games-misc/qlife/qlife-0.8.ebuild:      qmake || die "qmake failed" 
games-misc/qlife/qlife-0.7.ebuild:      qmake || die "qmake failed" 
games-puzzle/quadros/quadros-0.1.ebuild:        qmake -project -o quadros.pro 
games-puzzle/quadros/quadros-0.1.ebuild:        qmake -o Makefile quadros.pro 
games-strategy/attal/attal-0.9.3.ebuild:        qmake -o Makefile Makefile.pro 
|| die "qmake failed" 
games-strategy/attal/attal-0.9.2.ebuild:        qmake -o Makefile Makefile.pro 
|| die "qmake failed" 
games-strategy/attal/attal-0.8.1.ebuild:        qmake -o Makefile Makefile.pro 
|| die "qmake failed" 
media-tv/mythtv/mythtv-0.18.1-r1.ebuild:        qmake -o "Makefile" mythtv.pro 
|| die "qmake failed" 
media-tv/mythtv/mythtv-0.18.1-r2.ebuild:        qmake -o "Makefile" mythtv.pro 
|| die "qmake failed" 
media-video/qdvdauthor/qdvdauthor-0.0.9.ebuild: qmake qdvdauthor.pro 
media-video/qdvdauthor/qdvdauthor-0.0.9.ebuild: qmake qslideshow.pro 
media-video/jahshaka/files/configure:           qmake jahshaka.pro 
media-video/jahshaka/files/configure:           qmake jahplayer.pro 
media-video/jahshaka/files/configure:           qmake jahshaka.pro 
net-analyzer/snmpmon/snmpmon-0.5.ebuild:        qmake -o Makefile snmpmon.pro 
net-dialup/qlcr/qlcr-0.4.1.ebuild:      qmake -o Makefile qlcr.pro || die 
"qmake failed" 
net-dialup/qlcr/qlcr-0.4.0.ebuild:      qmake -o Makefile qlcr.pro || die 
"qmake failed." 
net-im/psi/psi-0.9.3-r2.ebuild: qmake psi.pro \ 
net-im/psi/psi-0.9.3-r4.ebuild: qmake psi.pro \ 
net-im/psi/psi-0.9.3-r1.ebuild: qmake psi.pro \ 
net-im/psi/psi-0.9.3-r3.ebuild: qmake psi.pro \ 
net-wireless/waveselect/waveselect-0.1.2.ebuild:        qmake -project || die 
net-wireless/waveselect/waveselect-0.1.2.ebuild:        qmake || die 
net-wireless/rt2500/rt2500-1.1.0_beta2-r1.ebuild:               qmake -o 
Makefile raconfig2500.pro 
net-wireless/rt2500/rt2500-1.1.0_beta1-r1.ebuild:               qmake -o 
Makefile raconfig2500.pro 
net-wireless/rt2500/rt2500-1.1.0_beta2.ebuild:          qmake -o Makefile 
raconfig2500.pro 
net-wireless/rt2500/rt2500-1.1.0_beta2-r2.ebuild:               qmake -o 
Makefile raconfig2500.pro 
sci-misc/qcad/files/qcad-2.0.4.0-1.src-gentoo.patch:    cd src && qmake 
qcad.pro 
sci-misc/qcad/files/qcad-2.0.4.0-1.src-gentoo.patch:    cd src && qmake 
qcadactions.pro 
sci-misc/qcad/files/qcad-2.0.4.0-1.src-gentoo.patch:    cd src && qmake 
qcadcmd.pro 
sci-misc/qcad/files/qcad-2.0.4.0-1.src-gentoo.patch:    cd src && qmake 
qcadguiqt.pro 
sci-misc/qcad/files/qcad-2.0.4.0-1.src-gentoo.patch:    cd src && qmake 
qcadlib.pro 
x11-libs/qwt/qwt-4.2.0.ebuild:  qmake qwt.pro 
x11-libs/qwt/qwt-4.2.0.ebuild:  qmake qwtplugin.pro 
x11-misc/vym/vym-1.5.0.ebuild:  qmake -o Makefile vym.pro 
x11-misc/icecc/icecc-2.9.ebuild:        qmake || die 
x11-misc/icemc/icemc-2.1-r1.ebuild:     qmake ${PN}.pro 
x11-misc/icets/icets-1.4.ebuild:        qmake || die 
x11-misc/icebgset/icebgset-1.3.ebuild:  qmake || die 
x11-misc/icesndcfg/icesndcfg-1.3.ebuild:        qmake ${PN}.pro 
x11-misc/iceked/iceked-1.5.ebuild:      qmake ${PN}.pro 
x11-misc/icewoed/icewoed-1.8.ebuild:    qmake || die 


Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Caleb Tennis 2005-07-01 06:47:30 0000 -------
Of course that's: 
 
${QTDIR}/bin/qmake 
 
... 

------- Comment #2 From Caleb Tennis 2005-07-01 08:22:12 0000 -------
I've fixed all of the ebuilds except:    
    
media-video/jahshaka/files/configure:           qmake jahshaka.pro    
sci-misc/qcad/files/qcad-2.0.4.0-1.src-gentoo.patch:    cd src && qmake   
qcadcmd.pro   
  
CCing those maintainers to update the patches to use '${QTDIR}/bin/qmake' 
instead of 'qmake'. 
  

------- Comment #3 From Sean Davidson 2005-07-03 07:41:50 0000 -------
x11-misc/icesndcfg-1.3 was incorrectly modified with the ${QTDIR}/bin applied
to the emake instead of the qmake.

src_compile () {
    addwrite ${QTDIR}/etc/settings
    qmake ${PN}.pro
    ${QTDIR}/bin/emake || die
}

------- Comment #4 From Patrick Kursawe 2005-07-04 00:35:14 0000 -------
(In reply to comment #3)
> x11-misc/icesndcfg-1.3 was incorrectly modified with the ${QTDIR}/bin applied
> to the emake instead of the qmake.
> 
> src_compile () {
>     addwrite ${QTDIR}/etc/settings
>     qmake ${PN}.pro
>     ${QTDIR}/bin/emake || die
> }
> 

Thanks for the hint.

------- Comment #5 From Joseph 2005-07-19 07:08:28 0000 -------
(In reply to comment #3)
> x11-misc/icesndcfg-1.3 was incorrectly modified with the ${QTDIR}/bin applied
> to the emake instead of the qmake.
> 
> src_compile () {
>     addwrite ${QTDIR}/etc/settings
>     qmake ${PN}.pro
>     ${QTDIR}/bin/emake || die
> }
> 

How can I apply this fix manually?
I'm compiling kde on a new machine and it I'm stuck on qt-3.3.4-r3 as it hangs
on qmake.
And I can not wait another two weeks.


------- Comment #6 From Caleb Tennis 2005-07-21 08:50:04 0000 -------
It's already been fixed in the ebuild, no? 

------- Comment #7 From Caleb Tennis 2006-01-03 04:06:56 0000 -------
It looks like that they also need to pass the QMAKE environment variable to the
qmake program to tell it which qmake to use:

/usr/qt/3/bin/qmake QMAKE=/usr/qt/3/bin/qmake blah.pro

------- Comment #8 From Caleb Tennis 2006-07-03 04:50:34 0000 -------
goign to mark this one as fixed, as the qt3 eclass basically takes care of
business now.

First Last Prev Next    No search results available      Search page      Enter new bug