Re: Ports and updating 6.2-STABLE to 7.0-PRERELEASE

2007-10-20 Thread Kris Kennaway

Doug Poland wrote:

Hello,

I've just updated my system to 7.0-PRERELEASE from 6.2-STABLE on i386 
and I was wondering what the recommendation is for ports.  Specifically, 
is it necessary to rebuild all ports?


So far, I haven't rebuilt any ports and haven't had any problems...



Yes, it is always necessary when you update to a new major branch (such 
as 6.x - 7.x).


The old applications will continue to run immediately after the upgrade 
and as long as you do not make further changes, but once you start doing 
new port upgrades and installs you will easily create ports that are 
linked to two versions of FreeBSD system libraries, e.g. libc.so.6 and 
libc.so.7.  This doesn't work very well ;-)


Kris

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


Re: Ports and updating 6.2-STABLE to 7.0-PRERELEASE

2007-10-19 Thread Erik Trulsson
On Fri, Oct 19, 2007 at 03:57:08PM -0500, Doug Poland wrote:
 Hello,
 
 I've just updated my system to 7.0-PRERELEASE from 6.2-STABLE on i386 and I 
 was wondering what the recommendation is for ports.  Specifically, is it 
 necessary to rebuild all ports?
 
 So far, I haven't rebuilt any ports and haven't had any problems...

It is not strictly necessary to rebuild all ports, but I would recommend it
and if you start to install any new ports then you should rebuild all the
old ones first.

Having some ports linked against 6.x libraries while some are linked
against 7.x libraries can very easily lead to problems.
(If one of your old ports (linked against 6.x libraries) provides some
library which is used by one of the new ports (using 7.x libraries) then the
new port can end up using two version of the same system library - both the
6.x version and the 7.x version.  This will almost certainly not work
correctly.)





-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ports and updating 6.2-STABLE to 7.0-PRERELEASE

2007-10-19 Thread Doug Poland

Hello,

I've just updated my system to 7.0-PRERELEASE from 6.2-STABLE on i386 
and I was wondering what the recommendation is for ports.  Specifically, 
is it necessary to rebuild all ports?


So far, I haven't rebuilt any ports and haven't had any problems...

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


Re: Ports and updating 6.2-STABLE to 7.0-PRERELEASE

2007-10-19 Thread Doug Poland

Erik Trulsson wrote:

On Fri, Oct 19, 2007 at 03:57:08PM -0500, Doug Poland wrote:

Hello,

I've just updated my system to 7.0-PRERELEASE from 6.2-STABLE on i386 and I 
was wondering what the recommendation is for ports.  Specifically, is it 
necessary to rebuild all ports?


So far, I haven't rebuilt any ports and haven't had any problems...


It is not strictly necessary to rebuild all ports, but I would recommend it
and if you start to install any new ports then you should rebuild all the
old ones first.

Having some ports linked against 6.x libraries while some are linked
against 7.x libraries can very easily lead to problems.
(If one of your old ports (linked against 6.x libraries) provides some
library which is used by one of the new ports (using 7.x libraries) then the
new port can end up using two version of the same system library - both the
6.x version and the 7.x version.  This will almost certainly not work
correctly.)


Thank you for the info, I think I'll rebuild my ports.  I imagine I 
could then use



# portsclean --libclean

to get rid of those 6.x libraries and have a nice *clean* system.

--
Regards,
Doug

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


Re: Ports and updating 6.2-STABLE to 7.0-PRERELEASE

2007-10-19 Thread Boris Samorodov
On Fri, 19 Oct 2007 17:04:22 -0500 Doug Poland wrote:
 Erik Trulsson wrote:
  On Fri, Oct 19, 2007 at 03:57:08PM -0500, Doug Poland wrote:
  Hello,
 
  I've just updated my system to 7.0-PRERELEASE from 6.2-STABLE on
  i386 and I was wondering what the recommendation is for ports.
  Specifically, is it necessary to rebuild all ports?
 
  So far, I haven't rebuilt any ports and haven't had any problems...
 
  It is not strictly necessary to rebuild all ports, but I would recommend it
  and if you start to install any new ports then you should rebuild all the
  old ones first.
 
  Having some ports linked against 6.x libraries while some are linked
  against 7.x libraries can very easily lead to problems.
  (If one of your old ports (linked against 6.x libraries) provides some
  library which is used by one of the new ports (using 7.x libraries) then the
  new port can end up using two version of the same system library - both the
  6.x version and the 7.x version.  This will almost certainly not work
  correctly.)
 
 Thank you for the info, I think I'll rebuild my ports.  I imagine I
 could then use

 # portsclean --libclean

Shouldn't it remove only libraries from ports?

 to get rid of those 6.x libraries and have a nice *clean* system.

If you want to get a clean system and to get rid of 6.x libraries from
base system you may be interested in make delete-old[-libs|-dirs] at
/usr/src. More info at /usr/src/UPDATING and /usr/src/Makefile.


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