Re: error while updating ports: x11/xorg-libraries

2008-01-27 Thread Daniel Bye
On Sun, Jan 27, 2008 at 06:41:26AM +0100, Huub wrote:
> >
> >Hmm, how did you end up with 7.2 installed, with the old /usr/X11R6 dir?
> >I thought that went away in the transition from 6.9 to 7.2...
> 
> So it apparently should be..
> 
> >
> >Anyhow, following Kris' instructions in UPDATING should see you through
> >the upgrade OK. I did it quite painlessly on a few machines, although
> >others did report difficulties. If it comes to it, you can uninstall
> >all your X-related ports and do a clean install of Xorg 7.3 - it'll
> >take a while, but it will get the job done.
> 
> According to the instructions:
> 
>  Unfortunately portupgrade (nor portupgrade-devel) cannot yet handle
>   the rigors of the xorg upgrade without a small bit of help:
> 
>   # portupgrade -Rf libXft
> 
> results in:
> 
> ** Listing the failed packages (*:skipped / !:failed)
> * x11/xorg-libraries (xorg-libraries-7.2_1)
> --->  Packages processed: 112 done, 47 ignored, 1 skipped and 0 failed

Yep, because /usr/X11R6 still exists. Try running the mergebase.sh script
at /usr/ports/Tools/scripts/mergebase.sh. My guess is that in the past
you began the upgrade path from 6.9 to 7.x but didn't quite finish the
procedure (note that is very much a guess). You should probably read
through the script before you run it, just in case your system isn't
set up as it expects.

> 
> So I guess I'm gonna do a clean install of all of Xbut can you tell 
> me which packages I should remove exactly?

Depends very much on what you have installed - pkg_info(1)'s -r and -R
options will help you to build up an overview of what you need to 
remove/update, if mergebase doesn't work. It's a good idea to save a list
of currently-installed ports to refer to in the event this all goes *pop*.

Good luck!

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpsoNw2ZYT4P.pgp
Description: PGP signature


Re: error while updating ports: x11/xorg-libraries

2008-01-26 Thread Huub


Hmm, how did you end up with 7.2 installed, with the old /usr/X11R6 dir?
I thought that went away in the transition from 6.9 to 7.2...


So it apparently should be..



Anyhow, following Kris' instructions in UPDATING should see you through
the upgrade OK. I did it quite painlessly on a few machines, although
others did report difficulties. If it comes to it, you can uninstall
all your X-related ports and do a clean install of Xorg 7.3 - it'll
take a while, but it will get the job done.


According to the instructions:

 Unfortunately portupgrade (nor portupgrade-devel) cannot yet handle
  the rigors of the xorg upgrade without a small bit of help:

  # portupgrade -Rf libXft

results in:

** Listing the failed packages (*:skipped / !:failed)
* x11/xorg-libraries (xorg-libraries-7.2_1)
--->  Packages processed: 112 done, 47 ignored, 1 skipped and 0 failed

So I guess I'm gonna do a clean install of all of Xbut can you tell 
me which packages I should remove exactly?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: error while updating ports: x11/xorg-libraries

2008-01-26 Thread Daniel Bye
On Sat, Jan 26, 2008 at 09:57:20PM +0100, Huub wrote:
> >
> >First off, you should probably update your ports tree. Firefox is now
> >at 2.0.0.11,1, and xorg-libraries is at 7.3_1.
> 
> I started with updating the ports tree.
> 
> >
> >Then try the upgrade again. If it still fails, show us the errors from
> >the xorg-libraries build.
> 
> [Updating the pkgdb  in /var/db/pkg ... - 685 packages 
> found (-0 +1) . done]
> --->  Upgrading 'xorg-libraries-7.2_1' to 'xorg-libraries-7.3_1' 
> (x11/xorg-libraries)
> --->  Building '/usr/ports/x11/xorg-libraries'
> ===>  Cleaning for xorg-libraries-7.3_1
> /usr/X11R6 exists, but it is not a symlink. Installation cannot proceed.
> This looks like an incompletely removed old version of X.  In the 
> current version, /usr/X11R6 must be a symlink if it exists at all.Please 
> read /usr/ports/UPDATING (entry of 20070519) for the procedure to 
> upgrade X.org related ports.*** Error code 1
> 
> Stop in /usr/ports/x11/xorg-libraries.
> ** Command failed [exit code 1]: /usr/bin/script -qa 
> /tmp/portupgrade.15405.6 env UPGRADE_TOOL=portupgrade 
> UPGRADE_PORT=xorg-libraries-7.2_1 UPGRADE_PORT_VER=7.2_1 make
> ** Fix the problem and try again.
> 
> 
> 
> OK, so it looks like I have to update Xorg ports first. Reading UPDATING 
> it seems quite a lot of work. Can you tell it will work out ok?

