gmake[3]: Entering directory '/usr/ports/devel/git/work-default/git-2.31.1/contrib/subtree' gmake -C ../../ GIT-VERSION-FILE gmake[4]: Entering directory '/usr/ports/devel/git/work-default/git-2.31.1' gmake[4]: 'GIT-VERSION-FILE' is up to date. gmake[4]: Leaving directory '/usr/ports/devel/git/work-default/git-2.31.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.31.1 -I../../Documentation -rasciidoctor-extensions -alitdd='--' git-subtree.txt xmlto -m ../../Documentation/manpage-normal.xsl --skip-validation man git-subtree.xml /usr/local/bin/xmlto: line 286: /usr/local/bin/getopt: No such file or directory usage: xmlto [OPTION]... FORMAT XML OPTIONs are: -v verbose output (-vv for very verbose) -x stylesheet use the specified stylesheet instead of choosing one -m fragment use the XSL fragment to customize the stylesheet -o directory put output in the specified directory instead of the current working directory -p postprocopts pass option to postprocessor --extensions turn on stylesheet extensions for this tool chain --noautosize do not autodetect paper size via locales or paperconf --noclean temp files are not deleted automatically (good for diagnostics) --noextensions do not use passivetex/fop extensions --profile use profiling stylesheet --searchpath colon-separated list of fallback directories --skip-validation do not attempt to validate the input before processing --stringparam paramname=paramvalue pass a named parameter to the stylesheet from the command line --with-fop use fop for formatting (if fop available) --with-dblatex use dblatex for formatting (if dblatex available) Available FORMATs depend on the type of the XML file (which is determined automatically). For documents of type "fo": awt dvi mif pcl pdf ps svg txt For documents of type "docbook": awt epub html htmlhelp man pcl ps txt xhtml-nochunks dvi fo html-nochunks javahelp mif pdf svg xhtml For documents of type "xhtml1": awt dvi fo mif pcl pdf ps svg txt gmake[3]: *** [Makefile:83: git-subtree.1] Error 1 gmake[3]: Leaving directory '/usr/ports/devel/git/work-default/git-2.31.1/contrib/subtree' *** Error code 2 Stop. make[2]: stopped in /usr/ports/devel/git *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/git *** Error code 1 Stop. make: stopped in /usr/ports/devel/git My options from make.conf: devel_git_UNSET+=\ CVS \ GITWEB \ GUI \ P4 \ SEND_EMAIL \ SVN
Can I add a "me too" here? This is on 13-RELEASE from install media dated 20210409 and ports tree cloned this morning. My only change from defaults options, is the omission of GITWEB: OPTIONS_FILE_SET+=CONTRIB OPTIONS_FILE_SET+=CURL OPTIONS_FILE_SET+=CVS OPTIONS_FILE_UNSET+=GITWEB OPTIONS_FILE_UNSET+=GUI OPTIONS_FILE_UNSET+=HTMLDOCS OPTIONS_FILE_SET+=ICONV OPTIONS_FILE_SET+=NLS OPTIONS_FILE_SET+=P4 OPTIONS_FILE_SET+=PCRE2 OPTIONS_FILE_SET+=PERL OPTIONS_FILE_SET+=SEND_EMAIL OPTIONS_FILE_SET+=SUBTREE OPTIONS_FILE_UNSET+=SVN The build fails at: ===> Installing contributed scripts /bin/mkdir -p /usr/ports/devel/git/work-default/stage/usr/local/share/git-core/contrib cp -f -R /usr/ports/devel/git/work-default/git-2.31.1/contrib/* /usr/ports/devel/git/work-default/stage/usr/local/share/git-core/contrib cp: /usr/ports/devel/git/work-default/git-2.31.1/contrib/credential/netrc/test.netrc.gpg: Function not implemented *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/git As a ports MAINTAINER. This makes it pretty much impossible to maintain ports. :-( Quick remediation would be GREATLY appreciated. :-) Thanks! --Chris
OK upon closer examination. It appears yours is somewhat different than mine. So I've moved mine to a different pr(1). ( bug #255885 )
(In reply to Mohammad S. Babaei from comment #0) This seems to be a xmlto error. It's looking for getopt binary in the wrong directory. I'm adding mandree@, who is xmlto maintainer to the CC list
Mohammad, Renato, this seems quite strange. xmlto depends on misc/getopt, and includes it in BUILD_DEPENDS and RUN_DEPENDS. Something removed and/or damaged getopt without removing xmlto. Please try reinstalling textproc/xmlto and/or misc/getopt, then this issue should go away.
It seems to be an environment problem. Closing after 3 months with no answers, if needed we can re-open.