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 108: mktemp: command not found ./xmlto: line 111: : No such file or directory ./xmlto: line 130: mktemp: command not found ./xmlto: line 133: : No such file or directory ./xmlto: line 290: mktemp: command not found ./xmlto: line 108: mktemp: command not found ./xmlto: line 111: : No such file or directory ./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 `/var/tmp/portage/app-text/xmlto-0.0.18/work/xmlto-0.0.18' make: *** [all] Error 2 emerge --info Portage 2.1.5.2 (default-linux/amd64/2007.0, gcc-4.2.4, glibc-2.7-r2, 2.6.25-gentoo-r4 x86_64) ================================================================= System uname: 2.6.25-gentoo-r4 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-60 Timestamp of tree: Sat, 31 May 2008 01:43:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r4 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.4-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 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.25-r3 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O3 -pipe -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.utf8" LC_ALL="ru_RU.utf8" LDFLAGS="" LINGUAS="ru" MAKEOPTS="-j3" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 amr applet artworkextra bash-completion bashlogger berkdb bios bluetooth branding bzip2 cairo cdda cddb cdio cdr cli compat crypt cups curl cxx dbus dell deprecated device-mapper disk-partition djvu dri dts dvd dvdr enca encode epiphany esd exif expat fax ffmpeg flac fuse gcc4 gcdmaster gcj gecko gedit gif gimp glep glibc-omitfp glitz gmp gnome gnome-keyring gnutls gphoto2 gpm grammar gs gstreamer gtk gtkhtml guile hal iconv id3 idle idn imlib isdnlog ithreads jabber jpeg jpeg2k justify lame laptop ldap libgda libnotify lzma mad mailwrapper math md5sum midi mktemp mmx mmxext mng mp2 mp3 mpeg mudflap musicbrainz nautilus ncurses network networking networkmanager nls nptl nptlonly nsplugin offensive ogg opengl openmp ots pam pcre pdf perlsuid pic plugins png pnm ppds pppd python quicktime radio readline reflection regex rle samba scanner sdl session speex spell spl sqlite srt sse sse2 ssl svg symlink t1lib tagwriting tcl tcpd theora thesaurus threads threadsafe tiff tk trayicon truetype unicode usb utils v4l vim-pager vim-syntax vim-with-x vnc vorbis winbind wmf x264 xattr xhtml xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ddc@ddclpc:~ $ whereis mktemp mktemp: /usr/bin/mktemp /usr/X11R6/bin/mktemp /usr/share/man/man3p/mktemp.3p.bz2 /usr/share/man/man3/mktemp.3.bz2
Could you try the emerge again in a fresh shell environment? It seems mktemp was moved.
Tried after reboot, nothing have changed. Even "env-update" didn't help. Anyway, I'm using sudo to run emerge from my user's account, I believe sudo always runs in an up-to-date environement.
Well, I'm sorry. ddc@ddclpc:~ $ ls -l /usr/bin/mktemp lrwxrwxrwx 1 root root 11 May 1 17:09 /usr/bin/mktemp -> /bin/mktemp ddc@ddclpc:~ $ ls -l /bin/mktemp ls: cannot access /bin/mktemp: No such file or directory ddc@ddclpc:~ $ equery b /bin/mktemp /usr/bin/mktemp [ Searching for file(s) /bin/mktemp,/usr/bin/mktemp in *... ] sys-apps/coreutils-6.11 (/bin/mktemp) sys-apps/coreutils-6.11 (/usr/bin/mktemp -> /bin/mktemp) Seems like coreutils didn't install mktemp. Now re-emerging coreutils...
After re-emerging coreutils problem is gone. But why could /bin/mktemp disappear?
Probably because you uninstalled sys-apps/mktemp and forgot to update sys-apps/coreutils to a version that provides the replacement mktemp executable.
(In reply to comment #5) > Probably because you uninstalled sys-apps/mktemp and forgot to update > sys-apps/coreutils to a version that provides the replacement mktemp > executable. > I had the same version of coreutils before filing this bug.