Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91927 - ufed dies on start
Summary: ufed dies on start
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Harald van Dijk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-08 12:12 UTC by Gabriel Devenyi
Modified: 2005-05-12 16:40 UTC (History)
0 users

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


Attachments
Use.desc (use.desc,20.25 KB, text/plain)
2005-05-11 15:56 UTC, Gabriel Devenyi
Details
use.local.desc (use.local.desc,66.68 KB, text/plain)
2005-05-11 15:57 UTC, Gabriel Devenyi
Details
prints the text dialog is supposed to interpret (output.patch,925 bytes, patch)
2005-05-12 13:19 UTC, Harald van Dijk (RETIRED)
Details | Diff
ufed output from patch (dialog.command,163.15 KB, text/plain)
2005-05-12 13:47 UTC, Gabriel Devenyi
Details
make.conf (make.conf,1.05 KB, text/plain)
2005-05-12 16:00 UTC, Gabriel Devenyi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Devenyi 2005-05-08 12:12:55 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-08 14:53:57 UTC
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. 
Comment 2 Gabriel Devenyi 2005-05-08 14:59:17 UTC
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
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2005-05-09 04:04:07 UTC
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?
Comment 4 Gabriel Devenyi 2005-05-11 15:56:49 UTC
Created attachment 58701 [details]
Use.desc

As requested
Comment 5 Gabriel Devenyi 2005-05-11 15:57:13 UTC
Created attachment 58702 [details]
use.local.desc

As Requested
Comment 6 Gabriel Devenyi 2005-05-11 15:57:29 UTC
emerge sync and reemerge of ufed does *not* work
Comment 7 Harald van Dijk (RETIRED) gentoo-dev 2005-05-11 23:27:20 UTC
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?
Comment 8 Gabriel Devenyi 2005-05-12 03:37:08 UTC
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
Comment 9 Harald van Dijk (RETIRED) gentoo-dev 2005-05-12 13:19:14 UTC
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...
Comment 10 Gabriel Devenyi 2005-05-12 13:47:32 UTC
Created attachment 58772 [details]
ufed output from patch
Comment 11 Harald van Dijk (RETIRED) gentoo-dev 2005-05-12 15:56:46 UTC
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?
Comment 12 Gabriel Devenyi 2005-05-12 16:00:54 UTC
Created attachment 58784 [details]
make.conf
Comment 13 Harald van Dijk (RETIRED) gentoo-dev 2005-05-12 16:36:55 UTC
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.
Comment 14 Harald van Dijk (RETIRED) gentoo-dev 2005-05-12 16:38:26 UTC
Never mind that, the portage crash seems to be caused by something on my system, but it's still invalid :)
Comment 15 Gabriel Devenyi 2005-05-12 16:40:59 UTC
Hurrah it runs