Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2007 12:33:05 -0400
From:      Joe Marcus Clarke <marcus@freebsd.org>
To:        x11@freebsd.org
Subject:   Upgrade from 6.9 to 7.2 (my summary)
Message-ID:  <462799C1.4080404@freebsd.org>

next in thread | raw e-mail | index | archive | help
I did the upgrade from 6.9 to 7.2 on one of my test machines in a
concerted portmgr effort to drink sugary red stuff.  Here's what I had
to do to have a successful upgrade:

* make index (I have a patch to fix INDEX_PRISTINE)
* portupgrade -aW
FAIL due to .la problems with fontconfig

* sh mergebase.sh to "fix" the .la problem
FAIL due to the fact that /usr/X11R6 is a file system

* Unmount /usr/X11R6 and manually do the symlink /usr/X11R6 -->
/usr/local (remind me to try and growfs later)
* portupgrade -aW
* pkgdb -L
* Patch qt33 with patch from lofi
* pkgdb -fF (installs qt33 correctly now that it has been patched)
* Reboot to restart port services

The fontconfig .la failures have to do with some ports (e.g. gtk20)
still reference fontconfig in /usr/X11R6 in their .la files.  So, when
you rebuild a port that depends on this, you will get a failure to link.
 I suggested to portmgr that instead of bumping PORTREVISION on all
X11BASE ports, we bump it on ALL ports that depend on X.

As you can see, my /usr/X11R6 was not a simple directory, but a file
system.  This caused lesi's script to create /usr/X11R6/local -->
/usr/local.  I had to manually fix this myself.

In order to get X to actually start after this, I had to modify
xorg.conf, and correct the ModulePath (/usr/X11R6/lib/modules -->
/usr/local/lib/xorg/modules).  This was the only changed that was required.

Finally, to avoid having multiple copies of hald start at boot time, I
added the following to /etc/rc.conf:

local_startup="/usr/local/etc/rc.d"

Whew!  I'm not sure how much of this can actually be handled by a
script, but as you can see, there are still some rough edges.

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?462799C1.4080404>