Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FIXED: Verständnisfrage zum USE Flag "utils"
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2647
Location: Heidelberg - Germany

PostPosted: Wed Jul 31, 2024 5:18 pm    Post subject: FIXED: Verständnisfrage zum USE Flag "utils" Reply with quote

Ich habe ein Verständnisproblem bei den USE Flags.

Es geht um das flag "utils". Dieses ist nicht global gesetzt:

Code:

emerge --info | grep -i utils
app-misc/pax-utils:        1.3.7::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo


Ebenso ist "utils" nicht unter /etc/portage/package.use/ als USE flag zu finden:

Code:

find /etc/portage/package.use/ -type f -exec grep "utils" {} +
/etc/portage/package.use/x86_64-pc-linux-gnu:>=dev-libs/elfutils-0.158 static-libs
/etc/portage/package.use/x86_64-pc-linux-gnu:>=app-arch/xz-utils-5.4.2 static-libs
/etc/portage/package.use/x86_64-pc-linux-gnu:# required by media-tv/v4l-utils-1.26::gentoo
/etc/portage/package.use/cross-avr:cross-avr/binutils cxx multilib


Trotzdem wird media-libs/libv4l mit dem Flag "utils" installiert:

Code:

emerge -pv media-libs/libv4l

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.06 s (backtrack: 0/20).

[ebuild   R    ] media-libs/libv4l-1.26.1::gentoo  USE="bpf jpeg qt5 utils -doc -dvb -tracer" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


Warum wird media-libs/libv4l mit USE="utils" installiert wenn nirgendwo das Flag gesetzt ist?
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W


Last edited by Erdie on Wed Jul 31, 2024 5:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2647
Location: Heidelberg - Germany

PostPosted: Wed Jul 31, 2024 5:52 pm    Post subject: Reply with quote

Ich denke, ich habe die Lösung gefunden:

Code:

cat /usr/portage/media-libs/libv4l/libv4l-1.26.1.ebuild | grep IUSE
IUSE="bpf doc dvb jpeg qt5 tracer +utils"


"utils" ist ein IUSE-Default. Das kannte ich bisher noch nicht. Wieder was gelernt.


Entschuldigt, dass ich dieses gepostet habe. Ich hatte keine Ahnung, dass es IUSE flags gibt. Erst die KI hat mich darauf gebracht.
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
platinumviper
l33t
l33t


Joined: 12 Feb 2004
Posts: 658
Location: Munich, Germany

PostPosted: Sat Aug 03, 2024 9:54 pm    Post subject: Reply with quote

IUSE bedeutet, dass das ebuild die genannten USE-Flags benutzt.
Lokale USE-Flags findest du z.B. mit:
Code:
$ grep ":utils " /var/db/repos/gentoo/profiles/use.local.desc
app-arch/libdeflate:utils - Build the libdeflate-gzip program
app-text/poppler:utils - Install command-line PDF converters and various utilities.
app-text/xpdf:utils - Install command-line PDF converters and various utilities
dev-libs/elfutils:utils - Install command-line utilities (all the eu-* programs)
dev-libs/folks:utils - Build the folks-inspect utility
dev-libs/fstrm:utils - Build fstrm utility programs
dev-libs/glib:utils - Install gtester-report utility to generate test report files for your software; build gresource utility with ELF support.
dev-libs/libnl:utils - Install command line interface utils
dev-libs/libucl:utils - Install utils for checking other configs
dev-libs/nss:utils - Compile and install all extra binaries, such as certutil, modutil and few more
games-simulation/flightgear:utils - Build various utilities (fgpanel, fgviewer among others)
kde-apps/kde-apps-meta:utils - Pull in kde-apps/kdeutils-meta packages
media-fonts/unifont:utils - Install unifont utilities
media-gfx/openvdb:utils - Build utility binaries
media-libs/freetype:utils - Install utilities and examples from ft2demos
media-libs/leptonica:utils - Install command-line utilities
media-libs/libbluray:utils - Install command-line utilities and examples
media-libs/libmp4v2:utils - Install command-line utilities
media-libs/libv4l:utils - Build the v4l-utils collection of utilities
media-libs/openexr:utils - Build several binary tools for verifying and manipulating EXR files.
media-libs/openh264:utils - Install the CLI encoder and decoder utilities
media-libs/speex:utils - Enables speex commandline utilities (speexenc, speexdec).
media-sound/csound:utils - Build stand-alone executables for utilities that can also be used via `csound -U`
net-dns/knot:utils - Install Knot utilities, such as kdig, kzonecheck, ...
net-fs/libnfs:utils - Build/install nfs-{cat,ls,cp} utils
net-libs/nghttp2:utils - Install nghttp, nghttpd and nghttpx
net-wireless/gnuradio:utils - install scripts to enable viewing and analysis of files produced by flow graphs
net-wireless/uhd:utils - utilities needed to list, query, calibrate, or update FPGA/Firmware
sci-biology/exonerate:utils - Install the follow binaries: esd2esi, fasta2esd, fastaannotatecdna, fastachecksum, fastaclean, fastaclip, fastacomposition, fastadiff, fastaexplode, fastafetch, fastahardmask, fastaindex, fastalength, fastanrdb, fastaoverlap, fastareformat, fastaremove, fastarevcomp, fastasoftmask, fastasort, fastasplit, fastasubseq, fastatranslate, fastavalidcds
sys-auth/nss-pam-ldapd:utils - Install the command-line utilities


Globale USE-Flags mit:
Code:
$ grep "^bash-completion " /var/db/repos/gentoo/profiles/use.desc


Es lohnt sich, hin und wieder in diese Dateien zu sehen, mancgmal gibt es zusätzliche Features, von deen ma nichts wusste.
_________________
No money back garantee. In case of problems, don't call us, we call you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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