Weechat fails to emerge on my system, and does so in such a way that I have to kill dblatex in order to stop the failed emerge, due to it asking for user input. That one can probably be filed with upstream, but the actual emerge failure probably has to do with a misconfiguration which I've been unable to fix. Here's the error: Making all in en make[3]: Entering directory `/var/tmp/portage/net-irc/weechat-0.2.6/work/weechat-0.2.6/doc/en' echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml mkdir -p html/ xsltproc -o html/ ../weechat-html.xsl weechat.en.xml || true warning: failed to load external entity "/html/chunk.xsl" compilation error: file ../weechat-html.xsl line 5 element import xsl:import : unable to load /html/chunk.xsl cp ../weechat-doc.css html/ touch html-stamp echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml dblatex -c ../dblatex.conf weechat.en.xml || true This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %&-line parsing enabled. entering extended mode LaTeX2e <2005/12/01> Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, bulgarian, greek, monogreek, ancientgreek, ibycus, pinyin, russian, ukenglish, ukrainian, loaded. ! I can't find file `-c'. <*> ...ther\HCode ../dblatex.conf.a.b.c.\input -c Please type another input file name: I attempted to resolve this by: 1.rm /etc/xml/{docbook,catalog} 2.emerge libxml2 3.emerge docbook-xsl-stylesheets docbook-xml-dtd 4.build-docbook-catalog It still fails. Will attach /etc/xml/docbook and /etc/xml/catalog Reproducible: Always Steps to Reproduce: 1.Try to emerge weechat-0.2.6 (the problem is with the docs, but there's no way to build without docs) 2.You probably won't be able to reproduce this because it is most likely a configuration issue. I personally have most likely not messed up the configuration myself, so you should try to reproduce it to see if you have the same issue on your system anyway. 3. Actual Results: Weechat failed to emerge and got stuck asking for input until I killed dblatex. Ctrl-c did not work. Expected Results: It should emerge just fine, and if it does not then the emerge script should quit cleanly. ProximaCentauri xml # emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.6.1-r0, 2.6.22-gentoo-r5 i686) ================================================================= System uname: 2.6.22-gentoo-r5 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz Timestamp of tree: Mon, 18 Aug 2008 23:04:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62-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-r1 sys-devel/binutils: 2.18-r3 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="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -Os -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=pentium4 -Os -pipe" 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" LC_ALL="en_GB.UTF-8" LINGUAS="en_GB" MAKEOPTS="" 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/portage/local/layman/pro-audio /usr/portage/local/layman/sunrise /usr/portage/local/layman/zugaina /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="16bit X Xaw3d a52 aac aalib acl acpi aim alsa amr amrnb amrwb amuled ao asf audacious audiofile background bash-completion bdf berkdb bidi bittorrent blender-game browserplugin bzip2 cairo caps cddb cdio cdr chardet cjk cli context cracklib crypt cscope css ctype cups curl curlwrappers cyrillic dba dbus dga directfb djvu doc dri dts dvd dvdr dvdread ecc eds emboss encode epydoc ethereal evo examples exif expat extra fam fastbuild fbcon ffmpeg finger firebird firefox flac fluidsynth font-server force-cgi-redirect fortran fpx ftp games gcrypt gd gdbm ggi gif glut glx gnutls gopher gpm grammar graphics graphviz gsm gstreamer gtk gtkhtml hal humanities iceweasel iconv idea idn ieee1394 ilbc imlib immqt-bc injection iplsrc ipv6 isdnlog jabber jadetex jai java javascript jbig jikes jingle jmf jpeg jpeg2k jrtplib kerberos kpathsea ladspa laptop latex lcms ldap libcaca libgda libnotify loudmouth lua lyx m17n-lib mad math md5sum memlimit midi mikmod mmap mmx mng modplug motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp2 mp3 mpeg mplayer msn mudflap musepack music mysql ncurses neXt nemesi network nls nntp nodrm nptl nptlonly nsplugin odbc offensive ogg omega openexr opengl openmp ortp oss ots pam pcmcia pcre pdf perl plotutils png pnm portaudio posix pppd profile pstricks publishers python qt3support quicktime radio rar readline real reflection science sdl session sid simplexml slang slp smi sndfile soap sockets socks5 sofia-sip speex spell spl srp srt srv sse ssl ssse3 startup-notification svg t1lib tcltk tcpd tex4ht theora thesvia82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 163276 [details] Possibly relevant catalog file This was mentioned in a couple of places that I found on the net, including 1 gentoo bug report: google "xsl:import : unable to load"
Created attachment 163278 [details] The other possibly relevant file ""
Unmerging dblatex solved the problem. The weechat configure script tries to use dblatex if it's there, but if it finds it compilation fails, at least on my system. The ebuild should be tweaked to tell configure not to use dblatex, if possible.
Created attachment 163540 [details, diff] fix xsl path & disable PDF generation I disabled PDF generation as it _SEEMS_ to be broken. I don't know tex and may be wrong.
Reemerged tex4ht (which owns dblatex), unmerged weechat, applied the patch and remerged. It compiled fine, html docs were installed. Thanks alot Leonid!
Thanks much for the help, Leonid. Keep up the good work :)