CONTENTS


Lastmodified 2015-09-16 (水) 09:56:43


perl 5.12 を 5.14 にしてみる

手順は

# pkgdb -Ff
# env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.14 -f perl-5.12.\*
# portupgrade -fr perl

root@g7:/root # portupgrade -fr perl-5.14.4

するのが、根本的解決に繋がる。

これで、/usr/local/lib/perl5/site_perl/5.14.2 以下のファイルが消去されて行くが、残っているモノもある。

/Git
/mach
Git.pm

で、最終行に、以下が記される。

[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 391 packages found (-0 +1) . done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
       ! databases/mysql56-server (mysql-server-5.6.12)        (checksum mismatch)
       * net/p5-Net-Server (bsdpan-Net-Server-2.007)
       ! devel/pear (pear-1.9.4_1)     (checksum mismatch)
       * devel/pear-channel-symfony (pear-channel-symfony-20110701)
       ! security/amavisd-new (amavisd-new-2.8.0_2,1)  (install error)
       * databases/pecl-memcached (pecl-memcached-2.1.0)
root@g7:/root #

cp -r /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/* /usr/local/lib/perl5/site_perl/5.14/mach/auto/

protupgrace -a したら、amavisd-new が起動しなくなったり、munin が停まったり・・・

というか、Perl5 をportupgrade したら、perl/5.14.2にあったものが消えて? perl/5.14 に移動すべき所に漏れが生じる?模様。(ホントか?)

Can't locate loadable object for module RRDs in @INC (@INC contains: /usr/local/lib/perl5/5.14/BSDPAN
/usr/local/lib/perl5/site_perl/5.14/mach
/usr/local/lib/perl5/site_perl/5.14
/usr/local/lib/perl5/5.14/mach /usr/local/lib/perl5/5.14 .)
at /usr/local/lib/perl5/site_perl/5.14/Munin/Master/UpdateWorker.pm line 19
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14/Munin/Master/UpdateWorker.pm line 19.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14/Munin/Master/UpdateWorker.pm line 19.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.14/Munin/Master/Update.pm line 17.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.14/Munin/Master/Update.pm line 17.
Compilation failed in require at /usr/local/share/munin/munin-update line 14.
BEGIN failed--compilation aborted at /usr/local/share/munin/munin-update line 14.

どうやら、/usr/local/lib/perl5/5.14.2/ に有ったモノが、/usr/local/lib/perl5/5.14/に無いということらしい。

root@p5k:/root # locate RRDs
/usr/Backups/Frola_all/usr/local/lib/perl5/5.14.2/man/man3/Log::Log4perl::Appender::RRDs.3.gz
/usr/Backups/Frola_all/usr/local/lib/perl5/5.14.2/man/man3/RRDs.3.gz
/usr/Backups/Frola_all/usr/local/lib/perl5/site_perl/5.14.2/Log/Log4perl/Appender/RRDs.pm
/usr/Backups/Frola_all/usr/local/lib/perl5/site_perl/5.14.2/mach/RRDs.pm
/usr/Backups/Frola_all/usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs
/usr/Backups/Frola_all/usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs/.packlist
/usr/Backups/Frola_all/usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs/RRDs.bs
/usr/Backups/Frola_all/usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs/RRDs.so
/usr/local/lib/perl5/5.14/man/man3/Log::Log4perl::Appender::RRDs.3.gz
/usr/local/lib/perl5/5.14.2/man/man3/RRDs.3.gz
/usr/local/lib/perl5/site_perl/5.14/Log/Log4perl/Appender/RRDs.pm
/usr/local/lib/perl5/site_perl/5.14.2/mach/RRDs.pm
/usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs
/usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs/.packlist
/usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs/RRDs.bs
/usr/local/lib/perl5/site_perl/5.14.2/mach/auto/RRDs/RRDs.so

コレで解決する。

root@p5k:/root # cp /usr/local/lib/perl5/site_perl/5.14.2/mach/RRDs.pm /usr/local/lib/perl5/site_perl/5.14/mach/RRDs.pm
root@p5k:/root # cp /usr/local/lib/perl5/site_perl/5.14.2/mach/RRDs.pm /usr/local/lib/perl5/site_perl/5.14/mach/RRDs.pm
root@p5k:/root # cp -r /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/* /usr/local/lib/perl5/site_perl/5.14/mach/auto/
root@g7:/root # /usr/local/etc/rc.d/munin-node start
Starting munin_node.

guard

# pkgdb -Ff
# env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.14 -f perl-5.10.\*
# portupgrade -fr perl

lang/perl5.8 and lang/perl5.10 have been removed

security run output

Affected package: perl-5.10.1_1
Type of problem: perl -- denial of service via algorithmic complexity attack on hashing routines.
Reference: http://portaudit.FreeBSD.org/68c1f75b-8824-11e2-9996-c48508086173.html

1 problem(s) in your installed packages found.

You are advised to update or deinstall the affected package(s) immediately.

/usr/ports/UPDATING

20130204:
 AFFECTS: users of lang/perl5.8 and lang/perl5.10
 AUTHOR: az@FreeBSD.org

 lang/perl5.8 and lang/perl5.10 have been removed since they've
 been EOL by upstream. You will have to recompile all perl dependant
 ports after updating your ports tree. Please see entry 20110517 for help.

http://www.yomaigoto.jp/archives/461

mail# portupgrade php5-5.4.6
Stale dependency: php5-5.4.6 --> perl-5.8.9_7 -- manually run 'pkgdb -F' to fix, or specify -O to force.
mail# pkgdb -Ff
mail# env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5 -f perl-5.8.\*
mail# portupgrade -fr perl 
k222# env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.14 -f perl-5.8.\*
k222# portupgrade -fr perl 
if they are not present then MIME::Lite will attempt to do its best
but its strongly recommend that you install them.

These modules are:
        MIME::Types
I can add these modules to the prereq list which will cause the files to be
automatically installed if they aren't already present
Add prereqs? [Yes]
Checking if your kit is complete...
Looks good
W
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 688 packages found (-0 +1) . done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
       ! www/p5-HTTP-Date (p5-HTTP-Date-6.02)  (unknown build error)
       - security/p5-GSSAPI (p5-GSSAPI-0.26)
       ! www/p5-LWP-MediaTypes (p5-LWP-MediaTypes-6.02)        (unknown build error)
       * security/p5-Authen-SASL (p5-Authen-SASL-2.13)
       ! databases/namazu2 (namazu2-2.0.18_1)  (configure error)
       ! japanese/p5-MeCab (ja-p5-MeCab-0.97)  (new compiler error)
       * japanese/namazu2 (ja-namazu2-2.0.16_3)
       ! devel/gobject-introspection (gobject-introspection-0.10.8_2)  (unknown build error)
       * multimedia/gstreamer (gstreamer-0.10.36)
       ! textproc/p5-XML-SAX (p5-XML-SAX-0.96) (unknown build error)
       * textproc/p5-XML-SAX-Expat (p5-XML-SAX-Expat-0.40)
       * textproc/p5-XML-Simple (p5-XML-Simple-2.18)
       * sysutils/p5-File-Listing (p5-File-Listing-6.04)
       * textproc/p5-XML-Filter-BufferText (p5-XML-Filter-BufferText-1.01)
       * textproc/p5-XML-SAX-Writer (p5-XML-SAX-Writer-0.52)
       ! security/p5-Crypt-SSLeay (p5-Crypt-SSLeay-0.57)       (install error)
       * textproc/p5-XML-LibXML (p5-XML-LibXML-1.70,1)
       * textproc/p5-XML-LibXSLT (p5-XML-LibXSLT-1.70)
       * textproc/p5-XML-Filter-XSLT (p5-XML-Filter-XSLT-0.03)
       * www/p5-HTTP-Message (p5-HTTP-Message-6.03_1)
       * www/p5-HTTP-Daemon (p5-HTTP-Daemon-6.01)
       * www/p5-HTTP-Negotiate (p5-HTTP-Negotiate-6.01)
       * www/p5-HTTP-Cookies (p5-HTTP-Cookies-6.01)
       ! www/p5-libwww (p5-libwww-5.836)       (unknown build error)
       * textproc/p5-XML-DOM (p5-XML-DOM-1.44)
       * net/avahi-app (avahi-app-0.6.29_3)
       * textproc/p5-XML-XSLT (p5-XML-XSLT-0.48)
       * sysutils/polkit (polkit-0.99)
       * sysutils/consolekit (consolekit-0.4.3)
       * sysutils/hal (hal-0.5.14_20)
       * multimedia/gstreamer-plugins (gstreamer-plugins-0.10.36_1,3)
       * multimedia/gstreamer-plugins-good (gstreamer-plugins-good-0.10.31,3)
       - net/pecl-yaz (pecl-yaz-1.0.14_1)
       - converters/pecl-fribidi (pecl-fribidi-1.0_1)
       - sysutils/pecl-fileinfo (pecl-fileinfo-1.0.4)
       ! devel/pear (pear-1.7.2)       (install error)
       * x11-toolkits/pango (pango-1.28.4_1)
       * net/p5-Net (p5-Net-1.22,1)
       * net/pear-Net_Socket (pear-Net_Socket-1.0.9)
       * net/pear-Net_URL (pear-Net_URL-1.0.15)
       * net/p5-SOAP-Lite (p5-SOAP-Lite-0.710.10)
       * devel/p5-JIRA-Client (p5-JIRA-Client-0.24_1)
       * mail/p5-Mail-SpamAssassin (p5-Mail-SpamAssassin-3.2.5_1)
       * security/amavisd-new (amavisd-new-2.8.0,1)
       * graphics/gtk-update-icon-cache (gtk-update-icon-cache-2.24.6_1)
       * textproc/p5-XML-Twig (p5-XML-Twig-3.32)
       * x11-toolkits/gtk20 (gtk-2.24.6_2)
       * devel/dconf (dconf-0.5.1_4)
       ! devel/git (git-1.7.1.1_1)     (unknown build error)
       * devel/gconf2 (gconf2-2.32.0_3)
       * audio/pulseaudio (pulseaudio-0.9.23_2)
       * www/pear-HTTP_Request (pear-HTTP_Request-1.4.4)
       * devel/p5-SVN-Hooks (p5-SVN-Hooks-0.25)
       * devel/gnome-vfs (gnome-vfs-2.24.4_1)
       * x11-toolkits/wxgtk26-common (wxgtk2-common-2.6.4_6)
       * x11-toolkits/wxgtk26-unicode (wxgtk2-unicode-2.6.4_6)
       * devel/libnotify (libnotify-0.7.3_2)
       * devel/p5-Net-DBus (p5-Net-DBus-0.33.6)
       * sysutils/system-tools-backends (system-tools-backends-2.10.1_1)

Total access 3804:本日 1:昨日 1

Counter: 3804, today: 1, yesterday: 1

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS