View previous topic :: View next topic |
Author |
Message |
freke l33t
Joined: 23 Jan 2003 Posts: 978 Location: Somewhere in Denmark
|
Posted: Wed Apr 10, 2024 8:16 pm Post subject: sys-libs/glibc - gd-useflag |
|
|
I decided to go through my useflags in make.conf and package.use, discovered that 'gd' seems to be for something different for dev-lang/php vs. sys-libs/glibc, but is this really correct for sys-libs/glibc Code: | ns ~ # USE="gd" emerge -va1 glibc
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 1.24 s (backtrack: 0/20).
[ebuild N ] dev-lang/nasm-2.16.01-r1::gentoo USE="-doc" 994 KiB
[ebuild N ] media-libs/libjpeg-turbo-3.0.0:0/0.2::gentoo USE="-java -static-libs" 2,749 KiB
[ebuild N ] media-libs/gd-2.3.3-r4:2/3::gentoo USE="jpeg png zlib -avif -fontconfig -heif -static-libs -test -tiff -truetype -webp -xpm" CPU_FLAGS_X86="sse" 2,744 KiB
[ebuild R ] sys-libs/glibc-2.38-r11:2.2::gentoo USE="audit caps cet gd* multiarch (ssp) (static-libs) -compile-locales (-crypt) (-custom-cflags) -doc -hash-sysv-compat -headers-only (-multilib) -multilib-bootstrap -nscd -perl -profile (-selinux) (-stack-realign) -suid -systemd -systemtap -test (-vanilla)" 0 KiB
Total: 4 packages (3 new, 1 reinstall), Size of downloads: 6,486 KiB
Would you like to merge these packages? [Yes/No] ^CInterrupted.
^C
ns ~ # equery h gd
* Searching for USE flag gd ...
[IP-] [ ] sys-libs/glibc-2.38-r11:2.2
ns ~ # equery u glibc
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for sys-libs/glibc-2.38-r11:
U I
+ + audit : Enable support for Linux audit subsystem using sys-process/audit
+ + caps : Use Linux capabilities library to control privilege
+ + cet : Enable Intel Control-flow Enforcement Technology (needs binutils 2.29 and gcc 8)
- - compile-locales : build *all* locales in src_install; this is generally meant for stage building only as it ignores /etc/locale.gen file and can be
pretty slow
- - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
- - gd : build memusage and memusagestat tools
- - hash-sysv-compat : enable sysv linker hashes in glibc for compatibility with binary software (EAC via wine/proton)
- - headers-only : Install only C headers instead of whole package. Mainly used by sys-devel/crossdev for toolchain bootstrap.
+ + multiarch : enable optimizations for multiple CPU architectures (detected at runtime)
- - multilib-bootstrap : Provide prebuilt libgcc.a and crt files if missing. Only needed for ABI switch.
- - nscd : Build, and enable support for, the Name Service Cache Daemon
- - perl : Install additional scripts written in Perl
- - profile : Add support for software performance analysis (will likely vary from ebuild to ebuild)
- - suid : Make internal pt_chown helper setuid -- not needed if using Linux and have /dev/pts mounted with gid=5
- - systemd : Enable use of systemd-specific libraries and features like socket activation or session tracking
- - systemtap : enable systemtap static probe points
- - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) | What I don't really get is why 'build memusage and memusagestat tools' would want those media-libs? for dev-lang/php (not installed on this VM, glibc is the only ebuild with gd useflag on this machine) 'gd' is for image processing and makes sense. |
|
Back to top |
|
|
xgivolari Tux's lil' helper
Joined: 26 Jul 2021 Posts: 77
|
Posted: Thu Apr 11, 2024 9:20 am Post subject: |
|
|
https://www.man7.org/linux/man-pages/man1/memusagestat.1.html
To quote the man page:
Quote: | memusagestat creates a PNG file containing a graphical
representation of the memory profiling data in the file datafile;
that file is generated via the -d (or --data) option of
memusage(1). |
memusagestat needs gd to draw pretty pictures of your memory utilization. |
|
Back to top |
|
|
freke l33t
Joined: 23 Jan 2003 Posts: 978 Location: Somewhere in Denmark
|
Posted: Thu Apr 11, 2024 9:25 am Post subject: |
|
|
xgivolari wrote: | https://www.man7.org/linux/man-pages/man1/memusagestat.1.html
To quote the man page:
Quote: | memusagestat creates a PNG file containing a graphical
representation of the memory profiling data in the file datafile;
that file is generated via the -d (or --data) option of
memusage(1). |
memusagestat needs gd to draw pretty pictures of your memory utilization. | Makes sense, should have spent some time actually reading what memusage/memusagestat actually does |
|
Back to top |
|
|
|
|
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
|
|