Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220775 - portage- /usr/lib64/portage/bin/dodoc 'vecho' not available
Summary: portage- /usr/lib64/portage/bin/dodoc 'vecho' not available
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Portage team
Keywords: InVCS
Depends on:
Blocks: 216231
  Show dependency tree
Reported: 2008-05-07 15:11 UTC by Dustin Polke
Modified: 2008-05-09 09:33 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2008-05-07 15:11:51 UTC
While watching output of emerge gcc, I saw that /usr/lib64/portage/bin/dodoc tries to execute 'vecho' (line 7 in the script). Guess that should be 'echo', shouldn't it? 

Reproducible: Always

Portage (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo_dazuko-patch-r7-stable x86_64)
System uname: 2.6.24-gentoo_dazuko-patch-r7-stable x86_64 Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz
Timestamp of tree: Wed, 07 May 2008 06:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r2
dev-util/ccache:     2.4-r7
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
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.23-r3
CFLAGS="-march=nocona -O2 -pipe"
CONFIG_PROTECT="/etc /usr/bin/mygenkernel /usr/sbin/run-crons /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="                     "
LINGUAS="en de"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/portage/layman/alon-barlev /usr/local/portage/layman/haskell /usr/local/portage/layman/sunrise /usr/local/portage/layman/science /usr/local/portage/layman/connectical-contrib /usr/local/portage/modified /usr/local/portage/own"
USE="X Xaw3d a52 aac aalib accessibility acl acpi alsa amd64 amr amrnb amrr amrwb apm async audacious audiofile bash-completion berkdb bindist bl bluetooth branding bzip2 cairo cardbus cjk cli cpudetection cracklib crypt css ctype cups dbus dga divx dri dvd dvdr dvdread eds encode evo exif expat extensions fam fbcon fbcondecor fbsplash ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gedit gif gimp gimpprint glade glibc-omitfp glitz gmedia gmp gnutls gphoto2 gs gsm gtk gtkhtml guile hddtemp hdf5 iconv icq icu idn ieee1394 imagemagick imap imlib iproute2 ipw4965 isdnlog jack java javascript jikes jpeg jpeg2k kerberos keyscrub kpathsea latex lcms ldap libcaca libnotify libwww live lm_sensors logrotate loop-aes lzo mad memlimit midi mikmod mime mmx mmxext mng motif mp2 mp3 mp4 mpeg mudflap multilib musepack ncurses nls nntp nptl nptlonly nsplugin nvidia ogg opengl openmp pam pch pcmcia pcre pda pdf perl plotutils png posix postgres ppds pppd print python quicktime readline realmedia reflection ruby rubytests samba sasl sdl server session simplexml slang sndfile soap sockets speex spell spl sse sse2 ssl ssse3 suhosin svg swat syslog tcpd tetex tga theora tiff truetype unicode usb userlocales v4l v4l2 vcd vim-syntax vim-with-x vorbis wifi winbind wma wmf wmp wxwindows x264 xanim xine xinetd xml xorg xpm xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="fuji ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2008-05-07 16:00:46 UTC
No, vecho is an internal portage function (defined in
Comment 2 David Leverton 2008-05-08 09:31:40 UTC
(In reply to comment #1)
> No, vecho is an internal portage function (defined in

Then perhaps dodoc should source before using the functions it defines?
Comment 3 Dustin Polke 2008-05-08 10:23:43 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > No, vecho is an internal portage function (defined in
> Then perhaps dodoc should source before using the
> functions it defines?

Thanks David,
haven't had the time to investigate the issue yet. REOPENing for further consideration.
Comment 4 Dustin Polke 2008-05-08 16:20:27 UTC
Just emerge gcc on my sparc box.
For completeness, here are the last 10 line of the build log:

strip: sparc-unknown-linux-gnu-strip --strip-unneeded -R .comment
/usr/lib/portage/bin/dodoc: line 7: vecho: command not found
/usr/lib/portage/bin/dodoc: line 7: vecho: command not found
>>> Completed installing gcc-4.1.2 into /var/tmp/portage/sys-devel/gcc-4.1.2/image
Comment 5 Zac Medico gentoo-dev 2008-05-09 09:33:00 UTC
Thanks, this is fixed in 2.1.5_rc8.