Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 70453

Summary: ufed produces an error message, quits
Product: Portage Development Reporter: Tim Redman <tim>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED DUPLICATE    
Severity: normal CC: davidgrant, k, tsdh
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tim Redman 2004-11-08 04:57:30 UTC
ufed produces the following error on execution:

couldn't open use.defaults at /usr/sbin/ufed line 502.

ufed then quits to the command line.  This seems to have just started since the upgrade to 2.0.51

Reproducible: Always
Steps to Reproduce:
1.  Execute ufed
2.
3.

Actual Results:  
couldn't open use.defaults at /usr/sbin/ufed line 502.

Expected Results:  
ufed should execute normally.

Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mmmx -msse -mfpmath=sse -Os -fomit-frame-pointer
-falign-functions=4 -falign-jumps=4"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /lib/modules /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -mmmx -msse -mfpmath=sse -Os -fomit-frame-pointer
-falign-functions=4 -falign-jumps=4 -Wno-deprecated"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com
http://gentoo.mirrors.pair.com/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gw.redman.homelinux.org/gentoo-portage"
USE="X acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cscope cups curl dga
encode fam flac foomaticdb gdbm gif gtk gtk2 imagemagick imlib java jpeg junit
kde libwww maildir md5sum mmx motif mpeg ncurses offensive oggvorbis opengl oss
pam pda pdflib perl png ppds python qt quicktime readline samba sdl slang sse
ssl tiff truetype usb userlocales x86 xml xml2 xmms xv zlib"
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2004-11-08 14:40:52 UTC
It's almost certainly a change to your profile that did this, not a change of portage version. ufed 0.35 and earlier don't support stacked profiles. 0.35-r1 (not yet marked stable) does.
Comment 2 David Grant 2004-11-10 08:10:24 UTC
Upgrading doesn't help.  

-(/home/david:$)-> ufed
ESC pressed, changes not saved

ufed crashes and produces the message above, no ncurses dialog comes up at all.
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2004-11-10 12:24:32 UTC
> ESC pressed, changes not saved
That's not related to this bug report. The fact that it's even trying to show the dialog means it's able to read the files on your system to find out which flags you currently have enabled, while the "couldn't open use.defaults" message means ufed stopped even before that. It would probably be a good idea to report this as a new bug. If you do this, could you include the output of emerge --info on your system, as well as the version of dialog installed on your system?
Comment 4 Tassilo Horn 2004-11-11 04:16:42 UTC
Ok,

I've filed a new bug report. See #70776.

Regards,
Tassilo
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2004-11-15 23:05:18 UTC
Yes, the error looks different. It is due to the fact that the first reporter's profile's child-most directory had a make.defaults. The issue is still the same.

*** This bug has been marked as a duplicate of 70345 ***
Comment 6 Aniruddha Shankar 2004-11-18 12:42:47 UTC
can we mark ufed >= 0.35 stable ?