Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Gentoo This forum is for the discussion of Gentoo Linux.


  Search this Thread
Old 03-20-2009, 07:42 AM   #1
Registered: Apr 2008
Posts: 114

Rep: Reputation: 15
[GENTOO] Question about emerge and use flags


My profile is: "default/linux/x86/2008.0/desktop"

If I look at /usr/portage/profiles/targets/desktop/make.defaults, I see this list of USE flags:

# cat make.defaults
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/targets/desktop/make.defaults,v 1.4 2008/12/19 11:33:35 armin76 Exp $

USE="acpi alsa branding cairo cdr dbus dvd dvdr dvdread eds emboss encode esd evo fam firefox gif gnome gpm gstreamer gtk hal jpeg kde ldap libnotify mad mikmod mp3 mpeg ogg opengl pdf png ppds qt3 qt3support qt4 quicktime sdl spell svg tiff truetype vorbis win32codecs unicode usb X xml xulrunner xv"

# This is added for GNOME/Xfce
USE="${USE} startup-notification"

# Adding this for bluetooth support
USE="${USE} bluetooth"
But, if I type "emerge --info" I see:

USE="X acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xulrunner xv zlib"
Well, so where are listed those flags? In which file?
Old 03-21-2009, 10:13 AM   #2
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 997

Rep: Reputation: 130Reputation: 130
Old 03-21-2009, 05:20 PM   #3
Registered: Apr 2008
Posts: 114

Original Poster
Rep: Reputation: 15
Originally Posted by Pearlseattle View Post
My /etc/make.conf contains:


I think the answer is in the "cascading profiles" concept of Gentoo..
Old 03-22-2009, 06:40 AM   #4
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Did you migrate to 'cascading profiles'?

AFAIK this is not enabled by default and reading the documentation I understand why.
Old 06-03-2009, 02:46 PM   #5
Gentoo support team
Registered: May 2009
Location: 56N 3W
Distribution: Gentoo
Posts: 178

Rep: Reputation: 41

Gentoo profiles have a hierarchy. USE flags set in higher levels are set in lower levels unless unset there.

emerge ufed to see what flags are set where.
This will not show you settings in /etc/portage/package.use.
Old 06-04-2009, 08:14 AM   #6
Gentoo support team
Registered: May 2009
Location: Ste-Foy,Québec,Canada
Distribution: Gentoo
Posts: 115

Rep: Reputation: 17
Can you post this actually :

# emerge --info
# eselect profile list


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gentoo use flags lemonlaw95 Linux - Newbie 3 03-09-2009 10:17 PM
Gentoo - updating system question (emerge) elitecodex Linux - Distributions 4 04-28-2005 04:54 PM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 06:37 PM
Please help. Gentoo: Emerge gentoo-dev-sources fails sendas4 Linux - Newbie 3 07-19-2004 11:44 AM
gentoo emerge question. digsby0007 Linux - Software 0 04-15-2004 06:22 PM > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 08:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration