Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135253 - emerge gives "fmt: invalid width: `10000'" messages after sync
Summary: emerge gives "fmt: invalid width: `10000'" messages after sync
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Low minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-02 04:06 UTC by ta2002
Modified: 2006-06-03 00:57 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 ta2002 2006-06-02 04:06:48 UTC
Someone has probably reported this already, but I have tried to search the bugs for two days and my browser just hangs. Every other part of bugzilla seems to work fine.

After a recent upgrade to portage, EVERY time that I sync, the FIRST time that I do any emerge, I get:

# emerge -Dpuv world

These are the packages that I would merge, in order:

Calculating world dependencies  fmt: invalid width: `10000'
fmt: invalid width: `10000'
fmt: invalid width: `10000'
fmt: invalid width: `10000'
 ...done!

[...]

No subsequent emerge (with -p or not) displays the invalid width messages.


$ emerge -p info
Portage 2.0.54-r2 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_NZ.UTF-8"
LINGUAS="en ru"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib acpi alsa arts audiofile berkdb bitmap-fonts bzip2 caps cdparanoia cdr cjk crypt css cups dga directfb dri dvd dvdr encode exif expat fam fbcon ffmpeg flac gcj ggi gif glibc-omitfp gmp gphoto2 gpm gstreamer gtk2 idea idn imagemagick imap imlib ipv6 isdnlog javascript joystick jpeg kde lcms libcaca libwww live lm_sensors mad matroska mbox memlimit mng mp3 mpeg mysql nas ncurses network nls nodrm nptl nptlonly ogg opengl pcre pdflib perl png ppds pppd qt quicktime readline reflection rtc samba scanner sdl silc speex spell ssl tcpd theora tiff timidity truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vcd vorbis wifi xinerama xml xml2 xmms xorg xv xvid zlib linguas_en linguas_ru userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-02 04:20:43 UTC
grep -Rni fmt /usr/local/portage; post the output. k3b in your overlay, by chance? :P
Comment 2 ta2002 2006-06-02 22:04:13 UTC
> k3b in your overlay, by chance? :P

Sounds like you know about this. :)

$ grep -Rni fmt /usr/local/portage
/usr/local/portage/app-cdr/k3b/k3b-0.11.17.ebuild:45:MAKE_PO=$(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d | fmt -w 10000)
/usr/local/portage/app-cdr/k3b/k3b-0.11.17.ebuild:46:MAKE_DOC=$(echo "${LINGUAS} ${LANGS_DOC}" | fmt -w 1 | sort | uniq -d | fmt -w 10000)
/usr/local/portage/app-cdr/k3b/k3b-0.11.18.ebuild:39:MAKE_PO=$(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d | fmt -w 10000)
/usr/local/portage/app-cdr/k3b/k3b-0.11.18.ebuild:40:MAKE_DOC=$(echo "${LINGUAS} ${LANGS_DOC}" | fmt -w 1 | sort | uniq -d | fmt -w 10000)
/usr/local/portage/app-cdr/k3b/k3b-0.11.24.ebuild:48:   MAKE_PO=$(echo $(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d))
/usr/local/portage/app-cdr/k3b/k3b-0.11.24.ebuild:49:   MAKE_DOC=$(echo $(echo "${LINGUAS} ${LANGS_DOC}" | fmt -w 1 | sort | uniq -d))
/usr/local/portage/app-cdr/k3b/k3b-0.12.4a.ebuild:59:   MAKE_LANGS=$(echo $(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d))

Obviously, I can remove the old ebuilds from the overlay.

If you have a few seconds (and I know you don't), can you explain what causes the messages, why they only showed up after the portage upgrade, and why they only happen on the first emerge after a sync (call me curious, but that represents a big reason why I use Gentoo :) )?

Thank you very much.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-03 00:57:27 UTC
(In reply to comment #2)
> If you have a few seconds (and I know you don't), can you explain what causes
> the messages, why they only showed up after the portage upgrade, and why they
> only happen on the first emerge after a sync (call me curious, but that
> represents a big reason why I use Gentoo :) )?

See Bug 104680. Such stuff like 'fmt -w' does not belong to global scope, should never only be used enclosed in some of the ebuild functions. Otherwise, it gets sourced and portage chokes on it on every cache regen (which happens after every emerge --sync).