Bug 101202 - fontconfig FTBFS if docbook-utils is installed
Summary: fontconfig FTBFS if docbook-utils is installed
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: doc (show other bugs)
Version: 2.11
Hardware: Other All
: medium normal
Assignee: fontconfig-bugs
QA Contact: Behdad Esfahbod
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-26 14:39 UTC by Laurent Bigonville
Modified: 2017-05-31 05:05 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Laurent Bigonville 2017-05-26 14:39:07 UTC
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
Comment 1 Akira TAGOH 2017-05-31 05:05:52 UTC
Fixed in git. thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.