I had a problem building fontconfig-2.2.0.
At make install I would get a fontconfig error about the default config file
being not well-formed at line 24. Apparently the o/p of the 'date' command
contained two hyphens which got inserted in fonts.conf. The two hyphens came
because the /etc/localtime symlink was set to a Factory one.
confgure.in now filters out strings of dashes in the date:
FC_FONTDATE=`date | sed 's/--*/-/g'`