rm -f func.refs docbook2man -o devel-man local-fontconfig-devel.sgml && \ mv devel-man/manpage.refs func.refs && \ mv devel-man/*.3 . && \ rm -f devel-man/manpage.links && \ rmdir devel-man Using catalogs: /etc/sgml/sgml-docbook-3.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#print Working on: /var/tmp/portage/media-libs/fontconfig-2.5.0-r1/work/fontconfig-2.5.0/doc/local-fontconfig-devel.sgml nsgmls:/usr/share/sgml/docbook/sgml-dtd-3.1/dbcent.mod:53:65:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" nsgmls:/usr/share/sgml/docbook/sgml-dtd-3.1/dbcent.mod:54:8:E: reference to entity "ISOamsa" for which no system identifier could be generated ... nsgmls:I: maximum number of errors (200) reached; change with -E option Done. ln -s fontconfig-user.sgml local-fontconfig-user.sgml rm -f fonts-conf.5 docbook2man local-fontconfig-user.sgml && \ rm -f manpage.refs manpage.links Using catalogs: /etc/sgml/sgml-docbook-3.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#print Working on: /var/tmp/portage/media-libs/fontconfig-2.5.0-r1/work/fontconfig-2.5.0/doc/local-fontconfig-user.sgml nsgmls:/usr/share/sgml/docbook/sgml-dtd-3.1/dbcent.mod:53:65:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" nsgmls:/usr/share/sgml/docbook/sgml-dtd-3.1/dbcent.mod:54:8:E: reference to entity "ISOamsa" for which no system identifier could be generated nsgmls:/usr/share/sgml/docbook/sgml-dtd-3.1/dbcent.mod:52:0: entity was defined here ... jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1sr.dsl:2:66:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Added Latin 2//EN" jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1sr.dsl:3:5:E: reference to entity "lat2" for which no system identifier could be generated jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1sr.dsl:2:0: entity was defined here make[2]: *** [fontconfig-user.txt] Error 8 make[2]: Leaving directory `/var/tmp/portage/media-libs/fontconfig-2.5.0-r1/work/fontconfig-2.5.0/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/fontconfig-2.5.0-r1/work/fontconfig-2.5.0' make: *** [all] Error 2 * * ERROR: media-libs/fontconfig-2.5.0-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2504: Called die * The specific snippet of code: * emake || die * The die message: * (no error message) * ... Reproducible: Always Steps to Reproduce: emerge fontconfig withe the doc use flag. Actual Results: emerge fails. Expected Results: emerge should succeed.
works fine here. Making all in doc make[2]: Entering directory `/var/tmp/portage/media-libs/fontconfig-2.5.0-r1/work/fontconfig-2.5.0/doc' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O3 -march=core2 -fomit-frame-pointer -pipe -MT edit-sgml.o -MD -MP -MF .deps/edit-sgml.Tpo -c -o edit-sgml.o edit-sgml.c ln -s fontconfig-devel.sgml local-fontconfig-devel.sgml sed "s,@CONFDIR\@,/etc/fonts," < ./confdir.sgml.in | awk '{ if (NR > 1) printf ("\n"); printf ("%s", $0); }' > confdir.sgml ln -s fontconfig-user.sgml local-fontconfig-user.sgml mv -f .deps/edit-sgml.Tpo .deps/edit-sgml.Po rm -f fonts-conf.5 x86_64-pc-linux-gnu-gcc -O3 -march=core2 -fomit-frame-pointer -pipe -Wl,-O1 -o edit-sgml edit-sgml.o docbook2man local-fontconfig-user.sgml && \ rm -f manpage.refs manpage.links rm -f fontconfig-user.txt docbook2txt local-fontconfig-user.sgml rm -f fontconfig-user.pdf ../missing --run docbook2pdf local-fontconfig-user.sgml && mv local-fontconfig-user.pdf fontconfig-user.pdf \ || echo Failed to generate fontconfig-user.pdf >&2; \ (test -f fontconfig-user.pdf || echo docbook2pdf is required to generate this file >> fontconfig-user.pdf) ../missing: line 52: docbook2pdf: command not found rm -f fontconfig-user.html local-fontconfig-user.html fontconfig-user.html.tmp WARNING: `docbook2pdf' is needed, and is missing on your system. You might have modified some files without having the proper tools for further handling them. Check the `README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing `docbook2pdf' program. Failed to generate fontconfig-user.pdf rm -f fcatomic.sgml docbook2html -u local-fontconfig-user.sgml > fontconfig-user.html.tmp ./edit-sgml ./func.sgml < 'fcatomic.fncs' > fcatomic.sgml rm -f fcblanks.sgml ./edit-sgml ./func.sgml < 'fcblanks.fncs' > fcblanks.sgml rm -f fccache.sgml ./edit-sgml ./func.sgml < 'fccache.fncs' > fccache.sgml rm -f fccharset.sgml ./edit-sgml ./func.sgml < 'fccharset.fncs' > fccharset.sgml rm -f fcconfig.sgml ./edit-sgml ./func.sgml < 'fcconfig.fncs' > fcconfig.sgml rm -f fcconstant.sgml ./edit-sgml ./func.sgml < 'fcconstant.fncs' > fcconstant.sgml rm -f fcdircache.sgml ./edit-sgml ./func.sgml < 'fcdircache.fncs' > fcdircache.sgml rm -f fcfile.sgml Using catalogs: /etc/sgml/sgml-docbook-3.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#print Working on: /var/tmp/portage/media-libs/fontconfig-2.5.0-r1/work/fontconfig-2.5.0/doc/local-fontconfig-user.sgml ./edit-sgml ./func.sgml < 'fcfile.fncs' > fcfile.sgml rm -f fcfontset.sgml ./edit-sgml ./func.sgml < 'fcfontset.fncs' > fcfontset.sgml Using catalogs: /etc/sgml/sgml-docbook-3.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html Working on: /var/tmp/portage/media-libs/fontconfig-2.5.0-r1/work/fontconfig-2.5.0/doc/local-fontconfig-user.sgml rm -f fcfreetype.sgml ./edit-sgml ./func.sgml < 'fcfreetype.fncs' > fcfreetype.sgml rm -f fcinit.sgml ./edit-sgml ./func.sgml < 'fcinit.fncs' > fcinit.sgml Done. rm -f fclangset.sgml ./edit-sgml ./func.sgml < 'fclangset.fncs' > fclangset.sgml rm -f fcmatrix.sgml ./edit-sgml ./func.sgml < 'fcmatrix.fncs' > fcmatrix.sgml rm -f fcobjectset.sgml ./edit-sgml ./func.sgml < 'fcobjectset.fncs' > fcobjectset.sgml rm -f fcobjecttype.sgml ./edit-sgml ./func.sgml < 'fcobjecttype.fncs' > fcobjecttype.sgml rm -f fcpattern.sgml ./edit-sgml ./func.sgml < 'fcpattern.fncs' > fcpattern.sgml rm -f fcstring.sgml ./edit-sgml ./func.sgml < 'fcstring.fncs' > fcstring.sgml rm -f fcstrset.sgml ./edit-sgml ./func.sgml < 'fcstrset.fncs' > fcstrset.sgml rm -f fcvalue.sgml ./edit-sgml ./func.sgml < 'fcvalue.fncs' > fcvalue.sgml rm -f func.refs docbook2man -o devel-man local-fontconfig-devel.sgml && \ mv devel-man/manpage.refs func.refs && \ mv devel-man/*.3 . && \ rm -f devel-man/manpage.links && \ rmdir devel-man rm -f fontconfig-devel.txt docbook2txt local-fontconfig-devel.sgml Using catalogs: /etc/sgml/sgml-docbook-3.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#print Working on: /var/tmp/portage/media-libs/fontconfig-2.5.0-r1/work/fontconfig-2.5.0/doc/local-fontconfig-devel.sgml test -f local-fontconfig-user.html && mv local-fontconfig-user.html fontconfig-user.html Using catalogs: /etc/sgml/sgml-docbook-3.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html Working on: /var/tmp/portage/media-libs/fontconfig-2.5.0-r1/work/fontconfig-2.5.0/doc/local-fontconfig-devel.sgml test -f fontconfig-user.html || mv fontconfig-user.html.tmp fontconfig-user.html test -f fontconfig-user.html.tmp && rm -f fontconfig-user.html.tmp Done. mv local-fontconfig-user.txt fontconfig-user.txt rm -f fontconfig-devel.pdf ../missing --run docbook2pdf local-fontconfig-devel.sgml && mv local-fontconfig-devel.pdf fontconfig-devel.pdf \ || echo Failed to generate fontconfig-devel.pdf >&2; \ (test -f fontconfig-devel.pdf || echo docbook2pdf is required to generate this file >> fontconfig-devel.pdf) rm -f -r fontconfig-devel docbook2html -o fontconfig-devel local-fontconfig-devel.sgml ../missing: line 52: docbook2pdf: command not found WARNING: `docbook2pdf' is needed, and is missing on your system. You might have modified some files without having the proper tools for further handling them. Check the `README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing `docbook2pdf' program. Failed to generate fontconfig-devel.pdf Using catalogs: /etc/sgml/sgml-docbook-3.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html Working on: /var/tmp/portage/media-libs/fontconfig-2.5.0-r1/work/fontconfig-2.5.0/doc/local-fontconfig-devel.sgml Done. mv local-fontconfig-devel.txt fontconfig-devel.txt Done. Done. make[2]: Leaving directory `/var/tmp/portage/media-libs/fontconfig-2.5.0-r1/work/fontconfig-2.5.0/doc'
And works here too. Alexander, please, attach full build output, emerge --info but I suspect that your sgml installation was corrupted somehow...
# emerge --info Portage 2.1.4.4 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 VIA Samuel 2 Timestamp of tree: Fri, 23 May 2008 11:00:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.3.5-r3, 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=i586 -m3dnow -Os -pipe -fomit-frame-pointer -mmmx" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=i586 -m3dnow -Os -pipe -fomit-frame-pointer -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="alsa apache2 berkdb cli cracklib crypt cups doc fortran gdbm gpm iconv imap ipv6 isdnlog ldap maildir midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl ppds pppd python readline reflection sasl session spl ssl svga tcpd unicode x86 zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Attachments: var/tmp/portage/media-libs/fontconfig-2.5.0-r1/temp/build.log var/tmp/portage/media-libs/fontconfig-2.5.0-r1/temp/environment
Created attachment 154635 [details] /var/tmp/portage/media-libs/fontconfig-2.5.0-r1/temp/build.log
Created attachment 154637 [details] /var/tmp/portage/media-libs/fontconfig-2.5.0-r1/temp/environment
Well this is definitely sgml problem. Try to reemerge app-text/sgml-common and app-text/docbook-sgml-utils. After that try to build fontconfig another time.
Ah, well. This is duplicate... If you have not reemerged sgml-common, may be you could add something usefull to bug 128952. ATM it's hard to say why sgml catalog became corrupted. *** This bug has been marked as a duplicate of bug 128952 ***
emerge sgml-common && emerge fontconfig solved the problem. Thank you very much.