Bug 180271 - dev-util/kdevelop-3.4.1 bogus graphviz use flags
Bug#: 180271 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: CLOSED Severity: minor Priority: P2
Resolution: FIXED Assigned To: kde@gentoo.org Reported By: ikorot@earthlink.net
Component: Ebuilds
URL: 
Summary: dev-util/kdevelop-3.4.1 bogus graphviz use flags
Keywords:  QAbadiuse
Status Whiteboard: 
Opened: 2007-05-29 20:24 0000
Description:   Opened: 2007-05-29 20:24 0000
This is the result of emerge -pv kdevelop:

IgorsGentoo igor # emerge -pv kdevelop

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-util/kdevelop-3.4.1 [3.3.5] USE="arts perl python sql -ada
-clearcase -cvs -debug -fortran -graphviz -haskell -java -pascal -perforce -php
-ruby -subversion -xinerama" 9,150 kB

Total: 1 package (1 upgrade), Size of downloads: 9,150 kB


However, later it gives following warning:

You're missing the dot program.
It is still possible to run and use KDevelop without it, but you will
not be able to use the new graphical classbrowser. In order to get
a dot copy, go to www.graphviz.org and download the graphviz package.

You have no kdelibs documentation generated by Doxygen installed.
You should install Doxygen from www.doxygen.org, reconfigure
and rebuild the kdelibs sources. You should 'make apidox' and
'make install' in your kdelibs build dir, and then rerun this
configure script.

Good - your configure finished. Start make now

As graphviz is turned off, there should be no such warning.

Reproducible: Always

Steps to Reproduce:
1. Unmask kdevelop-3.4.1
2. Run emerge kdevelop
3.

Actual Results:  
Graphviz warning occur

Expected Results:  
No warnings

------- Comment #1 From Jakub Moc (RETIRED) 2007-05-29 20:30:01 0000 -------
This should be moved to pkg_postinst elog stuff like all other similar stuff;
the use flag doesn't do anything useful.

------- Comment #2 From Wulf Krueger (RETIRED) 2007-06-07 15:41:20 0000 -------
Igor, tons of our packages show such warnings. That's normal. 
jakub, agreed. I've removed it.

Fixed in CVS.

------- Comment #3 From Igor Korot 2007-06-07 17:40:10 0000 -------
(In reply to comment #2)
> Igor, tons of our packages show such warnings. That's normal. 
> jakub, agreed. I've removed it.
> Fixed in CVS.

I understand. However, it just confusing.
And it brings the bugs, like this... ;-)

------- Comment #4 From Igor Korot 2008-02-03 15:56:42 0000 -------
(In reply to comment #2)
> Igor, tons of our packages show such warnings. That's normal. 
> jakub, agreed. I've removed it.
> 
> Fixed in CVS.
> 

It looks like the graphviz USE flag is back. At least for the KDevelop.

IgorsGentooOnNetwork igor # emerge -pv kdevelop

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-util/kdevelop-3.5.0 [3.4.1] USE="python sql -ada -arts
-clearcase -cvs -debug -fortran -haskell -java -pascal -perforce -perl -php
-ruby -subversion -xinerama (-graphviz%)" 9,195 kB

Total: 1 package (1 upgrade), Size of downloads: 9,195 kB

Thank you.

------- Comment #5 From Jakub Moc (RETIRED) 2008-02-03 15:59:01 0000 -------
(-graphviz%) == removed flag.

------- Comment #6 From Igor Korot 2008-02-04 01:26:21 0000 -------
(In reply to comment #5)
> (-graphviz%) == removed flag.


Jacub,
Thank you for the reply, but...
Would it be possible to implement this USE-flag, so that when it turned on the
graphviz packet is pulled up?
This packet is very useful for generating the class diagrams...
I guess it was not implemented initially.

Sorry, I just found out about that myself.

Thank you.

------- Comment #7 From Jakub Moc (RETIRED) 2008-02-04 07:59:05 0000 -------
No, read the postinstall elog messages.