Hmm, how did you end up with 7.2 installed, with the old /usr/X11R6 dir?
I thought that went away in the transition from 6.9 to 7.2...

Anyhow, following Kris' instructions in UPDATING should see you through
the upgrade OK. I did it quite painlessly on a few machines, although
others did report difficulties. If it comes to it, you can uninstall
all your X-related ports and do a clean install of Xorg 7.3 - it'll
take a while, but it will get the job done.

I hope it works out!

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpNswrDxte1s.pgp
Description: PGP signature


Re: error while updating ports: x11/xorg-libraries

2008-01-26 Thread Huub


First off, you should probably update your ports tree. Firefox is now
at 2.0.0.11,1, and xorg-libraries is at 7.3_1.


I started with updating the ports tree.



Then try the upgrade again. If it still fails, show us the errors from
the xorg-libraries build.


[Updating the pkgdb  in /var/db/pkg ... - 685 packages 
found (-0 +1) . done]
--->  Upgrading 'xorg-libraries-7.2_1' to 'xorg-libraries-7.3_1' 
(x11/xorg-libraries)

--->  Building '/usr/ports/x11/xorg-libraries'
===>  Cleaning for xorg-libraries-7.3_1
/usr/X11R6 exists, but it is not a symlink. Installation cannot proceed.
This looks like an incompletely removed old version of X.  In the 
current version, /usr/X11R6 must be a symlink if it exists at all.Please 
read /usr/ports/UPDATING (entry of 20070519) for the procedure to 
upgrade X.org related ports.*** Error code 1


Stop in /usr/ports/x11/xorg-libraries.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade.15405.6 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=xorg-libraries-7.2_1 UPGRADE_PORT_VER=7.2_1 make

** Fix the problem and try again.



OK, so it looks like I have to update Xorg ports first. Reading UPDATING 
it seems quite a lot of work. Can you tell it will work out ok?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: error while updating ports: x11/xorg-libraries

2008-01-26 Thread Daniel Bye
On Sat, Jan 26, 2008 at 09:18:58PM +0100, Huub wrote:
> Hi,
> 
> After a quite some time of not using the machine, I decided to update a 
> PentiumIII pc running FreeBSD 6.2. Starting with "portupgrade -R 
> firefox" it ends with:
> 
> [Updating the pkgdb  in /var/db/pkg ... - 685 packages 
> found (-0 +1) . done]
> --->  Skipping 'graphics/cairo' (cairo-1.4.10) because a requisite 
> package 'xorg-libraries-7.2_1' (x11/xorg-libraries) failed (specify -k 
> to force)
> --->  Skipping 'x11-toolkits/pango' (pango-1.16.5) because a requisite 
> package 'cairo-1.4.10' (graphics/cairo) failed (specify -k to force)
> --->  Skipping 'x11-toolkits/gtk20' (gtk-2.10.14) because a requisite 
> package 'pango-1.16.5' (x11-toolkits/pango) failed (specify -k to force)
> --->  Skipping 'www/firefox' (firefox-2.0.0.6,1) because a requisite 
> package 'pango-1.16.5' (x11-toolkits/pango) failed (specify -k to force)
> ** Listing the failed packages (*:skipped / !:failed)
> ! x11/xorg-libraries (xorg-libraries-7.2_1) (unknown build 
> error)
> * graphics/cairo (cairo-1.4.10)
> * x11-toolkits/pango (pango-1.16.5)
> * x11-toolkits/gtk20 (gtk-2.10.14)
> * www/firefox (firefox-2.0.0.6,1)
> --->  Packages processed: 34 done, 61 ignored, 4 skipped and 1 failed
> 
> So, starting to look for information about xorg-libraries, I've searched 
>  in /usr/ports/CHANGES, MOVED and UPDATING but found nothing. Can 
> someone please tell me how to get on with this?

First off, you should probably update your ports tree. Firefox is now
at 2.0.0.11,1, and xorg-libraries is at 7.3_1.

Then try the upgrade again. If it still fails, show us the errors from
the xorg-libraries build.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpqY1GQzyuRM.pgp
Description: PGP signature