Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164322 - x11-libs/qt-embedded-3.3.4 - can't compile anything w/ current ebuild
Summary: x11-libs/qt-embedded-3.3.4 - can't compile anything w/ current ebuild
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 164324 (view as bug list)
Depends on:
Blocks: 164324
  Show dependency tree
 
Reported: 2007-01-28 22:04 UTC by a thing
Modified: 2009-03-27 20:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Qt Embedded eclass (qt-embedded.eclass,1.41 KB, text/plain)
2007-01-28 22:05 UTC, a thing
Details
patch for qt-embedded-3.3.4.ebuild (qt-embedded-3.3.4.ebuild.patch,1.98 KB, patch)
2007-01-28 22:07 UTC, a thing
Details | Diff
patch updated for qt-embedded-3.3.7.ebuild (qt-embedded-3.3.7.ebuild.patch,2.66 KB, patch)
2007-02-02 04:43 UTC, a thing
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description a thing 2007-01-28 22:04:03 UTC
The current x11-libs/qt-embedded-3.3.4 ebuild doesn't compile tools necessary to compile things with Qt Embedded, such as uic.

Reproducible: Always

Steps to Reproduce:
1. emerge qt-embbeded
2. Try compiling anything with it (such as QtParted).

Actual Results:  
The compilation fails, saying uic wasn't found.

Expected Results:  
Compiled linking against Qt Embedded.

A patch and a new eclass to fix this are attached.
Comment 1 a thing 2007-01-28 22:05:49 UTC
Created attachment 108423 [details]
Qt Embedded eclass
Comment 2 a thing 2007-01-28 22:07:40 UTC
Created attachment 108424 [details, diff]
patch for qt-embedded-3.3.4.ebuild
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2007-01-31 13:05:26 UTC
I've bumped qt-embedded to 3.3.7.  Can you try that one out, and make a new patch if necessary.  Also, can you use a unified diff for you patch? (using diff -u).  Thanks!
Comment 4 a thing 2007-02-01 03:09:30 UTC
I just did an emerge --sync but don't see 3.3.7, only 3.3.4 and 3.3.4-r1 (masked).
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2007-02-01 13:00:24 UTC
I goofed - it should be there in about 30 minutes.
Comment 6 a thing 2007-02-02 04:42:04 UTC
When configuring QTParted with thhe patch in Bug 164324:
checking for uic... not found
configure: WARNING: No Qt ui compiler (uic) found!
Please check whether you installed Qt correctly.
You need to have a running uic binary.
configure tried to run  and the test didn't
succeed. If configure shouldn't have tried this one, set
the environment variable UIC to the right one before running
configure.

I'm attaching a patch for qt-embedded-3.3.7.ebuild.
Comment 7 a thing 2007-02-02 04:43:20 UTC
Created attachment 108909 [details, diff]
patch updated for qt-embedded-3.3.7.ebuild
Comment 8 a thing 2007-02-02 04:45:18 UTC
Whoops, the eclass shouldn't have been obsoleted. It's needed with the following line for ebuilds with Qt Embedded support:
use X && inherit qt3 || inherit qt-embedded
Comment 9 a thing 2007-02-15 02:25:20 UTC
So, what's up with this?
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-07-05 14:57:04 UTC
(In reply to comment #8)
> use X && inherit qt3 || inherit qt-embedded

No way; you cannot inherit eclasses based on use flag being set/unset. It breaks metadata cache badly. 

Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-07-05 15:03:06 UTC
*** Bug 164324 has been marked as a duplicate of this bug. ***
Comment 12 a thing 2007-08-05 07:55:09 UTC
Sorry for not paying attention to this; I was away from my PC for six weeks and I changed email addresses.

Do you have a suggestion of what would do the same but not break metadata cache?
Comment 13 Ben de Groot (RETIRED) gentoo-dev 2009-03-27 20:41:50 UTC
version no longer in portage, reopen if issue is still valid with the latest version in portage