Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 59004
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage Utilities Team <tools-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marc-Éric Dupuis <makerik@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ufed-0.35-checkdefaults.patch ufed-0.35-checkdefaults.patch patch Harald van Dijk 2004-11-08 16:48 0000 526 bytes Details | Diff
ufed-0.35-checkdefaults.patch ufed-0.35-checkdefaults.patch patch Harald van Dijk 2004-11-08 17:01 0000 526 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 59004 depends on: Show dependency tree
Bug 59004 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-07-31 10:04 0000
This is a fresh installation on an athlon64. When I use ufed it turns some of
my -flag into --flag. Now I just corrected the errors in my make.conf so my USE
line is this:

USE="escreen fbcon javascript moznocompose moznoirc moznomail -arts -cups -java
-nptl -kde -gnome -motif -qt -directfb"

Now I start ufed to add a flag, dvd for this exemple. My USE flag becomes this:

USE="dvd escreen fbcon javascript moznocompose moznoirc moznomail -arts \
     --cups --java --nptl -kde -gnome -motif --qt -directfb"

I correct my USE line again so it is like it was at first by removing dvd and
the extra "-". After I open ufed and just press save my USE becomes:

USE="escreen fbcon javascript moznocompose moznoirc moznomail -arts --cups \
     --java --nptl -kde -gnome -motif --qt -directfb"

The same errors reappears at the same places. Re-emerging ufed did not solve
this.

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




Emerge info:

Gentoo Base System version 1.4.16
Portage 2.0.50-r9 (default-amd64-2004.2, gcc-3.3.3, glibc-2.3.4.20040605-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 x86_64 12
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mir.zyrianes.net/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm avi berkdb crypt encode escreen esd fbcon foomaticdb gdbm
gif gphoto2 gpm gtk gtk2 imlib javascript jpeg libg++ libwww mikmod mozilla
moznocompose moznoirc moznomail mpeg ncurses nls nogcj oggvorbis opengl oss pam
pdflib perl png python quicktime readline sdl slang spell ssl tcpd truetype
xml2
xmms xv zlib"

------- Comment #1 From Marius Mauch (RETIRED) 2004-10-06 11:55:00 0000 -------
*** Bug 60342 has been marked as a duplicate of this bug. ***

------- Comment #2 From Harald van Dijk 2004-11-08 16:48:27 0000 -------
Created an attachment (id=43561) [details]
ufed-0.35-checkdefaults.patch

ufed assumes that no flags are disabled in make.defaults, which is true for all
profiles except some amd64 and mips profiles. Your profile has -java as a
default use flag, and ufed assumes that this sets the "-java" use flag.
Attached patch should fix it.

------- Comment #3 From Harald van Dijk 2004-11-08 16:51:07 0000 -------
(From update of attachment 43561 [details])
>--- ufed-0.35.orig/ufed.pl
>+++ ufed-0.35/ufed.pl
>@@ -672,7 +672,8 @@
>    #$All = "Make.def : " . join(' ', @make_defaults_flags) . "\n";
> 
>    #Step 2)
>-   $Results =  resolve_flags(join (' ', @make_defaults_flags),
>-                             join (' ', @use_defaults_flags));
>+   $Results =  resolve_flags(resolve_flags('',
>+                             join (' ', @make_defaults_flags)),
>+                             join (' ', @use_defaults_flags));
> 
>    #$All .= "Use.def : " . join(' ', @use_defaults_flags) . "\n";

------- Comment #4 From Harald van Dijk 2004-11-08 17:01:00 0000 -------
Created an attachment (id=43563) [details]
ufed-0.35-checkdefaults.patch

I placed parentheses in the wrong place for the original patch and tried to
correct it. I'll attach the modified and hopefully correct patch in case
there's a problem with spacing copying it from my previous comment. Sorry for
the multiple comments.

------- Comment #5 From Marius Mauch (RETIRED) 2004-11-21 21:48:58 0000 -------
0.35-r2 with the patch is in CVS now.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug