Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
world update keywords, uses, & blockers
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
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1223
Location: 42.68n 85.41w

PostPosted: Mon Aug 12, 2013 8:37 pm    Post subject: world update keywords, uses, & blockers Reply with quote

a user in irc is having problems with blockers keywords and use flag changes..... found here.... http://pastebin.com/U40CCBgt

(im posting because this is such an ugly horror show....)

(as root)

Code:

echo "x11-proto/xineramaproto" >> /etc/portage/package.accept_keywords
echo "x11-libs/libXi" >> /etc/portage/package.accept_keywords
echo "x11-proto/xf86vidmodeproto" >> /etc/portage/package.accept_keywords
echo "x11-libs/libXt" >> /etc/portage/package.accept_keywords
echo "x11-libs/libXau" >> /etc/portage/package.accept_keywords
echo "x11-libs/libXrender" >> /etc/portage/package.accept_keywords
echo "x11-proto/inputproto" >> /etc/portage/package.accept_keywords
echo "x11-libs/libXext" >> /etc/portage/package.accept_keywords
echo "x11-proto/xextproto" >> /etc/portage/package.accept_keywords
echo "x11-proto/xproto" >> /etc/portage/package.accept_keywords
echo "x11-proto/xf86bigfontproto" >> /etc/portage/package.accept_keywords
echo "x11-proto/randrproto" >> /etc/portage/package.accept_keywords
echo "x11-libs/libX11" >> /etc/portage/package.accept_keywords
echo "x11-proto/xcb-proto" >> /etc/portage/package.accept_keywords
echo "x11-libs/libXxf86vm" >> /etc/portage/package.accept_keywords
echo "x11-libs/libXfixes" >> /etc/portage/package.accept_keywords
echo "x11-proto/renderproto" >> /etc/portage/package.accept_keywords
echo "x11-libs/libXcursor" >> /etc/portage/package.accept_keywords
echo "x11-libs/libXrandr" >> /etc/portage/package.accept_keywords
echo "dev-libs/libpthread-stubs" >> /etc/portage/package.accept_keywords
echo "x11-libs/libICE" >> /etc/portage/package.accept_keywords
echo "x11-libs/libxcb" >> /etc/portage/package.accept_keywords
echo "x11-proto/kbproto" >> /etc/portage/package.accept_keywords
echo "x11-libs/libXdmcp" >> /etc/portage/package.accept_keywords
echo "x11-libs/libSM" >> /etc/portage/package.accept_keywords
echo "x11-libs/libXinerama" >> /etc/portage/package.accept_keywords
echo "x11-proto/fixesproto" >> /etc/portage/package.accept_keywords


and to change the uses...... (again as root)

Code:

echo ">=x11-proto/xineramaproto-1.2.1-r1 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-libs/libXi-1.7.2 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-proto/xf86vidmodeproto-2.3.1-r1 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-libs/libXt-1.1.4 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-libs/libXrender-0.9.8 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-proto/inputproto-2.3 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-libs/libXext-1.3.2 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-proto/xproto-7.0.24 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-libs/libICE-1.0.8-r1 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-proto/xf86bigfontproto-1.2.0-r1 abi_x86_32" >> /etc/portage/package.use
echo ">=dev-libs/libxml2-2.9.1-r1 -icu" >> /etc/portage/package.use
echo ">=x11-libs/libXdmcp-1.1.1-r1 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-libs/libX11-1.6.1 abi_x86_32" >> /etc/portage/package.use
echo ">=dev-libs/libpthread-stubs-0.3-r1 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-libs/libXxf86vm-1.1.3 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-libs/libXfixes-5.0.1 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-libs/libXcursor-1.1.14 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-proto/renderproto-0.11.1-r1 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-proto/xextproto-7.2.1-r1 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-libs/libXrandr-1.4.1 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-proto/xcb-proto-1.8-r3 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-libs/libXau-1.0.8 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-libs/libxcb-1.9.1 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-proto/kbproto-1.0.6-r1 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-proto/randrproto-1.4.0-r1 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-libs/libSM-1.2.1-r1 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-libs/libXinerama-1.1.3 abi_x86_32" >> /etc/portage/package.use
echo ">=x11-proto/fixesproto-5.0-r1 abi_x86_32" >> /etc/portage/package.use

_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
http://ecx.images-amazon.com/images/I/81Ku-vxIb3L._SL1500_.jpg
http://wiki.gentoo.org/wiki/Special:Contributions/666threesixes666
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1353

