Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage 2.1 'autouse' flags - now what
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
radio_flyer
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 273
Location: Northern California

PostPosted: Sat Mar 25, 2006 7:21 am    Post subject: Portage 2.1 'autouse' flags - now what Reply with quote

I'm running a mostly stable x86 system on my laptop, but I've been using the 6.8.99 xorg server due to the lack of support for the i815 in 6.8.2. When 6.8.99 disappeared a week ago, I did some research and saw that the modular 7.0 xorg server is in testing. So I thought I'd try it. Followed the migrating HOWTO, unmasked a bunch of stuff, and everything seems to be working. So far so good. However, one of the dependencies I had to unmask was portage, to the 2.1 version. However, now 'emerge -uDpv --newuse world' shows a bunch of packages that want to recompile due to use flags apparently 'going away'. I finally found a hint in this discussion:
https://forums.gentoo.org/viewtopic-t-446181.html
where Genone states that 'autouse' flags are deprecated and disabled by default in 2.1. I presume that is why emerge wants to recompile all those packages with '-tiff', '-tcltk', '-samba' and a number of other flags that are provided by packages I have installed on my system.

So my question is: now what? What exactly is the new 'gentoo preferred way' of handling these flags? I want the 'samba', 'tiff', 'tcltk' and other flags corresponding to the packages I have on my system enabled. Do I add them to the USE variable in make.conf? Or is there a configuration option somewhere for portage 2.1 that I haven't found yet that re-enables the 'autouse' flags? Thanks.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Mar 25, 2006 7:38 am    Post subject: Re: Portage 2.1 'autouse' flags - now what Reply with quote

radio_flyer wrote:
Do I add them to the USE variable in make.conf?

Yes.
Back to top
View user's profile Send private message
bendy
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 274
Location: Gloucester, UK

PostPosted: Sat Mar 25, 2006 8:14 am    Post subject: Reply with quote

PaulBredbury wrote:
radio_flyer wrote:
Do I add them to the USE variable in make.conf?

Yes.

I have the same problem as radio_flyer. I upgraded to modular X last week, which involved upgrading portage, and now portage is ignoring the USE flags in my make.conf. For instance, I have the samba flag in make.conf, and it shows in the output of emerge info, but if I try to emerge -pu world then I get -samba against all the relevant packages. If I USE="samba" emerge foo then the samba flag is enabled. So it seems that the USE flags in my make.conf are being ignored.

I upgraded to portage-2.1_pre6-r7 today, and it hasn't helped.
Back to top
View user's profile Send private message
bendy
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 274
Location: Gloucester, UK

PostPosted: Sat Mar 25, 2006 8:25 am    Post subject: Reply with quote

bendy wrote:
For instance, I have the samba flag in make.conf, and it shows in the output of emerge info, but if I try to emerge -pu world then I get -samba against all the relevant packages. If I USE="samba" emerge foo then the samba flag is enabled. So it seems that the USE flags in my make.conf are being ignored.

I upgraded to portage-2.1_pre6-r7 today, and it hasn't helped.

Ooops - I lied. It seems that the update to portage has changed something. Some stuff that used to be in make.conf seemed to dissappear (possibly after I used ufed), but when I added the USE flags back it all works now.

radio_flyer - trying upgrading portage.
Back to top
View user's profile Send private message
radio_flyer
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 273
Location: Northern California

PostPosted: Sat Mar 25, 2006 7:26 pm    Post subject: Reply with quote

Thanks. I added a note to the modular X upgrade wiki warning folks about this change. Sometimes I think I'm the only person left running a stable x86 while everyone else has migrated to testing :lol: It's the usual conundrum--either you run stable and forego support for newer hardware, bugfixes, etc., or you run testing and have to stay glued to LWN and gentoo-dev to know what's going on.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9245
Location: beyond the rim

PostPosted: Sat Mar 25, 2006 8:01 pm    Post subject: Reply with quote

bendy wrote:
bendy wrote:
For instance, I have the samba flag in make.conf, and it shows in the output of emerge info, but if I try to emerge -pu world then I get -samba against all the relevant packages. If I USE="samba" emerge foo then the samba flag is enabled. So it seems that the USE flags in my make.conf are being ignored.

I upgraded to portage-2.1_pre6-r7 today, and it hasn't helped.

