- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2022-05-18T11:40:52+09:00","default:kuji","kuji")
#author("2022-05-18T11:49:09+09:00","default:kuji","kuji")
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*gmake[1]: *** [Makefile:86: git-subtree.xml] Error 127 [#de5f980a]
**portupgrade -r --batch devel/git [#z65a9e03]
https://lists.freebsd.org/pipermail/freebsd-current/2021-January/078128.html
ult/stage install install-doc
gmake[1]: Entering directory '/usr/ports/devel/git/work-default/git-2.36.1/contrib/subtree'
gmake -C ../../ GIT-VERSION-FILE
gmake[2]: Entering directory '/usr/ports/devel/git/work-default/git-2.36.1'
gmake[2]: 'GIT-VERSION-FILE' is up to date.
gmake[2]: Leaving directory '/usr/ports/devel/git/work-default/git-2.36.1'
sed -e '1s|#!.*/sh|#!/bin/sh|' git-subtree.sh >git-subtree
chmod +x git-subtree
install -d -m 755 /usr/ports/devel/git/work-default/stage/usr/local/libexec/git-core
install -m 755 git-subtree /usr/ports/devel/git/work-default/stage/usr/local/libexec/git-core
asciidoctor -b docbook -d manpage \
-agit_version=2.36.1 -I../../Documentation -rasciidoctor-extensions -alitdd='--' git-subtree.txt
gmake[1]: asciidoctor: No such file or directory
gmake[1]: *** [Makefile:86: git-subtree.xml] Error 127
gmake[1]: Leaving directory '/usr/ports/devel/git/work-default/git-2.36.1/contrib/subtree'
*** Error code 2
Stop.
make: stopped in /usr/ports/devel/git
egrep: empty (sub)expression
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20220518-81151-7ybch7 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=git-2.36.0 UPGRADE_PORT_VER=2.36.0 make BATCH=yes
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
*SOLVED [#w41f0e2c]
# /usr/local/bin/asciidoctor
# /usr/local/bin/asciidoctor: Command not found
# locate asciidoctor
# portupgrade -rf rubygem-asciidoctor
# /usr/local/bin/asciidoctor
Usage: asciidoctor [OPTION]... FILE...
Convert the AsciiDoc input FILE(s) to the backend output format (e.g., HTML 5, DocBook 5, etc.)
Unless specified otherwise, the output is written to a file whose name is derived from the input file.
Application log messages are printed to STDERR.
Example: asciidoctor input.adoc
-b, --backend BACKEND set backend output format: [html5, xhtml5, docbook5, manpage] (default: html5)
additional backends are supported via extended converters (e.g., pdf, epub3)
Sniff
-v, --verbose directs application messages logged at DEBUG or INFO level to STDERR (default: false)
-w, --warnings turn on script warnings (default: false)
-t, --timings print timings report (default: false)
-h, --help [TOPIC] print a help message
show this usage if TOPIC is not specified or recognized
show an overview of the AsciiDoc syntax if TOPIC is syntax
dump the Asciidoctor man page (in troff/groff format) if TOPIC is manpage
-V, --version display the version and runtime environment (or -v if no other flags or arguments)
# portupgrade -r --batch devel/git
Solved
----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);