Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2009 20:25:23 +0100
From:      Frederique Rijsdijk <frederique@isafeelin.org>
To:        freebsd-ports@freebsd.org
Subject:   upgrading perl blues
Message-ID:  <4991D4A3.2010307@isafeelin.org>

next in thread | raw e-mail | index | archive | help
Hi anyone,

I've been upgrading perl on a couple of machines, and one some it's a 
real hassle.

What I'm doing is: pkgdb -F && portsnap fetch update && portugprade 
-fbrp perl.5.8.8_1

This finishes with something like:

--->  Skipping 'archivers/p5-Archive-Zip' (p5-Archive-Zip-1.23) because 
a requisite package 'p5-PathTools-3.2701' (devel/p5-PathTools) failed 
(specify -k to force)
--->  Skipping 'security/amavisd-new' (amavisd-new-2.6.1,1) because a 
requisite package 'p5-IO-Multiplex-1.09' (devel/p5-IO-Multiplex) failed 
(specify -k to force)
** Listing the failed packages (*:skipped / !:failed)
        ! converters/p5-Text-Iconv (p5-Text-Iconv-1.7)  (install error)
        ! converters/p5-Encode-Detect (p5-Encode-Detect-1.00)   (unknown 
build error)
        ! converters/p5-Convert-BinHex (p5-Convert-BinHex-1.119)        
(install error)
        ! archivers/rpm2cpio (rpm2cpio-1.2_2)   (install error)
        ! devel/p5-Spiffy (p5-Spiffy-0.30)      (install error)
        ! security/p5-Crypt-OpenSSL-Bignum 
(p5-Crypt-OpenSSL-Bignum-0.04)       (install error)
        ! mail/razor-agents (razor-agents-2.84) (install error)
        ! dns/p5-Net-DNS-Resolver-Programmable 
(p5-Net-DNS-Resolver-Programmable-0.003) (unknown build error)
        * mail/p5-Mail-SPF (p5-Mail-SPF-2.005)
        ! devel/p5-ExtUtils-CBuilder (p5-ExtUtils-CBuilder-0.22_1)      
(Failed to rewrite /var/db/pkg/p5-ExtUtils-CBuilder-0.22_1/+CONTENTS: No 
such file or directory - /var/d                                    
b/pkg/p5-ExtUtils-CBuilder-0.22_1/+CONTENTS)
        * mail/p5-MIME-Tools (p5-MIME-Tools-5.425,2)
        * devel/p5-ExtUtils-ParseXS (p5-ExtUtils-ParseXS-2.19)
        * converters/p5-Convert-TNEF (p5-Convert-TNEF-0.17)
        ! net/p5-Net (p5-Net-1.22,1)    (Failed to rewrite 
/var/db/pkg/p5-ExtUtils-CBuilder-0.22_1/+CONTENTS: No such file or 
directory - 
/var/db/pkg/p5-ExtUtils-CBuilder-0.22_                                    
1/+CONTENTS)
        ! devel/p5-PathTools (p5-PathTools-3.2701)      (Failed to 
rewrite /var/db/pkg/p5-ExtUtils-CBuilder-0.22_1/+CONTENTS: No such file 
or directory - /var/db/pkg/p5-ExtUtil                                    
s-CBuilder-0.22_1/+CONTENTS)
        ! devel/p5-IO-Multiplex (p5-IO-Multiplex-1.09)  (Failed to 
rewrite /var/db/pkg/p5-ExtUtils-CBuilder-0.22_1/+CONTENTS: No such file 
or directory - /var/db/pkg/p5-ExtUtil                                    
s-CBuilder-0.22_1/+CONTENTS)
        ! devel/autoconf262 (autoconf-2.62)     (install error)
        * net/p5-Net-Server (p5-Net-Server-0.97)
        * devel/p5-Test-Base (p5-Test-Base-0.54)
        * textproc/p5-YAML (p5-YAML-0.66)
        ! databases/p5-DBD-mysql (p5-DBD-mysql-4.006)   (uninstall error)
        * www/p5-libwww (p5-libwww-5.805)
        * security/p5-Crypt-OpenSSL-RSA (p5-Crypt-OpenSSL-RSA-0.25)
        * mail/p5-Mail-DKIM (p5-Mail-DKIM-0.31)
        * textproc/p5-XML-SAX-Writer (p5-XML-SAX-Writer-0.50)
        * devel/p5-Module-Build (p5-Module-Build-0.28.08)
        * mail/p5-Mail-SpamAssassin (p5-Mail-SpamAssassin-3.2.5)
        * net/p5-perl-ldap (p5-perl-ldap-0.34)
        ! databases/pear-DB (pear-DB-1.7.13,1)  (install error)
        * archivers/p5-Archive-Zip (p5-Archive-Zip-1.23)
        * security/amavisd-new (amavisd-new-2.6.1,1)
--->  Packages processed: 54 done, 1 ignored, 16 skipped and 15 failed

Now tons of things are broken (looking for stuff in */site_perl/5.8.8/* 
but that's now */site_perl/5.8.9/*) and I have to recompile those that 
failed earlier:

cd /var/db/pkg ; grep -r 'site_perl/5\.8\.8' * | awk -F\/ '{print $1}' | 
sort | grep -v pkgdb | xargs portupgrade -fbp

And after a couple of these cycles everything is OK again..

Am I doing something wrong or .. what?


-- Frederique



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