Gentoo Forums
Gentoo Forums
Quick Search: in
Is putting ACCEPT_KEYWORDS="~x86" in make.conf a good idea?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Sat Jan 30, 2010 2:06 am    Post subject: Is putting ACCEPT_KEYWORDS="~x86" in make.conf a g Reply with quote

I have been noticing that I am unmasking more and more packages on my laptop because I have a need for newer ones that are considered stable by the upstream developers, but are soft masked in the portage tree. One example is KDE 4.3.5, which is a maintenance release that fixes bugs that I would rather not encounter.

I am starting to think that it might be easier if I just put ACCEPT_KEYWORDS="~x86" in make.conf and be done with it, as packages.keywords is becoming extremely disorganized (having something like 400 lines, most of which are KDE) and unmasking everything seems like it would simplify my life. I only apply updates when I have time to fix things, so I don't think any unexpected issues will be catastrophic. I am also trying this out in a virtual machine that is similarly configured to my laptop (although it cannot be 100% similarly configured due to hardware differences) to see if it works.

Anyway, what do you guys think? Is putting ACCEPT_KEYWORDS="~x86" in a production laptop's make.conf file a good idea provided that updates are only done when I have time to fix things that break? How should I expect my experience doing this to be relative to the Microsoft experience where Windows releases are beta software until Service Pack 2?
Back to top
View user's profile Send private message
EzInKy
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1734
Location: Kentucky

PostPosted: Sat Jan 30, 2010 2:19 am    Post subject: Reply with quote

I can't say it's a good idea despite running all my machines "~amd64" for years B-)

Seriously though, when you do change to "~arch" think of yourself as a "tester", not a "user". That way, when you run into glitches, you'll be more likely to solve problems instead of complain about them.
_________________
Time is what keeps everything from happening all at once.
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12849
Location: Ste-Foy,Canada

PostPosted: Sat Jan 30, 2010 2:32 am    Post subject: Reply with quote

If you agree that one day you may break your box, then go for it.

Nowadays that kind of thing is not very frequent, but it can happen when major stuff hit the testing arch.

Good luck :P
_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1584
Location: Gentoo64 land

PostPosted: Sat Jan 30, 2010 2:42 am    Post subject: Reply with quote

both posts above pretty much cover the responsibility that comes with running full ~ARCH.

its fun and you get even closer to the bleeding edge.

the one thing that may or may *not* occur is that you (anyone) might have some sort of exotic (to everyone not you) set of installed packages that causes breakages that are unique to just you, and the forums and google may not possess adequate answers :twisted:
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 3882
Location: UK - Birmingham

PostPosted: Sat Jan 30, 2010 3:08 am    Post subject: Reply with quote

"mixing arch and ~arch is like mixing your drinks. Too much and you will regret it"

ARCH is great but it lags behind on packages so if you want the latest & greatest you will have to start unmasking. the more you mix the increase chance of other issues.

I have been running ~amd64 now for quite a few years and I have had alot less issues from when I was running ARCH + managing a large package.keywords file.
Every now and again you come across a package that won't compile (so you add it to package.mask and file a bug) and even rarer you come across a system-b0rking issue (eg a bash issue from a few years back). but as long as you are confident in managing yr system and recovering from system breakages then going ~arch is ok
_________________
Quote:
Voting holds no real power, he who counts the votes has the true power.

Weaver Projects
whats the difference between 9/11 and a cow?
u stop milking a cow after 10 years
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Sat Jan 30, 2010 4:24 am    Post subject: Reply with quote

Thank you for all of your opinions. My virtual machine and laptop are very closely configured, so I am going to let the virtual machine finish compiling all of the unmasked packages and if everything is okay, I will go ahead with the upgrades on my laptop. If there is some problem, I will try to resolve it in a way that I will not encounter it on my laptop before I go ahead with it on my laptop. :)
Back to top
View user's profile Send private message
AllenJB
Veteran
Veteran


Joined: 02 Sep 2005
Posts: 1282
Location: Ashford, Kent

PostPosted: Sat Jan 30, 2010 10:37 am    Post subject: Reply with quote

I've been mixing since forever without any issues. As long as you carefully read what portage is telling you, you won't have any issues.
_________________
http://gentoo-wiki.com :: http://lug.org.uk :: http://www.linux.org/groups/ :: User Blogs
Back to top
View user's profile Send private message
sparkplug
n00b
n00b


Joined: 23 Apr 2009
Posts: 13

PostPosted: Sat Jan 30, 2010 12:49 pm    Post subject: Reply with quote

I run ~x86 with fewer complaints than when I was running x86 and unkeywording.

It occurs to me that to avoid major biannual "breakage," you could sync, then wait a week before actually upgrading, in which time most problems that others might encounter would come up before then and you'd see the chatter and fixes. Heck, it's as simple as setting you upgrade cron job before your sync cron job, if you do such things.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Sat Jan 30, 2010 3:08 pm    Post subject: Reply with quote

I am glad I ran the upgrades (or tried to anyway, I left emerge running with -a as an option and then went to bed without saying yes) in a virtual machine first. I caught some upgrades that I don't want, namely newer kernel sources and OpenRC. For the kernel sources, I masked >=sys-kernel/gentoo-sources-2.6.32, but for OpenRC, I added the following to my masks file:

Quote:
>=sys-apps/baselayout-2
>=sys-apps/module-init-tools-3.6
sys-apps/openrc


I kept adding stuff to the file through the dependency graph until I added sys-apps/module-init-tools to the file. I assume I can remove baselayout and openrc because sys-apps/module-init-tools is a root node to them in the dependency graph.

Anyway, I want to wait until openrc is unmasked by the developers before upgrading to it. Is there any way to exclude it (i.e. sys-apps/module-init-tools because it is what pulls openrc into the system) from the scope of ACCEPT_KEYWORDS="~x86" so the decision to install them goes back to the setting in the portage tree?
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12849
Location: Ste-Foy,Canada

PostPosted: Sat Jan 30, 2010 5:47 pm    Post subject: Reply with quote

If you are going ~arch, then you must use baselayout 2.x and also use the latest GCC.
_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 27174
Location: 56N 3W

PostPosted: Sat Jan 30, 2010 6:24 pm    Post subject: Reply with quote

Shining Arcanine,

You can't cross a crevasse in two small jumps. Just go for arch~

If you have plenty of disk space, turn on FEATURES="binpackage" to keep copies of all the binaries you build.
This allows you to use emerge -K =<package/atom>-<ver> to downgrade very quickly when you do have an issue.

Also, never update when you may need your system in a hurry.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.


Last edited by NeddySeagoon on Sat Jan 30, 2010 7:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Sat Jan 30, 2010 6:38 pm    Post subject: Reply with quote

Okay, thanks for the advice. I will emerge the packages I masked after the current emerge finishes running and then follow the upgrade guide, which is something I had hoped to avoid doing.

Thanks for the advice on FEATURES="binpackage".
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Sun Jan 31, 2010 1:39 am    Post subject: Reply with quote

I have an update. My virtual machine is still compiling, but since I thought I caught most of the errors, I decided to go ahead with the upgrades on my laptop. It had relatively few issues compared to the virtual machine (one package refused to compile initially). Right now I have almost everything compiled except open office and dev-python/PyQt4-4.7, which is the one package that refused to compile initially, but is now compiling. Ironically, my virtual machine, despite having a processor that has higher instruction level parallelism, more cores and a higher clock speed than my laptop's processor, is still compiling, which I am going to blame on virtualization overhead.

I took the liberty of upgrading my kernel from gentoo-sources-2.6.31-r9 to gentoo-sources-2.6.31-r10 (which is a huge upgrade, I know :P) and so far, the system boot seems faster. A package that did not work before (lm_sensors) now works. I am leaving open office's compilation later, as portage wants to re-compile it because I changed LINGUAS while I was upgrading things and I would rather run open office's long compilation when I am sleeping.

Anyway, thankyou everyone for all of your advice. My system now feels much better than it was before and I am really happy with it. :)
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Sun Jan 31, 2010 3:22 am    Post subject: Reply with quote

A quick question. Does anyone know what purpose the rootfs and rc-svcdir file systems serve? My laptop now has two extra filesystems that were not mounted previously. I do not see them in fstab, so I am wondering what put them there. I assume that it has something to do with the OpenRC/Baselayout-2 upgrade.
Quote:

richard@new-host-4 ~ $ df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 59444648 7544284 48880728 14% /
/dev/root 59444648 7544284 48880728 14% /
rc-svcdir 1024 68 956 7% /lib/rc/init.d
udev 10240 192 10048 2% /dev
shm 1034776 0 1034776 0% /dev/shm
/dev/sda1 31729 8511 21580 29% /boot
tmpfs 2097152 182832 1914320 9% /var/tmp/portage
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12849
Location: Ste-Foy,Canada

PostPosted: Sun Jan 31, 2010 5:03 am    Post subject: Reply with quote

In fact, they are part of OpenRc and Baselayout 2.0.

There actually a thread about that on the forum.
_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 444

PostPosted: Sun Jan 31, 2010 9:47 am    Post subject: Reply with quote

I've borked my systems too many times with ~arch so now I keyword packages.

I use folder package.keywords/ convention(?) and use a custom script for keywording. It makes it a lot quicker than manually adding each line. Also, I keep all kde keywords in package.keywords/kde.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sun Jan 31, 2010 4:20 pm    Post subject: Reply with quote

Just for the record, I think that is (according to man make.conf): FEATURES="buildpkg" or EMERGE_DEFAULT_OPTS="--buildpkg"
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12849
Location: Ste-Foy,Canada

PostPosted: Sun Jan 31, 2010 5:15 pm    Post subject: Reply with quote

So, this FEATURES="binpackage" doesn't exist right ?
_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sun Jan 31, 2010 9:50 pm    Post subject: Reply with quote

d2_racing wrote:
So, this FEATURES="binpackage" doesn't exist right ?


Maybe it's just me, but I can't seem to find any reference to it anywhere. I must be mistaken - which happens. :)

BTW, I found this in /usr/src/linux/Documentation/filesystems/ramfs-rootfs-initramfs.txt
Quote:
What is rootfs?
---------------

Rootfs is a special instance of ramfs (or tmpfs, if that's enabled), which is
always present in 2.6 systems. You can't unmount rootfs for approximately the
same reason you can't kill the init process; rather than having special code
to check for and handle an empty list, it's smaller and simpler for the kernel
to just make sure certain lists can't become empty.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 27174
Location: 56N 3W

PostPosted: Sun Jan 31, 2010 9:54 pm    Post subject: Reply with quote

Oops, sorry

Code:
FEATURES="buildpkg ccache fixpackages sandbox userpriv parallel-fetch"

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sun Jan 31, 2010 9:59 pm    Post subject: Reply with quote

No problemo dude. :)
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12849
Location: Ste-Foy,Canada

PostPosted: Mon Feb 01, 2010 12:43 pm    Post subject: Reply with quote

So it's :

FEATURES="buildpkg" inside your /etc/make.conf
and this allows you to use emerge -K =<package/atom>-<ver> to downgrade very quickly when you do have an issue.
_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
jgpallack
n00b
n00b


Joined: 21 Nov 2007
Posts: 31

PostPosted: Tue Feb 02, 2010 2:18 am    Post subject: Reply with quote

d2_racing wrote:
If you are going ~arch, then you must use baselayout 2.x and also use the latest GCC.


Not necessarily. I run ~amd64, and I've had baselayout2 and openRC hardmasked in my package.mask; I also hardmask anything that depends on it.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Tue Feb 02, 2010 4:28 am    Post subject: Reply with quote

d2_racing wrote:
So it's :

FEATURES="buildpkg" inside your /etc/make.conf
and this allows you to use emerge -K =<package/atom>-<ver> to downgrade very quickly when you do have an issue.


Yes. It creates a tree under /usr/portage/packages that can grow rather large - ca. 1G or more over time, even when eclean-pkg -d is used regularly, which must be considered - especially when /usr/portage is on a partition.
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12849
Location: Ste-Foy,Canada

PostPosted: Tue Feb 02, 2010 12:45 pm    Post subject: Reply with quote

Is there a way to tell portage that we want only one category of packages that we want to create a bin package ?

You may run out of space if you don't clean up your /usr/portage directory :P
_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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