Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2013 12:40:07 -0800
From:      "Ronald F. Guilmette" <rfg@tristatelogic.com>
To:        Mathieu Arnold <mat@mat.cc>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Upgrading Perl... Somebody just shoot me and put me out of my misery!
Message-ID:  <25503.1385152807@server1.tristatelogic.com>
In-Reply-To: <0FC91D46CDC4B54132D12167@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help

In message <0FC91D46CDC4B54132D12167@atuin.in.mat.cc>, 
Mathieu Arnold <mat@mat.cc> wrote:

>+--On 22 novembre 2013 00:25:26 -0800 "Ronald F. Guilmette"
><rfg@tristatelogic.com> wrote:
>|   AUTHOR: mat@FreeBSD.org
>
>Cough, cough, yeah, I mostly wrote that.
>
>|         portupgrade -o lang/perl5.16 -f perl-5.14.\*
>
>At that time, that line was right. Now, after that, the perl packages name
>which had the same name (all named perl) and were conflicting and were
>renamed to perl5 for the default perl, that is, 5.16, and perl5.xx for the
>non default ones, that are 5.12, 5.14 and 5.18.

OK.

I probably need another cup of coffee (to awaken that last dormant set of
of brain cells) before I'll really grok the "conflict" you've just described,
but that's OK.  For the moment, at least, you've explained it well enough
and I understand it well enough to proceed, and to make progress in my
quest to upgrade my ports.

>| pkg_info says that at present I have perl5.14-5.14.4_3 installed.  So
>| excuse my french, but why the fuck didn't the command:
>| 
>|    portupgrade -o lang/perl5.16 -f perl-5.14.\*
>
>Now, as you can see, your perl is not named perl-5.14 but
>perl5.14-5.14.4_3, so, you should change that line to :
>portupgrade -o lang/perl5.16 -f perl5.14-5.14.4_3

Ah!  OK.  Thank you VERY much.  I have just now begun executing the revised
command line that you kindly provided, and I'll keep my fingers crossed.
(So far things _do_ seem to be progressing nicely.)

Hummm.... Well, that command *did* already complete, as I was typing this
message.  And now pkg_info says that I have perl5-5.16.3_3 installed.  So
that is good.  Progress.  *However* now when I tried to execute the next
step you suggested, i.e.:

   2) Reinstall everything that depends on Perl:
        portupgrade -fr perl

Once again *nothing* happened!

OK, so I scracthed my head for a bit and then tried it this way:

        portupgrade -fr perl5

Now *that* *did* do something.  In fact that appears to have caused Perl
(5.16) to be rebuilt and reinstalled all over again *and* now everything
in the universe that depended, directly or indirectly on that appears to
also be in the process of rebuilding... which is good, I suppose.

Now, one last little thing...

The note in the UPDATING file dated 20131120 gives essentially the same
instructions as the one dated 20131023, *however* it also contains this:

   1) Change the option in lang/perl5.16:
        make -C /usr/ports/lang/perl5.16 config

HUH??  I don't understand this at all.  What exactly is "the option" that we
are changing here?  And what does it matter to anything?

It would be Nice if this were entierly less opaque.


Regards,
rfg



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