Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2009 12:31:25 -0500 (CDT)
From:      Scott Bennett <bennett@cs.niu.edu>
To:        freebsd-ports@freebsd.org, kstewart@owt.com
Subject:   Re: [REPOST] problem upgrading perl
Message-ID:  <200906161731.n5GHVPHu014838@mp.cs.niu.edu>

next in thread | raw e-mail | index | archive | help
     Thanks for sending me your response directly.  The digest including your
response has yet to appear.
     On Tue, 16 Jun 2009 04:41:49 -0700 Kent Stewart <kstewart@owt.com>
wrote:
>On Monday 15 June 2009 08:25:59 pm you wrote:
>>      I got no responses when I posted this a few days ago, so I'm reposting
>> it now.  I'd really like to finish the perl upgrade process, so I could
>> move on to installing/updating other ports safely, but could use some
>> advice.
>> --------------------------------------------------------------------

     You ask below what part of upgrading perl with portupgrade I didn't
understand in the note in /usr/ports/UPGRADING.  Given that I had written--
and you quoted--

>> Following the instructions in /usr/ports/UPDATING for upgrading from
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> lang/perl5.8 to lang/perl5.10 using portmaster, the first part seems to go
                                 ^^^^^^^^^^^^^^^^

I'm not sure I see your point.

>> well.  The last line of that process is where the excerpt below begins. The
>> second step, as you will see, fails with the error message shown.
>> /usr/ports/UPDATING neglects to mention what to do next, and the process
>> looks incomplete at this point.  If someone could offer instructions for
>> completing the process, I would be grateful.
>>
>> ===>>> Upgrade of perl-5.8.9_2 to perl-threaded-5.10.0_3 complete
>>
>> hellas# nice +18 portmaster -v -r perl\*
>
>What part of 
>    2) Reinstall everything that depends on Perl:
>        portupgrade -fr perl
>in /usr/ports/UPDATING didn't you understand :). 

     See above.  Having begun the process with portmaster, it seemed wise
to finish it with portmaster.  The note in /usr/ports/UPDATING says,

	20090328:
	  AFFECTS: users of lang/perl*
	  AUTHOR: skv@FreeBSD.org
	
	  lang/perl5.10 is out. If you want to switch to it from, for example
	  lang/perl5.8, that is:
	
	  Portupgrade users:
	    0) Fix pkgdb.db (for safety):
		pkgdb -Ff
	
	    1) Reinstall perl with new 5.10:
	        portupgrade -o lang/perl5.10 -f perl-5.8.\*
	
	    2) Reinstall everything that depends on Perl:
	        portupgrade -fr perl
	
	  Portmaster users:
	        portmaster -o lang/perl5.10 lang/perl5.8
	        portmaster -r perl\*

So there are only two commands in the process, which seem pretty
straightforward to understand, but perhaps I've missed something, in which
case I'd appreciate someone pointing it out to me.
>
>There may be a couple of things causing problems but -v wouldn't force the 

     I generally use -v because I prefer the extra information in the output.

>upgrade, which is needed. There is a half page set of instructions in 
>UPDATING that tell you what to do with updating perl to version 5.10.

     I've included the instructions above.  In my original posting, I
wrote--and you quoted it, as you can see above--that I was following those
instructions w.r.t. upgrading perl with portmaster.
>
>Go back and search for 20090328. It has the complete sequence of instructions 
>for both portmaster and portupgrade. There are a lot of people that want to 
>do the updates in a more historical manner but this perl update is a really 
>good example of why the new ways are so much better.

     Which new ways are you referring to?  If they "are so much better", then
why are they not mentioned in the note in /usr/ports/UPDATING?
>
>BTW, I also need to do it but there are a lot of ports that depend on perl and 
>they will all be rebuilt. 
>
     Exactly.  If you (or anyone else) can suggest how to proceed from
this point in dealing with the process's complaint about a missing ORIGIN,
which you omitted, I would appreciate it.


                                  Scott Bennett, Comm. ASMELG, CFIAG
**********************************************************************
* Internet:       bennett at cs.niu.edu                              *
*--------------------------------------------------------------------*
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *
**********************************************************************



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