PostPosted: Mon Aug 12, 2013 10:29 pm    Post subject: Reply with quote

Why do you set them per package and not globally?
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1223
Location: 42.68n 85.41w

PostPosted: Mon Aug 12, 2013 10:40 pm    Post subject: Reply with quote

im not skilled enough with sed to append to make.conf's uses. good question tom, why doesn't emerge --autounmask-write do that? and why dispatch-conf? shouldn't this automatically be done?
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
http://ecx.images-amazon.com/images/I/81Ku-vxIb3L._SL1500_.jpg
http://wiki.gentoo.org/wiki/Special:Contributions/666threesixes666


Last edited by 666threesixes666 on Mon Aug 12, 2013 10:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1266

PostPosted: Mon Aug 12, 2013 10:44 pm    Post subject: Reply with quote

666threesixes666 wrote:
im not skilled enough with sed to append to make.conf's uses.
What is wrong with nano, vim, or emacs?
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1223
Location: 42.68n 85.41w

PostPosted: Mon Aug 12, 2013 10:54 pm    Post subject: Reply with quote

noobs want to be on their way, maybe run a command, not fiddling with nano, and randomly editing files by hand. this behavior is masochistic self punishment. i should never see this kind of post on a linux forum, its absurd.... i can understand the blockers, but the keywords and so on should be handled in a less choiceful way up front. the noob got one choice, not to roll....
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
http://ecx.images-amazon.com/images/I/81Ku-vxIb3L._SL1500_.jpg
http://wiki.gentoo.org/wiki/Special:Contributions/666threesixes666
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1353

PostPosted: Mon Aug 12, 2013 11:38 pm    Post subject: Reply with quote

You can just append a new line to the end of make.conf, you don't really need sed to set the ABI_X86 variable; fun thing is, it takes the same amount of key presses to do this with nano, even less if you keep it open.

The problem here is that a lot of stable and unstable packages are mixed, effectively causing a lot of unnecessary blocking and keywording...
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1223
Location: 42.68n 85.41w

PostPosted: Mon Aug 12, 2013 11:48 pm    Post subject: Reply with quote

so this works? /etc/portage/make.conf

USE="mmx"
USE="sse"
USE="sse2"
USE="mmxext"

?????
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
http://ecx.images-amazon.com/images/I/81Ku-vxIb3L._SL1500_.jpg
http://wiki.gentoo.org/wiki/Special:Contributions/666threesixes666
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4883

PostPosted: Tue Aug 13, 2013 6:34 am    Post subject: Reply with quote

666threesixes666 wrote:
so this works? /etc/portage/make.conf

USE="mmx"
USE="sse"
USE="sse2"
USE="mmxext"

?????


Code:
USE="mmx"
USE="${USE} sse"
USE="${USE} sse2"
USE="${USE} mmxext"

_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1266

PostPosted: Tue Aug 13, 2013 6:45 am    Post subject: Reply with quote

Well, I have to say the flaw I see in automating use flag changes is there are usually 3 options. Change flag on package A (or globally). Change flag on package B (or globally). Finally, remove package A. Depending on the situation more possibilities may exist. I just don't see how this could be effectively automated since there is no way to tell the computer what type of system you want and what is acceptable or not. As for blindly unmasking or using unstable packages that is defiantly one thing that if you don't know how to do it yourself you shouldn't do it since it since it would pose a hazard to the system and negate the principle of masking anything or marking it unstable.

Last time I saw someone trying to say anything meaningful to a computer, he was talking to his mouse. Finally the gentleman told him to "just use the keyboard."
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1223
Location: 42.68n 85.41w

PostPosted: Tue Aug 13, 2013 7:18 am    Post subject: Reply with quote

still a simple program to select a b c d e scenarios would not be much to ask for. a purge package calling keywords b keyword c purge package calling new use d call new use e do nothing. d sub 1 setglobal d sub 2 set package only.
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
http://ecx.images-amazon.com/images/I/81Ku-vxIb3L._SL1500_.jpg
http://wiki.gentoo.org/wiki/Special:Contributions/666threesixes666
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1266

PostPosted: Tue Aug 13, 2013 7:42 am    Post subject: Reply with quote

Have you tried writing one? You may be surprised at how difficult it actually is given how difficult it may be to spot these options.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1353

PostPosted: Tue Aug 13, 2013 9:57 am    Post subject: Reply with quote

abi_x86_32 should not be added as a USE flag, but instead as as ABI_X86="32" on a new line; so, no, that won't work.

For USE flags you can use euse from gentoolkit to enable / disable / list them.
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