Perl upgrade problem...

2010-02-12 Thread Peter Harrison
Up till now I've kept Perl on my machine at 5.8.9. I now see from UPDATING that 
upgrading to 5.10 is recommended.

However, when I follow the instructions, I get the following error:

laptop# portupgrade -o lang/perl5.10 -f perl-5.8.9_3
---  Upgrading 'perl-5.8.9_3' to 'perl-5.10.1' (lang/perl5.10)
---  Building '/usr/ports/lang/perl5.10'
===  Cleaning for perl-5.10.1

===  perl-5.10.1 conflicts with installed package(s): 
  perl-5.8.9_3

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/lang/perl5.10.
*** Error code 1

Stop in /usr/ports/lang/perl5.10.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20100212-42732-1onozbt-0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=perl-5.8.9_3 UPGRADE_PORT_VER=5.8.9_3 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! lang/perl5.10 (perl-5.8.9_3)  (unknown build error)


Any advice on how to fix?

Thanks in advance.


Peter Harrison.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Perl upgrade problem...

2010-02-12 Thread Adam Vande More
On Fri, Feb 12, 2010 at 2:44 PM, Peter Harrison
peter.piggy...@virgin.netwrote:

 Up till now I've kept Perl on my machine at 5.8.9. I now see from UPDATING
 that upgrading to 5.10 is recommended.

 However, when I follow the instructions, I get the following error:

 laptop# portupgrade -o lang/perl5.10 -f perl-5.8.9_3


if you're referring to this:

20090911:
  AFFECTS: users of lang/perl5.10
  AUTHOR: s...@freebsd.org

  lang/perl5.10 has been updated to 5.10.1.  You should update everything
  that depends on perl.  The easiest way to do that is to use
  perl-after-upgrade script supplied with lang/perl5.10.  Please see its
  manual page for details.

  If you want switch to lang/perl5.10 from lang/perl5.8 please follow
  instructions in the entry 20090328 in this file.

Then you have misunderstood what it's saying.  That only applies to folks
already running 5.10 and if you have no need for that then do nothing
further.  If you really believe you need to run 5.10 then you should follow
the complete instructions from the entry.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Perl upgrade problem...

2010-02-12 Thread Matthew Seaman
On 12/02/2010 20:50, Adam Vande More wrote:
 On Fri, Feb 12, 2010 at 2:44 PM, Peter Harrison
 peter.piggy...@virgin.netwrote:
 
 Up till now I've kept Perl on my machine at 5.8.9. I now see from UPDATING
 that upgrading to 5.10 is recommended.

 However, when I follow the instructions, I get the following error:

 laptop# portupgrade -o lang/perl5.10 -f perl-5.8.9_3

 
 if you're referring to this:
 
 20090911:
   AFFECTS: users of lang/perl5.10
   AUTHOR: s...@freebsd.org
 
   lang/perl5.10 has been updated to 5.10.1.  You should update everything
   that depends on perl.  The easiest way to do that is to use
   perl-after-upgrade script supplied with lang/perl5.10.  Please see its
   manual page for details.
 
   If you want switch to lang/perl5.10 from lang/perl5.8 please follow
   instructions in the entry 20090328 in this file.
 
 Then you have misunderstood what it's saying.  That only applies to folks
 already running 5.10 and if you have no need for that then do nothing
 further.  If you really believe you need to run 5.10 then you should follow
 the complete instructions from the entry.
 

Err... he's following the right instructions.  It's just that since
those instructions were written there have been some badly thought-out
changes in bsd.ports.mk.  Any time you try and use portupgrade to
replace one port with another now, you'll likely need to tell it to
ignore CONFLICTS settings:

   # portupgrade -m DISABLE_CONFLICTS=yes -o lang/perl5.10 \
-f perl-5.8.9_3

Then reinstall every port that depends on perl -- you can't use
perl_after_upgrade for this update: the delta in version numbers is too
large.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.  7 Priory Courtyard, Flat 3
Black Earth Consulting   Ramsgate
 Kent, CT11 9PW
Free and Open Source Solutions   Tel: +44 (0)1843 580647



signature.asc
Description: OpenPGP digital signature


Re: Perl upgrade problem...

2010-02-12 Thread Adam Vande More
On Fri, Feb 12, 2010 at 3:03 PM, Matthew Seaman
m.sea...@black-earth.co.ukwrote:


 Err... he's following the right instructions.


ports/UPDATING does not recommend to upgrade.


-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Perl upgrade problem...

2010-02-12 Thread Adam Vande More
On Fri, Feb 12, 2010 at 3:07 PM, Adam Vande More amvandem...@gmail.comwrote:

 On Fri, Feb 12, 2010 at 3:03 PM, Matthew Seaman 
 m.sea...@black-earth.co.uk wrote:


 Err... he's following the right instructions.


 ports/UPDATING does not recommend to upgrade.


