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

Filename Description Type Creator Created Size Actions
ufed-0.35-mask.patch ufed-0.35-mask.patch patch Harald van Dijk 2004-10-24 05:39 0000 318 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 68691 depends on: Show dependency tree
Bug 68691 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-10-24 04:37 0000
These are the use flags in make.conf:

USE="chroot cscope dga divx4linux fbcon fbdev mmx mp3 mplayer \
     network offensive pcre pnp sse userlocales vim-with-x xvid"

When I run ufed,enable the "bootsplash" flag and save I get the following in make.conf:
USE="bootspla chroot cscope dga divx4linux fbcon fbdev mmx mp3 mplayer \
     network offensive pcre pnp sse userlocales vim-with-x xvid"

(notice that "bootsplash" is saved as "bootspla")

Reproducible: Always
Steps to Reproduce:
1. run ufed, enable bootsplash and save

Actual Results:  
bootsplash is saved as bootspla


Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9
i686)
=================================================================
System uname: 2.6.9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
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 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmx"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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="-march=pentium3 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb bitmap-fonts bootspla chroot crypt cscope cups dga
divx4linux encode f77 fbcon fbdev foomaticdb gdbm gif gnome gpm gtk gtk2 imlib
jpeg kde libg++ libwww mad mikmod mmx motif mp3 mpeg mplayer ncurses network nls
offensiveoggvorbis opengl oss pam pcre pdflib perl png pnp python qt quicktime
readline sdl slang spell sse ssl svga tcpd truetype userlocales vim-with-x x86
xml2 xmms xprint xv xvid zlib"

------- Comment #1 From Harald van Dijk 2004-10-24 05:39:12 0000 -------
Created an attachment (id=42488) [details]
ufed-0.35-mask.patch

The problem:

/usr/portage/profiles/use.desc contains
sh - indicates that architecture is SuperH

which tells ufed to remove any sh flags you may have in your USE list. It's a
bit too aggressive. Attached patch fixes it for me.

------- Comment #2 From Stephane Bonnell 2004-10-24 05:59:12 0000 -------
Same problem for PHP flag 'flash' saved as 'fla'...

------- Comment #3 From Raul Metsma 2004-10-30 00:42:16 0000 -------
*** Bug 67339 has been marked as a duplicate of this bug. ***

------- Comment #4 From Nikolas Garofil 2004-10-31 01:19:29 0000 -------
I tested it and the patch works on ufed 0.35 but also on 0.34
Thanks !

------- Comment #5 From Daniel Webert 2004-11-05 12:47:21 0000 -------
*** Bug 69823 has been marked as a duplicate of this bug. ***

------- Comment #6 From Bel Zébute 2004-11-08 16:20:14 0000 -------
Basically, any flag ending with sh will be mangled.  I had a problem nagios-ssh
that got mangled to nagios-s.  The patch took care of it.  Quick instructions
for those who wonder how to fix it.

Enable PORTAGE_OVERLAY="/usr/local/portage" in /etc/make.conf

# mkdir -p /usr/local/portage/app-portage/ufed/files
# cd /usr/local/portage/app-portage/ufed/files
# wget http://bugs.gentoo.org/attachment.cgi?id=42488 -O ufed-0.35-mask.patch
# cp /usr/portage/app-portage/ufed/files/cascaded-profile-support.patch .
# cd ..
# cp /usr/portage/app-portage/ufed/ufed-0.35-r1.ebuild .
# ebuild ufed-0.35-r1.ebuild digest

Modify ufed-0.35-r1.ebuild with your favorite editor and locate the line
begining with epatch.  If you use vi|vim|gvim, you can put the cursor on that
line and press "d" twice and then "shift-p" twice.  This will double the epatch
line.

It should then look this way:

epatch ${FILESDIR}/${P}-mask.patch

Save and ensure ufed will be updated to the said unstable version:

# mkdir -p /etc/portage
# echo "=app-portage/ufed-0.35-r1 ~x86" >> /etc/portage/package.keyword

emerge -a ufed to besure it will borrow the ebuild from the overlay.

------- Comment #7 From Bel Zébute 2004-11-08 16:29:43 0000 -------
*** Bug 70411 has been marked as a duplicate of this bug. ***

------- Comment #8 From Richard Scott 2004-11-09 03:25:47 0000 -------
I've just noticed that the flag bash-completion is saved as ba-completion and
is marked as an unknown option when next using ufed.

------- Comment #9 From Richard Scott 2004-11-11 07:22:33 0000 -------
It also removes the flag "tcltk" from /etc/make.conf when saving you've
activated it. However, it shows it as being activated next time you run ufed.

However, to compile something with tcltk support it is required in make.conf.

------- Comment #10 From Marius Mauch (RETIRED) 2004-11-21 21:49:08 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