Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

ERROR: USE flag <flag> does not exist



I am baffled. This happens after I switch to "meta-repo" from "ports-2012".  I tried several packages, euse can't see packages flag. For example, the following is for xorg-server:


# euse -p "x11-base/xorg-server" -E "xephyr"
ERROR: USE flag "xephyr" does not exist
# equery u xorg-server                                                                                                                             
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for x11-base/xorg-server-1.17.4-r2:
 U I
 - - dmx         : Build the Distributed Multiheaded X server
 - - doc         : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 - - glamor      : Enable Glamor OpenGL 2D acceleration
 + + ipv6        : Add support for IP version 6
 - - kdrive      : Build the kdrive X servers
 - - libressl    : Use dev-libs/libressl as SSL provider (might need ssl USE flag), packages should not depend on this USE flag
 - - minimal     : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
 + + nptl        : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)
 - - static-libs : Build static versions of dynamic libraries as well
 + + suid        : Enable setuid root program, with potential security risks
 - - systemd     : Enable use of systemd-specific libraries and features like socket activation or session tracking
 - - tslib       : Build with tslib support for touchscreen devices
 + + udev        : Enable virtual/udev integration (device discovery, power and storage device support, etc)
 - - unwind      : Enable libunwind usage for backtraces
 - - wayland     : Enable dev-libs/wayland backend
 - - xephyr      : Build the Xephyr server
 - - xnest       : Build the Xnest server
 + + xorg        : Build the Xorg X server (HIGHLY RECOMMENDED)
 + + xvfb        : Build the Xvfb server


Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

A lot of the tools from gentoolkit such as euse are broken with meta-repo due mostly to those tools hard-coding the gentoo repo and not respecting the alias setting. They are slowly being replaced with tools in ego. Please see the ego manpages for the latest tools available. 

Link to comment
Share on other sites

  • 0

Hello, biocyberman!

Strange that you have this result, because I have this:

funtoo ~ # euse -p "x11-base/xorg-server" -E "xephyr"
/etc/make.conf: line 24: foobashrc_modules: command not found
/etc/portage/make.conf: line 24: foobashrc_modules: command not found
Adding "x11-base/xorg-server[xephyr]" use flag to new file /etc/portage/package.use/xorg-server
funtoo ~ # cat /etc/portage/package.use/xorg-server 
x11-base/xorg-server xephyr

Do you have the folder "/etc/portage/package.use/"? I have "app-portage/gentoolkit-0.4.0" and you?

Link to comment
Share on other sites

  • 0

Hello, jhan!

I don't have the same output as biocyberman, because gentoolkit-0.4.0 works for me, maybe because I have "package.use" folder and not file.

The errors about foobashrc_modules is because I have 'foobashrc_modules = "localpatch"' in /etc/portage/make.conf, I followed this  https://www.funtoo.org/Applying_Local_Patches_to_Ebuilds .

I'm also using ego-2.2.1.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...