Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2011 13:35:09 +0100
From:      Matthias Andree <mandree@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: hplip fails to build
Message-ID:  <4EFC5E7D.20208@FreeBSD.org>
In-Reply-To: <CAFpTYWPuyMunG59BYaf3Rp14YwDocVO_EmdWJVUsmU-dEg0Pgw@mail.gmail.com>
References:  <CAFpTYWPuyMunG59BYaf3Rp14YwDocVO_EmdWJVUsmU-dEg0Pgw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 29.12.2011 05:55, schrieb Jeffrey McFadden:
> Hello, Porters.
> 
> I mentioned this a couple of days ago but it appears to me that my email
> lacked necessary information.
> 
> the first failure looks like this:
> 
>> Attempting to fetch
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/skv/BSDPAN-20111107.tar.bz2
> BSDPAN-20111107.tar.bz2                       100% of 8448  B   21 kBps
> 
> ===>  perl-5.12.4_3 conflicts with installed package(s):
>       perl-5.10.1_3
> 
>       They will not build together.
>       Please remove them first with pkg_delete(1).
> *** Error code 1
> 
> Stop in /usr/ports/lang/perl5.12.
> *** Error code 1
> 
> Stop in /usr/ports/lang/perl5.12.
> *** Error code 1
> 
> Stop in /usr/ports/net-mgmt/net-snmp.
> *** Error code 1
> 
> Stop in /usr/ports/net-mgmt/net-snmp.
> *** Error code 1
> 
> Stop in /usr/ports/print/hplip.
> *** Error code 1
> 
> Stop in /usr/ports/print/hplip.
> [jeff@Midget] /usr/ports/print/hplip#
> 
> On my previous attempt I did deinstall the older perl and install the
> requested version, but it went ahead and failed again later.

Jeff,

how exactly did you upgrade to Perl 5.12?

Please check /etc/make.conf if there is a PERL_VERSION= line pointing to
the old version somehow.

Else, please try to follow the instructions from /usr/ports/UPDATING
(which you should check regularly):

-----------------------------------------------------

20100715:
  AFFECTS: users of lang/perl*
  AUTHOR: skv@FreeBSD.org

  lang/perl5.12 is out. If you want to switch to it from, for example
  lang/perl5.10, that is:

  Portupgrade users:
    0) Fix pkgdb.db (for safety):
        pkgdb -Ff

    1) Reinstall new version of Perl (5.12):
        env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.12 -f perl-5.10.\*

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

  Portmaster users:
        portmaster -o lang/perl5.12 lang/perl5.10

        Conservative:
        portmaster p5-

        Comprehensive (but perhaps overkill):
        portmaster -r perl-

  Note: If the "perl-" glob matches  more than one port you will need to
        specify the name of the Perl directory in /var/db/pkg explicitly.

-----------------------------------------------------

Hope that helps.

Best regards,



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