use flags

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

use flags

Postby pavel.stratil » Thu Aug 18, 2011 21:40

Hi all!

I wonder, the prebuilt binaries have all useflags enabled? what about i.e. the debug flag?

thanks!
pavel.stratil
Baby Hen
 
Posts: 3
Joined: Thu Aug 18, 2011 11:57

Re: use flags

Postby Fitzcarraldo » Thu Aug 18, 2011 22:55

No, they don't. You can check the situation of each package yourself by using the eix utility:

Code: Select all
# equo install git
# emerge --sync
# layman -a sabayon
# equo install eix
# eix-update
# eix <package name>
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: use flags

Postby micia » Fri Aug 19, 2011 9:15

If you don't want to install eix, you can also use equo for the same purpose, just run:
Code: Select all
equo query installed --verbose <package-name>

for example:
Code: Select all
equo query installed --verbose wget
>>  @@ Searching...
>>      @@ Package: net-misc/wget-1.12-r3 branch: 5, [__system__]
>>         Category:        net-misc
>>         Name:            wget
>>         Masked:          False
>>         Installed:       version: 1.12-r3 ~ tag: NoTag ~ revision: 0
>>         Slot:            0
>>         Size:            567.1kB
>>         Download:        packages/amd64/5/net-misc:wget-1.12-r3~0.tbz2
>>         Checksum:        f86b7a5d09b5f3d880831f192be6fcff
>>         ## Dependencies:
>>         ##               [0] >=dev-libs/openssl-0.9.6b
>>         ##               [3] sys-devel/gettext
>>         ##               Legend:
>>         ##               {0} Runtime dependency
>>         ##               {1} Post dependency
>>         ##               {2} Manually added (by staff) dependency
>>         ##               {3} Build dependency
>>         Homepage:        http://www.gnu.org/software/wget/
>>         Description:     Network utility to retrieve files
>>                          from the WWW
>>         USE flags:       amd64 elibc_glibc ipv6 kernel_linux
>>                          multilib nls ssl userland_GNU
>>         CHOST:           x86_64-pc-linux-gnu
>>         CFLAGS:          -O2 -march=x86-64 -pipe
>>         CXXFLAGS:        -O2 -march=x86-64 -pipe
>>         Sources:
>>                          mirror://gnu/wget/wget-1.12.tar.bz2
>>         Entry API:       3
>>         Compiled with:   -O2 -march=x86-64 -pipe
>>         Keywords:        alpha amd64 arm hppa ia64 m68k ppc
>>                          s390 sh sparc x86 ~mips ~ppc64 ~sparc-fbsd
>>                          ~x86-fbsd
>>         Created:         2011-05-12 16:23:36.730000
>>         License:         GPL-3
>>  Keyword:  wget
>>  Found:    1 entries

it gives you some more detail, like amd64 or multilib.
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: use flags

Postby joost » Fri Aug 19, 2011 9:36

Everything is build with split-debug.
You can enable a setting in Entropy to also install debug files.

/etc/entropy/client.conf
Code: Select all
# Enable the installation of debug files
# Also known as "splitdebug" support
# Valid parameters: disable, enable, true, false, disabled, enabled, 0, 1
# Default parameter if unset: disable
# splitdebug = disable
# HOW SPLITDEBUG WORKS with Entropy
# Once you enable the "splitdebug" feature
# you just need to (re)install packages in order to
# get /usr/lib/debug metadata files installed. That's it.
# You can safely remove /usr/lib/debug without affecting
# Operating System functionality, at any time.
joost
Sagely Hen
 
Posts: 2574
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: use flags

Postby pavel.stratil » Sat Aug 20, 2011 12:20

thanks for the explanations! just to make sure, for standard useflags enabling/disabling features at build time: if equo or the http://packages.sabayon.org/show/wget,55777,sabayonlinux.org,amd64,5,standard/#package-widget-show-what site tell

Code: Select all
USE flags:       amd64 elibc_glibc ipv6 kernel_linux
                      multilib nls ssl userland_GNU


then these are the useflags the binary is build with and if I want for example (eix output on gentoo)

Code: Select all
[I] net-misc/wget
     Available versions:  1.12-r2 1.12-r3 {debug idn ipv6 nls ntlm +ssl static}
     Installed versions:  1.12-r3(08:55:02 PM 05/04/2011)(idn ipv6 nls ssl -debug ntlm -static)
     Homepage:            http://www.gnu.org/software/wget/
     Description:         Network utility to retrieve files from the WWW


the ntlm flag enabled, i have to use portage for that particular package/useflag combination, right?
pavel.stratil
Baby Hen
 
Posts: 3
Joined: Thu Aug 18, 2011 11:57


Re: use flags

Postby pavel.stratil » Mon Aug 22, 2011 13:43

cool! now, having skimmed through the docs, esp. http://wiki.sabayon.org/index.php?title=HOWTO:_Safely_mix_Entropy_and_Portage, i have a suggestion on enhancing entropy:

why not make entropy /equo also a wrapper for portage and flaggie? it would be, imho, awesome, it you could install packages with equo as usual and for the special cases when you would have to use portage, use equo with a --build-source or whatever parameter which would take care of properly setting stuff in /etc/portage and masking things in /etc/entropy and installing system dependencies with equo first when such are required?
pavel.stratil
Baby Hen
 
Posts: 3
Joined: Thu Aug 18, 2011 11:57


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest