Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170540 - sys-apps/portage: parallel-fetch breaks with --ask in EMERGE_DEFAULT_OPTS
Summary: sys-apps/portage: parallel-fetch breaks with --ask in EMERGE_DEFAULT_OPTS
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-12 08:47 UTC by Allen Brooker (AllenJB)
Modified: 2007-03-12 09:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Allen Brooker (AllenJB) 2007-03-12 08:47:14 UTC
The parallel-fetch feature does not work if --ask is in EMERGE_DEFAULT_OPTS. The only output is the following to emerge-fetch.log:
!!! "--ask" should only be used in a terminal. Exiting.

Thus it looks like --ask isn't filtered from the options of the instance spawned to do parallel-fetch.

I've tried an emerge without --ask in the default options but in the normal command-line optinos, and parallel-fetch works fine in this case.

Portage 2.1.2-r9 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 07 Mar 2007 20:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.5-r3, 2.4.3-r4
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php4/ext-active/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --alphabetical --verbose --deep --tree"
FEATURES="autoconfig buildpkg collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv"
GENTOO_MIRRORS="        http://gentoo.virginmedia.com/          http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo       http://mirror.switch.ch/mirror/gentoo/          http://pandemonium.tiscali.de/pub/gentoo/  "
LANG="en_GB"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB en"
MAKEOPTS="-j1"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi alsa amd64 amr aoss apache2 apm asf bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups curl dedicated dga dri dts dvd dvdr dvdread emboss enca encode exif expat fbcon ffmpeg firefox flac ftp gif gnutls gstreamer gtk gtk2 haskell iconv idn ipv6 isdnlog ithreads java javascript jpeg jpeg2k junit kde lcms libg++ lirc lzo mad midi mikmod mjpeg mng mozsvg mp3 mpeg musepack mysql mysqli ncurses nls nocd nptl nptlonly nvidia ogg oggvorbis opengl pam pcre perl php png ppds pppd python qt3 qt4 quicktime rdesktop readline reflection samba sdl session speex spl sqlite ssl svg tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb vcd vhosts videos vorbis wmf wxwindows x264 xine xml xorg xpm xv xvid yv12 zlib" ALSA_CARDS="emu10k1" 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 wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" LIRC_DEVICES="livedrive_midi" USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Allen Brooker (AllenJB) 2007-03-12 09:28:45 UTC
I was alerted in IRC that sys-apps/portage-2.1.2.2 was just released and stabilised (thought I'd sync'd since friday - but obviously not - apologies for any inconvenience caused =) )

This version does not appear to have this bug. Thanks for fixing it =)