pkg/60057: net/wireshark docs not built (can't find asciidoctor)

"[email protected] via gnats" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs
Message-ID <[email protected]>
>Number:         60057
>Category:       pkg
>Synopsis:       net/wireshark docs not built (can't find asciidoctor)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 04 20:00:00 +0000 2026
>Originator:     Robert Whitlock
>Release:        pkgsrc current, March 3 2026, UTC
>Organization:
>Environment:
NetBSD 10.99.15, amd64
>Description:
Building net/wireshark with the doc option fails because the docs aren't built because asciidoctor isn't found.


=> Checking file-check results for wireshark-4.6.4
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg:
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/androiddump.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/capinfos.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/captype.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/ciscodump.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/dumpcap.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/editcap.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/etwdump.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/falcodump.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/mergecap.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/mmdbresolve.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/randpkt.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/randpktdump.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/rawshark.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/reordercap.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/sshdig.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/sshdump.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/strato.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/stratoshark.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/text2pcap.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/tshark.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/udpdump.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/wifidump.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man1/wireshark.1
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man4/extcap.4
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/man/man4/wireshark-filter.4
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/Stratoshark Release Notes.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/Wireshark Release Notes.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/androiddump.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/capinfos.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/captype.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/ciscodump.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/dumpcap.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/editcap.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/etwdump.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/extcap.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/falcodump.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/mergecap.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/mmdbresolve.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/randpkt.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/randpktdump.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/rawshark.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/reordercap.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/sshdig.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/sshdump.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/strato.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/stratoshark.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/text2pcap.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/tshark.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/udpdump.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/wifidump.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/wireshark-filter.html
ERROR:         /usr/pkg-work/net/wireshark/work/.destdir/usr/pkg/share/doc/wireshark/wireshark.html
*** Error code 1

Stop.
make[1]: stopped making "install" in /usr/pkgsrc/net/wireshark
*** Error code 1

Stop.
make: stopped making "install" in /usr/pkgsrc/net/wireshark


This happens because of an earlier error:


-- Could NOT find Asciidoctor (missing: ASCIIDOCTOR_EXECUTABLE) (Required is at least version "1.5")


so I added the following line in options.mk:


Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/net/wireshark/options.mk,v
retrieving revision 1.38
diff -u -r1.38 options.mk
--- options.mk  3 May 2025 17:26:03 -0000       1.38
+++ options.mk  4 Mar 2026 19:49:49 -0000
@@ -19,6 +19,7 @@
 PRINT_PLIST_AWK+=      /^share\/doc\/.*\.html$$/ { $$0 = "$${PLIST.doc}" $$0 }
 TOOL_DEPENDS+=          libxslt-[0-9]*:../../textproc/libxslt
 TOOL_DEPENDS+=          ${RUBY_PKGPREFIX}-asciidoctor>=1.5:../../textproc/ruby-asciidoctor
+CMAKE_CONFIGURE_ARGS+=  -DASCIIDOCTOR_EXECUTABLE=asciidoctor${RUBY_SUFFIX}
 .else
 CMAKE_CONFIGURE_ARGS+=  -DCMAKE_DISABLE_FIND_PACKAGE_Asciidoctor=TRUE
 .endif


but that still resulted in errors:



===> Configuring for wireshark-4.6.4
=> Generating pkg-config file for builtin expat package.
=> Fixing hard-coded path to lemon/lempar.c.
=> Generating pkg-config files for builtin xz package.
=> Replacing python interpreter in tools/asn2deb tools/asn2wrs.py tools/html2text.py tools/idl2deb tools/indexcap.py tools/msnchat tools/ncp2222.py tools/pkt-from-core.py tools/rdps.py.
=> Adding run-time search paths to pkg-config files.
-- The C compiler identification is GNU 12.4.0
-- The CXX compiler identification is GNU 12.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/pkg-work/net/wireshark/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/pkg-work/net/wireshark/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Generating build using CMake 4.2.3
-- Found Python3: /usr/pkg/bin/python3.13 (found suitable version "3.13.12", minimum required is "3.6") found components: Interpreter
-- Found Perl: /usr/pkg-work/net/wireshark/work/.tools/bin/perl (found version "5.42.0")
-- Using "Unix Makefiles" generator and build type "Release"
-- LTO/IPO is not enabled
-- Looking for native LFS support
-- Looking for native LFS support - found
-- Found LFS: TRUE
-- Looking for native fseeko support
-- Looking for native fseeko support - found
-- Found FSEEKO: TRUE
-- V: 4.6.4, MaV: 4, MiV: 6, PL: 4, EV: .
-- Performing Test C_Wall_VALID
-- Performing Test C_Wall_VALID - Success
-- Performing Test C_Wextra_VALID
-- Performing Test C_Wextra_VALID - Success
-- Performing Test C_Wformat_VALID
-- Performing Test C_Wformat_VALID - Success
-- Performing Test C_Wformat_2_VALID
-- Performing Test C_Wformat_2_VALID - Success
-- Performing Test C_Wtrampolines_VALID
-- Performing Test C_Wtrampolines_VALID - Success
-- Performing Test C_Wbidi_chars_any_VALID
-- Performing Test C_Wbidi_chars_any_VALID - Success
-- Performing Test C_Wpointer_arith_VALID
-- Performing Test C_Wpointer_arith_VALID - Success
-- Performing Test C_Wformat_security_VALID
-- Performing Test C_Wformat_security_VALID - Success
-- Performing Test C_fexcess_precision_fast_VALID
-- Performing Test C_fexcess_precision_fast_VALID - Success
-- Performing Test C_Wvla_VALID
-- Performing Test C_Wvla_VALID - Success
-- Performing Test C_Wattributes_VALID
-- Performing Test C_Wattributes_VALID - Success
-- Performing Test C_Wpragmas_VALID
-- Performing Test C_Wpragmas_VALID - Success
-- Performing Test C_Wheader_guard_VALID
-- Performing Test C_Wheader_guard_VALID - Failed
-- Performing Test C_Wcomma_VALID
-- Performing Test C_Wcomma_VALID - Failed
-- Performing Test C_Wshorten_64_to_32_VALID
-- Performing Test C_Wshorten_64_to_32_VALID - Failed
-- Performing Test C_Wredundant_decls_VALID
-- Performing Test C_Wredundant_decls_VALID - Success
-- Performing Test C_Wunreachable_code_VALID
-- Performing Test C_Wunreachable_code_VALID - Success
-- Performing Test C_Wdocumentation_VALID
-- Performing Test C_Wdocumentation_VALID - Failed
-- Performing Test C_Wlogical_op_VALID
-- Performing Test C_Wlogical_op_VALID - Success
-- Performing Test C_Wextra_semi_VALID
-- Performing Test C_Wextra_semi_VALID - Failed
-- Performing Test C_fstrict_flex_arrays_3_VALID
-- Performing Test C_fstrict_flex_arrays_3_VALID - Failed
-- Performing Test C_fstack_clash_protection_VALID
-- Performing Test C_fstack_clash_protection_VALID - Success
-- Performing Test C_fcf_protection_full_VALID
-- Performing Test C_fcf_protection_full_VALID - Success
-- Performing Test C_mbranch_protection_standard_VALID
-- Performing Test C_mbranch_protection_standard_VALID - Failed
-- Performing Test C_D_GLIBCXX_ASSERTIONS_VALID
-- Performing Test C_D_GLIBCXX_ASSERTIONS_VALID - Success
-- Performing Test C_fstack_protector_strong_VALID
-- Performing Test C_fstack_protector_strong_VALID - Success
-- Performing Test C_fno_delete_null_pointer_checks_VALID
-- Performing Test C_fno_delete_null_pointer_checks_VALID - Success
-- Performing Test C_fno_strict_overflow_VALID
-- Performing Test C_fno_strict_overflow_VALID - Success
-- Performing Test C_fno_strict_aliasing_VALID
-- Performing Test C_fno_strict_aliasing_VALID - Success
-- Performing Test C_ftrivial_auto_var_init_VALID
-- Performing Test C_ftrivial_auto_var_init_VALID - Failed
-- Performing Test C_fexceptions_VALID
-- Performing Test C_fexceptions_VALID - Success
-- Performing Test C_U_FORTIFY_SOURCE_VALID
-- Performing Test C_U_FORTIFY_SOURCE_VALID - Success
-- Performing Test C_D_FORTIFY_SOURCE_3_VALID
-- Performing Test C_D_FORTIFY_SOURCE_3_VALID - Success
-- Performing Test C_Wframe_larger_than_32768_VALID
-- Performing Test C_Wframe_larger_than_32768_VALID - Success
-- Performing Test C_Wno_format_truncation_VALID
-- Performing Test C_Wno_format_truncation_VALID - Success
-- Performing Test C_Wno_format_nonliteral_VALID
-- Performing Test C_Wno_format_nonliteral_VALID - Success
-- Performing Test C_Wshadow_VALID
-- Performing Test C_Wshadow_VALID - Success
-- Performing Test C_Wold_style_definition_VALID
-- Performing Test C_Wold_style_definition_VALID - Success
-- Performing Test C_Wstrict_prototypes_VALID
-- Performing Test C_Wstrict_prototypes_VALID - Success
-- Performing Test C_Wincompatible_pointer_types_VALID
-- Performing Test C_Wincompatible_pointer_types_VALID - Success
-- Performing Test C_Wint_conversion_VALID
-- Performing Test C_Wint_conversion_VALID - Success
-- Performing Test C_Wno_pointer_sign_VALID
-- Performing Test C_Wno_pointer_sign_VALID - Success
-- Performing Test CXX_Wall_VALID
-- Performing Test CXX_Wall_VALID - Success
-- Performing Test CXX_Wextra_VALID
-- Performing Test CXX_Wextra_VALID - Success
-- Performing Test CXX_Wformat_VALID
-- Performing Test CXX_Wformat_VALID - Success
-- Performing Test CXX_Wformat_2_VALID
-- Performing Test CXX_Wformat_2_VALID - Success
-- Performing Test CXX_Wtrampolines_VALID
-- Performing Test CXX_Wtrampolines_VALID - Success
-- Performing Test CXX_Wbidi_chars_any_VALID
-- Performing Test CXX_Wbidi_chars_any_VALID - Success
-- Performing Test CXX_Wpointer_arith_VALID
-- Performing Test CXX_Wpointer_arith_VALID - Success
-- Performing Test CXX_Wformat_security_VALID
-- Performing Test CXX_Wformat_security_VALID - Success
-- Performing Test CXX_fexcess_precision_fast_VALID
-- Performing Test CXX_fexcess_precision_fast_VALID - Success
-- Performing Test CXX_Wvla_VALID
-- Performing Test CXX_Wvla_VALID - Success
-- Performing Test CXX_Wattributes_VALID
-- Performing Test CXX_Wattributes_VALID - Success
-- Performing Test CXX_Wpragmas_VALID
-- Performing Test CXX_Wpragmas_VALID - Success
-- Performing Test CXX_Wheader_guard_VALID
-- Performing Test CXX_Wheader_guard_VALID - Failed
-- Performing Test CXX_Wcomma_VALID
-- Performing Test CXX_Wcomma_VALID - Failed
-- Performing Test CXX_Wshorten_64_to_32_VALID
-- Performing Test CXX_Wshorten_64_to_32_VALID - Failed
-- Performing Test CXX_Wredundant_decls_VALID
-- Performing Test CXX_Wredundant_decls_VALID - Success
-- Performing Test CXX_Wunreachable_code_VALID
-- Performing Test CXX_Wunreachable_code_VALID - Success
-- Performing Test CXX_Wdocumentation_VALID
-- Performing Test CXX_Wdocumentation_VALID - Failed
-- Performing Test CXX_Wlogical_op_VALID
-- Performing Test CXX_Wlogical_op_VALID - Success
-- Performing Test CXX_Wextra_semi_VALID
-- Performing Test CXX_Wextra_semi_VALID - Success
-- Performing Test CXX_fstrict_flex_arrays_3_VALID
-- Performing Test CXX_fstrict_flex_arrays_3_VALID - Failed
-- Performing Test CXX_fstack_clash_protection_VALID
-- Performing Test CXX_fstack_clash_protection_VALID - Success
-- Performing Test CXX_fcf_protection_full_VALID
-- Performing Test CXX_fcf_protection_full_VALID - Success
-- Performing Test CXX_mbranch_protection_standard_VALID
-- Performing Test CXX_mbranch_protection_standard_VALID - Failed
-- Performing Test CXX_D_GLIBCXX_ASSERTIONS_VALID
-- Performing Test CXX_D_GLIBCXX_ASSERTIONS_VALID - Success
-- Performing Test CXX_fstack_protector_strong_VALID
-- Performing Test CXX_fstack_protector_strong_VALID - Success
-- Performing Test CXX_fno_delete_null_pointer_checks_VALID
-- Performing Test CXX_fno_delete_null_pointer_checks_VALID - Success
-- Performing Test CXX_fno_strict_overflow_VALID
-- Performing Test CXX_fno_strict_overflow_VALID - Success
-- Performing Test CXX_fno_strict_aliasing_VALID
-- Performing Test CXX_fno_strict_aliasing_VALID - Success
-- Performing Test CXX_ftrivial_auto_var_init_VALID
-- Performing Test CXX_ftrivial_auto_var_init_VALID - Failed
-- Performing Test CXX_fexceptions_VALID
-- Performing Test CXX_fexceptions_VALID - Success
-- Performing Test CXX_U_FORTIFY_SOURCE_VALID
-- Performing Test CXX_U_FORTIFY_SOURCE_VALID - Success
-- Performing Test CXX_D_FORTIFY_SOURCE_3_VALID
-- Performing Test CXX_D_FORTIFY_SOURCE_3_VALID - Success
-- Performing Test CXX_Wframe_larger_than_32768_VALID
-- Performing Test CXX_Wframe_larger_than_32768_VALID - Success
-- Performing Test CXX_Wno_format_truncation_VALID
-- Performing Test CXX_Wno_format_truncation_VALID - Success
-- Performing Test CXX_Wno_format_nonliteral_VALID
-- Performing Test CXX_Wno_format_nonliteral_VALID - Success
-- Performing Test C_fmacro_prefix_map_old_new_VALID
-- Performing Test C_fmacro_prefix_map_old_new_VALID - Success
-- Performing Test CXX_fmacro_prefix_map_old_new_VALID
-- Performing Test CXX_fmacro_prefix_map_old_new_VALID - Success
-- Performing Test C__fno_sanitize_all_VALID
-- Performing Test C__fno_sanitize_all_VALID - Success
-- Performing Test FVHIDDEN
-- Performing Test FVHIDDEN - Success
-- Performing Test LINK_Wl___as_needed_VALID
-- Performing Test LINK_Wl___as_needed_VALID - Success
-- Linker flags:  -Wl,--as-needed
-- Found Git: /usr/pkg/bin/git (found version "2.53.0")
-- Found PkgConfig: /usr/pkg-work/net/wireshark/work/.tools/bin/pkg-config (found version "2.5.1")
-- Checking for one of the modules 'glib-2.0'
-- Found GLIB2: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libglib-2.0.so (found suitable version "2.86.4", minimum required is "2.54.0")
-- Checking for module 'gmodule-2.0'
--   Found gmodule-2.0, version 2.86.4
-- Found GMODULE2: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libgmodule-2.0.so
-- Checking for module 'gthread-2.0'
--   Found gthread-2.0, version 2.86.4
-- Found GTHREAD2: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libgthread-2.0.so
-- Found GCRYPT: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libgcrypt.so (found suitable version "1.12.1", minimum required is "1.8.0")
-- Found CARES: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libcares.so (found suitable version "1.34.6", minimum required is "1.13.0")
-- Found LEX: /usr/pkg/bin/flex
-- Found PCRE2: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libpcre2-8.so (found version "10.47")
-- Found LibXml2: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libxml2.so (found suitable version "2.15.1", minimum required is "2.9.7")
-- Found Gettext: /usr/pkg/bin/msgmerge (found version "0.22.5")
-- Found M: m
-- Found LIBSSH: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libssh.so (found suitable version "0.11.1", minimum required is "0.8.5")
-- Checking for one of the modules 'libpcap'
-- Found PCAP: /usr/lib/libpcap.so
-- Looking for pcap_set_tstamp_precision
-- Looking for pcap_set_tstamp_precision - found
-- Looking for pcap_open
-- Looking for pcap_open - found
-- Looking for pcap_setsampling
-- Looking for pcap_setsampling - found
-- Looking for PCAP_ERROR_PROMISC_PERM_DENIED
-- Looking for PCAP_ERROR_PROMISC_PERM_DENIED - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libGL.so
-- Found WrapOpenGL: TRUE
-- Found Cups: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libcups.so (found version "2.4.16")
-- Found MaxMindDB: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libmaxminddb.so
-- Found SMI: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libsmi.so
-- Looking for smi_version_string
-- Looking for smi_version_string - found
-- Checking for one of the modules 'gnutls'
-- Found GNUTLS: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libgnutls.so (found suitable version "3.8.12", minimum required is "3.5.8")
-- Checking for one of the modules 'krb5;mit-krb5;heimdal-krb5'
-- Looking for heimdal_version
-- Looking for heimdal_version - found
-- Looking for krb5_pac_verify
-- Looking for krb5_pac_verify - found
-- Looking for krb5_c_fx_cf2_simple
-- Looking for krb5_c_fx_cf2_simple - not found
-- Looking for decode_krb5_enc_tkt_part
-- Looking for decode_krb5_enc_tkt_part - not found
-- Looking for encode_krb5_enc_tkt_part
-- Looking for encode_krb5_enc_tkt_part - not found
-- Checking for one of the modules 'libxxhash'
-- Could NOT find XXHASH (missing: XXHASH_LIBRARY XXHASH_INCLUDE_DIR) 
-- Checking for one of the modules 'zlib-ng'
-- Found ZLIBNG: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libz-ng.so
-- Looking for zng_gzopen
-- Looking for zng_gzopen - found
-- Checking for one of the modules 'zlib'
-- Found ZLIB: /usr/lib/libz.so
-- Looking for inflate
-- Looking for inflate - found
-- Looking for inflatePrime
-- Looking for inflatePrime - found
-- Could NOT find Minizipng (missing: MINIZIPNG_LIBRARY MINIZIPNG_INCLUDE_DIR) (found version "")
-- Found Minizip: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libminizip.so (found version "1.3.2")
-- Performing Test HAVE_MZCOMPAT_DOS_DATE
-- Performing Test HAVE_MZCOMPAT_DOS_DATE - Failed
-- Found BROTLI: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libbrotlidec.so
-- Checking for one of the modules 'lz4;liblz4'
-- Found LZ4: /usr/pkg-work/net/wireshark/work/.buildlink/lib/liblz4.so (found suitable version "1.10.0", minimum required is "1.8.0")
-- Looking for lz4frame.h
-- Looking for lz4frame.h - found
-- Found SNAPPY: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libsnappy.so
-- Checking for one of the modules 'libzstd'
-- Found ZSTD: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libzstd.so (found suitable version "1.5.7", minimum required is "1.0.0")
-- Checking for one of the modules 'libnghttp2'
-- Found NGHTTP2: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libnghttp2.so (Required is at least version "1.11.0")
-- Checking for one of the modules 'libnghttp3'
-- Found NGHTTP3: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libnghttp3.so
-- Considering the following Lua versions: 5.4;5.3
-- Found Lua: /usr/pkg-work/net/wireshark/work/.buildlink/lib/liblua5.4.so;/usr/lib/libm.so (found version "5.4.6")
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of LUA_INTEGER
-- Check size of LUA_INTEGER - done
-- Could NOT find SBC (missing: SBC_LIBRARY SBC_INCLUDE_DIR) 
-- Could NOT find BCG729 (missing: BCG729_LIBRARY BCG729_INCLUDE_DIR) 
-- Checking for one of the modules 'opencore-amrnb'
-- Found AMRNB: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libopencore-amrnb.so
-- Checking for one of the modules 'opus'
-- Found OPUS: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libopus.so
CMake Error at cmake/modules/FindAsciidoctor.cmake:34 (list):
  list GET given empty list
Call Stack (most recent call first):
  CMakeLists.txt:1578 (find_package)


-- Found Asciidoctor: /usr/pkg-work/net/wireshark/work/wireshark-4.6.4/asciidoctor33 (Required is at least version "1.5")
-- Found XSLTPROC: /usr/pkg/bin/xsltproc
-- Found DOXYGEN: /usr/pkg/bin/doxygen
-- Checking for one of the modules 'speexdsp'
-- Found SpeexDSP: /usr/pkg-work/net/wireshark/work/.buildlink/lib/libspeexdsp.so
-- Looking for gnutls_pkcs11_obj_list_import_url4
-- Looking for gnutls_pkcs11_obj_list_import_url4 - found
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for grp.h
-- Looking for grp.h - found
-- Looking for include files sys/types.h, ifaddrs.h
-- Looking for include files sys/types.h, ifaddrs.h - found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - found
-- Looking for netdb.h
-- Looking for netdb.h - found
-- Looking for pwd.h
-- Looking for pwd.h - found
-- Looking for sys/select.h
-- Looking for sys/select.h - found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/utsname.h
-- Looking for sys/utsname.h - found
-- Looking for sys/wait.h
-- Looking for sys/wait.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Performing Test COMPILER_RUNS
-- Performing Test COMPILER_RUNS - Success
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for timespec_get
-- Looking for timespec_get - found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for tzset
-- Looking for tzset - found
-- Looking for tzname
-- Looking for tzname - found
-- Looking for getline
-- Looking for getline - found
-- Looking for getifaddrs
-- Looking for getifaddrs - found
-- Looking for issetugid
-- Looking for issetugid - found
-- Looking for setresgid
-- Looking for setresgid - not found
-- Looking for setresuid
-- Looking for setresuid - not found
-- Looking for memmem
-- Looking for memmem - found
-- Looking for memrchr
-- Looking for memrchr - found
-- Looking for strerrorname_np
-- Looking for strerrorname_np - not found
-- Looking for strptime
-- Looking for strptime - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE
-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE - Success
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME - Success
-- Performing Test HAVE_STRUCT_STAT___ST_BIRTHTIME
-- Performing Test HAVE_STRUCT_STAT___ST_BIRTHTIME - Failed
-- Performing Test HAVE_STRUCT_TM_TM_ZONE
-- Performing Test HAVE_STRUCT_TM_TM_ZONE - Success
-- Performing Test HAVE_STRUCT_TM_TM_GMTOFF
-- Performing Test HAVE_STRUCT_TM_TM_GMTOFF - Success
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Performing Test HAVE_C99_VSNPRINTF
-- Performing Test HAVE_C99_VSNPRINTF - Success
-- Looking for ssh_userauth_agent
-- Looking for ssh_userauth_agent - found
-- Performing Test COMPILER_CAN_HANDLE_SSE4_2
-- Performing Test COMPILER_CAN_HANDLE_SSE4_2 - Success
-- SSE4.2 compiler flag: -msse4.2
-- Looking for emmintrin.h
-- Looking for emmintrin.h - found
-- Looking for nmmintrin.h
-- Looking for nmmintrin.h - found
CMake Error at cmake/modules/FindAsciidoctor.cmake:34 (list):
  list GET given empty list
Call Stack (most recent call first):
  doc/CMakeLists.txt:10 (find_package)


-- VCSVERSION_OVERRIDE: 4.6.4
-- C-Flags: -fvisibility=hidden  -Wall -Wextra -Wformat -Wformat=2 -Wtrampolines -Wbidi-chars=any -Wpointer-arith -Wformat-security -fexcess-precision=fast -Wvla -Wattributes -Wpragmas -Wredundant-decls -Wunreachable-code -Wlogical-op -fstack-clash-protection -fcf-protection=full -D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -fexceptions -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wframe-larger-than=32768 -Wno-format-truncation -Wno-format-nonliteral -Wshadow -Wold-style-definition -Wstrict-prototypes -Wincompatible-pointer-types -Wint-conversion -Wno-pointer-sign -O2 -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/include -Dz_off_t=long -I/usr/pkg/include/lua-5.4 -I/usr/include/readline -I/usr/pkg/qt6/include -I/us
 r/include/krb5 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/
 include/libdrm -I/usr/pkg/include/minizip -I/usr/pkg/include/python3.13 -fmacro-prefix-map="/usr/pkg-work/net/wireshark/work/wireshark-4.6.4/"= -fmacro-prefix-map="/usr/pkg-work/net/wireshark/work/wireshark-4.6.4/cmake-pkgsrc-build/"= -fmacro-prefix-map="../"= -DNDEBUG
-- CXX-Flags:  -Wall -Wextra -Wformat -Wformat=2 -Wtrampolines -Wbidi-chars=any -Wpointer-arith -Wformat-security -fexcess-precision=fast -Wvla -Wattributes -Wpragmas -Wredundant-decls -Wunreachable-code -Wlogical-op -Wextra-semi -fstack-clash-protection -fcf-protection=full -D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -fexceptions -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wframe-larger-than=32768 -Wno-format-truncation -Wno-format-nonliteral -O2 -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/include -Dz_off_t=long -I/usr/pkg/include/lua-5.4 -I/usr/include/readline -I/usr/pkg/qt6/include -I/usr/include/krb5 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/inc
 lude/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/minizip -I/usr/pkg/include/python3.13 -fmacro-prefix-map="/usr/pkg-work/net/wireshark/w
 ork/wireshark-4.6.4/"= -fmacro-prefix-map="/usr/pkg-work/net/wireshark/work/wireshark-4.6.4/cmake-pkgsrc-build/"= -fmacro-prefix-map="../"= -DNDEBUG
-- Warnings as errors disabled
-- The following OPTIONAL packages have been found:

 * Perl
 * Git
 * GMODULE2
 * Gettext
 * LIBSSH (required version >= 0.8.5), Library for implementing SSH clients, <https://www.libssh.org/>
   extcap remote SSH interfaces (sshdump, ciscodump, wifidump, sshdig)
 * PCAP
 * Qt6Core
 * OpenGL
 * Qt6DBusTools (required version >= 6.10.2)
 * Qt6Gui
 * Qt6LinguistTools
 * Cups
 * Qt6CoreTools (required version >= 6.10.2)
 * Qt6GuiTools (required version >= 6.10.2)
 * Qt6WidgetsTools (required version >= 6.10.2)
 * Qt6PrintSupport
 * Qt6Concurrent
 * Qt6Core5Compat
 * Qt6Multimedia
 * MaxMindDB, C library for the MaxMind DB file format, <https://github.com/maxmind/libmaxminddb>
   Support for GeoIP lookup
 * SMI, Library to access SMI management information, <https://www.ibr.cs.tu-bs.de/projects/libsmi/>
   Support MIB and PIB parsing and OID resolution
 * GNUTLS (required version >= 3.5.8)
 * KERBEROS
 * ZLIBNG
 * ZLIB
 * Minizip, Mini zip and unzip based on zlib, <https://github.com/madler/zlib>
   Support for profiles import/export
 * BROTLI
 * LZ4 (required version >= 1.8.0), LZ4 is a fast lossless compression algorithm, <http://www.lz4.org>
   LZ4 decompression in CQL and Kafka dissectors, read compressed capture files
 * SNAPPY, A fast compressor/decompressor from Google, <https://google.github.io/snappy/>
   Snappy decompression in Couchbase, CQL, Kafka and Mongo dissectors
 * ZSTD (required version >= 1.0.0), A compressor/decompressor from Facebook providing better compression than Snappy at a cost of speed, <https://facebook.github.io/zstd/>
   Zstd decompression in Kafka dissector, read compressed capture files
 * NGHTTP2 (required version >= 1.11.0), HTTP/2 C library and tools, <https://nghttp2.org>
   Header decompression in HTTP2
 * NGHTTP3, HTTP/3 C library and tools, <https://nghttp2.org>
   Header decompression in HTTP3
 * Lua, Lua is a powerful, efficient, lightweight, embeddable scripting language, <https://www.lua.org/>
   Lua allows writing dissectors and other extensions without a C/C++ compiler
 * AMRNB, AMRNB decoder, <https://sourceforge.net/p/opencore-amr>
   Support for AMRNB codec in RTP player
 * OPUS, opus decoder, <https://opus-codec.org/>
   Support for opus codec in RTP player
 * XSLTPROC
 * DOXYGEN
 * PkgConfig
 * Asciidoctor (required version >= 1.5)

-- The following REQUIRED packages have been found:

 * Python3 (required version >= 3.6)
 * GLIB2 (required version >= 2.54.0)
 * GTHREAD2
 * GCRYPT (required version >= 1.8.0)
 * CARES (required version >= 1.13.0), Library for asynchronous DNS requests, <https://c-ares.org/>
   DNS name resolution for captures
 * LEX
 * PCRE2, Regular expression pattern matching using the same syntax and semantics as Perl 5, <https://www.pcre.org>
   Support for regular expressions
 * LibXml2 (required version >= 2.9.7)
 * M
 * Qt6
 * SpeexDSP, SpeexDSP is a patent-free, Open Source/Free Software DSP library, <https://www.speex.org/>
   RTP audio resampling

-- The following OPTIONAL packages have not been found:

 * XXHASH, Extremely fast hash algorithm, <https://github.com/Cyan4973/xxHash/>
   Fast hashing
 * Minizipng, A fork of the minizip library - Mini zip and unzip based on zlib, <https://github.com/zlib-ng/minizip-ng>
   Support for profiles import/export
 * SBC, Bluetooth low-complexity, subband codec (SBC) decoder, <https://git.kernel.org/pub/scm/bluetooth/sbc.git>
   Support for playing SBC codec in RTP player
 * BCG729, G.729 decoder, <https://www.linphone.org/technical-corner/bcg729>
   Support for G.729 codec in RTP player

-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make[1]: stopped making "install" in /usr/pkgsrc/net/wireshark
*** Error code 1

Stop.
make: stopped making "install" in /usr/pkgsrc/net/wireshark



Confusingly, an error for find_package is reported, but asciidoctor is nonetheless found, but then the build errors out anyway.
>How-To-Repeat:
enable the doc option for net/wireshark
cd net/wireshark
make install
>Fix:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.