Ooops - I lied. It seems that the update to portage has changed something. Some stuff that used to be in make.conf seemed to dissappear (possibly after I used ufed), but when I added the USE flags back it all works now.

For the record: portage updates don't touch make.conf in any way.
Back to top
View user's profile Send private message
bendy
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 274
Location: Gloucester, UK

PostPosted: Sun Mar 26, 2006 6:35 pm    Post subject: Reply with quote

Genone wrote:
For the record: portage updates don't touch make.conf in any way.

OK - when the problem "fixed itself" I was using ufed, rather than editing make.conf. When I originally had the problem, portage was ignoring USE flags that were in make.conf (I checked the file, not ufed).

Then when I upgraded to portage-2.1_pre6-r7, I used ufed and the flags that were being ignored by portage were showing as not being selected. I selected them, and sure enough they were in make.conf when I checked later, and portage picked them up again when emerging.

I'm sure you are right about portage not touching make.conf, but for a while something strange was happening.
Back to top
View user's profile Send private message
Robert S
Guru
Guru


Joined: 15 Aug 2004
Posts: 447
Location: Canberra Australia

PostPosted: Sat Jun 10, 2006 9:42 am    Post subject: portage 2.1 stuffs up my USE flags Reply with quote

I just did an "emerge -avDuN world" today and updated my entire system. I've installed portage 2.1. Now when I do "emerge -avDuN world" it's changed all my USE flags - for example the "mysql" USE flag used to be enabled by default. Can anybody explain - and do I need to painstakingly fix my /etc/portage/package.use (which has not changed)?

Quote:
# emerge -pvDuN world

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

