<?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>187305</bug_id>
          
          <creation_ts>2007-07-31 22:43 0000</creation_ts>
          <short_desc>building of dev-lisp/sbcl-1.0.7-r2 documentation fails, missing dep on graphviz</short_desc>
          <delta_ts>2007-08-07 11:37:43 0000</delta_ts>
          
          
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gugamilare@gmail.com</reporter>
          <assigned_to>common-lisp@gentoo.org</assigned_to>
          <cc>ivan@toshkov.org</cc>

      

      
          <long_desc isprivate="0">
            <who>gugamilare@gmail.com</who>
            <bug_when>2007-07-31 22:43:28 0000</bug_when>
            <thetext>I used the command &quot;emerge =dev-list/sbcl-1.0.7*&quot; so the terminal sent an build error. I&apos;ve built sbcl 1.0.7 from source without any errors (it is already a stable version, but portage masks it).


Reproducible: Always

Steps to Reproduce:
1. USE=&quot;doc ldb source threads unicode&quot; emerge =sbcl-1.0.7*




This error message is given

dot -Tpng -Gsize=&quot;5,5&quot; -Gratio=compress -Gconcentrate=true discriminating-functions.dot &gt; discriminating-functions.png
/bin/sh: dot: command not found
make: *** [discriminating-functions.png] Error 127

!!! ERROR: dev-lisp/sbcl-1.0.7-r2 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call &apos;src_compile&apos;
  ebuild.sh, line 44:   Called src_compile
  sbcl-1.0.7-r2.ebuild, line 130:   Called die

!!! make html failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at &apos;/var/tmp/portage/dev-lisp/sbcl-1.0.7-r2/temp/build.log&apos;.

If you want me to e-mail the complete build log, mail me, I&apos;ll keep it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fmccor@gentoo.org</who>
            <bug_when>2007-07-31 23:29:43 0000</bug_when>
            <thetext>Um, not devrel.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bugs@cddr.org</who>
            <bug_when>2007-08-01 00:44:14 0000</bug_when>
            <thetext>I&apos;ve fixed this in the lisp overlay: http://repo.or.cz/w/gentoo-lisp-overlay.git

what do you mean by &quot;sbcl 1.0.7 ... is already a stable version, but portage masks it&quot; ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ivan@toshkov.org</who>
            <bug_when>2007-08-01 11:02:18 0000</bug_when>
            <thetext>It looks like SBCL needs graphviz to build the documentation and doesn&apos;t specify this in the ebuild file.

Something like the following (untested) patch should do the work:

--- /mnt/nfs_portage/dev-lisp/sbcl/sbcl-1.0.7-r2.ebuild 2007-07-21 13:35:35.000000000 +0300
+++ /home/ivant/sbcl-1.0.7-r2.ebuild    2007-08-01 14:00:37.000000000 +0300
@@ -32,7 +32,7 @@
 
 IUSE=&quot;ldb source threads unicode doc&quot;
 
-DEPEND=&quot;doc? ( sys-apps/texinfo )&quot;
+DEPEND=&quot;doc? ( sys-apps/texinfo media-gfx/graphviz )&quot;
 
 PROVIDE=&quot;virtual/commonlisp&quot;
 
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hkbst@gentoo.org</who>
            <bug_when>2007-08-07 11:37:43 0000</bug_when>
            <thetext>fixed in 1.0.7-r2 and up.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>