Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127596 - app-doc/doxygen has code in global scope
Summary: app-doc/doxygen has code in global scope
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords: QAbaddep
Depends on:
Blocks:
 
Reported: 2006-03-25 21:04 UTC by Mark Loeser (RETIRED)
Modified: 2006-04-09 12:06 UTC (History)
3 users (show)

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 Mark Loeser (RETIRED) gentoo-dev 2006-03-25 21:04:16 UTC
if use qt; then need-qt 3; fi

The above code is in global scope in all of the doxygen ebuilds, which breaks the cache since the DEPEND variable will change depending upon what use flags the user has set.  It looks like you already depend on qt-3* anyway.
Comment 1 Steve Arnold archtester gentoo-dev 2006-03-26 10:43:38 UTC
Yeah that's an ugly work-around but it's also the only thing that seemed to get by the QT build environment being slightly dorked.  If I move it to any of the function bodies it doesn't work.  If you have any suggestions, I'd be happy to try them, but the last time I worked on this there wasn't any other way I could see to get QTDIR set correctly.
Comment 2 Steve Arnold archtester gentoo-dev 2006-03-26 11:15:28 UTC
Actually, it's getting QTLIBDIR stuff set correctly that's the real ugly part.  I think the real fix might be something like a small eclass (or maybe mods to another eclass) but I'll take anything that works and makes QA happy...
Comment 3 Sod off! I am no loger here! 2006-04-03 12:11:22 UTC
I found the this probling when I meda a new installation for kdebase-meta 3.5.2 on my AMD64 system installing the AMD64-bransh.

To me it seems that doxygen depends on QT but the portage does not notice this. Maby this is the cache-problem?

If I add doxygen with -qt in /etc/portage/pakages.use (man portage) the doxygen got emerged. I hope to remove this line and make an emerge --newuse when QT is installed. I will tell if it worked when I got through with kdebase-meta.
Comment 4 Steve Arnold archtester gentoo-dev 2006-04-09 12:06:58 UTC
Removed kde_funcs and associated global code from all versions.