I have been so happy with my gentoo boxes lately, having had zero problems for the past few months, and no itch to bump. I must have lucked out and hit a really stable spot in the ever-changing world of open source.

But I don’t want to get too comfortable. Much longer and I probably won’t have a clean upgrade path. Besides, I think I smell something shiny out there somewhere… Seriously, I am looking forward to the latest XBMC changes. That software absolutely rocks.

Here we go!

Server first, since it’s the easiest (no X, no fancy video drivers, no UI apps).

eix-sync
emerge --unmerge iptraf #no longer maintained, use iptraf-ng
emerge -Davu iptraf-ng
# [emerge -Davu world] is complaining about php
# php is now slotted to allow multiple versions
# but we have to specify which one we want to use
# edit /etc/make.conf, add [PHP_TARGETS="php5-3"]
emerge -Davu php 
# apache is borked
eselect php list apache2
  [1]   php5.3
eselect php set apache2 1
/etc/init.d/apache2 restart
# keep going with emerge before we dive into further problems
emerge -Davu world

The following were broken by the updates, but mostly easily fixed:

  • mediawiki – fixed all sites by running update.php on each, whoop; also updated to vector skin, nice!
  • squirrelmail – v1.5 install got trashed by v1.4 overwrite, silly portage! But roundcube now has a sieve plugin, abandon squirrelmail
  • roundcube – config files got trashed. Pulled up old versions in cvs, diffed, fixed, yay for version control!
  • sitebar – this PHP code is old but pretty clean. required two fixes:
  • disable call to ob_start(‘ob_gzhandler’) in [inc/writers/sitebar.inc.php] to allow it to load; log in and go to prefs; disable compression; re-enable call
  • convert useHandler($sbHandler = true) in [inc/errorhandler.inc.php] to a static function to prevent PHP warning

All shiny and new, yay! Still need to bump kernel tho…

Now for the desktop machine…

# edit /etc/make.conf, add [PHP_TARGETS="php5-3"]
eselect php set apache2 1
# edit /etc/portage/package.use, add:
dev-libs/libgpg-error static-libs
dev-libs/libgcrypt static-libs
virtual/mysql embedded -static
dev-db/mysql embedded
virtual/ffmpeg theora

I’ve tried to take the advice to “avoid static except where really needed.”

Looks like one package has to go for now…

!!! The following installed packages are masked:
- media-sound/mixxx-1.7.2-r2 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Samuli Suominen  (22 Mar 2011)
# Masked for removal wrt bug 310821, Comment #61.
# The new versions of mixxx require portmidi, bug 90614.
# Portmidi doesn't have a sane build system and is therefore
# not ready for inclusion in Portage.
# Removal in about 30 days.

emerge --unmerge mixxx

And on with the emerge…

lafilefixer --justfixit && emerge -Du portage && emerge -Du system && emerge -Du world && revdep-rebuild -i && eclean distfiles
  kde-base/kdepim-runtime-4.4.9 failed # known portage error - tried again (the next day?) and it seems to have worked

Leave a Reply