<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - fontconfig FTBFS if docbook-utils is installed"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101202">101202</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>fontconfig FTBFS if docbook-utils is installed
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>fontconfig
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>2.11
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>doc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>fontconfig-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bigon@bigon.be
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>freedesktop@behdad.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi,

The following bug has been reported to the debian bug tracker, I've been able
to reproduce it myself:

===========
Dear Maintainer,

Building fontconfig (2.12.1-0.1) as a backport to Dessie/Stable. 
When building *with docbook* enabled, there results the following error
message:

Makefile:1309: *** Recursive variable 'CC' references itself (eventually). 
Stop.

fontconfig-2.12.1-0.1/doc/Makefile gets generated and at lines 1309-1311 this
is:

$(edit_sgml_OBJECTS) : CC=$(CC_FOR_BUILD)
$(edit_sgml_OBJECTS) : CFLAGS=$(CFLAGS_FOR_BUILD)
$(edit_sgml_OBJECTS) : CPPFLAGS=$(CPPFLAGS_FOR_BUILD)

Changing these lines to simple expansion fixes the issue and allows compilation
to finish:

$(edit_sgml_OBJECTS) : CC:=$(CC_FOR_BUILD)
$(edit_sgml_OBJECTS) : CFLAGS:=$(CFLAGS_FOR_BUILD)
$(edit_sgml_OBJECTS) : CPPFLAGS:=$(CPPFLAGS_FOR_BUILD)
===========



<a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862483">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862483</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>