CONTENTS
#contents
----
Lastmodified &lastmod;
----
*pkg-static: Plist error, lib/python2py_rrdtool-0.2.2-py2.7.egg-info [#n2b3140a]


 # portupgrade rrdtool-1.4.8_9
でエラー

 pkg-static: Plist error, directory listed as a file: lib/python2.7/site-packages/py_rrdtool-0.2.2-py2.7.egg-info
 *** [fake-pkg] Error code 74
 
 Stop in /usr/ports/databases/rrdtool.
 *** [install] Error code 1 
 
 Stop in /usr/ports/databases/rrdtool.
 *** [reinstall] Error code 1
 
 Stop in /usr/ports/databases/rrdtool.
 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20160215-699-923lgo env UPGRADE_TOOL=portupgrade UPGRADE_PORT=rrdtool-1.4.8_9 UPGRADE_PORT_VER=1.4.8_9 make reinstall
 --->  Restoring the old version
 Installing rrdtool-1.4.8_9...
 Extracting rrdtool-1.4.8_9: 100%
 ** Fix the installation problem and try again.
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
         ! databases/rrdtool (rrdtool-1.4.8_9)   (install error)




【Solution】
*【Solution】 [#z94202bd]

https://groups.google.com/forum/#!topic/mailing.freebsd.ports-bugs/pfo081tVufU

 The following enables the package to build as intended. 
 # diff -urN pkg-plist.orig pkg-plist 
 --- pkg-plist.orig      2016-01-31 11:44:51.000000000 +1100 
 +++ pkg-plist   2016-01-31 11:44:21.000000000 +1100 
 @@ -51,7 +51,10 @@ 
  %%WITH_PERL%%%%SITE_ARCH%%/RRDs.pm 
  %%WITH_PERL%%%%SITE_PERL%%/RRDp.pm 
  %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/rrdtool.so 
 -%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/py_rrdtool-0.2.2-py%%PYTHON_VER%%.egg-info 
 +%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/py_rrdtool-0.2.2-py%%PYTHON_VER%%.egg-info/top_level.txt 
 +%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/py_rrdtool-0.2.2-py%%PYTHON_VER%%.egg-info/dependency_links.txt 
 +%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/py_rrdtool-0.2.2-py%%PYTHON_VER%%.egg-info/SOURCES.txt 
 +%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/py_rrdtool-0.2.2-py%%PYTHON_VER%%.egg-info/PKG-INFO 
  %%WITH_RUBY%%%%RUBY_SITEARCHLIBDIR%%/RRD.so 
  %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rrdcached/RRDCached.pm 
  %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rrdcached/rrdcached-size.pl 

root@hotshot:~ # portupgrade rrdtool-1.4.8_9


 The operation will free 2 MiB.
 [1/1] Deinstalling rrdtool-1.4.8_9...
 [1/1] Deleting files for rrdtool-1.4.8_9: 100%
 [Reading data from pkg(8) ... - 385 packages found - done]
 --->  Installing the new version via the port
 ===>  Installing for rrdtool-1.5.5_1
 ===>   rrdtool-1.5.5_1 depends on file: /usr/local/bin/python2.7 - found
 ===>   rrdtool-1.5.5_1 depends on package: perl5>=5.20<5.21 - found
 ===>   rrdtool-1.5.5_1 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so)
 ===>   rrdtool-1.5.5_1 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so)
 ===>   rrdtool-1.5.5_1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
 ===>   rrdtool-1.5.5_1 depends on shared library: libcairo.so - found (/usr/local/lib/libcairo.so)
 ===>   rrdtool-1.5.5_1 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so)
 ===>   rrdtool-1.5.5_1 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so)
 ===>   rrdtool-1.5.5_1 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so)
 ===>   Registering installation for rrdtool-1.5.5_1
 Installing rrdtool-1.5.5_1...
 ===> SECURITY REPORT:
       This port has installed the following files which may act as network
       servers and may therefore pose a remote security risk to the system.
 /usr/local/bin/rrdcached
 
       This port has installed the following startup scripts which may cause
       these network services to be started at boot time.
 /usr/local/etc/rc.d/rrdcached
 
       If there are vulnerabilities in these programs there may be a security
       risk to the system. FreeBSD makes no guarantee about the security of
       ports included in the Ports Collection. Please type 'make deinstall'
       to deinstall the port if this is a concern.
 
       For more information, and contact details about the security
       status of this software, see the following webpage:
 http://www.rrdtool.org/
 ===>  Cleaning for rrdtool-1.5.5_1
 --->  Cleaning out obsolete shared libraries
 root@hotshot:~ #

----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS