#author("2021-06-21T11:24:42+09:00","default:kuji","kuji")
#author("2021-06-21T11:29:15+09:00","default:kuji","kuji")
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*mesa-libs [#i8673fe6]

**2021年6月17日 [#e88e33d0]

 20210617:
  AFFECTS: users of graphics/mesa-libs
  AUTHOR: kbowling@FreeBSD.org
 
  Some libraries from mesa-libs are now provided by libglvnd while
  others were renamed. When building outside poudriere make sure to
  remove mesa-libs first in order to avoid conflict with libglvnd.
 
  For portmaster users:
  # pkg delete -f mesa-libs
  # portmaster -a
 
  For portupgrade users:
  # pkg delete -f mesa-libs
  # portupgrade -a


 /usr/ports/graphics/mesa-libs:21_06_21:10:16 # make deinstall clean
 ===>  Deinstalling for mesa-libs
 ===>   Deinstalling mesa-libs-20.2.3
 Updating database digests format: 100%
 Checking integrity... done (0 conflicting)
 Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
 
 Installed packages to be REMOVED:
        mesa-libs: 20.2.3
 
 Number of packages to be removed: 1
 
 The operation will free 3 MiB.
 [1/1] Deinstalling mesa-libs-20.2.3...
 [1/1] Deleting files for mesa-libs-20.2.3: 100%
 ===>  Cleaning for libglvnd-1.3.3
 ===>  Cleaning for mesa-libs-20.2.3_1


したら、munin さんが転んだ!

 Can't load '/usr/local/lib/perl5/site_perl/mach/5.32/auto/RRDs/RRDs.so' for module RRDs: Shared object "libEGL.so.1" not found,
 required by "libcairo.so.2" at /usr/local/lib/perl5/5.32/mach/DynaLoader.pm line 193.
 タ€ at /usr/local/lib/perl5/site_perl/Munin/Master/UpdateWorker.pm line 17.
 Compilation failed in require at /usr/local/lib/perl5/site_perl/Munin/Master/UpdateWorker.pm line 17.
 BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Munin/Master/UpdateWorker.pm line 17.
 Compilation failed in require at /usr/local/lib/perl5/site_perl/Munin/Master/Update.pm line 15.
 BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Munin/Master/Update.pm line 15.
 Compilation failed in require at /usr/local/share/munin/munin-update line 12.
 BEGIN failed--compilation aborted at /usr/local/share/munin/munin-update line 12.

cairo を、いかのconfigで再インストール

https://bugs.freebsd.org/bugzilla//show_bug.cgi?id=256180


#ref(cairo_config.PNG)


 pkg delete -f mesa-libs -y
 cd /usr/ports/grafics/cairo
 pkg delete -f mesa-libs
 cd /usr/ports/graphics/cairo
 make config
 
 portupgrade -f grafics/cairo
 portupgrade -f graphics/cairo
 portupgrade -ar --batch && reboot



**2019年7月8日 [#vd226c59]
***Blackhole [#d6f3da0f]
/etc/make.conf

 NO_SENDMAIL= true
 DEFAULT_VERSIONS+=python=3.6 pythonr3=3.6


   708  13:49   screen -r
   709  17:37   /root/bin/check.sh
   710  17:37   pkg info
   711  17:39   pkg delete py27-pycparser-2.18
   712  17:40   portupgrade -fr --batch devel/py-pycparser
   713  17:41   pkg delete py27-CommonMark-0.9.0
   714  17:41   portupgrade -fr --batch py36-CommonMark-0.9.0
   715  17:43   portupgrade -fr --batch py36-CommonMark-0.9.0
   716  17:43   portupgrade -Rrf --batch cairo-1.16.0,2
   717  17:44   portupgrade -ar --batch && reboot
   718  5:44    history
   719  5:45    portupgrade -fr textproc/py-sphinx
   720  5:46    pkg info
   721  5:46    pkg delete py27-sphinx-1.6.5_2,1
   722  5:46    portupgrade -fr textproc/py-sphinx
   723  5:47    pkg info
   724  5:47    pkg delete py27-sphinx-1.6.5_2,1
   725  5:48    pkg info
   726  5:48    pkg delete py27-sphinx_rtd_theme-0.4.3
   727  5:49    portupgrade -fr textproc/py-sphinx
   728  5:50    portupgrade -frR textproc/py-sphinx
   729  5:52    portupgrade -frR --batch textproc/py-sphinx
   730  6:10    /root/bin/check.sh
   731  6:11    portupgrade -r --batch p5-DBD-Pg-3.8.0
   732  6:12    /root/bin/check.sh
   733  6:12    portupgrade -ar --batch && reboot
   734  8:01    pkg info
   735  8:02    pkg delete py27-sphinx-1.6.5_2,1
   736  8:03    portupgrade -frR --batch py36-sphinx-1.6.5_2,1
   737  8:21    /root/bin/check.sh
   738  8:22    portupgrade -ar --batch && reboot
   739  10:03   pkg info
   740  10:04   /root/bin/check.sh
   741  10:04   pkg delete py27-setuptools-41.0.1
   742  10:05   portupgrade -Rrf --batch py36-setuptools-41.0.1
   743  10:27   /root/bin/check.sh
   744  10:28   portupgrade -Rra --batch
   745  13:04   /root/bin/check.sh
   746  13:04   history


**2019年7月7日 [#p5c27b92]

mesa-libs-18.3.2  



   989  14:05   portupgrade -fr textproc/py-sphinx
   990  14:07   /root/bin/check.sh
   991  14:08   portupgrade -ar --batch && reboot
   992  8:54    /root/bin/check.sh
   993  8:58    pkg delete py27-asn1crypto-0.22.0
   994  8:59    portupgrade -fr py36-asn1crypto-0.22.0 --batch && reboot
   995  9:06    /root/bin/check.sh
   996  9:07    pkg delete py27-pycparser-2.18
   997  9:08    locate pycparser
   998  9:09    portupgrade -fr --batch devel/py-pycparser
   999  9:10    /root/bin/check.sh
  1000  9:11    portupgrade -fr --batch p5-Date-Manip-6.76 postfix-3.4.5,1 && reboot
  1001  9:18    /root/bin/check.sh
  1002  9:19    pkg info
  1003  9:19    pkg delete py27-CommonMark-0.9.0
  1004  9:20    portupgrade -fr --batch py36-CommonMark-0.9.0
  1005  9:22    /root/bin/check.sh
  1006  9:23    pkg info
  1007  9:28    /root/bin/check.sh
  1008  9:30    pkg info -r mesa-libs-18.3.2
  1009  9:31    portupgrade -Rrf --batch cairo-1.16.0,2
  1010  17:02   /root/bin/check.sh
  1011  17:03   /root/bin/check.sh
  1012  17:07   history


 portupgrade -fr textproc/py-sphinx
 pkg delete py27-asn1crypto-0.22.0
 pkg delete py27-pycparser-2.18
 portupgrade -fr --batch devel/py-pycparser
 pkg delete py27-CommonMark-0.9.0
 portupgrade -fr --batch py36-CommonMark-0.9.0
 portupgrade -Rrf --batch cairo-1.16.0,2
 portupgrade -ar --batch && reboot
 
 portupgrade -fr py36-asn1crypto-0.22.0 --batch && reboot
 portupgrade -fr py36-asn1crypto-0.22.0 --batch && reboot





**2017年5月吉日 [#d59b79de]

 /usr/sbin/portsnap fetch update && /usr/local/sbin/portversion -vl'<' 

すると

 [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 27077 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000.........20000.........21000.........22000.........23000.........24000.........25000.........26000.........27000 ..... done]
 gbm-17.0.3                  <  needs updating (port has 17.1.0) (=> 'graphics/mesa-libs')
 libEGL-17.0.3               <  needs updating (port has 17.1.0) (=> 'graphics/mesa-libs')
 libGL-17.0.3                <  needs updating (port has 17.1.0) (=> 'graphics/mesa-libs')
 libglapi-17.0.3             <  needs updating (port has 17.1.0) (=> 'graphics/mesa-libs')

とでて、portsupgrade -a ではエラーとなる。

上記4っつのportsが mesa-libs へ統合された模様。

PortsUpdateing には対処法などの記載がいつまで経っても(2017年5月26日時点で)出ない。

http://blog.goo.ne.jp/koyusoma5102/e/29aaaf0f23dd198b8c13e319a2c7bd0c

上記URLを参考にして・・・

 # pkg info -r gbm-17.0.3
 gbm-17.0.3:
        libEGL-17.0.3
 
 # pkg info -r libEGL-17.0.3
 libEGL-17.0.3:
        cairo-1.14.8_1,2
 
 # pkg info -r libGL-17.0.3
 libGL-17.0.3:
        cairo-1.14.8_1,2
 
 # pkg info -r libglapi-17.0.3
 libglapi-17.0.3:
        libGL-17.0.3
        gbm-17.0.3

という依存関係とのこと。

**(1)PortsTreeから削除された上記のportsをすべてアンインストールする [#t2e378ed]

 # pkg delete -f gbm-17.0.3 libEGL-17.0.3 libGL-17.0.3 libglapi-17.0.3
 
 Updating database digests format: 100%
 Checking integrity... done (0 conflicting)
 Deinstallation has been requested for the following 4 packages (of 0 packages in the universe):
 
 Installed packages to be REMOVED:
        gbm-17.0.3
        libEGL-17.0.3
        libGL-17.0.3
        libglapi-17.0.3
 
 Number of packages to be removed: 4
 
 The operation will free 2 MiB.
 
 Proceed with deinstalling packages? [y/N]: y
 [1/4] Deinstalling libEGL-17.0.3...
 [1/4] Deleting files for libEGL-17.0.3: 100%
 [2/4] Deinstalling gbm-17.0.3...
 [2/4] Deleting files for gbm-17.0.3: 100%
 [3/4] Deinstalling libGL-17.0.3...
 [3/4] Deleting files for libGL-17.0.3: 100%
 [4/4] Deinstalling libglapi-17.0.3...
 [4/4] Deleting files for libglapi-17.0.3: 100%

**(2)削除したportsに依存しているportsを表示 [#ld5f5e68]

 # pkg check -d -n
 
 Checking all packages: 100%
 cairo has a missing dependency: libGL
 cairo has a missing dependency: libEGL
 cairo is missing a required shared library: libGL.so.1
 cairo is missing a required shared library: libEGL.so.1

**(3)削除したportsを必要とする ports を強制再インストールする。 [#af96602f]

 # portupgrade -fur cairo

以上で、

 # pkg check -d -n
 Checking all packages: 100%


OK


参考: https://lists.freebsd.org/pipermail/freebsd-ports/2017-May/thread.html#108562


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

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