Calculating world dependencies -
... done!
[ebuild R ] dev-python/pycrypto-2.0.1-r5 USE="-bindist -gmp* -test" 0 kB
[ebuild R ] app-admin/eselect-1.0.2 USE="-bash-completion* -doc" 143 kB
[ebuild R ] media-libs/lcms-1.14-r1 USE="jpeg python zlib -tiff*" 653 kB
[ebuild R ] net-print/cups-1.1.23-r7 USE="nls pam ssl -gnutls -samba* -slp" 8,501 kB
[ebuild R ] x11-libs/qt-3.3.6-r1 USE="cups gif opengl -debug -doc -examples -firebird -immqt -immqt-bc -ipv6 -mysql* -nas -nis -odbc* -postgres -sqlite* -xinerama" 0 kB
[ebuild R ] x11-libs/gtk+-2.8.12 USE="jpeg -debug -doc -tiff* -xinerama" 0 kB
[ebuild R ] kde-base/kdelibs-3.5.3-r1 USE="alsa arts cups spell ssl -acl -debug -doc -fam* -jpeg2k -kdeenablefinal -kdehiddenvisibility -kerberos -legacyssl -openexr -tiff* -xinerama -zeroconf" 0 kB
[ebuild R ] net-mail/courier-imap-4.0.4 USE="berkdb gdbm nls -debug -fam* -ipv6" 3,082 kB
[ebuild R ] media-libs/urt-3.1b-r1 USE="X gif -gs -tiff*" 992 kB
[ebuild R ] media-libs/netpbm-10.30-r1 USE="jpeg png zlib -svga -tiff*" 2,542 kB
[ebuild R ] media-libs/libgphoto2-2.1.6-r1 USE="jpeg nls -doc -exif* -nousb" 3,130 kB
[ebuild R ] media-libs/imlib2-1.2.1.009 USE="X gif jpeg mp3 nls png zlib -bzip2* -doc -mmx -tiff*" 893 kB
[ebuild R ] gnome-base/gnome-vfs-2.12.2 USE="hal howl ssl -debug -doc -gnutls -ipv6 -samba*" 1,521 kB
[ebuild R ] kde-base/kdebase-kioslaves-3.5.3 USE="arts hal -debug -kdeenablefinal -kdehiddenvisibility -ldap -openexr -samba* -xinerama" 0 kB
[ebuild R ] app-arch/tar-1.15.1-r1 USE="nls -build -bzip2* -static" 1,573 kB
[ebuild R ] media-gfx/xloadimage-4.1-r4 USE="jpeg png -tiff*" 622 kB
[ebuild R ] app-crypt/gnupg-1.4.3 USE="X nls readline zlib -bzip2* -caps -curl* -ecc -idea -ldap -smartcard -static -usb*" 0 kB
[ebuild R ] app-editors/nano-1.3.10-r1 USE="ncurses nls spell -build -debug -justify -minimal -slang* -unicode" 1,139 kB
[ebuild R ] net-analyzer/snort-2.4.5 USE="ssl -flexresp -inline -mysql -odbc* -postgres -prelude -sguil -snortsam" 0 kB
[ebuild RF ] dev-java/sun-jre-bin-1.5.0.06 USE="X alsa -browserplugin -mozilla* -nsplugin" 16,376 kB
[ebuild R ] www-client/lynx-2.8.5-r3 USE="nls ssl -bzip2* -cjk -ipv6" 0 kB
[ebuild R ] app-misc/mc-4.6.1 USE="X gpm ncurses nls pam -7zip -samba* -slang* -unicode" 3,865 kB
[ebuild R ] mail-filter/spamassassin-3.1.3 USE="berkdb ssl -doc -ipv6 -ldap -minimal -mysql* -postgres -qmail -sqlite* -tools" 0 kB
[ebuild R ] app-text/tree-1.5.0 USE="-bash-completion*" 25 kB
[ebuild R ] media-sound/timidity++-2.13.2 USE="X alsa arts esd gtk motif oss vorbis -emacs -jack -nas -portaudio -slang* -tcltk" 1,544 kB
[ebuild R ] media-libs/xine-lib-1.1.2_pre20060328-r9 USE="X alsa arts dvd esd gnome mad nls opengl oss sdl vorbis xv -a52 -aac -aalib -asf -debug -directfb -dts -dxr3 -fbcon -ffmpeg -flac -imagemagick* -ipv6 -libcaca -mng* -modplug -samba* -speex -theora -v4l -vcd -vidix -win32codecs -xinerama -xvmc" VIDEO_CARDS="-i810 -nvidia -via" 0 kB
[ebuild R ] net-nds/openldap-2.2.28-r3 USE="berkdb crypt gdbm perl readline ssl tcpd -debug -ipv6 -kerberos -minimal -odbc* -samba* -sasl -slp" 0 kB
[ebuild R ] net-misc/curl-7.15.1-r1 USE="ssl -ares -gnutls -idn* -ipv6 -kerberos -krb4 -ldap -test" 1,404 kB
[ebuild R ] dev-lang/php-5.1.4-r1 USE="apache2 berkdb cli crypt curl doc gd gdbm hash imap ldap mysqli ncurses nls odbc pcre readline reflection session simplexml soap spell spl ssl threads tidy tokenizer truetype unicode xml zip zlib -adabas -apache -bcmath -birdstep -bzip2* -calendar -cdb -cgi -cjk -ctype -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -empress -empress-bcs -esoob -exif* -fastbuild -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd-external -gmp* -hardenedphp -hyperwave-api -iconv -informix -inifile -interbase -iodbc -ipv6 -java-external -kerberos -libedit -mcve -memlimit -mhash* -ming -msql -mssql -mysql* -oci8 -oci8-instant-client -pcntl -pdo -pdo-external -pic -posix -postgres -qdbm -recode -sapdb -sasl -sharedext -sharedmem -snmp -sockets -solid -sqlite* -sybase -sybase-ct -sysvipc -vm-goto -vm-switch -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz" 0 kB
[ebuild R ] media-gfx/imagemagick-6.2.5.5 USE="X jpeg mpeg perl png truetype xml zlib -bzip2* -doc -fpx -graphviz -gs -jbig -jpeg2k -lcms* -minimal -nocxx -tiff* -wmf*" 0 kB
[ebuild R ] net-print/foomatic-filters-3.0.2-r1 USE="cups -samba*" 0 kB
[ebuild R ] gnome-extra/libgsf-1.14.0 USE="gnome -bzip2* -debug -doc -static" 513 kB [2]
[ebuild R ] media-gfx/gimp-2.2.8-r1 USE="doc gimpprint gtkhtml jpeg png python svg -aalib -debug -hardened -lcms* -mmx -mng* -smp -sse -tiff* -wmf*" 0 kB
[ebuild R ] mail-client/squirrelmail-1.4.6-r2 USE="crypt nls spell ssl -filter -ldap -mysql* -postgres -vhosts" 0 kB
[ebuild R ] app-portage/genlop-0.30.5 USE="-bash-completion*" 19 kB
[ebuild R ] gnome-base/gnome-applets-2.12.3 USE="acpi apm -debug -hal* -ipv6" 5,386 kB
[ebuild R ] media-video/vlc-0.8.4a USE="X alsa arts esd mp3 mpeg ncurses nls ogg opengl oss png sdl truetype vorbis xml xv -3dfx -a52 -aac -aalib -avahi -bidi -cdda -cddb -corba -daap -debug -dts -dvb -dvd -fbcon -ffmpeg -flac -ggi -gnutls -hal* -httpd -joystick -libcaca -lirc -live -matroska -mod -nsplugin -rtsp -samba* -screen -shout -skins -speex -stream -svg -svga -theora -v4l -vcd -vlm -win32codecs -wxwindows -xinerama -xosd" 0 kB
[ebuild R ] net-fs/samba-3.0.22 USE="cups pam python readline xml -acl -async -automount -doc -examples -kerberos -ldap -ldapsam -libclamav -mysql* -oav -postgres -quotas -swat -syslog -winbind" 0 kB
[ebuild R ] net-misc/neon-0.24.7 USE="ssl zlib -expat*" 589 kB
[ebuild R ] dev-util/subversion-1.3.2 USE="apache2 berkdb nls perl python zlib -bash-completion* -emacs -java -minimal -nowebdav -ruby" 0 kB
[ebuild R ] media-gfx/fontforge-20050502 USE="X gif jpeg png truetype -svg -tiff* -unicode" 4,052 kB
[ebuild R ] app-emulation/wine-0.9.8-r1 USE="X alsa arts cups esd gif jpeg ncurses opengl oss truetype xml -debug -glut* -jack -lcms* -ldap -nas -scanner*" 10,315 kB
[ebuild R ] dev-util/gambas-1.0.14 USE="kde mysql sdl xml zlib -bzip2* -curl* -doc -postgres -sqlite* -xsl" 0 kB
[ebuild R ] app-mobilephone/gammu-1.06.00 USE="irda -bluetooth -debug -mysql*" 0 kB
[ebuild R ] x11-libs/wxGTK-2.6.2-r1 USE="X gnome opengl sdl -debug -doc -joystick -odbc* -unicode" 0 kB
[ebuild R ] net-nds/luma-2.1.3 USE="-samba*" 561 kB
Back to top
View user's profile Send private message
tadeboro
Tux's lil' helper
Tux's lil' helper


