[Bug 270508] devel/git: build dies claiming asciidoctor not found

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 Mar 2023 00:08:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270508

            Bug ID: 270508
           Summary: devel/git: build dies claiming asciidoctor not found
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: garga@FreeBSD.org
          Reporter: george@m5p.com
          Assignee: garga@FreeBSD.org
             Flags: maintainer-feedback?(garga@FreeBSD.org)

Here is the tail end of the build log:

cd /usr/ports/devel/git/work-default/git-2.40.0/contrib/subtree && /usr/bin/env
V=1 CURLDIR=/usr/local OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl
OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib PERL_USE_UNSAFE_INC=1
XDG_DATA_HOME=/usr/ports/devel/git/work-default 
XDG_CONFIG_HOME=/usr/ports/devel/git/work-default 
XDG_CACHE_HOME=/usr/ports/devel/git/work-default/.cache 
HOME=/usr/ports/devel/git/work-default TMPDIR="/tmp"
PATH=/usr/ports/devel/git/work-default/.bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
PKG_CONFIG_LIBDIR=/usr/ports/devel/git/work-default/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES
DEFAULT_AUTOCONF=2.71 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc"
CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem/usr/local/include
-DLIBICONV_PLUG"  LDFLAGS=" -L/usr/local/lib  -fstack-protector-strong "
LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing  -DLIBICONV_PLUG "  MANPREFIX="/usr/local"
BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"
 BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644" 
BSD_INSTALL_MAN="install  -m 444"  gmake -f Makefile USE_ASCIIDOCTOR=1 
DEVELOPER= NO_TCLTK=yes NO_GITWEB=1
DESTDIR=/usr/ports/devel/git/work-default/stage install install-doc
gmake[2]: Entering directory
'/usr/ports/devel/git/work-default/git-2.40.0/contrib/subtree'
gmake -C ../../ GIT-VERSION-FILE
gmake[3]: Entering directory '/usr/ports/devel/git/work-default/git-2.40.0'
gmake[3]: 'GIT-VERSION-FILE' is up to date.
gmake[3]: Leaving directory '/usr/ports/devel/git/work-default/git-2.40.0'
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.40.0 -I../../Documentation -rasciidoctor-extensions
-alitdd='&#x2d;&#x2d;' git-subtree.txt
gmake[2]: asciidoctor: No such file or directory
gmake[2]: *** [Makefile:86: git-subtree.xml] Error 127
gmake[2]: Leaving directory
'/usr/ports/devel/git/work-default/git-2.40.0/contrib/subtree'
*** Error code 2

Stop.
make[1]: stopped in /usr/ports/devel/git
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/git

===>>> make stage failed for devel/git
===>>> Aborting update


However, /usr/local/bin/asciidoctor definitely exists.

-- 
You are receiving this mail because:
You are the assignee for the bug.