<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>134834</bug_id>
          
          <creation_ts>2006-05-29 15:22 0000</creation_ts>
          <short_desc>graphviz 2.8 produces black pictures</short_desc>
          <delta_ts>2006-10-06 11:46:18 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://www.graphviz.org/bugs/b922.html</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>filter.my@seznam.cz</reporter>
          <assigned_to>graphics@gentoo.org</assigned_to>
          <cc>bill_krueger@verizon.net</cc>
    
    <cc>danmitchell@mail.utexas.edu</cc>
    
    <cc>giamma@vki.ac.be</cc>
    
    <cc>gralves@gmail.com</cc>
    
    <cc>kovacsp3@comcast.net</cc>
    
    <cc>ladanyi@tmit.bme.hu</cc>
    
    <cc>patrick.allaert@gmail.com</cc>
    
    <cc>truedfx@gentoo.org</cc>
    
    <cc>tschenturs@gmx.ch</cc>

      

      
          <long_desc isprivate="0">
            <who>filter.my@seznam.cz</who>
            <bug_when>2006-05-29 15:22:09 0000</bug_when>
            <thetext>it&apos;s a graphviz bug and should already have been repared:

http://www.graphviz.org/bugs/b922.html

can someone update ebuild?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bill_krueger@verizon.net</who>
            <bug_when>2006-05-31 09:57:49 0000</bug_when>
            <thetext>Created an attachment (id=87999)
Input to dot that will draw a simple UML type class file


The command I use to process the attached file is:

dot -Tpng -o class.png class.dot

and use something like firefox or kuickshow to view the image file created in class.png. Using graphviz-2.6-r1 produces the expected image. Using graphviz-2.8 produces the same size image that&apos;s entirely black.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tschenturs@gmx.ch</who>
            <bug_when>2006-06-04 22:56:31 0000</bug_when>
            <thetext>same here...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tschenturs@gmx.ch</who>
            <bug_when>2006-06-05 05:20:28 0000</bug_when>
            <thetext>I&apos;ve emerged the development snapshot (today 2.9.20060604.0440) by renaming the original ebuild (had to comment out the notcl patch on line 38.).

The problem of this ebuild doesn&apos;t occur anymore. Haven&apos;t done any heavy testing and thus don&apos;t know if some other issues turn up.

HTH, Urs</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>yoghi@sigmalab.net</who>
            <bug_when>2006-07-08 07:08:08 0000</bug_when>
            <thetext>This bug exist only with png,tiff,jpg infact with svg the image are correct;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>patrick.allaert@gmail.com</who>
            <bug_when>2006-09-14 05:05:32 0000</bug_when>
            <thetext>Don&apos;t understand why graphviz 2.8 has been marked stable on x86 with such a blocking [1] bug!

[1] GraphViz used only to render (in PNG) dynamic graphs in a web-application.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>patrick.allaert@gmail.com</who>
            <bug_when>2006-09-14 07:25:20 0000</bug_when>
            <thetext>exists upstream:

http://www.graphviz.org/bugs/b922.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gdrasny@earthlink.net</who>
            <bug_when>2006-09-19 10:55:16 0000</bug_when>
            <thetext>I had the same problem, and the easy solution was to do
  LC_ALL=C emerge graphviz

(My original setting of LC_ALL was en_US.utf8. In graphviz lib/common/Makefile.am contains a rule that sorts color names by using LC_COLLATE=C $(SORT) ..., but LC_COLLATE has no effect when LC_ALL is set, so the color names ended up listed in the wrong order.)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chrb@gentoo.org</who>
            <bug_when>2006-09-21 14:05:17 0000</bug_when>
            <thetext>It seems that nobody cares about graphviz... so I&apos;ve gone ahead and commited the LC_ALL based fix.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-09-21 15:28:55 0000</bug_when>
            <thetext>that is a workaround, not a fix</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>truedfx@gentoo.org</who>
            <bug_when>2006-09-22 04:37:41 0000</bug_when>
            <thetext>&gt; that is a workaround, not a fix

It&apos;s not the perfect fix, since LC_ALL=C is applied to the whole compilation, rather than just the sort command, but in what way is it not a fix at all?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-09-22 10:40:02 0000</bug_when>
            <thetext>a fix is something applied to the source code that fixes the root cause and then you would send it upstream

a workaround is none of these things, yet the final result still works</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>truedfx@gentoo.org</who>
            <bug_when>2006-09-22 11:10:25 0000</bug_when>
            <thetext>The root issue is that the sort command does not compare the same way as strcmp() does. The fix is to do sort using a strcmp()-compatible comparison function. LC_ALL=C is the way to do this (for ASCII systems -- which last time I asked was an acceptable assumption for Gentoo). Your distinction between things that can be sent upstream and things that can&apos;t is an important one, but a different one. There are ebuilds that contain the build system in themselves, and using your meaning of &quot;fix&quot; it&apos;s impossible to fix /anything/ that gets broken by them. This issue is fixed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-09-22 11:37:17 0000</bug_when>
            <thetext>is the `sort` in the ebuild ?  no ?  then LC_ALL does not belong in the ebuild

if the call to `sort` in the graphviz build system needs standard ASCII sorting, then you patch the graphviz build system to use LC_ALL=C *only* when calling sort

if someone told you that inserting LC_ALL into ebuilds is acceptable, they were wrong</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>truedfx@gentoo.org</who>
            <bug_when>2006-09-22 11:45:50 0000</bug_when>
            <thetext>I already acknowledged that it would have been better to use LC_ALL=C only for the sort call. You&apos;re avoiding addressing my point. (And since I doubt you will change that after this: don&apos;t feel a need to reply to this.)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-09-22 13:02:12 0000</bug_when>
            <thetext>i didnt avoid your point, i addressed it pretty clearly

the issue here is that the makefile is broken ... thus your section about the ebuild being the build system is irrelevant

this bug is not fixed until the Makefile is patched and sent upstream ... so long as LC_ALL is in the ebuild and not the Makefile, it is a workaround and the bug report stays open</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-10-06 11:46:18 0000</bug_when>
            <thetext>fixed in cvs by changing LC_COLLATE in the makefile to LC_ALL</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>87999</attachid>
            <date>2006-05-31 09:57 0000</date>
            <desc>Input to dot that will draw a simple UML type class file</desc>
            <filename>class.dot</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlncmFwaCBHIHsKICAgICAgICBmb250bmFtZSA9ICJCaXRzdHJlYW0gVmVyYSBTYW5zIgogICAg
ICAgIGZvbnRzaXplID0gOAoKICAgICAgICBub2RlIFsKICAgICAgICAgICAgICAgIGZvbnRuYW1l
ID0gIkJpdHN0cmVhbSBWZXJhIFNhbnMiCiAgICAgICAgICAgICAgICBmb250c2l6ZSA9IDgKICAg
ICAgICAgICAgICAgIHNoYXBlID0gInJlY29yZCIKICAgICAgICBdCgogICAgICAgIGVkZ2UgWwog
ICAgICAgICAgICAgICAgZm9udG5hbWUgPSAiQml0c3RyZWFtIFZlcmEgU2FucyIKICAgICAgICAg
ICAgICAgIGZvbnRzaXplID0gOAogICAgICAgIF0KCiAgICAgICAgQW5pbWFsIFsKICAgICAgICAg
ICAgICAgIGxhYmVsID0gIntBbmltYWx8KyBuYW1lIDogc3RyaW5nXGwrIGFnZSA6IGludFxsfCsg
ZGllKCkgOiB2b2lkXGx9IgogICAgICAgIF0KfQo=
</data>        

          </attachment>
    </bug>

</bugzilla>