Bug 106198 - unable to compile fontconfig archlinux
Summary: unable to compile fontconfig archlinux
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: doc (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: fontconfig-bugs
QA Contact: Behdad Esfahbod
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-23 21:19 UTC by robert
Modified: 2018-04-25 21:07 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description robert 2018-04-23 21:19:31 UTC
Trying to build fontconfig 2.13.0 on ArchLinux x86_64 in chroot environment
I think I must be missing a dependency for building because make fails during makeing all in doc
My makedepends=(git gettext autoconf-archive gperf python-lxml python-six docbook-utils docbook-sgml perl-sgmls 'texlive-formatsextra>=2017' lynx)

make[2]: Leaving directory '/build/fontconfig/src/fontconfig-2.13.0/test'
Making all in doc
make[2]: Entering directory '/build/fontconfig/src/fontconfig-2.13.0/doc'
  GEN      local-fontconfig-user.sgml
  GEN      local-fontconfig-devel.sgml
make  all-am
make[3]: Entering directory '/build/fontconfig/src/fontconfig-2.13.0/doc'
  CC       edit-sgml.o
  GEN      confdir.sgml
  GEN      fonts-conf.5
  GEN      edit-sgml
jw: No parser available
make[3]: *** [Makefile:1355: fonts-conf.5] Error 6
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/fontconfig/src/fontconfig-2.13.0/doc'
make[2]: *** [Makefile:743: all] Error 2
make[2]: Leaving directory '/build/fontconfig/src/fontconfig-2.13.0/doc'
make[1]: *** [Makefile:599: all-recursive] Error 1
make[1]: Leaving directory '/build/fontconfig/src/fontconfig-2.13.0'
make: *** [Makefile:483: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Comment 1 Akira TAGOH 2018-04-24 01:41:42 UTC
try make V=1 instead.  you'll get more detailed logs there.
Comment 2 robert 2018-04-24 21:11:10 UTC
added make V=1 but not sure that helped...

Making all in doc
make[2]: Entering directory '/build/fontconfig/src/fontconfig-2.13.0/doc'
ln -s ./fontconfig-user.sgml local-fontconfig-user.sgml;        \
[ ! -f ./fontconfig-user.sgml ] && cp -a ./fontconfig-user.sgml ./fontconfig-user.sgml || :
ln -s ./fontconfig-devel.sgml local-fontconfig-devel.sgml;      \
[ ! -f ./fontconfig-devel.sgml ] && cp -a ./fontconfig-devel.sgml ./fontconfig-devel.sgml || :
make  all-am
make[3]: Entering directory '/build/fontconfig/src/fontconfig-2.13.0/doc'
gcc -DHAVE_CONFIG_H -I. -I..      -MT edit-sgml.o -MD -MP -MF .deps/edit-sgml.Tpo -c -o edit-sgml.o edit-sgml.c
sed -e 's,@CONFDIR\@,,' ./confdir.sgml.in | awk '{if (NR > 1) printf("\n"); printf("%s", $0);}' > confdir.sgml
rm -f fonts-conf.5; \
docbook2man local-fontconfig-user.sgml && \
rm -f manpage.*
mv -f .deps/edit-sgml.Tpo .deps/edit-sgml.Po
gcc -o edit-sgml edit-sgml.o
jw: No parser available
make[3]: *** [Makefile:1355: fonts-conf.5] Error 6
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/fontconfig/src/fontconfig-2.13.0/doc'
make[2]: *** [Makefile:743: all] Error 2
make[2]: Leaving directory '/build/fontconfig/src/fontconfig-2.13.0/doc'
make[1]: *** [Makefile:599: all-recursive] Error 1
make[1]: Leaving directory '/build/fontconfig/src/fontconfig-2.13.0'
make: *** [Makefile:483: all] Error 2
==> ERROR: A failure occurred in build().
Comment 3 Akira TAGOH 2018-04-25 06:50:04 UTC
that message should comes from docbook2man. for reference, on Fedora:
$ rpm -qf /usr/bin/jw
docbook-utils-0.6.14-43.fc27.noarch
$ rpm -qf /usr/bin/docbook2man
docbook-utils-0.6.14-43.fc27.noarch

if it is not same for ArchLinux then, deps should be addressed there. there are nothing in fontconfig directly dealing with jw. this is NOTOURBUG.
Comment 4 robert 2018-04-25 21:07:27 UTC
okay, thanks
replaced doc2man with dockbook2x and was able to complete package generation


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.