Wow nicely done! Please let us know how your upgrade goes.
Ok so I've done the upgrade. After
Code:
/usr/sbin/freebsd-update -r 7.1-RELEASE upgrade && /usr/sbin/freebsd-update -r 7.1-RELEASE install
check if everything is still ok
then
Code:
/usr/sbin/freebsd-update install
(also had to edit some files at this point using vi - goddammit why not ee!?)
then
(if it asks for something just give it to it, it may ask for fetching and extracting the pkgdb or something, don't remember, but nonetheless do what it asks to.)
Had a bunch of problems with libpthreads and old libs
first with the libs -
Code:
cd /usr/ports/misc/compat6x; make; make install
then with that bug of libpthreads a shell script
Code:
#!/bin/sh
#Fix For /usr/bin/ld: /usr/lib/libpthread.a(thr_syscalls.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
#/usr/lib/libpthread.a: could not read symbols: Bad value
#Thanx Mel_Flynn on forums.freebsd.org
mkdir /tmp/pthread.bkp
mv /usr/lib/libpthread* /tmp/pthread.bkp/
cd /usr/lib
for ext in .a .so _p.a; do
ln -vs libthr$ext libpthread$ext
done
Than just do
again.
I've also encountered a bug in ImageMagick and Perl installed from sources on 7.1, maybe because of the old version, but the ports version installed seamlessly in this Release.
then I had to ./build apache and ./build php5-cli and recompile my mysql from sources to catch the new threads (I don't like binaries and I don't like ports setup unless DA makes it compatible with current DA setup).
The system is now working great.
Because of compat6.x I didn't have to recompile all the other stuff which is obviously not the point of my upgrade. But anyways when there'll be new Custombuild stuff i'll try to upgrade it || not on this server, because it's the clients one.
Cheers guys, almost 7+ hours to figure all of this and google all the bugs. Hope this will be useful for somebody.