root@oracle ace # ufed ---BLANK SPACE---- Error: Expected 4 arguments, found only 3. Use --help to list options. Happens with both ufed 0.36 and 0.39 on x86 stable
Works here (both versions). Post emerge --info output and dev-lang/perl, dev-util/dialog, dev-perl/TermReadKey and sys-apps/grep versions and reopen then.
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-ck7s i686) ================================================================= System uname: 2.6.11-ck7s i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 8 2005, 00:57:42)] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo ftp://gentoo.risq.qc.ca/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://gentoo.agsn.ca/ ftp://gentoo.mirrored.ca/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="x86 4kstacks acpi arts bash-completion berkdb ccache crypt curl dhcp emboss ftp gdbm idea imlib libg++ libwww lm_sensors mime mmap ncurses nls nomac nptl nptlonly pam perl python readline sdl sftplogging smime snmp spell ssl svga symlink tcpd threads unicode userlocales xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY [ebuild R ] dev-lang/perl-5.8.5-r5 +berkdb -debug -doc +gdbm -ithreads -perlsuid (-uclibc) 0 kB [ebuild R ] dev-util/dialog-1.0.20050206 +unicode 0 kB [ebuild R ] sys-apps/grep-2.5.1-r7 -build -debug +nls -pcre -static (-uclibc) 0 kB
Can't reproduce this here either. Could you please save your current /usr/portage/profiles/use.desc and use.local.desc, run emerge --sync, and if that fixes it, attach your old use.desc and use.local.desc?
Created attachment 58701 [details] Use.desc As requested
Created attachment 58702 [details] use.local.desc As Requested
emerge sync and reemerge of ufed does *not* work
ufed 0.39 has no problem reading those two files here. The only other thing I can think of that might cause this is if Term::ReadKey has problems determining the window size. (You didn't provide the version of that, by the way.) So, another question: perl -we 'use Term::ReadKey; $,=","; $\="\n"; print+($ENV{TERM},GetTerminalSize)' What does that print? Also, if it isn't obvious from the output, what terminal are you using? And how does it work if you run it from xterm, or the console?
perl -we 'use Term::ReadKey; $,=","; $\="\n"; print+($ENV{TERM},GetTerminalSize)' xterm,70,18,0,0 I run it in ssh in konsole, I can't run it directly on a console as it is a headless machine. [ebuild R ] dev-perl/TermReadKey-2.21
Created attachment 58770 [details, diff] prints the text dialog is supposed to interpret Strange, no problems here with konsole and ssh, even with the exact same window size. And attempts to break this gave a different error message anyway. Sorry, I'm completely unable to see the actual problem. Could you apply this patch, run ufed 2>dialog.command, and attach the generated dialog.command? Hopefully, that will at least show exactly where ufed gets things wrong...
Created attachment 58772 [details] ufed output from patch
Ah,,, it seems that ufed is somehow finding a USE flag that you disabled in make.conf, but it can't find the name of this flag. Because of this, it tries to show an empty string in the dialog, but because this empty string isn't in quotes, dialog skips it entirely. Since the emerge --info output only shows enabled flags, not disabled flags, could you also provide your /etc/make.conf?
Created attachment 58784 [details] make.conf
Ah... There it is. You have "- imlib" in your USE flags, instead of "-imlib". That isn't valid, and it also crashes portage itself (2.0.51.21-r1, at least), not just ufed. Please see if you still have problems after correcting this.
Never mind that, the portage crash seems to be caused by something on my system, but it's still invalid :)
Hurrah it runs