I mean does not recommend going from 5.8 to 5.10 as the op has done.  You
are correctly in the previous entry containing incorrect instructions.


-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Perl upgrade problem...

2010-02-12 Thread Peter Harrison
Friday, 12 February 2010 at 14:50:56 -0600, Adam Vande More said:
 On Fri, Feb 12, 2010 at 2:44 PM, Peter Harrison
 peter.piggy...@virgin.netwrote:
 
  Up till now I've kept Perl on my machine at 5.8.9. I now see from UPDATING
  that upgrading to 5.10 is recommended.
 
  However, when I follow the instructions, I get the following error:
 
  laptop# portupgrade -o lang/perl5.10 -f perl-5.8.9_3
 
 
 if you're referring to this:
 
 20090911:
   AFFECTS: users of lang/perl5.10
   AUTHOR: s...@freebsd.org
 
   lang/perl5.10 has been updated to 5.10.1.  You should update everything
   that depends on perl.  The easiest way to do that is to use
   perl-after-upgrade script supplied with lang/perl5.10.  Please see its
   manual page for details.
 
   If you want switch to lang/perl5.10 from lang/perl5.8 please follow
   instructions in the entry 20090328 in this file.
 
 Then you have misunderstood what it's saying.  That only applies to folks
 already running 5.10 and if you have no need for that then do nothing
 further.  If you really believe you need to run 5.10 then you should follow
 the complete instructions from the entry.

I don't need 5.10, but I was prompted to think about upgrading from 20100205.

I was trying to follow 20090328, I ran

pkgdb -Ff (no problem)
then
portupgrade -o lang/per5.10 -f perl-5.8.9

which generated the error given.


Peter Harrison.


 
 -- 
 Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Perl upgrade problem...

2010-02-12 Thread Adam Vande More
On Fri, Feb 12, 2010 at 3:26 PM, Peter Harrison
peter.piggy...@virgin.netwrote:


 I don't need 5.10, but I was prompted to think about upgrading from
 20100205.

 I was trying to follow 20090328, I ran

 pkgdb -Ff (no problem)
 then
 portupgrade -o lang/per5.10 -f perl-5.8.9

 which generated the error given.


 Peter Harrison.


i see, my port tree was out of date, sorry.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Perl upgrade problem...

2010-02-12 Thread Peter Harrison
Friday, 12 February 2010 at 21:03:54 +, Matthew Seaman said:
 On 12/02/2010 20:50, Adam Vande More wrote:
  On Fri, Feb 12, 2010 at 2:44 PM, Peter Harrison
  peter.piggy...@virgin.netwrote:
  
  Up till now I've kept Perl on my machine at 5.8.9. I now see from UPDATING
  that upgrading to 5.10 is recommended.
 
  However, when I follow the instructions, I get the following error:
 
  laptop# portupgrade -o lang/perl5.10 -f perl-5.8.9_3
 
  
  if you're referring to this:
  
  20090911:
AFFECTS: users of lang/perl5.10
AUTHOR: s...@freebsd.org
  
lang/perl5.10 has been updated to 5.10.1.  You should update everything
that depends on perl.  The easiest way to do that is to use
perl-after-upgrade script supplied with lang/perl5.10.  Please see its
manual page for details.
  
If you want switch to lang/perl5.10 from lang/perl5.8 please follow
instructions in the entry 20090328 in this file.
  
  Then you have misunderstood what it's saying.  That only applies to folks
  already running 5.10 and if you have no need for that then do nothing
  further.  If you really believe you need to run 5.10 then you should follow
  the complete instructions from the entry.
  
 
 Err... he's following the right instructions.  It's just that since
 those instructions were written there have been some badly thought-out
 changes in bsd.ports.mk.  Any time you try and use portupgrade to
 replace one port with another now, you'll likely need to tell it to
 ignore CONFLICTS settings:
 
# portupgrade -m DISABLE_CONFLICTS=yes -o lang/perl5.10 \
 -f perl-5.8.9_3
 
 Then reinstall every port that depends on perl -- you can't use
 perl_after_upgrade for this update: the delta in version numbers is too
 large.
 
   Cheers,
 
   Matthew


OK - that seems inconvenient, but I guess it makes sense.

I remember some stuff on the list about this earlier now that you mention it. 
Seems to have made a bit of a hassle of replacing one port with another.

Thanks for the advice.


Peter.



 
 -- 
 Dr Matthew J Seaman MA, D.Phil.  7 Priory Courtyard, Flat 3
 Black Earth Consulting   Ramsgate
  Kent, CT11 9PW
 Free and Open Source Solutions   Tel: +44 (0)1843 580647
 


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