View previous topic :: View next topic |
Author |
Message |
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Mon Aug 12, 2013 8:37 pm Post subject: world update keywords, uses, & blockers |
|
|
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
|
|
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Mon Aug 12, 2013 10:29 pm Post subject: |
|
|
Why do you set them per package and not globally? |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Mon Aug 12, 2013 10:40 pm Post subject: |
|
|
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?
Last edited by 666threesixes666 on Mon Aug 12, 2013 10:44 pm; edited 1 time in total |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Mon Aug 12, 2013 10:44 pm Post subject: |
|
|
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.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Mon Aug 12, 2013 10:54 pm Post subject: |
|
|
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.... |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Mon Aug 12, 2013 11:38 pm Post subject: |
|
|
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 |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Mon Aug 12, 2013 11:48 pm Post subject: |
|
|
so this works? /etc/portage/make.conf
USE="mmx"
USE="sse"
USE="sse2"
USE="mmxext"
????? |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Tue Aug 13, 2013 6:34 am Post subject: |
|
|
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 |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Tue Aug 13, 2013 6:45 am Post subject: |
|
|
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.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Tue Aug 13, 2013 7:18 am Post subject: |
|
|
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. |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Tue Aug 13, 2013 7:42 am Post subject: |
|
|
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.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Tue Aug 13, 2013 9:57 am Post subject: |
|
|
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 |
|
|
|