Emerge of abiword-2.4.6 stops during src_install, asking for keyboard input: test -z "/usr/share/applications" || mkdir -p -- "/var/tmp/portage/app-office/abiword-2.4.6/image//usr/share/applications" /usr/bin/install -c -m 644 'abiword.desktop' '/var/tmp/portage/app-office/abiword-2.4.6/image//usr/share/applications/abiword.desktop' test -z "/usr/share/pixmaps" || mkdir -p -- "/var/tmp/portage/app-office/abiword-2.4.6/image//usr/share/pixmaps" /usr/bin/install -c -m 644 'abiword_48.png' '/var/tmp/portage/app-office/abiword-2.4.6/image//usr/share/pixmaps/abiword_48.png' make[2]: Leaving directory `/var/tmp/portage/app-office/abiword-2.4.6/work/abiword-2.4.6/abi' make[1]: Leaving directory `/var/tmp/portage/app-office/abiword-2.4.6/work/abiword-2.4.6/abi' gzip: /var/tmp/portage/app-office/abiword-2.4.6/image/usr/share/doc/abiword-2.4.6//BUILD.TXT.gz already exists; do you wish to overwrite (y or n)?
I've forgot: emerge --info Portage 2.1.2-r6 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r4 i686) ================================================================= System uname: 2.6.19-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 02 Feb 2007 11:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 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.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.osuosl.org http://gentoo.inode.at" MAKEOPTS="-j2" PKGDIR="/usr/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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/ulm /usr/portage/local/layman/sunrise /usr/portage/local/layman/a1 /usr/portage/local/layman/xeffects" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acpi alsa amr asf berkdb bitmap-fonts bzip2 cairo caps cdparanoia cdr cli clisp cracklib crypt dbus directfb dlloader dri dvd dvdr eds emacs emacs-w3 emboss encode exif expat fam fbcon ffmpeg firefox fortran gcj gdbm gif glitz glut gnome gpm gstreamer gtk gtkhtml guile hal iconv idea ieee1394 imap ipv6 irda isdnlog java jbig jpeg libcaca libg++ logrotate mad midi mikmod mmx mng motif mozbranding mp3 mpeg ncurses nls nocd nptl nptlonly nsplugin offensive ogg opengl oss pcmcia pcre pdf perl png postgres ppds pppd python qt3 qt4 quicktime readline real recode reflection sdl session skey sox spell spl sse sse2 ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode userlocales vorbis wifi win32codecs x86 xml xorg xv 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev i810 vesa vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Very similar issue in gnome-extra/gnome-games-2.16.2. For both abiword and gnome-games, "ps" shows that the gzip program asking for input was called by "dodoc" (during src_install). Furthermore, the problem is epending on the portage version: portage-2.1.1-r2 is o.k. portage-2.1.2-r6 causes/triggers the bug. Adding zmedico to CC list.
(In reply to comment #2) > Furthermore, the problem is epending on the portage version: s/edending/depending/
By default, it should be calling bzip2 instead of gzip now. The compression is now configurable via the PORTAGE_COMPRESS and PORTAGE_COMPRESS_FLAGS environment variables (documented in make.conf.5). Are either of those variables set? What is the content of /usr/lib/portage/bin/dodoc?
I've just noticed that the ebuild installs two different BUILD.TXT files on the following line (one via the shell glob and another explicitly): dodoc *.TXT docs/build/BUILD.TXT user/wp/readme.txt When I build that package locally, I get the following message: bzip2: Output file /mnt/storage/local/var/tmp/portage/app-office/abiword-2.4.6/image/usr/share/doc/abiword-2.4.6//BUILD.TXT.bz2 already exists. The resulting installed files are: /usr/share/doc/abiword-2.4.6/BUILD.TXT /usr/share/doc/abiword-2.4.6/BUILD.TXT.bz2 You could add -f to PORTAGE_COMPRESS_FLAGS to have one of the files overwritten, but it seems like the collision should be fixed in the ebuild.
(In reply to comment #4) > The compression is now configurable via the PORTAGE_COMPRESS and > PORTAGE_COMPRESS_FLAGS environment variables (documented in make.conf.5). > Are either of those variables set? Yes, I have PORTAGE_COMPRESS="gzip". > What is the content of /usr/lib/portage/bin/dodoc? I shall attach it.
Created attachment 108942 [details] /usr/lib/portage/bin/dodoc
As said in Comment #5, the ebuild should not attempt to dodoc two different files named "BUILD.TXT". cat /var/tmp/portage/app-office/abiword-2.4.6/work/abiword-2.4.6/abi/BUILD.TXT Please see the documentation in the docs/build directory. Thank you. That one seems to be unnecessary.
Dropped the unneeded doc. Thanks for the bug.