[Fontconfig-bugs] [Bug 101202] New: fontconfig FTBFS if docbook-utils is installed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 26 14:39:07 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101202

            Bug ID: 101202
           Summary: fontconfig FTBFS if docbook-utils is installed
           Product: fontconfig
           Version: 2.11
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: doc
          Assignee: fontconfig-bugs at lists.freedesktop.org
          Reporter: bigon at bigon.be
        QA Contact: freedesktop at behdad.org

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)
===========



https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862483

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20170526/7b8060d1/attachment.html>


More information about the Fontconfig-bugs mailing list