got this error (on new install-in-progress from stage3): make all-am make[1]: Entering directory `/mnt/space/Portage/tmp/portage/app-text/xmlto-0.0.18/work/xmlto-0.0.18' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -MT xmlif/xmlif.o -MD -MP -MF "xmlif/.deps/xmlif.Tpo" -c -o xmlif/xmlif.o `tes t -f 'xmlif/xmlif.c' || echo './'`xmlif/xmlif.c; \ then mv -f "xmlif/.deps/xmlif.Tpo" "xmlif/.deps/xmlif.Po"; else rm -f "xmlif/.deps/xmlif.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -o xmlif/xmlif xmlif/xmlif.o for xml in xmlif.xml xmlto.xml; do \ FORMAT_DIR=./format XSL_DIR=./xsl \ bash ./xmlto -o man/man1 man ./doc/$xml ; \ done || ( RC=$?; cat ./FAQ; exit $RC ) ./xmlto: line 130: mktemp: command not found ./xmlto: line 133: : No such file or directory ./xmlto: line 290: mktemp: command not found ./xmlto: line 130: mktemp: command not found ./xmlto: line 133: : No such file or directory ./xmlto: line 290: mktemp: command not found Q: I'm trying to build xmlto on my Debian box, but it doesn't work. A: If you get `Attempt to load network entity' errors when building xmlto, your system does not have the required support for XML Catalogs (http://www.oasis-open.org/committees/entity/spec-2001-08-06.html). In particular, Debian has no support for these. Try the Fedora Project <http://fedora.redhat.com>. make[1]: *** [man/man1/xmlto.1] Error 1 make[1]: Leaving directory `/mnt/space/Portage/tmp/portage/app-text/xmlto-0.0.18/work/xmlto-0.0.18' make: *** [all] Error 2 !!! ERROR: app-text/xmlto-0.0.18 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 2957: Called src_compile xmlto-0.0.18.ebuild, line 32: Called die installing mktemp manually worked fine. Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r0, 2.6.18-1.2257.fc5smp i686) ================================================================= System uname: 2.6.18-1.2257.fc5smp i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 09 Mar 2007 10:00:01 +0000 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 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 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/mnt/space/Portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" PKGDIR="/mnt/space/Portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/mnt/space/Portage/tmp" PORTDIR="/mnt/space/Portage/tree" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X509 acl berkdb bitmap-fonts cjk cli cracklib crypt cups doc dri fortran gdbm gpm iconv ipv6 isdnlog libedit libg++ midi ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session skey slang spell spl ssl tcpd tetex truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" 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 ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Can you check what package exactly is pulling xmlto as a dependency on your case? mktemp is in the base profile (PDEPEND in debianutils), so it should be available from a stage3, however if it's required from another base package, we'd have to add the dependency (I'd add it now, but there's another issue with the x84-fbsd keyword, so I want to make sure this is really necessary first).
it was pulled in by app-text/opensp-1.5.2-r1 (might just be that i set some 'curious' use flag or something ;) but prolly good to add it if it is needed ...)
The dependency is in the ebuild explicitly now. Thanks.