Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]emerge does not respect global useflags in make.conf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
megaupload
n00b
n00b


Joined: 03 May 2024
Posts: 4
Location: Germany

PostPosted: Sun Jun 09, 2024 2:42 pm    Post subject: [SOLVED]emerge does not respect global useflags in make.conf Reply with quote

it seems like on my computer, emerge has a problem with correctly reading my make.conf useflags
for example when i run:
emerge --info | grep pipewire
it lists nothing what should mean that i havent set a useflag for it
BUT I HAVE SET IT IN MY make.conf:

Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=ivybridge -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
CHOST="x86_64-pc-linux-gnu"
CPU_FLAGS_X86="aes avx f16c mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3"
#ABI_X86="64 32"

MAKEOPTS="-j4"
#MAKEOPTS="-j8"

GRUB_PLATFORMS="pc"

USE="bash-completion opengl vulkan dbus dvd jpeg png svg mp3 mp4 mpeg freetype2 ogg elogind truetype tiff usb vorbis xml usb"
USE="sound-server mpris udev xscreensaver flac v4l x265 theora policykit vaapi vdpau lto cec -cameras_ptp2 -wayland"
USE="concurrent gui network printsupport sql minizip svg testlib widgets x11extras xml flatpak archive -gnome-keyring libmount icons extras proprietary-codecs"
USE="gstreamer fontconfig chromium codec2 libdrm modplug autotype browser extra postproc initramfs python gtk X -ipv6 unicode cups lm-sensors"
USE="xorg qt grub qt5 gtk2 gtk3 -gnome -systemd networkmanager pipewire pulseaudio amd64 crypt spice usbredir udisks offensive cryptsetup ocr -bluetooth"
USE="autotype browser keeshare pulseaudio ffmpeg scanner snmp hpcups static-ppds zeroconf"
# Appending getbinpkg to the list of values within the FEATURES variable
FEATURES="${FEATURES} getbinpkg"
# Require signatures
FEATURES="${FEATURES} binpkg-request-signature"
SANE_BACKENDS="hp"

#POLICY_TYPES="targeted"
INPUT_DEVICES="libinput keyboard mouse"

ACCEPT_KEYWORDS="~amd64"
ACCEPT_LICENSE="*"

VIDEO_CARDS="intel"

#LLVM_TARGETS="-AMDGPU -AArch64 -ARM -SystemZ -Sparc -RISCV -PowerPC -NVPTX -Mips -MSP430 -Lanai -Hexagon"
#LANG="de_DE.UTF-8"
#LC_ALL="de_DE.UTF-8"
LANG="de_DE@euro de_DE.UTF-8 de_DE.utf8"
LANGUAGE="49"
L10N="de en"
LC_ALL="de_DE.utf8"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8


this is the output of my emerge --info:

Code:
Portage 3.0.64 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop, gcc-13, glibc-2.39-r6, 6.8.9-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.8.9-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-3520M_CPU_@_2.90GHz-with-glibc2.39
KiB Mem:    16343904 total,   9756276 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 25 May 2024 08:30:00 +0000
Head commit of repository gentoo: 42c2339051ddc8f634819b528547410cf926f452
Timestamp of repository guru: Fri, 24 May 2024 19:48:39 +0000
Head commit of repository guru: 2e3bb44ccbf83da34bd6574b99e1495c22baef9a

Timestamp of repository librewolf: Mon, 20 May 2024 17:23:52 +0000
Head commit of repository librewolf: dbc2a44615199d8ba5ee0db1cc825470826e54f0

Head commit of repository nix-guix: a3742c2cf6c88fa2e645a31dc748cfd6a0f8aaec

Timestamp of repository zugaina: Fri, 16 Jun 2023 08:32:15 +0000
Head commit of repository zugaina: a31fcec20b159a13ccd069d4e13b92d18bc0ffec

sh bash 5.2_p26-r3
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r3::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-lang/perl:             5.38.2-r5::gentoo
dev-lang/python:           3.11.9-r1::gentoo, 3.12.3-r1::gentoo, 3.13.0_beta1_p2::gentoo
dev-lang/rust-bin:         1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r5::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.6::gentoo
sys-devel/gcc:             13.2.1_p20240503::gentoo, 14.1.1_p20240518::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.6::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/librewolf.git
    masters: gentoo
    volatile: False

