概要
M1 MacBook Air をもっと弄りまくる予定でしたが、
仕事が忙しくなり始めた事と、
発売日に購入出来た PlayStation5 でプレイしているホライゾンが思いの外面白く、
2 週目終盤、DLC 佳境で中々時間がありません。
仕事の終了時間をもう少し早くして在宅のメリットを活かしたい所です。
本題。
Vim 派ってより、無宗教の私としては Emacs も入れてみるか、と思い直し、
インストールしてみる記事です。
こちらも思いの外難航しました。( 3 日間掛かりました。)
結論としては [#実行コマンド( MacPorts 編) - まとめ] の通りで良いはずです。
実行コマンド
を参考に Emacs のインストール方法に種類がある事を把握。
まずは現状確認。
% emacs --version
zsh: command not found: emacs
% brew search emacs
==> Formulae
emacs emacs-clang-complete-async emacs-dracula
==> Casks
homebrew/cask-versions/emacs-nightly homebrew/cask-versions/emacs-pretest homebrew/cask/emacs
無いのね。
では、インストール、その前におまじないの如く「brew update」を実行します。
% brew update
実行結果
% brew update
Updated 1 tap (homebrew/core).
==> New Formulae
bas55 kotlin-language-server openmama snowpack
delve latino openmodelica sqlancer
geph4 libpipeline oras
==> Updated Formulae
acl2 crystal gatsby-cli libtcod pdm sqlmap
angular-cli cubejs-cli gd libupnp percona-server ssh-copy-id
anycable-go dark-mode gdal libvdpau percona-xtrabackup stanford-corenlp
apache-flink darkhttpd gdu libvirt-glib petsc stanford-ner
apache-spark dasel gh liquidprompt petsc-complex stanford-parser
aqbanking datalad gimme-aws-creds lmod php subnetcalc
arangodb dav1d git-review lsd php@7.4 suite-sparse
argocd deno gitleaks lxc plantuml suricata
arturo dependency-check gitui man-db pnpm swagger-codegen
asdf detox gjs markdownlint-cli po4a swagger-codegen@2
autorest devspace gleam maxima podofo swiftlint
aws-cdk dialog glooctl metabase poetry syncthing
awscli diesel gmsh micronaut poppler taskwarrior-tui
awscli@1 dive gnuradio minikube ppsspp teleport
azure-cli dnsviz golangci-lint miniupnpc pre-commit tengo
bear docfx goreleaser modules progress terrascan
bibtexconv docker gosec mruby protobuf tflint
binaryen dolt gperftools muffet pspg tfsec
bit-git dovecot gping mutt pulumi tig
bonnie++ driftctl gradle-profiler mycli purescript tox
broot duckscript grokj2k nano pygments translate-toolkit
buku dvc grpc nativefier qjackctl tree-sitter
bullet dwarfutils gtksourceview4 nats-streaming-server qpdf triton
cadence eksctl gwenhywfar netlify-cli qt truffle
cake emscripten hadolint newrelic-cli quicktype trunk
cargo-watch ensmallen haproxy nexus rabbitmq txr
cassandra-reaper erlang hdf5@1.8 nift redis typescript
castxml ethereum helib node repo unzip
cbmc exploitdb helmfile node-build richmd uutils-coreutils
certbot fabric help2man node_exporter rke v2ray
cglm fetchmail howdoi ntl rswift v8
circleci findutils imagemagick ocaml-zarith rust vercel-cli
citus fio imagesnap oci-cli rust-analyzer vim
ckan flank inlets ocrmypdf s-search vowpal-wabbit
cloc flarectl istioctl okteto salt vroom
clojure-lsp fleet-cli jasper onnxruntime saml2aws vtk
closure-compiler flex jc opencbm sbcl vulkan-headers
cloudflare-wrangler flit jenkins opencc sdcc wabt
coccinelle flow jpeg-xl openimageio server-go webdis
coconut fluent-bit jruby openjdk serverless weechat
coin3d flyway jsonschema2pojo openjdk@11 sile wolfmqtt
comby fn k3sup openssh smali xclogparser
commitizen fnm kubevela or-tools sn0int xh
consul frotz kubie ortp snakemake xonsh
contentful-cli fselect libcouchbase pagmo solidity youtube-dl
copilot fsql libfaketime pandocomatic sourcery zork
cproto futhark libfuse pcb sphinx-doc zstd
crane fwup libgdata pcb2gcode spotbugs
croc gallery-dl libimagequant pcsc-lite spotifyd
cromwell gateway-go libphonenumber pdftoipe sqlcipher
% brew update
Already up-to-date.
結構掛かりました。
何はともあれ「公式サイト」、
に従って、
% brew install --cask emacs
==> Tapping homebrew/cask
Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-cask'...
remote: Enumerating objects: 100, done.
remote: Counting objects: 100% (100/100), done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 553419 (delta 53), reused 72 (delta 44), pack-reused 553319
Receiving objects: 100% (553419/553419), 244.51 MiB | 385.00 KiB/s, done.
Resolving deltas: 100% (390770/390770), done.
Tapped 3850 casks (3,966 files, 262.3MB).
==> Downloading https://emacsformacosx.com/emacs-builds/Emacs-27.1-1-universal.dmg
==> Downloading from https://emacsformacosx.com/download/emacs-builds/Emacs-27.1-1-universal.dmg
######################################################################## 100.0%
==> Installing Cask emacs
==> Moving App 'Emacs.app' to '/Applications/Emacs.app'
==> Linking Binary 'Emacs' to '/opt/homebrew/bin/emacs'
==> Linking Binary 'ebrowse' to '/opt/homebrew/bin/ebrowse'
==> Linking Binary 'emacsclient' to '/opt/homebrew/bin/emacsclient'
==> Linking Binary 'etags' to '/opt/homebrew/bin/etags'
🍺 emacs was successfully installed!
よしよし。
では確認。
% emacs --version
あれ、開けない。
コマンドの実行結果も、
% emacs --version
zsh: killed emacs --version
んー、でもアプリケーションフォルダから、
を参考に「control」を押しながら、
を起動すると、
と選択肢が「開く」に変わって、
の通り、GUI は起動可能です。
でも「emacs」コマンドではダメ。
と出て、アクセス権を与えても、
M1 がサポートされて無い?
んー、色々検索する。。。
あっ!あーーー。なるほど、バイナリだと x86_64 なのね。
(まとめリスト、助かります!)
確かに、
の「情報を見る」で、
「Rossetaを使用して開く」にチェック入れて、
全ターミナルを終了し、起動し直すと、
% uname -m
x86_64
% emacs --version
GNU Emacs 27.1
Copyright (C) 2020 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
% emacs
の通り、コマンドから GUI も起動しました。
めでたしめでたし。じゃなーい!
このままじゃ、気持ち悪いよね。
M1 対応があるなら、そっちにしましょう。
ターミナルの「Rossetaを使用して開く」のチェックは外して、
もう一度再起動。
んで、アンインストール。
% uname -m
arm64
% brew uninstall emacs
==> Uninstalling Cask emacs
==> Backing App 'Emacs.app' up to '/opt/homebrew/Caskroom/emacs/27.1-1/Emacs.app'
==> Removing App '/Applications/Emacs.app'
==> Unlinking Binary '/opt/homebrew/bin/emacs'
==> Unlinking Binary '/opt/homebrew/bin/ebrowse'
==> Unlinking Binary '/opt/homebrew/bin/emacsclient'
==> Unlinking Binary '/opt/homebrew/bin/etags'
==> Purging files for version 27.1-1 of Cask emacs
% emacs --version
zsh: command not found: emacs
よしよし、最初に戻る。戻ってます(泣
実行コマンド( MacPorts 編)
MacPorts
% port
zsh: command not found: port
まあ、入ってはいないですよね。
それではこちらのサイトなどを参考に MacPorts でインストールしたいと思います。
もうまんま、公式サイトで、
「macOS Big Sur v11」リンクから、「pkg」ファイルをダウンロードして実行します。
ぽちぽち、
ぽちぽち、
English しか選べないのね。(使用許諾契約ですものね。)
YES! Agree!
16.8 MB 少なーい。ポチッと。
「Touch ID」様、最高です!これだけでも買った価値ある進化!
結構待ちますね。プログレスバーが止まっているように見えますが、
完了しました!
はい。ゴミ箱へ。
では PATH を通して、
% echo 'export PATH=/opt/local/bin/:$PATH' >> ~/.zshrc
% source ~/.zshrc
% port -v
MacPorts 2.6.4
Entering shell mode... ("help" for help, "quit" to quit)
[Users/[ユーザ名]] > quit
Goodbye
おお、動いています!
Emacs
そもそも論ですが、公式サイトに、
てあるじゃ無いですかーーー。
ではでは、気を取り直して、
% sudo port install emacs-app
実行結果(長いです。)
makoto@MakotonoMacBook-Air ~ % sudo port install emacs-app
Password:
---> Computing dependencies for emacs-app
The following dependencies will be installed:
Xft2
autoconf
automake
brotli
bzip2
cairo
curl-ca-bundle
db48
expat
fontconfig
freetype
fribidi
gd2
gdbm
gdk-pixbuf2
gettext
giflib
glib2
gmp
gnutls
gobject-introspection
graphite2
graphviz
gts
harfbuzz
icu
jansson
jasper
lcms2
libLASi
libcroco
libde265
libedit
libffi
libheif
libiconv
libidn2
libjpeg-turbo
libnetpbm
libpixman
libpng
librsvg
libtasn1
libtool
libunistring
libxml2
libxslt
lz4
m4
ncurses
nettle
openssl
ossp-uuid
p11-kit
pango
pcre
perl5.28
pkgconfig
py38-beaker
py38-mako
py38-markdown
py38-markupsafe
py38-setuptools
python38
python3_select
python_select
readline
shared-mime-info
sqlite3
tiff
urw-fonts
vala
webp
x265
xorg-libX11
xorg-libXau
xorg-libXaw
xorg-libXdmcp
xorg-libXext
xorg-libXmu
xorg-libXt
xorg-libice
xorg-libpthread-stubs
xorg-libsm
xorg-libxcb
xorg-xcb-proto
xorg-xcb-util
xorg-xorgproto
xpm
xrender
xz
zlib
zstd
Continue? [Y/n]:
---> Fetching archive for gmp
---> Attempting to fetch gmp-6.2.1_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/gmp
---> Attempting to fetch gmp-6.2.1_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/gmp
---> Installing gmp @6.2.1_0
---> Activating gmp @6.2.1_0
---> Cleaning gmp
---> Fetching archive for libiconv
---> Attempting to fetch libiconv-1.16_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libiconv
---> Attempting to fetch libiconv-1.16_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libiconv
---> Installing libiconv @1.16_1
---> Activating libiconv @1.16_1
---> Cleaning libiconv
---> Fetching archive for ncurses
---> Attempting to fetch ncurses-6.2_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/ncurses
---> Attempting to fetch ncurses-6.2_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/ncurses
---> Installing ncurses @6.2_1
---> Activating ncurses @6.2_1
---> Cleaning ncurses
---> Fetching archive for gettext
---> Attempting to fetch gettext-0.19.8.1_2.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/gettext
---> Attempting to fetch gettext-0.19.8.1_2.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/gettext
---> Installing gettext @0.19.8.1_2
---> Activating gettext @0.19.8.1_2
---> Cleaning gettext
---> Fetching archive for libunistring
---> Attempting to fetch libunistring-0.9.10_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libunistring
---> Attempting to fetch libunistring-0.9.10_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libunistring
---> Installing libunistring @0.9.10_0
---> Activating libunistring @0.9.10_0
---> Cleaning libunistring
---> Fetching archive for libidn2
---> Attempting to fetch libidn2-2.3.0_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libidn2
---> Attempting to fetch libidn2-2.3.0_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libidn2
---> Installing libidn2 @2.3.0_0
---> Activating libidn2 @2.3.0_0
---> Cleaning libidn2
---> Fetching archive for libtasn1
---> Attempting to fetch libtasn1-4.16.0_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libtasn1
---> Attempting to fetch libtasn1-4.16.0_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libtasn1
---> Installing libtasn1 @4.16.0_0
---> Activating libtasn1 @4.16.0_0
---> Cleaning libtasn1
---> Fetching archive for nettle
---> Attempting to fetch nettle-3.7.1_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/nettle
---> Attempting to fetch nettle-3.7.1_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/nettle
---> Installing nettle @3.7.1_0
---> Activating nettle @3.7.1_0
---> Cleaning nettle
---> Fetching archive for curl-ca-bundle
---> Attempting to fetch curl-ca-bundle-7.75.0_0.darwin_20.noarch.tbz2 from https://kmq.jp.packages.macports.org/curl-ca-bundle
---> Attempting to fetch curl-ca-bundle-7.75.0_0.darwin_20.noarch.tbz2.rmd160 from https://kmq.jp.packages.macports.org/curl-ca-bundle
---> Installing curl-ca-bundle @7.75.0_0
---> Activating curl-ca-bundle @7.75.0_0
---> Cleaning curl-ca-bundle
---> Fetching archive for libffi
---> Attempting to fetch libffi-3.3_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libffi
---> Attempting to fetch libffi-3.3_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libffi
---> Installing libffi @3.3_1
---> Activating libffi @3.3_1
---> Cleaning libffi
---> Fetching archive for icu
---> Attempting to fetch icu-67.1_3.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/icu
---> Attempting to fetch icu-67.1_3.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/icu
---> Installing icu @67.1_3
---> Activating icu @67.1_3
---> Cleaning icu
---> Fetching archive for xz
---> Attempting to fetch xz-5.2.5_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/xz
---> Attempting to fetch xz-5.2.5_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xz
---> Installing xz @5.2.5_0
---> Activating xz @5.2.5_0
---> Cleaning xz
---> Fetching archive for zlib
---> Attempting to fetch zlib-1.2.11_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/zlib
---> Attempting to fetch zlib-1.2.11_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/zlib
---> Installing zlib @1.2.11_0
---> Activating zlib @1.2.11_0
---> Cleaning zlib
---> Fetching archive for libxml2
---> Attempting to fetch libxml2-2.9.10_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libxml2
---> Attempting to fetch libxml2-2.9.10_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libxml2
---> Installing libxml2 @2.9.10_1
---> Activating libxml2 @2.9.10_1
---> Cleaning libxml2
---> Fetching archive for libxslt
---> Attempting to fetch libxslt-1.1.34_4.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libxslt
---> Attempting to fetch libxslt-1.1.34_4.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libxslt
---> Installing libxslt @1.1.34_4
---> Activating libxslt @1.1.34_4
---> Cleaning libxslt
---> Fetching archive for p11-kit
---> Attempting to fetch p11-kit-0.23.22_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/p11-kit
---> Attempting to fetch p11-kit-0.23.22_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/p11-kit
---> Installing p11-kit @0.23.22_0
---> Activating p11-kit @0.23.22_0
---> Cleaning p11-kit
---> Fetching archive for gnutls
---> Attempting to fetch gnutls-3.6.15_0+doc.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/gnutls
---> Attempting to fetch gnutls-3.6.15_0+doc.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/gnutls
---> Installing gnutls @3.6.15_0+doc
---> Activating gnutls @3.6.15_0+doc
---> Cleaning gnutls
---> Fetching archive for jansson
---> Attempting to fetch jansson-2.13.1_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/jansson
---> Attempting to fetch jansson-2.13.1_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/jansson
---> Installing jansson @2.13.1_0
---> Activating jansson @2.13.1_0
---> Cleaning jansson
---> Fetching archive for libjpeg-turbo
---> Attempting to fetch libjpeg-turbo-2.0.6_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libjpeg-turbo
---> Attempting to fetch libjpeg-turbo-2.0.6_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libjpeg-turbo
---> Installing libjpeg-turbo @2.0.6_0
---> Activating libjpeg-turbo @2.0.6_0
---> Cleaning libjpeg-turbo
---> Fetching archive for lz4
---> Attempting to fetch lz4-1.9.3_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/lz4
---> Attempting to fetch lz4-1.9.3_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/lz4
---> Installing lz4 @1.9.3_0
---> Activating lz4 @1.9.3_0
---> Cleaning lz4
---> Fetching archive for zstd
---> Attempting to fetch zstd-1.4.9_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/zstd
---> Attempting to fetch zstd-1.4.9_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/zstd
---> Installing zstd @1.4.9_0
---> Activating zstd @1.4.9_0
---> Cleaning zstd
---> Fetching archive for tiff
---> Attempting to fetch tiff-4.2.0_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/tiff
---> Attempting to fetch tiff-4.2.0_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/tiff
---> Installing tiff @4.2.0_1
---> Activating tiff @4.2.0_1
---> Cleaning tiff
---> Fetching archive for lcms2
---> Attempting to fetch lcms2-2.12_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/lcms2
---> Attempting to fetch lcms2-2.12_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/lcms2
---> Installing lcms2 @2.12_0
---> Activating lcms2 @2.12_0
---> Cleaning lcms2
---> Fetching archive for expat
---> Attempting to fetch expat-2.2.10_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/expat
---> Attempting to fetch expat-2.2.10_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/expat
---> Installing expat @2.2.10_0
---> Activating expat @2.2.10_0
---> Cleaning expat
---> Fetching archive for brotli
---> Attempting to fetch brotli-1.0.9_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/brotli
---> Attempting to fetch brotli-1.0.9_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/brotli
---> Installing brotli @1.0.9_1
---> Activating brotli @1.0.9_1
---> Cleaning brotli
---> Fetching archive for bzip2
---> Attempting to fetch bzip2-1.0.8_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/bzip2
---> Attempting to fetch bzip2-1.0.8_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/bzip2
---> Installing bzip2 @1.0.8_0
---> Activating bzip2 @1.0.8_0
---> Cleaning bzip2
---> Fetching archive for libpng
---> Attempting to fetch libpng-1.6.37_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libpng
---> Attempting to fetch libpng-1.6.37_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libpng
---> Installing libpng @1.6.37_0
---> Activating libpng @1.6.37_0
---> Cleaning libpng
---> Fetching archive for freetype
---> Attempting to fetch freetype-2.10.4_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/freetype
---> Attempting to fetch freetype-2.10.4_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/freetype
---> Installing freetype @2.10.4_0
---> Activating freetype @2.10.4_0
---> Cleaning freetype
---> Fetching archive for db48
---> Attempting to fetch db48-4.8.30_4.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/db48
---> Attempting to fetch db48-4.8.30_4.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/db48
---> Installing db48 @4.8.30_4
---> Activating db48 @4.8.30_4
---> Cleaning db48
---> Fetching archive for readline
---> Attempting to fetch readline-8.1.000_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/readline
---> Attempting to fetch readline-8.1.000_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/readline
---> Installing readline @8.1.000_0
---> Activating readline @8.1.000_0
---> Cleaning readline
---> Fetching archive for gdbm
---> Attempting to fetch gdbm-1.19_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/gdbm
---> Attempting to fetch gdbm-1.19_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/gdbm
---> Installing gdbm @1.19_0
---> Activating gdbm @1.19_0
---> Cleaning gdbm
---> Fetching archive for perl5.28
---> Attempting to fetch perl5.28-5.28.3_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/perl5.28
---> Attempting to fetch perl5.28-5.28.3_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/perl5.28
---> Installing perl5.28 @5.28.3_1
---> Activating perl5.28 @5.28.3_1
---> Cleaning perl5.28
---> Fetching archive for ossp-uuid
---> Attempting to fetch ossp-uuid-1.6.2_12+perl5_28.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/ossp-uuid
---> Attempting to fetch ossp-uuid-1.6.2_12+perl5_28.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/ossp-uuid
---> Installing ossp-uuid @1.6.2_12+perl5_28
---> Activating ossp-uuid @1.6.2_12+perl5_28
---> Cleaning ossp-uuid
---> Fetching archive for fontconfig
---> Attempting to fetch fontconfig-2.13.1_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/fontconfig
---> Attempting to fetch fontconfig-2.13.1_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/fontconfig
---> Installing fontconfig @2.13.1_1
---> Activating fontconfig @2.13.1_1
---> Cleaning fontconfig
---> Fetching archive for libedit
---> Attempting to fetch libedit-20210216-3.1_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libedit
---> Attempting to fetch libedit-20210216-3.1_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libedit
---> Installing libedit @20210216-3.1_0
---> Activating libedit @20210216-3.1_0
---> Cleaning libedit
---> Fetching archive for pcre
---> Attempting to fetch pcre-8.44_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/pcre
---> Attempting to fetch pcre-8.44_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/pcre
---> Installing pcre @8.44_1
---> Activating pcre @8.44_1
---> Cleaning pcre
---> Fetching archive for glib2
---> Attempting to fetch glib2-2.58.3_1+x11.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/glib2
---> Attempting to fetch glib2-2.58.3_1+x11.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/glib2
---> Installing glib2 @2.58.3_1+x11
---> Activating glib2 @2.58.3_1+x11
---> Cleaning glib2
---> Fetching archive for libpixman
---> Attempting to fetch libpixman-0.38.4_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libpixman
---> Attempting to fetch libpixman-0.38.4_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libpixman
---> Installing libpixman @0.38.4_0
---> Activating libpixman @0.38.4_0
---> Cleaning libpixman
---> Fetching archive for xorg-xorgproto
---> Attempting to fetch xorg-xorgproto-2021.3_0.darwin_20.noarch.tbz2 from https://kmq.jp.packages.macports.org/xorg-xorgproto
---> Attempting to fetch xorg-xorgproto-2021.3_0.darwin_20.noarch.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xorg-xorgproto
---> Installing xorg-xorgproto @2021.3_0
---> Activating xorg-xorgproto @2021.3_0
---> Cleaning xorg-xorgproto
---> Fetching archive for xorg-libXau
---> Attempting to fetch xorg-libXau-1.0.9_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/xorg-libXau
---> Attempting to fetch xorg-libXau-1.0.9_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xorg-libXau
---> Installing xorg-libXau @1.0.9_0
---> Activating xorg-libXau @1.0.9_0
---> Cleaning xorg-libXau
---> Fetching archive for xorg-libXdmcp
---> Attempting to fetch xorg-libXdmcp-1.1.3_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/xorg-libXdmcp
---> Attempting to fetch xorg-libXdmcp-1.1.3_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xorg-libXdmcp
---> Installing xorg-libXdmcp @1.1.3_0
---> Activating xorg-libXdmcp @1.1.3_0
---> Cleaning xorg-libXdmcp
---> Fetching archive for xorg-libpthread-stubs
---> Attempting to fetch xorg-libpthread-stubs-0.4_0.darwin_20.noarch.tbz2 from https://kmq.jp.packages.macports.org/xorg-libpthread-stubs
---> Attempting to fetch xorg-libpthread-stubs-0.4_0.darwin_20.noarch.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xorg-libpthread-stubs
---> Installing xorg-libpthread-stubs @0.4_0
---> Activating xorg-libpthread-stubs @0.4_0
---> Cleaning xorg-libpthread-stubs
---> Fetching archive for xorg-xcb-proto
---> Attempting to fetch xorg-xcb-proto-1.14.1_0+python39.darwin_20.noarch.tbz2 from https://kmq.jp.packages.macports.org/xorg-xcb-proto
---> Attempting to fetch xorg-xcb-proto-1.14.1_0+python39.darwin_20.noarch.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xorg-xcb-proto
---> Installing xorg-xcb-proto @1.14.1_0+python39
---> Activating xorg-xcb-proto @1.14.1_0+python39
---> Cleaning xorg-xcb-proto
---> Fetching archive for xorg-libxcb
---> Attempting to fetch xorg-libxcb-1.14_0+python39.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/xorg-libxcb
---> Attempting to fetch xorg-libxcb-1.14_0+python39.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xorg-libxcb
---> Installing xorg-libxcb @1.14_0+python39
---> Activating xorg-libxcb @1.14_0+python39
---> Cleaning xorg-libxcb
---> Fetching archive for xorg-libX11
---> Attempting to fetch xorg-libX11-1.7.0_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/xorg-libX11
---> Attempting to fetch xorg-libX11-1.7.0_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xorg-libX11
---> Installing xorg-libX11 @1.7.0_0
---> Activating xorg-libX11 @1.7.0_0
---> Cleaning xorg-libX11
---> Fetching archive for xorg-libXext
---> Attempting to fetch xorg-libXext-1.3.4_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/xorg-libXext
---> Attempting to fetch xorg-libXext-1.3.4_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xorg-libXext
---> Installing xorg-libXext @1.3.4_0
---> Activating xorg-libXext @1.3.4_0
---> Cleaning xorg-libXext
---> Fetching archive for xorg-xcb-util
---> Attempting to fetch xorg-xcb-util-0.4.0_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/xorg-xcb-util
---> Attempting to fetch xorg-xcb-util-0.4.0_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xorg-xcb-util
---> Installing xorg-xcb-util @0.4.0_1
---> Activating xorg-xcb-util @0.4.0_1
---> Cleaning xorg-xcb-util
---> Fetching archive for xrender
---> Attempting to fetch xrender-0.9.10_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/xrender
---> Attempting to fetch xrender-0.9.10_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xrender
---> Installing xrender @0.9.10_1
---> Activating xrender @0.9.10_1
---> Cleaning xrender
---> Fetching archive for cairo
---> Attempting to fetch cairo-1.16.0_2+quartz+x11.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/cairo
---> Attempting to fetch cairo-1.16.0_2+quartz+x11.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/cairo
---> Installing cairo @1.16.0_2+quartz+x11
---> Activating cairo @1.16.0_2+quartz+x11
---> Cleaning cairo
---> Fetching archive for libtool
---> Attempting to fetch libtool-2.4.6_11.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libtool
---> Attempting to fetch libtool-2.4.6_11.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libtool
---> Installing libtool @2.4.6_11
---> Activating libtool @2.4.6_11
---> Cleaning libtool
---> Fetching archive for openssl
---> Attempting to fetch openssl-1.1.1j_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/openssl
---> Attempting to fetch openssl-1.1.1j_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/openssl
---> Installing openssl @1.1.1j_0
---> Activating openssl @1.1.1j_0
---> Cleaning openssl
---> Fetching archive for python3_select
---> Attempting to fetch python3_select-0.0_2.darwin_20.noarch.tbz2 from https://kmq.jp.packages.macports.org/python3_select
---> Attempting to fetch python3_select-0.0_2.darwin_20.noarch.tbz2.rmd160 from https://kmq.jp.packages.macports.org/python3_select
---> Installing python3_select @0.0_2
---> Activating python3_select @0.0_2
---> Cleaning python3_select
---> Fetching archive for python_select
---> Attempting to fetch python_select-0.3_9.darwin_20.noarch.tbz2 from https://kmq.jp.packages.macports.org/python_select
---> Attempting to fetch python_select-0.3_9.darwin_20.noarch.tbz2.rmd160 from https://kmq.jp.packages.macports.org/python_select
---> Installing python_select @0.3_9
---> Activating python_select @0.3_9
---> Cleaning python_select
---> Fetching archive for sqlite3
---> Attempting to fetch sqlite3-3.34.1_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/sqlite3
---> Attempting to fetch sqlite3-3.34.1_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/sqlite3
---> Installing sqlite3 @3.34.1_0
---> Activating sqlite3 @3.34.1_0
---> Cleaning sqlite3
---> Fetching archive for python38
---> Attempting to fetch python38-3.8.8_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/python38
---> Attempting to fetch python38-3.8.8_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/python38
---> Installing python38 @3.8.8_0
---> Activating python38 @3.8.8_0
---> Cleaning python38
---> Fetching archive for py38-setuptools
---> Attempting to fetch py38-setuptools-51.3.3_0.darwin_20.noarch.tbz2 from https://kmq.jp.packages.macports.org/py38-setuptools
---> Attempting to fetch py38-setuptools-51.3.3_0.darwin_20.noarch.tbz2.rmd160 from https://kmq.jp.packages.macports.org/py38-setuptools
---> Installing py38-setuptools @51.3.3_0
---> Activating py38-setuptools @51.3.3_0
---> Cleaning py38-setuptools
---> Fetching archive for py38-beaker
---> Attempting to fetch py38-beaker-1.11.0_0.darwin_20.noarch.tbz2 from https://kmq.jp.packages.macports.org/py38-beaker
---> Attempting to fetch py38-beaker-1.11.0_0.darwin_20.noarch.tbz2.rmd160 from https://kmq.jp.packages.macports.org/py38-beaker
---> Installing py38-beaker @1.11.0_0
---> Activating py38-beaker @1.11.0_0
---> Cleaning py38-beaker
---> Fetching archive for py38-markupsafe
---> Attempting to fetch py38-markupsafe-1.1.1_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/py38-markupsafe
---> Attempting to fetch py38-markupsafe-1.1.1_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/py38-markupsafe
---> Installing py38-markupsafe @1.1.1_0
---> Activating py38-markupsafe @1.1.1_0
---> Cleaning py38-markupsafe
---> Fetching archive for py38-mako
---> Attempting to fetch py38-mako-1.1.4_0.darwin_20.noarch.tbz2 from https://kmq.jp.packages.macports.org/py38-mako
---> Attempting to fetch py38-mako-1.1.4_0.darwin_20.noarch.tbz2.rmd160 from https://kmq.jp.packages.macports.org/py38-mako
---> Installing py38-mako @1.1.4_0
---> Activating py38-mako @1.1.4_0
---> Cleaning py38-mako
---> Fetching archive for py38-markdown
---> Attempting to fetch py38-markdown-3.3.3_0.darwin_20.noarch.tbz2 from https://kmq.jp.packages.macports.org/py38-markdown
---> Attempting to fetch py38-markdown-3.3.3_0.darwin_20.noarch.tbz2.rmd160 from https://kmq.jp.packages.macports.org/py38-markdown
---> Installing py38-markdown @3.3.3_0
---> Activating py38-markdown @3.3.3_0
---> Cleaning py38-markdown
---> Fetching archive for gobject-introspection
---> Attempting to fetch gobject-introspection-1.60.2_5.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/gobject-introspection
---> Attempting to fetch gobject-introspection-1.60.2_5.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/gobject-introspection
---> Installing gobject-introspection @1.60.2_5
---> Activating gobject-introspection @1.60.2_5
---> Cleaning gobject-introspection
---> Fetching archive for jasper
---> Attempting to fetch jasper-2.0.14_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/jasper
---> Attempting to fetch jasper-2.0.14_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/jasper
---> Installing jasper @2.0.14_1
---> Activating jasper @2.0.14_1
---> Cleaning jasper
---> Fetching archive for shared-mime-info
---> Attempting to fetch shared-mime-info-2.1_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/shared-mime-info
---> Attempting to fetch shared-mime-info-2.1_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/shared-mime-info
---> Installing shared-mime-info @2.1_0
---> Activating shared-mime-info @2.1_0
---> Cleaning shared-mime-info
---> Fetching archive for gdk-pixbuf2
---> Attempting to fetch gdk-pixbuf2-2.42.2_2+x11.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/gdk-pixbuf2
---> Attempting to fetch gdk-pixbuf2-2.42.2_2+x11.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/gdk-pixbuf2
---> Installing gdk-pixbuf2 @2.42.2_2+x11
---> Activating gdk-pixbuf2 @2.42.2_2+x11
---> Cleaning gdk-pixbuf2
---> Fetching archive for libcroco
---> Attempting to fetch libcroco-0.6.13_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libcroco
---> Attempting to fetch libcroco-0.6.13_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libcroco
---> Installing libcroco @0.6.13_1
---> Activating libcroco @0.6.13_1
---> Cleaning libcroco
---> Fetching archive for Xft2
---> Attempting to fetch Xft2-2.3.3_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/Xft2
---> Attempting to fetch Xft2-2.3.3_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/Xft2
---> Installing Xft2 @2.3.3_0
---> Activating Xft2 @2.3.3_0
---> Cleaning Xft2
---> Fetching archive for fribidi
---> Attempting to fetch fribidi-1.0.10_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/fribidi
---> Attempting to fetch fribidi-1.0.10_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/fribidi
---> Installing fribidi @1.0.10_0
---> Activating fribidi @1.0.10_0
---> Cleaning fribidi
---> Fetching archive for graphite2
---> Attempting to fetch graphite2-1.3.13_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/graphite2
---> Attempting to fetch graphite2-1.3.13_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/graphite2
---> Installing graphite2 @1.3.13_1
---> Activating graphite2 @1.3.13_1
---> Cleaning graphite2
---> Fetching archive for harfbuzz
---> Attempting to fetch harfbuzz-2.7.4_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/harfbuzz
---> Attempting to fetch harfbuzz-2.7.4_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/harfbuzz
---> Installing harfbuzz @2.7.4_0
---> Activating harfbuzz @2.7.4_0
---> Cleaning harfbuzz
---> Fetching archive for pango
---> Attempting to fetch pango-1.42.4_2+quartz+x11.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/pango
---> Attempting to fetch pango-1.42.4_2+quartz+x11.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/pango
---> Installing pango @1.42.4_2+quartz+x11
---> Activating pango @1.42.4_2+quartz+x11
---> Cleaning pango
---> Fetching archive for m4
---> Attempting to fetch m4-1.4.18_2.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/m4
---> Attempting to fetch m4-1.4.18_2.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/m4
---> Installing m4 @1.4.18_2
---> Activating m4 @1.4.18_2
---> Cleaning m4
---> Fetching archive for autoconf
---> Attempting to fetch autoconf-2.71_1.darwin_20.noarch.tbz2 from https://kmq.jp.packages.macports.org/autoconf
---> Attempting to fetch autoconf-2.71_1.darwin_20.noarch.tbz2.rmd160 from https://kmq.jp.packages.macports.org/autoconf
---> Installing autoconf @2.71_1
---> Activating autoconf @2.71_1
---> Cleaning autoconf
---> Fetching archive for automake
---> Attempting to fetch automake-1.16.3_0.darwin_20.noarch.tbz2 from https://kmq.jp.packages.macports.org/automake
---> Attempting to fetch automake-1.16.3_0.darwin_20.noarch.tbz2.rmd160 from https://kmq.jp.packages.macports.org/automake
---> Installing automake @1.16.3_0
---> Activating automake @1.16.3_0
---> Cleaning automake
---> Fetching archive for libde265
---> Attempting to fetch libde265-1.0.8_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libde265
---> Attempting to fetch libde265-1.0.8_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libde265
---> Installing libde265 @1.0.8_0
---> Activating libde265 @1.0.8_0
---> Cleaning libde265
---> Fetching archive for x265
---> Attempting to fetch x265-3.4_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/x265
---> Attempting to fetch x265-3.4_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/x265
---> Installing x265 @3.4_0
---> Activating x265 @3.4_0
---> Cleaning x265
---> Fetching archive for libheif
---> Attempting to fetch libheif-1.9.1_2.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libheif
---> Attempting to fetch libheif-1.9.1_2.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libheif
---> Installing libheif @1.9.1_2
---> Activating libheif @1.9.1_2
---> Cleaning libheif
---> Fetching archive for giflib
---> Attempting to fetch giflib-4.2.3_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/giflib
---> Attempting to fetch giflib-4.2.3_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/giflib
---> Installing giflib @4.2.3_0
---> Activating giflib @4.2.3_0
---> Cleaning giflib
---> Fetching archive for webp
---> Attempting to fetch webp-1.2.0_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/webp
---> Attempting to fetch webp-1.2.0_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/webp
---> Installing webp @1.2.0_0
---> Activating webp @1.2.0_0
---> Cleaning webp
---> Fetching archive for xorg-libice
---> Attempting to fetch xorg-libice-1.0.10_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/xorg-libice
---> Attempting to fetch xorg-libice-1.0.10_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xorg-libice
---> Installing xorg-libice @1.0.10_0
---> Activating xorg-libice @1.0.10_0
---> Cleaning xorg-libice
---> Fetching archive for xorg-libsm
---> Attempting to fetch xorg-libsm-1.2.3_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/xorg-libsm
---> Attempting to fetch xorg-libsm-1.2.3_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xorg-libsm
---> Installing xorg-libsm @1.2.3_0
---> Activating xorg-libsm @1.2.3_0
---> Cleaning xorg-libsm
---> Fetching archive for xorg-libXt
---> Attempting to fetch xorg-libXt-1.2.1_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/xorg-libXt
---> Attempting to fetch xorg-libXt-1.2.1_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xorg-libXt
---> Installing xorg-libXt @1.2.1_0
---> Activating xorg-libXt @1.2.1_0
---> Cleaning xorg-libXt
---> Fetching archive for xpm
---> Attempting to fetch xpm-3.5.13_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/xpm
---> Attempting to fetch xpm-3.5.13_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xpm
---> Installing xpm @3.5.13_0
---> Activating xpm @3.5.13_0
---> Cleaning xpm
Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
---> Fetching archive for gd2
---> Attempting to fetch gd2-2.3.2_0+x11.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/gd2
---> Attempting to fetch gd2-2.3.2_0+x11.darwin_20.arm64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/gd2
---> Attempting to fetch gd2-2.3.2_0+x11.darwin_20.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gd2
---> Fetching distfiles for gd2
---> Attempting to fetch libgd-2.3.2.tar.xz from https://kmq.jp.distfiles.macports.org/gd2
---> Verifying checksums for gd2
---> Extracting gd2
---> Applying patches to gd2
---> Configuring gd2
---> Building gd2
---> Staging gd2 into destroot
---> Installing gd2 @2.3.2_0+x11
---> Activating gd2 @2.3.2_0+x11
---> Cleaning gd2
---> Fetching archive for libnetpbm
---> Attempting to fetch libnetpbm-10.93.00_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libnetpbm
---> Attempting to fetch libnetpbm-10.93.00_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libnetpbm
---> Installing libnetpbm @10.93.00_0
---> Activating libnetpbm @10.93.00_0
---> Cleaning libnetpbm
---> Fetching archive for gts
---> Attempting to fetch gts-0.7.6-20121130_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/gts
---> Attempting to fetch gts-0.7.6-20121130_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/gts
---> Installing gts @0.7.6-20121130_1
---> Activating gts @0.7.6-20121130_1
---> Cleaning gts
---> Fetching archive for libLASi
---> Attempting to fetch libLASi-1.1.3_1.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/libLASi
---> Attempting to fetch libLASi-1.1.3_1.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/libLASi
---> Installing libLASi @1.1.3_1
---> Activating libLASi @1.1.3_1
---> Cleaning libLASi
---> Fetching archive for pkgconfig
---> Attempting to fetch pkgconfig-0.29.2_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/pkgconfig
---> Attempting to fetch pkgconfig-0.29.2_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/pkgconfig
---> Installing pkgconfig @0.29.2_0
---> Activating pkgconfig @0.29.2_0
---> Cleaning pkgconfig
---> Fetching archive for urw-fonts
---> Attempting to fetch urw-fonts-1.0.7pre44_0.darwin_20.noarch.tbz2 from https://kmq.jp.packages.macports.org/urw-fonts
---> Attempting to fetch urw-fonts-1.0.7pre44_0.darwin_20.noarch.tbz2.rmd160 from https://kmq.jp.packages.macports.org/urw-fonts
---> Installing urw-fonts @1.0.7pre44_0
---> Activating urw-fonts @1.0.7pre44_0
---> Cleaning urw-fonts
---> Fetching archive for xorg-libXmu
---> Attempting to fetch xorg-libXmu-1.1.3_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/xorg-libXmu
---> Attempting to fetch xorg-libXmu-1.1.3_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xorg-libXmu
---> Installing xorg-libXmu @1.1.3_0
---> Activating xorg-libXmu @1.1.3_0
---> Cleaning xorg-libXmu
---> Fetching archive for xorg-libXaw
---> Attempting to fetch xorg-libXaw-1.0.13_2.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/xorg-libXaw
---> Attempting to fetch xorg-libXaw-1.0.13_2.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/xorg-libXaw
---> Installing xorg-libXaw @1.0.13_2
---> Activating xorg-libXaw @1.0.13_2
---> Cleaning xorg-libXaw
Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
---> Fetching archive for graphviz
---> Attempting to fetch graphviz-2.40.1_4+pangocairo+x11.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/graphviz
---> Attempting to fetch graphviz-2.40.1_4+pangocairo+x11.darwin_20.arm64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/graphviz
---> Attempting to fetch graphviz-2.40.1_4+pangocairo+x11.darwin_20.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/graphviz
---> Fetching distfiles for graphviz
---> Attempting to fetch graphviz-2.40.1.tar.gz from https://kmq.jp.distfiles.macports.org/graphviz
---> Verifying checksums for graphviz
---> Extracting graphviz
---> Applying patches to graphviz
---> Configuring graphviz
---> Building graphviz
---> Staging graphviz into destroot
---> Installing graphviz @2.40.1_4+pangocairo+x11
---> Activating graphviz @2.40.1_4+pangocairo+x11
---> Cleaning graphviz
---> Fetching archive for vala
---> Attempting to fetch vala-0.50.3_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/vala
---> Attempting to fetch vala-0.50.3_0.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/vala
---> Installing vala @0.50.3_0
---> Activating vala @0.50.3_0
---> Cleaning vala
---> Fetching archive for librsvg
---> Attempting to fetch librsvg-2.40.20_4.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/librsvg
---> Attempting to fetch librsvg-2.40.20_4.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/librsvg
---> Installing librsvg @2.40.20_4
---> Activating librsvg @2.40.20_4
---> Cleaning librsvg
---> Fetching archive for emacs-app
---> Attempting to fetch emacs-app-27.1_5+rsvg.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/emacs-app
---> Attempting to fetch emacs-app-27.1_5+rsvg.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/emacs-app
---> Installing emacs-app @27.1_5+rsvg
---> Activating emacs-app @27.1_5+rsvg
---> Cleaning emacs-app
---> Updating database of binaries
---> Scanning binaries for linking errors
---> No broken files found.
---> No broken ports found.
---> Some of the ports you installed have notes:
python38 has the following notes:
To make this the default Python or Python 3 (i.e., the version run by the 'python' or 'python3' commands), run one or both of:
sudo port select --set python python38
sudo port select --set python3 python38
makoto@MakotonoMacBook-Air ~ %
気になった箇所を抜粋。
---> Cleaning xpm
Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
---> Fetching archive for gd2
---> Cleaning xorg-libXaw
Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
---> Fetching archive for graphviz
---> Some of the ports you installed have notes:
python38 has the following notes:
To make this the default Python or Python 3 (i.e., the version run by the 'python' or 'python3' commands), run one or both of:
sudo port select --set python python38
sudo port select --set python3 python38
それぞれ、実行して見ます。
% xcode-select --install
xcode-select: note: install requested for command line developer tools
はい。インストールします。
勿論、同意します。
無関係ですが、M1 はバッテリーの持ちが良いので、ついつい充電を忘れがちです。
結構掛かりそう。
でも、その後、少しずつ短縮されて大体 20 分位かな?
完了。
次は、
% sudo port select --set python python38
Password:
Selecting 'python38' for 'python' succeeded. 'python38' is now active.
% sudo port select --set python3 python38
Selecting 'python38' for 'python3' succeeded. 'python38' is now active.
んー、これで良いのかな?
この辺りを参考に、
% sudo port selfupdate
Password:
---> Updating MacPorts base sources using rsync
MacPorts base version 2.6.4 installed,
MacPorts base version 2.6.4 downloaded.
---> Updating the ports tree
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated
を実行。「upgrade」は全部のバージョンを上げてしまうはずなので行わない。
ここまでやって、まだ CUI も GUI も emacs はインストールされていないっぽいので、
再度、
% sudo port install emacs-app
Password:
---> Computing dependencies for emacs-app
---> Cleaning emacs-app
---> Scanning binaries for linking errors
---> No broken files found.
---> No broken ports found.
% emacs --version
zsh: command not found: emacs
でもダメか。
を参考にさせて頂き、
インストール可能なパッケージは、
% sudo port search emacs
実行結果
% sudo port search emacs
auctex @12.3 (editors, print)
A major emacs mode for editing TeX files.
beancount.el @20210109 (lang, editors)
Beancount mode for Emacs
cask @0.8.6 (devel)
Project management tool for Emacs
cedet @1.1 (editors)
Infrastructure for parser based text analysis in Emacs
color-theme-mode.el @6.6.0 (editors)
color-theme is an emacs-lisp mode for skinning your emacs
d-mode.el @2.0.4 (lang, editors)
D Programming Language mode for (X)Emacs
ecb @2.40_2 (editors)
Emacs Code Browser
emacs @27.1_5 (editors)
The GNU Emacs text editor
emacs-app @27.1_5 (editors, aqua)
The GNU Emacs text editor
emacs-app-devel @20210105 (editors, aqua)
The GNU Emacs text editor
emacs-devel @20210105 (editors)
The GNU Emacs text editor
emacs-mac-app @8.1 (aqua, editors)
Emacs Mac port
emacs-mac-app-devel @20201223 (aqua, editors)
Emacs Mac port
emacs-w3m @20191030.537 (www)
Use the textual w3m web browser from Emacs
emacs-w3m-devel @20120808_1 (www)
Obsolete port, replaced by emacs-w3m
erc @5.3 (irc)
An irc client for emacs
ess @13.09-1 (math, science)
Emacs mode for statistical programming and analysis
haskell-mode.el @2.4 (lang, editors)
An emacs major mode for editing haskell programs.
jove @4.16.0.70_1 (editors)
Jonathan's Own Version of Emacs
lookup @1.4-media-20121122_1 (textproc, japanese)
Dictionary search interface for Emacs, including the media patch
magit @1.2.2 (devel, editors)
Magit is an interface to Git for Emacs
markdown-mode.el @2.3 (editors)
An Emacs mode for editing Markdown files
mediawiki.el @2.2.4.1 (editors)
An Emacs mode for editing MediaWiki content
mg @6.8.1 (editors)
small Emacs-like editor
n3-mode.el @201410300 (editors)
An Emacs mode for editing N3 ("Notation 3") and Turtle RDF
nxml-mode @20041004 (editors, lang)
An Emacs mode for editing XML files
ocaml-mode.el @3.05 (lang, editors, ocaml)
An EMACS major mode for editing OCaml programs.
org-mode @9.4 (editors)
an Emacs Mode for Notes, Project Planning, and Authoring
php-mode.el @1.24.0 (lang, editors)
PHP mode for Emacs
po-mode.el @0.19.8.1 (editors, devel)
The 'po' file mode for Emacs
prolog-mode.el @1.27 (lang, editors)
An emacs major mode for editing prolog programs.
ProofGeneral @4.2 (math)
An emacs mode for interactive prooving
psgml @1.3.1 (editors, textproc)
XML/SGML editing mode for emacs
pure-mode.el @0.68 (lang, editors)
Emacs mode for editing Pure files
py-epc @0.0.5 (python)
EPC (RPC stack for Emacs Lisp) for Python
py-pymacs @0.25 (python)
python/emacs integration
py-ropemacs @0.8 (python)
An emacs mode for using rope python refactoring library
py27-epc @0.0.5 (python)
EPC (RPC stack for Emacs Lisp) for Python
py27-pymacs @0.25 (python)
python/emacs integration
py27-ropemacs @0.8 (python)
An emacs mode for using rope python refactoring library
py35-epc @0.0.5 (python)
EPC (RPC stack for Emacs Lisp) for Python
py36-epc @0.0.5 (python)
EPC (RPC stack for Emacs Lisp) for Python
python-mode.el @1.0 (lang, python, editors)
python-mode is an X/Emacs major mode for editing Python source code
rtags @2.38_2 (devel)
A client/server indexer for c/c++/objc[++] with integration for Emacs based on clang
slime @2.20 (lang)
An Emacs mode for unifying Common Lisp development
sml-mode.el @6.10 (lang, editors)
An EMACS major mode for editing Standard ML
tex-whizzytex @1.3.6 (tex)
An emacs minor mode for incremental viewing of LaTeX documents
tuareg-mode.el @2.0.2 (lang, editors)
A GNU Emacs/XEmacs major mode for editing Caml and OCaml programs.
vile @9.8u (editors)
Vi Like Emacs
xemacs @21.4.22_17 (editors, x11)
A highly customizable open-source text editor.
yaml-mode.el @0.0.8 (editors)
An emacs major mode for editing yaml files.
zile @2.4.15 (editors)
Zile Is Lossy Emacs
Found 52 ports.
ふむふむ。
今、インストールされているのは、
% sudo port installed
実行結果
% sudo port installed
The following ports are currently installed:
autoconf @2.71_1 (active)
automake @1.16.3_0 (active)
brotli @1.0.9_1 (active)
bzip2 @1.0.8_0 (active)
cairo @1.16.0_2+quartz+x11 (active)
curl-ca-bundle @7.75.0_0 (active)
db48 @4.8.30_4 (active)
emacs-app @27.1_5+rsvg (active)
expat @2.2.10_0 (active)
fontconfig @2.13.1_1 (active)
freetype @2.10.4_0 (active)
fribidi @1.0.10_0 (active)
gd2 @2.3.2_0+x11 (active)
gdbm @1.19_0 (active)
gdk-pixbuf2 @2.42.2_2+x11 (active)
gettext @0.19.8.1_2 (active)
giflib @4.2.3_0 (active)
glib2 @2.58.3_1+x11 (active)
gmp @6.2.1_0 (active)
gnutls @3.6.15_0+doc (active)
gobject-introspection @1.60.2_5 (active)
graphite2 @1.3.13_1 (active)
graphviz @2.40.1_4+pangocairo+x11 (active)
gts @0.7.6-20121130_1 (active)
harfbuzz @2.7.4_0 (active)
icu @67.1_3 (active)
jansson @2.13.1_0 (active)
jasper @2.0.14_1 (active)
lcms2 @2.12_0 (active)
libcroco @0.6.13_1 (active)
libde265 @1.0.8_0 (active)
libedit @20210216-3.1_0 (active)
libffi @3.3_1 (active)
libheif @1.9.1_2 (active)
libiconv @1.16_1 (active)
libidn2 @2.3.0_0 (active)
libjpeg-turbo @2.0.6_0 (active)
libLASi @1.1.3_1 (active)
libnetpbm @10.93.00_0 (active)
libpixman @0.38.4_0 (active)
libpng @1.6.37_0 (active)
librsvg @2.40.20_4 (active)
libtasn1 @4.16.0_0 (active)
libtool @2.4.6_11 (active)
libunistring @0.9.10_0 (active)
libxml2 @2.9.10_1 (active)
libxslt @1.1.34_4 (active)
lz4 @1.9.3_0 (active)
m4 @1.4.18_2 (active)
ncurses @6.2_1 (active)
nettle @3.7.1_0 (active)
openssl @1.1.1j_0 (active)
ossp-uuid @1.6.2_12+perl5_28 (active)
p11-kit @0.23.22_0 (active)
pango @1.42.4_2+quartz+x11 (active)
pcre @8.44_1 (active)
perl5.28 @5.28.3_1 (active)
pkgconfig @0.29.2_0 (active)
py38-beaker @1.11.0_0 (active)
py38-mako @1.1.4_0 (active)
py38-markdown @3.3.3_0 (active)
py38-markupsafe @1.1.1_0 (active)
py38-setuptools @51.3.3_0 (active)
python3_select @0.0_2 (active)
python38 @3.8.8_0 (active)
python_select @0.3_9 (active)
readline @8.1.000_0 (active)
shared-mime-info @2.1_0 (active)
sqlite3 @3.34.1_0 (active)
tiff @4.2.0_1 (active)
urw-fonts @1.0.7pre44_0 (active)
vala @0.50.3_0 (active)
webp @1.2.0_0 (active)
x265 @3.4_0 (active)
Xft2 @2.3.3_0 (active)
xorg-libice @1.0.10_0 (active)
xorg-libpthread-stubs @0.4_0 (active)
xorg-libsm @1.2.3_0 (active)
xorg-libX11 @1.7.0_0 (active)
xorg-libXau @1.0.9_0 (active)
xorg-libXaw @1.0.13_2 (active)
xorg-libxcb @1.14_0+python39 (active)
xorg-libXdmcp @1.1.3_0 (active)
xorg-libXext @1.3.4_0 (active)
xorg-libXmu @1.1.3_0 (active)
xorg-libXt @1.2.1_0 (active)
xorg-xcb-proto @1.14.1_0+python39 (active)
xorg-xcb-util @0.4.0_1 (active)
xorg-xorgproto @2021.3_0 (active)
xpm @3.5.13_0 (active)
xrender @0.9.10_1 (active)
xz @5.2.5_0 (active)
zlib @1.2.11_0 (active)
zstd @1.4.9_0 (active)
を拝見すると、emacs 自体が入っていないからかな?
% sudo port install emacs
---> Computing dependencies for emacs
---> Fetching archive for emacs
---> Attempting to fetch emacs-27.1_5.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/emacs
---> Attempting to fetch emacs-27.1_5.darwin_20.arm64.tbz2.rmd160 from https://kmq.jp.packages.macports.org/emacs
---> Installing emacs @27.1_5
---> Activating emacs @27.1_5
---> Cleaning emacs
---> Scanning binaries for linking errors
---> No broken files found.
---> No broken ports found.
よしよし。
% emacs --version
GNU Emacs 27.1
Copyright (C) 2020 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
OK。
そかそか、
完了!
長かった。(←サイトをよく読め。)
実行コマンド( MacPorts 編) - まとめ
MacPorts
・「macOS Big Sur v11」リンクから、「pkg」ファイルをダウンロードして実行します。
・PATH を通します。
% echo 'export PATH=/opt/local/bin/:$PATH' >> ~/.zshrc
% source ~/.zshrc
・動作確認します。
% port -v
MacPorts 2.6.4
Entering shell mode... ("help" for help, "quit" to quit)
[Users/[ユーザ名]] > quit
Goodbye
Emacs
・Command Line Tools をインストールします。
% xcode-select --install
・Emacs をインストールします。
% sudo port install emacs emacs-app
・動作確認します。
% emacs --version
GNU Emacs 27.1
Copyright (C) 2020 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
・「/Applications/Macports/Emacs.app」を「/Applications」にコピーします。
・「/Applications/Emacs.app」を実行し、動作確認します。
でした!
以上