First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 182867
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Roy Marples (RETIRED) <uberlord@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Capricelli <orzel@freehackers.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
wpa_supplicant-0.6.0.ebuild.diff wpa_supplicant-0.6.0.ebuild.diff patch Jakub Moc (RETIRED) 2007-06-22 08:05 0000 947 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 182867 depends on: Show dependency tree
Bug 182867 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2007-06-22 05:53 0000
The ebuild hardcodes path for qt3
(ex : line 163:)
/usr/qt/3/bin/qmake -o "${S}"/wpa_gui/Makefile "${S}"/wpa_gui/wpa_gui.pro

and will not compile if qt is installed somewhere else (but still in path, and
$QTDIR is set also).

Another point is that it doesn't find qt4 neither. But this is a lot more
difficult to solve as gentoo uses 'qmake' for both qt3 and qt4.

Reproducible: Always

Actual Results:  
/usr/portage/net-wireless/wpa_supplicant/wpa_supplicant-0.6.0.ebuild: line 155:
/usr/qt/3/bin/qmake: No such file or directory
make: *** No targets specified and no makefile found.  Stop.

------- Comment #1 From Jakub Moc (RETIRED) 2007-06-22 08:05:30 0000 -------
Created an attachment (id=122784) [edit]
wpa_supplicant-0.6.0.ebuild.diff

We only support QT installed via Gentoo ebuilds, and it works just perfectly
fine with that. ${QTDIR}/bin/qmake is the correct path for qt-3 (is NOT in
$PATH) and /usr/bin/qmake is for qt-4. As such, this patch is purely cosmetic
and not needed for anyone using Gentoo ebuilds. If you install stuff to
different locations, that's your problem.

------- Comment #2 From Thomas Capricelli 2007-06-22 08:16:11 0000 -------
And i would be delighted if the script was using ${QTDIR}/bin/qmake as you
said, but it does not. It explicitely uses /usr/qt/3/bin/qmake, check.

(I find the comment a little bit rude. Gentoo is about flexibility, no ? what
is /etc/portage/profile/package.provided for then?)

------- Comment #3 From Roy Marples (RETIRED) 2007-06-29 07:47:51 0000 -------
Fixed, thanks.

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