Joined: 21 Nov 2005
Posts: 93
Location: Ljubljana, Slovenia

PostPosted: Sat Jun 10, 2006 10:23 am    Post subject: Reply with quote

Helo

Portage determines, which USE flags to use by combining (adding) USE flags from different sources:
1. /etc/make.defaults
2. /etc/make.profile (symlink to your profile)
3. /etc/make.conf

When you upgrade your portage, some of the files change (make.defaults ...), so if you need "mysql" flag enabled for all of the packages on your system, then just write it in "/etc/make.conf" (this file does NOT change when you update portage).

(also chech manual: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2)
Back to top
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Sat Jun 10, 2006 10:28 am    Post subject: Reply with quote

See https://forums.gentoo.org/viewtopic-t-446812-highlight-autouse.html
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Sat Jun 10, 2006 10:30 am    Post subject: Reply with quote

Merged above three threads.
Back to top
View user's profile Send private message
AaronPPC
Guru
Guru


Joined: 29 May 2005
Posts: 522
Location: Tucson, AZ

PostPosted: Sat Jun 10, 2006 11:38 am    Post subject: Reply with quote

tadeboro wrote:

1. /etc/make.defaults
2. /etc/make.profile (symlink to your profile)
3. /etc/make.conf


I don't mean to be picky, but: 4. /etc/portage/package.use
_________________
--Aaron
Back to top
View user's profile Send private message
tadeboro
Tux's lil' helper
Tux's lil' helper


Joined: 21 Nov 2005
Posts: 93
Location: Ljubljana, Slovenia