nix-guix
    location: /var/db/repos/nix-guix
    sync-type: git
    sync-uri: https://github.com/trofi/nix-guix-gentoo.git
    masters: gentoo
    volatile: False

zugaina
    location: /var/db/repos/zugaina
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/zugaina.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 9999
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=ivybridge -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d"
CXXFLAGS="-march=ivybridge -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=ivybridge -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=ivybridge -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE@euro de_DE.UTF-8 de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 autotype bluetooth branding browser bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr elogind encode exif ffmpeg flac gdbm gif gpm gtk gui hpcups iconv icu ipv6 jpeg keeshare lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline scanner sdl seccomp snmp sound spell ssl startup-notification static-ppds svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="hp" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


I have been reorganized by my make.conf Useflags several times
For example, I tried to insert the Useflag Pipewire into another line again
The result was that the useflag was now accepted
Unfortunately, Emerge then seems to ignore other useflags
I have now tried several hours to edit the make.conf in such a way that all useflags are read correctly
I'm really ready to give up now
Is this a bug in Emerge or am I just too stupid and have overlooked something?
I have already tried to emerge portage that didn't help
Also an emerge -Sync was unsuccessful
i really hope that somebody can help me
gentoo was the first distro i really liked and it worked pretty well
but with this kind of bug it is just impossible to use the system
btw its not only pipewire that is missing.
the useflags flatpak networkmanager fontconfig and some more are also missing
also for some reason bluetooth is getting listed in emerge --info but i set it to -bluetooth in make.conf


Last edited by megaupload on Sun Jun 09, 2024 3:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9212

PostPosted: Sun Jun 09, 2024 2:48 pm    Post subject: Reply with quote

Each new USE= is overwriting whatever you had set before. So in fact the only effective line in there is
Code:
USE="autotype browser keeshare pulseaudio ffmpeg scanner snmp hpcups static-ppds zeroconf"

right now.
Back to top
View user's profile Send private message
megaupload
n00b
n00b


Joined: 03 May 2024
Posts: 4
Location: Germany

PostPosted: Sun Jun 09, 2024 2:54 pm    Post subject: Reply with quote

thank you for tha fast answer
i will check if it helps
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9784
Location: almost Mile High in the USA

PostPosted: Sun Jun 09, 2024 2:56 pm    Post subject: Reply with quote

You should
Code:
$ emerge --info media-video/pipewire|grep ^USE

to determine what media-video/pipewire will be merged with.

Or you could install app-portage/gentoolkit and run
Code:
$ equery uses media-video/pipewire

to get current/pending USE flags.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
megaupload
n00b
n00b


Joined: 03 May 2024
Posts: 4
Location: Germany

PostPosted: Sun Jun 09, 2024 3:09 pm    Post subject: Reply with quote

eccerr0r wrote:
You should
Code:
$ emerge --info media-video/pipewire|grep ^USE

to determine what media-video/pipewire will be merged with.

Or you could install app-portage/gentoolkit and run
Code:
$ equery uses media-video/pipewire

to get current/pending USE flags.


it was builded with:
USE="X bluetooth dbus readline ssl -doc -echo-cancel -extra -ffmpeg -flatpak -gsettings -gstreamer -ieee1394 -jack-client -jack-sdk -liblc3 -lv2 -man -modemmanager -pipewire-alsa -roc (-selinux) -sound-server (-system-service) -systemd -test -v4l -zeroconf" ABI_X86="(64) -32 (-x32)"
because i configured make.conf wrong

the answer of @asturm was right
Originally I also had all the useflags in one line
Due to an error that I wanted to fix in the past, I had reformatted it
Obviously I didn't notice the mistake for so long that I had already ruled it out as the cause

I would like to thank you again for the quick help
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4922
Location: Bavaria

PostPosted: Sun Jun 09, 2024 6:09 pm    Post subject: Reply with quote

If you want your use-flags in 2 (or more) lines just do:
Code:
USE="...."
USE="$USE ..."
USE="$USE ..."

(I do it also)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
megaupload
n00b
n00b


Joined: 03 May 2024
Posts: 4
Location: Germany

PostPosted: Sun Jun 09, 2024 6:34 pm    Post subject: Reply with quote

pietinger wrote:
If you want your use-flags in 2 (or more) lines just do:
Code:
USE="...."
USE="$USE ..."
USE="$USE ..."

(I do it also)


thats a good tip too
i will try in the next time when updating the system
thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum