192:share hostname$ sudo port install cmake
Password:
---> Computing dependencies for cmake
The following dependencies will be installed:
libarchive
libuv
lzo2
Continue? [Y/n]: y
---> Fetching archive for lzo2
---> Attempting to fetch lzo2-2.10_0.darwin_18.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/lzo2
---> Attempting to fetch lzo2-2.10_0.darwin_18.x86_64.tbz2 from https://packages.macports.org/lzo2
---> Attempting to fetch lzo2-2.10_0.darwin_18.x86_64.tbz2 from https://kmq.jp.packages.macports.org/lzo2
---> Fetching distfiles for lzo2
---> Attempting to fetch lzo-2.10.tar.gz from https://pek.cn.distfiles.macports.org/macports/distfiles/lzo2
---> Attempting to fetch lzo-2.10.tar.gz from http://cjj.kr.distfiles.macports.org/lzo2
---> Verifying checksums for lzo2
---> Extracting lzo2
---> Configuring lzo2
---> Building lzo2
---> Staging lzo2 into destroot
---> Installing lzo2 @2.10_0
---> Activating lzo2 @2.10_0
Error: Failed to activate lzo2: Image error: /opt/local/include/lzo/lzo1.h already exists and does not belong to a registered port. Unable to activate port lzo2. Use 'port -f activate lzo2' to force the activation.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_lzo2/lzo2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port cmake failed
192:share hostname$ port -f activate lzo2
Error: Insufficient privileges to write to MacPorts install prefix.
192:share hostname$ sudo port -f activate lzo2
Password:
---> Activating lzo2 @2.10_0
Warning: File /opt/local/include/lzo/lzo1.h already exists. Moving to: /opt/local/include/lzo/lzo1.h.mp_1633183939.
Warning: File /opt/local/include/lzo/lzo1a.h already exists. Moving to: /opt/local/include/lzo/lzo1a.h.mp_1633183939.
Warning: File /opt/local/include/lzo/lzo1b.h already exists. Moving to: /opt/local/include/lzo/lzo1b.h.mp_1633183939.
Warning: File /opt/local/include/lzo/lzo1c.h already exists. Moving to: /opt/local/include/lzo/lzo1c.h.mp_1633183939.
Warning: File /opt/local/include/lzo/lzo1f.h already exists. Moving to: /opt/local/include/lzo/lzo1f.h.mp_1633183939.
Warning: File /opt/local/include/lzo/lzo1x.h already exists. Moving to: /opt/local/include/lzo/lzo1x.h.mp_1633183939.
Warning: File /opt/local/include/lzo/lzo1y.h already exists. Moving to: /opt/local/include/lzo/lzo1y.h.mp_1633183939.
Warning: File /opt/local/include/lzo/lzo1z.h already exists. Moving to: /opt/local/include/lzo/lzo1z.h.mp_1633183939.
Warning: File /opt/local/include/lzo/lzo2a.h already exists. Moving to: /opt/local/include/lzo/lzo2a.h.mp_1633183939.
Warning: File /opt/local/include/lzo/lzo_asm.h already exists. Moving to: /opt/local/include/lzo/lzo_asm.h.mp_1633183939.
Warning: File /opt/local/include/lzo/lzoconf.h already exists. Moving to: /opt/local/include/lzo/lzoconf.h.mp_1633183939.
Warning: File /opt/local/include/lzo/lzodefs.h already exists. Moving to: /opt/local/include/lzo/lzodefs.h.mp_1633183939.
Warning: File /opt/local/include/lzo/lzoutil.h already exists. Moving to: /opt/local/include/lzo/lzoutil.h.mp_1633183939.
Warning: File /opt/local/lib/liblzo2.2.dylib already exists. Moving to: /opt/local/lib/liblzo2.2.dylib.mp_1633183939.
Warning: File /opt/local/lib/liblzo2.a already exists. Moving to: /opt/local/lib/liblzo2.a.mp_1633183939.
Warning: File /opt/local/lib/liblzo2.dylib already exists. Moving to: /opt/local/lib/liblzo2.dylib.mp_1633183939.
Warning: File /opt/local/share/doc/lzo2/AUTHORS already exists. Moving to: /opt/local/share/doc/lzo2/AUTHORS.mp_1633183939.
Warning: File /opt/local/share/doc/lzo2/BUGS already exists. Moving to: /opt/local/share/doc/lzo2/BUGS.mp_1633183939.
Warning: File /opt/local/share/doc/lzo2/COPYING already exists. Moving to: /opt/local/share/doc/lzo2/COPYING.mp_1633183939.
Warning: File /opt/local/share/doc/lzo2/ChangeLog already exists. Moving to: /opt/local/share/doc/lzo2/ChangeLog.mp_1633183939.
Warning: File /opt/local/share/doc/lzo2/LZO.FAQ already exists. Moving to: /opt/local/share/doc/lzo2/LZO.FAQ.mp_1633183939.
Warning: File /opt/local/share/doc/lzo2/LZO.TXT already exists. Moving to: /opt/local/share/doc/lzo2/LZO.TXT.mp_1633183939.
Warning: File /opt/local/share/doc/lzo2/LZOAPI.TXT already exists. Moving to: /opt/local/share/doc/lzo2/LZOAPI.TXT.mp_1633183939.
Warning: File /opt/local/share/doc/lzo2/LZOTEST.TXT already exists. Moving to: /opt/local/share/doc/lzo2/LZOTEST.TXT.mp_1633183939.
Warning: File /opt/local/share/doc/lzo2/NEWS already exists. Moving to: /opt/local/share/doc/lzo2/NEWS.mp_1633183939.
Warning: File /opt/local/share/doc/lzo2/README already exists. Moving to: /opt/local/share/doc/lzo2/README.mp_1633183939.
Warning: File /opt/local/share/doc/lzo2/THANKS already exists. Moving to: /opt/local/share/doc/lzo2/THANKS.mp_1633183939.
---> Cleaning lzo2
192:share hostname$ ls /opt/local/include/lzo/lzo1.h.mp_1633183939
ls: /opt/local/include/lzo/lzo1.h.mp_1633183939: No such file or directory
192:share hostname$ ls /opt/local/include/lzo/lzo1.h
/opt/local/include/lzo/lzo1.h
192:share hostname$ sudo port install cmake
Password:
---> Computing dependencies for cmake
The following dependencies will be installed:
libarchive
libuv
Continue? [Y/n]: y
---> Fetching archive for libarchive
---> Attempting to fetch libarchive-3.5.2_0.darwin_18.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/libarchive
---> Attempting to fetch libarchive-3.5.2_0.darwin_18.x86_64.tbz2 from https://packages.macports.org/libarchive
---> Attempting to fetch libarchive-3.5.2_0.darwin_18.x86_64.tbz2 from https://kmq.jp.packages.macports.org/libarchive
---> Fetching distfiles for libarchive
---> Attempting to fetch libarchive-3.5.2.tar.gz from https://pek.cn.distfiles.macports.org/macports/distfiles/libarchive
---> Attempting to fetch libarchive-3.5.2.tar.gz from http://cjj.kr.distfiles.macports.org/libarchive
---> Verifying checksums for libarchive
---> Extracting libarchive
---> Applying patches to libarchive
---> Configuring libarchive
---> Building libarchive
---> Staging libarchive into destroot
---> Installing libarchive @3.5.2_0
---> Activating libarchive @3.5.2_0
Error: Failed to activate libarchive: Image error: /opt/local/bin/bsdcpio already exists and does not belong to a registered port. Unable to activate port libarchive. Use 'port -f activate libarchive' to force the activation.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_libarchive/libarchive/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port cmake failed
192:share hostname$ sudo port -f activate libarchive
---> Computing dependencies for libarchive
---> Activating libarchive @3.5.2_0
Warning: File /opt/local/bin/bsdcpio already exists. Moving to: /opt/local/bin/bsdcpio.mp_1633184820.
Warning: File /opt/local/bin/bsdtar already exists. Moving to: /opt/local/bin/bsdtar.mp_1633184820.
Warning: File /opt/local/include/archive.h already exists. Moving to: /opt/local/include/archive.h.mp_1633184820.
Warning: File /opt/local/include/archive_entry.h already exists. Moving to: /opt/local/include/archive_entry.h.mp_1633184820.
Warning: File /opt/local/lib/libarchive.13.dylib already exists. Moving to: /opt/local/lib/libarchive.13.dylib.mp_1633184820.
Warning: File /opt/local/lib/libarchive.a already exists. Moving to: /opt/local/lib/libarchive.a.mp_1633184820.
Warning: File /opt/local/lib/libarchive.dylib already exists. Moving to: /opt/local/lib/libarchive.dylib.mp_1633184820.
Warning: File /opt/local/lib/pkgconfig/libarchive.pc already exists. Moving to: /opt/local/lib/pkgconfig/libarchive.pc.mp_1633184820.
Warning: File /opt/local/share/man/man1/bsdcpio.1.gz already exists. Moving to: /opt/local/share/man/man1/bsdcpio.1.gz.mp_1633184820.
Warning: File /opt/local/share/man/man1/bsdtar.1.gz already exists. Moving to: /opt/local/share/man/man1/bsdtar.1.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_entry.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_entry.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_entry_acl.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_entry_acl.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_entry_linkify.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_entry_linkify.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_entry_paths.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_entry_paths.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_entry_perms.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_entry_perms.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_entry_stat.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_entry_stat.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_entry_time.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_entry_time.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_read.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_read.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_read_data.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_read_data.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_read_disk.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_read_disk.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_read_extract.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_read_extract.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_read_filter.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_read_filter.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_read_format.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_read_format.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_read_free.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_read_free.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_read_header.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_read_header.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_read_new.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_read_new.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_read_open.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_read_open.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_read_set_options.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_read_set_options.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_util.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_util.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_write.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_write.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_write_blocksize.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_write_blocksize.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_write_data.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_write_data.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_write_disk.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_write_disk.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_write_filter.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_write_filter.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_write_finish_entry.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_write_finish_entry.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_write_format.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_write_format.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_write_free.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_write_free.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_write_header.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_write_header.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_write_new.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_write_new.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_write_open.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_write_open.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/archive_write_set_options.3.gz already exists. Moving to: /opt/local/share/man/man3/archive_write_set_options.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/libarchive.3.gz already exists. Moving to: /opt/local/share/man/man3/libarchive.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/libarchive_changes.3.gz already exists. Moving to: /opt/local/share/man/man3/libarchive_changes.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man3/libarchive_internals.3.gz already exists. Moving to: /opt/local/share/man/man3/libarchive_internals.3.gz.mp_1633184820.
Warning: File /opt/local/share/man/man5/cpio.5.gz already exists. Moving to: /opt/local/share/man/man5/cpio.5.gz.mp_1633184820.
Warning: File /opt/local/share/man/man5/libarchive-formats.5.gz already exists. Moving to: /opt/local/share/man/man5/libarchive-formats.5.gz.mp_1633184820.
Warning: File /opt/local/share/man/man5/mtree.5.gz already exists. Moving to: /opt/local/share/man/man5/mtree.5.gz.mp_1633184820.
Warning: File /opt/local/share/man/man5/tar.5.gz already exists. Moving to: /opt/local/share/man/man5/tar.5.gz.mp_1633184820.
---> Cleaning libarchive
192:share hostname$ sudo port install cmake
Password:
---> Computing dependencies for cmake
The following dependencies will be installed: libuv
Continue? [Y/n]: y
---> Fetching archive for libuv
---> Attempting to fetch libuv-1.42.0_0.darwin_18.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/libuv
---> Attempting to fetch libuv-1.42.0_0.darwin_18.x86_64.tbz2 from https://packages.macports.org/libuv
---> Attempting to fetch libuv-1.42.0_0.darwin_18.x86_64.tbz2 from https://kmq.jp.packages.macports.org/libuv
---> Fetching distfiles for libuv
---> Attempting to fetch libuv-1.42.0.tar.gz from https://pek.cn.distfiles.macports.org/macports/distfiles/libuv
---> Attempting to fetch libuv-1.42.0.tar.gz from http://cjj.kr.distfiles.macports.org/libuv
---> Verifying checksums for libuv
---> Extracting libuv
---> Applying patches to libuv
---> Configuring libuv
---> Building libuv
---> Staging libuv into destroot
---> Installing libuv @1.42.0_0
---> Activating libuv @1.42.0_0
---> Cleaning libuv
---> Fetching archive for cmake
---> Attempting to fetch cmake-3.21.3_0.darwin_18.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/cmake
---> Attempting to fetch cmake-3.21.3_0.darwin_18.x86_64.tbz2 from https://packages.macports.org/cmake
---> Attempting to fetch cmake-3.21.3_0.darwin_18.x86_64.tbz2 from https://kmq.jp.packages.macports.org/cmake
---> Fetching distfiles for cmake
---> Attempting to fetch cmake-3.21.3.tar.bz2 from https://pek.cn.distfiles.macports.org/macports/distfiles/cmake
---> Attempting to fetch cmake-3.21.3.tar.bz2 from http://cjj.kr.distfiles.macports.org/cmake
---> Verifying checksums for cmake
---> Extracting cmake
---> Applying patches to cmake
---> Configuring cmake
---> Building cmake
[ ] 94.0 %
[ ] 95.0 %
[ ] 96.0 %
---> Staging cmake into destroot
---> Installing cmake @3.21.3_0
---> Activating cmake @3.21.3_0
Error: Failed to activate cmake: Image error: /opt/local/bin/ccmake already exists and does not belong to a registered port. Unable to activate port cmake. Use 'port -f activate cmake' to force the activation.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port cmake failed
192:share hostname$ sudo port -f activate cmake
Password:
---> Computing dependencies for cmake
---> Activating cmake @3.21.3_0
Warning: File /opt/local/bin/ccmake already exists. Moving to: /opt/local/bin/ccmake.mp_1633186119.
Warning: File /opt/local/bin/cmake already exists. Moving to: /opt/local/bin/cmake.mp_1633186119.
Warning: File /opt/local/bin/cpack already exists. Moving to: /opt/local/bin/cpack.mp_1633186119.
Warning: File /opt/local/bin/ctest already exists. Moving to: /opt/local/bin/ctest.mp_1633186119.
Warning: File /opt/local/share/aclocal/cmake.m4 already exists. Moving to: /opt/local/share/aclocal/cmake.m4.mp_1633186119.
Warning: File /opt/local/share/doc/cmake/Copyright.txt already exists. Moving to: /opt/local/share/doc/cmake/Copyright.txt.mp_1633186119.
Warning: File /opt/local/share/doc/cmake/cmsys/Copyright.txt already exists. Moving to: /opt/local/share/doc/cmake/cmsys/Copyright.txt.mp_1633186119.
Warning: File /opt/local/share/emacs/site-lisp/cmake-mode.el already exists. Moving to: /opt/local/share/emacs/site-lisp/cmake-mode.el.mp_1633186119.
---> Cleaning cmake