PostPosted: Sat Jun 10, 2006 2:47 pm    Post subject: Reply with quote

AaronPPC wrote:
I don't mean to be picky, but: 4. /etc/portage/package.use


Yes, you are right, but I wrote only those whose effects are system-wide:
Robers S wrote:
... for example the "mysql" USE flag used to be enabled by default ...
Back to top
View user's profile Send private message
g.tomassoni
n00b
n00b


Joined: 13 Aug 2005
Posts: 51

PostPosted: Sun Jun 11, 2006 10:08 am    Post subject: portage-2.1 and newuse Reply with quote

Dears,

I just upgraded to sys-apps/portage-2.1 on a 2006.0 baselayout, and now running

Code:
nice emerge -uDvpN world


I'm getting tons of modules to be rebuild due to change in USEs.

The fact is that many of these changes are, in example, due to '-postgres*', which I didn't explicitly set but the postgres modules had been installed, or '-bzip2*', while I have bzip2 installed...

How does it came? Is it an expected behaviour of the new portage package? Do I have to specify all that '-xxx*'s in the USE var in make.conf?

Just for reference, this is my emerge --info (yes, this is still there... :) ):

Code:
Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Celeron(R) CPU 2.53GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -fexpensive-optimizations -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-march=i686 -O3 -fexpensive-optimizations -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X apache2 atm avi berkdb bitmap-fonts cli crypt cups dri eds elibc_glibc esd foomaticdb fortran gdbm gif gnome gpm gstreamer imlib ipv6 isdnlog java javascript jpeg kde kernel_linux libg++ libwww motif mysql ncurses nls nptl nptlonly ntpl pam pcre pdflib perl png pppd python qt readline recode reflection session spell spl ssl tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev userland_GNU vorbis x86 xml xmlrpc xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
Mark Clegg
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 270
Location: ZZ9 Plural Z Alpha

PostPosted: Sun Jun 11, 2006 10:23 am    Post subject: Reply with quote

I'm getting similar results. So far I've checked each reported package with equery uses {package} and added the flags to make.conf if I think they're relevant.

I'd be interested to know why they've suddenly appeared though.
Back to top
View user's profile Send private message
g.tomassoni
n00b
n00b


Joined: 13 Aug 2005
Posts: 51

PostPosted: Sun Jun 11, 2006 10:59 am    Post subject: Reply with quote

Woha there! I miss /etc/make.profile/use.defaults, which portage uses to detect USE flags implied by installed packages!

What happened? I didn't remove it...
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sun Jun 11, 2006 11:09 am    Post subject: Reply with quote

Merged the above three posts here.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
g.tomassoni
n00b
n00b


Joined: 13 Aug 2005
Posts: 51

PostPosted: Sun Jun 11, 2006 12:06 pm    Post subject: Re: Portage 2.1 'autouse' flags - now what Reply with quote

PaulBredbury wrote:
radio_flyer wrote:
Do I add them to the USE variable in make.conf?

Yes.


Well, Isn't this new way of handling autouse (ie: by not handing it at all) a bit silly?

It was really useful to have a '+postgres' on packages after a postgres installation. Same thing for bzip2, or ldap, or apache2 or...

So, how does it come that portage devels made this rather radical choice?
Back to top
View user's profile Send private message
chunderbunny
Veteran
Veteran


Joined: 31 May 2004
Posts: 1281
Location: 51°24'27" N, 0°57'15" W

PostPosted: Sun Jun 11, 2006 12:07 pm    Post subject: Reply with quote

It's a useful option sometimes, but for most people it was damn confusing as to why all these USE flags kept mysteriously enabling themselves.
Back to top
View user's profile Send private message
Mark Clegg
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 270
Location: ZZ9 Plural Z Alpha

PostPosted: Sun Jun 11, 2006 12:14 pm    Post subject: Reply with quote

It's even more confusing when the behaviour changes :D

When you upgrade to portage 2.1 theres a nice warning about the cache changes and advising to run emerge --metadata. - Couldn't a warning about use flags be added too?
Back to top
View user's profile Send private message
g.tomassoni
n00b
n00b


Joined: 13 Aug 2005
Posts: 51

PostPosted: Sun Jun 11, 2006 12:20 pm    Post subject: Reply with quote

Mark Clegg wrote:
Couldn't a warning about use flags be added too?


I agree. Also, the autouse deprecation could even be reported into the handbook.

Anybody know why? In example, I have the hempatic feeling (?) that is to revert the way you choose packages: instead of installing it explicitly by emerge, you specify the relative keyword in you USE var and it gets emerged.

Is it this?
Back to top
View user's profile Send private message
csab
Apprentice
Apprentice


Joined: 15 Apr 2005
Posts: 152
Location: Atlanta, GA

PostPosted: Sun Jun 11, 2006 5:57 pm    Post subject: Reply with quote

When I first read about this in Gentoo Linux Newsletter (several weeks ago), I said this is the most stupid change that the development team has ever made. I can live with it, but I don't like it. But I'm not the only Gentoo user and maybe many more people loves it, so what can I do?
Back to top
View user's profile Send private message
g.tomassoni
n00b
n00b


Joined: 13 Aug 2005
Posts: 51

PostPosted: Sun Jun 11, 2006 6:04 pm    Post subject: Reply with quote

csab wrote:
When I first read about this in Gentoo Linux Newsletter...


Oh, great! Do you know the purpose of this change? What is meant to?
Back to top
View user's profile Send private message
Bloody100
n00b
n00b


Joined: 02 Apr 2006
Posts: 7
Location: Berlin

PostPosted: Sun Jun 11, 2006 6:35 pm    Post subject: Still confused Reply with quote

Sorry, but just merging these threads together is still no answer to the question at all.

There are so many unqualified answers here that i still ask myself if i really have to add such stupid stuff like "bzip2" to my make.conf,
just because everybody in the world has of course installed bzip2. Now after upgrading portage to 2.1, if i add "bzip2" (and many others)
to my make.conf, i have the feeling that this is probably not what the Gentoo developers had in mind. I don't know because the Gentoo
guys don't tell us a single word about this. The point is that i want a 100% clean, correct and nice Gentoo installation without manual fixes
which are eventually not necessary. I wish to follow the absolute correct way of handling Gentoo like it was intended, just because i don't
want to end up with a messed installation which i have to erase in a few years. Not that this certain topic would cause such problems,
but every 5th (or so) Gentoo update (emerge -uDNa world) is causing new problems, conflicts, confusion and endless forum reading
in search for answers.

Please, if you answer to this question, be sure that you are a REAL Gentoo guru and that you exactly know what we all shall do now,
either adding all these suddenly lost "use" vars to /etc/make.conf manually or how to otherwise fix the problem the correct, intended way,
and please delete the rest of these confusing answers by people who don't know themselves, to reduce the confusion in this thread.

By the way: adding a link to the "USE var howto" is really no help at all. Feels like if you are laughing at the user who asked the
question, right...

Sorry for the harsh words, no offense meant. Just having Gentoo installed is sometimes a full-time job. The Gentoo system upgrading
procedure is the most unstable and immature i've ever seen. There are even some distros where the system upgrade can be configured
as background task, just because there are no errors, no warnings, no "please do this and do that" after a certain upgrade. Nothing.
No user interaction at all. Gentoo is lightyears behind other distros when it comes to system maintenance.

The new graphical installer is absolutely no solution for the problems to come AFTER the basic installation. Noone has a problem with
reading a long, long installation guide if this is all we have to do, but unfortunately, the trouble starts afterwards. The Gentoo devs must
have known that removing a default configuration which has been a former low-level layer for defining standard USE vars, MUST lead to
confusion when users upgrade their machines. But not a single word from the Gentoo devs, not even on their homepage, i.e. BEFORE the
new portage version is unmasked/marked stable. As usual, Gentoo users are on their own.

Again, no offense, just the usual Gentoo frustration. I only write all this because i do like Gentoo so much, else i'd just change to another
distro, right.. :)
_________________
Cheers,

Oliver 'Bloody' Lange.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3802
Location: Hamburg

PostPosted: Sun Jun 11, 2006 6:55 pm    Post subject: Reply with quote

g.tomassoni wrote:
Woha there! I miss /etc/make.profile/use.defaults, which portage uses to detect USE flags implied by installed packages!

What happened? I didn't remove it...

I filed 2 bugs relating to this file (bug 136380 and bug 136399) about that file.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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