randombit / botan

Cryptography Toolkit
https://botan.randombit.net
BSD 2-Clause "Simplified" License
2.58k stars 566 forks source link

Current master fails to build/link #4097

Closed mouse07410 closed 4 months ago

mouse07410 commented 4 months ago

Intel-based MacOS Sonoma 14.5, Xcode-15.4. Current master.

Configuration succeeds, compilation proceeds fine, until it gets to linking Botan executable:

cd . && ln -fs libbotan-3.5.dylib libbotan-3.5.5.0.dylib
clang++ -fstack-protector -m64 -pthread -stdlib=libc++ -march=native build/obj/cli/argon2.o build/obj/cli/asn1.o build/obj/cli/bcrypt.o build/obj/cli/cc_enc.o build/obj/cli/cipher.o build/obj/cli/cli.o build/obj/cli/cli_rng.o build/obj/cli/codec.o build/obj/cli/compress.o build/obj/cli/entropy.o build/obj/cli/hash.o build/obj/cli/hmac.o build/obj/cli/main.o build/obj/cli/math.o build/obj/cli/pbkdf.o build/obj/cli/pk_crypt.o build/obj/cli/psk.o build/obj/cli/pubkey.o build/obj/cli/roughtime.o build/obj/cli/sandbox.o build/obj/cli/speed.o build/obj/cli/timing_tests.o build/obj/cli/tls_client.o build/obj/cli/tls_http_server.o build/obj/cli/tls_proxy.o build/obj/cli/tls_server.o build/obj/cli/tls_utils.o build/obj/cli/tss.o build/obj/cli/utils.o build/obj/cli/x509.o build/obj/cli/zfec.o -L.   -L/opt/local/lib/libomp -lomp -L/opt/local/libexec/boost/1.81/lib  -lbotan-3 -L/opt/local/lib/libomp -lomp -L/opt/local/libexec/boost/1.81/lib   -lbz2 -ldl -llzma -lsqlite3 -lz -framework CoreFoundation -framework Security  -o botan3
ld: warning: ignoring duplicate libraries: '-lomp'
clang++ -fstack-protector -m64 -pthread -stdlib=libc++ -march=native build/obj/test/main.o build/obj/test/runner_test_reporter.o build/obj/test/runner_test_runner.o build/obj/test/runner_test_stdout_reporter.o build/obj/test/runner_test_xml_reporter.o build/obj/test/test_aead.o build/obj/test/test_alt_name.o build/obj/test/test_asn1.o build/obj/test/test_bigint.o build/obj/test/test_block.o build/obj/test/test_blowfish.o build/obj/test/test_bufcomp.o build/obj/test/test_certstor.o build/obj/test/test_certstor_flatfile.o build/obj/test/test_certstor_system.o build/obj/test/test_certstor_utils.o build/obj/test/test_codec.o build/obj/test/test_compression.o build/obj/test/test_cryptobox.o build/obj/test/test_dh.o build/obj/test/test_dilithium.o build/obj/test/test_dl_group.o build/obj/test/test_dlies.o build/obj/test/test_dsa.o build/obj/test/test_ec_group.o build/obj/test/test_ecc_h2c.o build/obj/test/test_ecc_pointmul.o build/obj/test/test_ecdh.o build/obj/test/test_ecdsa.o build/obj/test/test_ecgdsa.o build/obj/test/test_ecies.o build/obj/test/test_eckcdsa.o build/obj/test/test_ed25519.o build/obj/test/test_ed448.o build/obj/test/test_elgamal.o build/obj/test/test_entropy.o build/obj/test/test_ffi.o build/obj/test/test_filters.o build/obj/test/test_fpe.o build/obj/test/test_frodokem.o build/obj/test/test_gf2m.o build/obj/test/test_gost_3410.o build/obj/test/test_hash.o build/obj/test/test_hash_id.o build/obj/test/test_hss_lms.o build/obj/test/test_kdf.o build/obj/test/test_keccak_helpers.o build/obj/test/test_keywrap.o build/obj/test/test_kyber.o build/obj/test/test_lmots.o build/obj/test/test_lms.o build/obj/test/test_mac.o build/obj/test/test_mceliece.o build/obj/test/test_modes.o build/obj/test/test_mp.o build/obj/test/test_name_constraint.o build/obj/test/test_ocb.o build/obj/test/test_ocsp.o build/obj/test/test_octetstring.o build/obj/test/test_oid.o build/obj/test/test_os_utils.o build/obj/test/test_otp.o build/obj/test/test_pad.o build/obj/test/test_passhash.o build/obj/test/test_pbkdf.o build/obj/test/test_pem.o build/obj/test/test_pk_pad.o build/obj/test/test_pkcs11_high_level.o build/obj/test/test_pkcs11_low_level.o build/obj/test/test_psk_db.o build/obj/test/test_pubkey.o build/obj/test/test_rfc6979.o build/obj/test/test_rng_behavior.o build/obj/test/test_rng_kat.o build/obj/test/test_rngs.o build/obj/test/test_roughtime.o build/obj/test/test_rsa.o build/obj/test/test_simd.o build/obj/test/test_siv.o build/obj/test/test_sm2.o build/obj/test/test_sodium.o build/obj/test/test_sphincsplus.o build/obj/test/test_sphincsplus_fors.o build/obj/test/test_sphincsplus_utils.o build/obj/test/test_sphincsplus_wots.o build/obj/test/test_srp6.o build/obj/test/test_stream.o build/obj/test/test_strong_type.o build/obj/test/test_tests.o build/obj/test/test_thread_utils.o build/obj/test/test_tls.o build/obj/test/test_tls_cipher_state.o build/obj/test/test_tls_handshake_layer_13.o build/obj/test/test_tls_handshake_state_13.o build/obj/test/test_tls_handshake_transitions.o build/obj/test/test_tls_hybrid_kem_key.o build/obj/test/test_tls_messages.o build/obj/test/test_tls_record_layer_13.o build/obj/test/test_tls_rfc8448.o build/obj/test/test_tls_session_manager.o build/obj/test/test_tls_signature_scheme.o build/obj/test/test_tls_stream_integration.o build/obj/test/test_tls_transcript_hash_13.o build/obj/test/test_tpm.o build/obj/test/test_tss.o build/obj/test/test_uri.o build/obj/test/test_utils.o build/obj/test/test_utils_buffer.o build/obj/test/test_workfactor.o build/obj/test/test_x25519.o build/obj/test/test_x448.o build/obj/test/test_x509_dn.o build/obj/test/test_x509_path.o build/obj/test/test_xmss.o build/obj/test/test_xof.o build/obj/test/test_zfec.o build/obj/test/tests.o build/obj/test/unit_asio_stream.o build/obj/test/unit_ecdh.o build/obj/test/unit_ecdsa.o build/obj/test/unit_tls.o build/obj/test/unit_tls_policy.o build/obj/test/unit_x509.o -L.    -L/opt/local/lib/libomp -lomp -L/opt/local/libexec/boost/1.81/lib  -lbotan-3 -L/opt/local/lib/libomp -lomp -L/opt/local/libexec/boost/1.81/lib   -lbz2 -ldl -llzma -lsqlite3 -lz -framework CoreFoundation -framework Security  -o botan-test3
ld: warning: ignoring duplicate libraries: '-lomp'

[at this point I have to <Ctrl-C> and kill the process]
reneme commented 4 months ago

That's strange. I'm not aware of anything using OpenMP in Botan. Could you provide your invocation of ./configure.py?

mouse07410 commented 4 months ago

Sure. First, here's the attempt to build with GCC=12.3.0:

g++ -fPIC -fvisibility=hidden -fstack-protector -m64 -pthread -march=native -std=c++20 -D_REENTRANT  -std=c++20 -stdlib=libc++ -O3 -I/opt/local/libexec/boost/1.81/include -I/opt/local/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -Wall -Wextra -Wpedantic -Wstrict-aliasing -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-null-pointer-constant -Wnon-virtual-dtor -Wold-style-cast -Wsuggest-override -Wshadow -Wextra-semi -DBOTAN_IS_BEING_BUILT  -I build/include/public -I build/include/internal  -isystem build/include/external -c src/lib/asn1/alg_id.cpp -o build/obj/lib/asn1_alg_id.o
In file included from /opt/local/libexec/gcc12/libc++/include/c++/v1/new:99,
                 from /opt/local/libexec/gcc12/libc++/include/c++/v1/__memory/construct_at.h:23,
                 from /opt/local/libexec/gcc12/libc++/include/c++/v1/__memory/allocator_traits.h:14,
                 from /opt/local/libexec/gcc12/libc++/include/c++/v1/__memory/allocate_at_least.h:13,
                 from /opt/local/libexec/gcc12/libc++/include/c++/v1/memory:884,
                 from build/include/public/botan/types.h:18,
                 from build/include/public/botan/exceptn.h:11,
                 from build/include/public/botan/asn1_obj.h:10,
                 from src/lib/asn1/alg_id.cpp:8:
/opt/local/libexec/gcc12/libc++/include/c++/v1/cstdlib:144:9: error: 'at_quick_exit' has not been declared in '::'
  144 | using ::at_quick_exit _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~~~~
/opt/local/libexec/gcc12/libc++/include/c++/v1/cstdlib:145:9: error: 'quick_exit' has not been declared in '::'
  145 | using ::quick_exit _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~
make: *** [build/obj/lib/asn1_alg_id.o] Error 1
Tue Jun  4 16:38:18 EDT 2024

And here's the ./configure.py invocation and results:

./configure.py --program-suffix=3 --prefix=/opt/local --with-os-features=security_framework,apple_keychain,commoncrypto,getentropy --with-commoncrypto --with-boost --with-lzma --with-bzip2 --with-zlib --with-sqlite3 --with-python-version=3.12 --with-sphinx --with-pdf --system-cert-bundle=/opt/local/share/curl/curl-ca-bundle.crt --cc-abi-flags='-march=native'  2>&1 | tee conf-out.txt

and

$ cat conf-out.txt
   INFO: ./configure.py invoked with options "--program-suffix=3 --prefix=/opt/local --with-os-features=security_framework,apple_keychain,commoncrypto,getentropy --with-commoncrypto --with-boost --with-lzma --with-bzip2 --with-zlib --with-sqlite3 --with-python-version=3.12 --with-sphinx --with-pdf --system-cert-bundle=/opt/local/share/curl/curl-ca-bundle.crt --cc-abi-flags=-march=native"
   INFO: Configuring to build Botan 3.5.0 (revision git:446007a13f6fca987d074d002a7d766b34bb4a9b)
   INFO: Python version: "3.12.3 (main, Apr 12 2024, 20:23:48) [Clang 15.0.0 (clang-1500.1.0.2.5)]"
   INFO: Implicit --cc-bin=g++ due to environment variable CXX
   INFO: Implicit --cxxflags=-std=c++20 -stdlib=libc++ -O3 -I/opt/local/libexec/boost/1.81/include -I/opt/local/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk due to environment variable CXXFLAGS
   INFO: Autodetected platform information: OS="Darwin" machine="x86_64" proc="i386"
   INFO: Guessing target OS is darwin (use --os to set)
   INFO: Guessing target processor is a x86_64 (use --cpu to set)
   INFO: Found rst2man (use --without-rst2man to disable)
   INFO: Auto-detected compiler version gcc 12.3
   INFO: Auto-detected compiler arch x86_64
   INFO: Target is gcc:12.3-macos-x86_64
   INFO: Assuming target x86_64 is little endian
   INFO: Skipping (incompatible CPU): aes_armv8 aes_power8 sha1_armv8 sha2_32_armv8 sha2_64_armv8 shacal2_armv8 sm4_armv8
   INFO: Skipping (incompatible OS): certstor_system_windows win32_stats
   INFO: Skipping (requires external dependency): tpm
   INFO: Enabling use of external dependency boost
   INFO: Enabling use of external dependency bzip2
   INFO: Enabling use of external dependency commoncrypto
   INFO: Enabling use of external dependency lzma
   INFO: Enabling use of external dependency sqlite3
   INFO: Enabling use of external dependency zlib
WARNING: These modules are deprecated and will be removed in a future release (consider disabling with --disable-deprecated-features): dilithium_aes dlies gost_28147 gost_3410 kyber_90s lion mce md4 noekeon prf_x942 shake_cipher streebog
   INFO: Loading modules: adler32 aead aes aes_crystals_xof aes_ni aes_vperm argon2 argon2_avx2 argon2_ssse3 argon2fmt aria asio asn1 auto_rng base base32 base58 base64 bcrypt bcrypt_pbkdf bigint blake2 blake2mac blake2s block blowfish boost bzip2 camellia cascade cast128 cbc ccm certstor_flatfile certstor_sql certstor_sqlite3 certstor_system certstor_system_macos cfb chacha chacha20poly1305 chacha_avx2 chacha_avx512 chacha_rng chacha_simd32 checksum cmac comb4p commoncrypto compression cpuid crc24 crc32 cryptobox cshake_xof ctr curve448 des dh dilithium dilithium_aes dilithium_common dl_algo dl_group dlies dsa dyn_load eax ec_group ec_h2c ecc_key ecdh ecdsa ecgdsa ecies eckcdsa ed25519 ed448 elgamal eme_oaep eme_pkcs1 eme_raw emsa_pkcs1 emsa_pssr emsa_raw emsa_x931 entropy fd_unix ffi filters fpe_fe1 frodokem frodokem_aes frodokem_common gcm getentropy ghash ghash_cpu ghash_vperm gmac gost_28147 gost_3410 gost_3411 hash hash_id hex hkdf hmac hmac_drbg hotp hss_lms http_util idea idea_sse2 iso9796 kdf kdf1 kdf1_iso18033 kdf2 keccak keccak_perm keccak_perm_bmi2 keypair kmac kuznyechik kyber kyber_90s kyber_common kyber_round3 lion locking_allocator lzma mac mce md4 md5 mdx_hash mem_pool mgf1 mode_pad modes mp nist_keywrap noekeon noekeon_simd numbertheory ocb ofb par_hash passhash9 pbes2 pbkdf pbkdf2 pem pgp_s2k pk_pad pkcs11 poly1305 poly_dbl prf_tls prf_x942 processor_rng psk_db pubkey raw_hash rc4 rdseed rfc3394 rfc6979 rmd160 rng roughtime rsa salsa20 scrypt seed serpent serpent_avx2 serpent_avx512 serpent_simd sessions_sql sessions_sqlite3 sha1 sha1_sse2 sha1_x86 sha2_32 sha2_32_bmi2 sha2_32_x86 sha2_64 sha2_64_bmi2 sha3 shacal2 shacal2_avx2 shacal2_simd shacal2_x86 shake shake_cipher shake_xof simd simd_avx2 simd_avx512 siphash siv skein sm2 sm3 sm4 socket sodium sp800_108 sp800_56a sp800_56c sphincsplus_common sphincsplus_sha2 sphincsplus_shake sqlite3 srp6 stateful_rng stream streebog system_rng thread_utils threefish_512 tls tls12 tls13 tls13_pqc tls_cbc tree_hash trunc_hash tss twofish utils uuid whirlpool x25519 x448 x509 x919_mac xmd xmss xof xts zfec zfec_sse2 zfec_vperm zlib
   INFO: Using symlink to link files into build dir (use --link-method to change)
   INFO: Botan 3.5.0 (revision git:446007a13f6fca987d074d002a7d766b34bb4a9b) (unreleased undated) build setup is complete
$ 

I tried to roll back a bit (see the commit above), but to no avail.

randombit commented 4 months ago

I'm not aware of anything using OpenMP in Botan.

There was some minimal usage of it that was removed in #2747

/opt/local/libexec/gcc12/libc++/include/c++/v1/cstdlib:145:9: error: 'quick_exit' has not been declared in '::'
  145 | using ::quick_exit _LIBCPP_USING_IF_EXISTS;
      |         ^~~~~~~~~~

This seems to be a compiler install issue? I would guess XCode is expecting to find libc++ headers, not libstdc++

mouse07410 commented 4 months ago

This seems to be a compiler install issue?

I don't know - it's been all working fine (I keep building master locally, pretty much every time there's a new commit merged) until a week or so ago...

I would guess XCode is expecting to find libc++ headers, not libstdc++

Clang uses only libc++. GCC may use either - which is why I specified -stdlib=libc++ in the flags, to ensure that the resulting library would be usable by everything else on my machine.

mouse07410 commented 4 months ago

I narrowed down the problem - and it's not the compiler, at least as far as Clang is concerned: Clang can build both botan and botan-test fine. It's the docs that seem to fail (apologies for the long output):

"/opt/local/bin/python3" "src/scripts/build_docs.py" --build-dir="build"
   INFO: Starting sphinx-build -q -c ./src/configs/sphinx -j auto -W --keep-going -b html ./doc build/docs/handbook
Ignoring ImportError and using old theme
   INFO: Starting sphinx-build -q -c ./src/configs/sphinx -j auto -W --keep-going -b latex ./doc /var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/botan_latex_g_klff9y
Ignoring ImportError and using old theme
   INFO: Starting make -C /var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/botan_latex_g_klff9y
latexmk -pdf -dvi- -ps-  'botan.tex'
Rc files read:
  latexmkrc
Latexmk: This is Latexmk, John Collins, 7 Apr. 2024. Version 4.85.
No existing .aux file, so I'll make a simple one, and require run of *latex.
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex':  Reasons for rerun
Category 'other':
  Rerun of 'pdflatex' forced or previously required:
    Reason or flag: 'Initial setup'

------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex   -recorder  "botan.tex"'
------------
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./botan.tex
LaTeX2e <2024-06-01>
L3 programming layer <2024-05-08>
(./sphinxmanual.cls
Document Class: sphinxmanual 2019/12/01 v2.3.0 Document class (Sphinx manual)
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/report.cls
Document Class: report 2024/02/08 v1.4n Standard LaTeX document class
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/size10.clo)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/inputenc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/cmap/cmap.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/fontenc.sty<<t1.cmap>>)
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2024/texmf-dist/tex/generic/babel/babel.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/babel/txtbabel.def)
(/usr/local/texlive/2024/texmf-dist/tex/generic/babel-english/english.ldf))
(/usr/local/texlive/2024/texmf-dist/tex/generic/babel/locale/en/babel-english.t
ex) (/usr/local/texlive/2024/texmf-dist/tex/latex/tex-gyre/tgtermes.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/kvoptions/kvoptions.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/tex-gyre/tgheros.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/fncychap/fncychap.sty)
(./sphinx.sty (/usr/local/texlive/2024/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics-def/pdftex.def)
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/mathcolor.ltx))
(./sphinxoptionshyperref.sty) (./sphinxoptionsgeometry.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/textcomp.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/float/float.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/wrapfig/wrapfig.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/capt-of/capt-of.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/multicol.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)))
(./sphinxlatexgraphics.sty) (./sphinxpackageboxes.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/pict2e/pict2e.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/pict2e/pict2e.cfg)
(/usr/local/texlive/2024/texmf-dist/tex/latex/pict2e/p2e-pdftex.def))
(/usr/local/texlive/2024/texmf-dist/tex/latex/ellipse/ellipse.sty))
(./sphinxlatexadmonitions.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/framed/framed.sty))
(./sphinxlatexliterals.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/alltt.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/upquote/upquote.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/needspace/needspace.sty))
(./sphinxlatexshadowbox.sty) (./sphinxlatexcontainers.sty)
(./sphinxhighlight.sty) (./sphinxlatextables.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/tabulary/tabulary.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/array.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/tools/longtable.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/varwidth/varwidth.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/colortbl/colortbl.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/booktabs/booktabs.sty))
(./sphinxlatexnumfig.sty) (./sphinxlatexlists.sty) (./sphinxpackagefootnote.sty
) (./sphinxlatexindbibtoc.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/makeidx.sty))
(./sphinxlatexstylepage.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/parskip/parskip.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/parskip/parskip-2001-04-09.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty))
(./sphinxlatexstyleheadings.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/titlesec/titlesec.sty))
(./sphinxlatexstyletext.sty) (./sphinxlatexobjects.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/iftex/ifvtex.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/iftex/iftex.sty)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/pdfescape/pdfescape.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/infwarerr/infwarerr.sty)))
(/usr/local/texlive/2024/texmf-dist/tex/latex/hycolor/hycolor.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/refcount/refcount.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/gettitlestring/gettitlestring.s
ty)) (/usr/local/texlive/2024/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/stringenc/stringenc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2024/texmf-dist/tex/generic/intcalc/intcalc.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/local/texlive/2024/texmf-dist/tex/latex/url/url.sty)
(/usr/local/texlive/2024/texmf-dist/tex/generic/bitset/bitset.sty
(/usr/local/texlive/2024/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/atbegshi-ltx.sty))
(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/atveryend-ltx.sty)
(/usr/local/texlive/2024/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty

(/usr/local/texlive/2024/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty
))) (/usr/local/texlive/2024/texmf-dist/tex/latex/oberdiek/hypcap.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty))
(./sphinxmessages.sty)
Writing index file botan.idx
(/usr/local/texlive/2024/texmf-dist/tex/latex/tex-gyre/t1qtm.fd)
(/usr/local/texlive/2024/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
(./botan.aux)
(/usr/local/texlive/2024/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2024/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(/usr/local/texlive/2024/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
(/usr/local/texlive/2024/texmf-dist/tex/latex/tex-gyre/t1qhv.fd)<<ot1.cmap>><<o
ml.cmap>><<oms.cmap>><<omx.cmap>>
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/texlive/2024/texmf-dist/tex/latex/amsfonts/umsb.fd)
[1{/usr/local/texlive/2024/texmf-var/fonts/map/pdftex/updmap/pdftex.map}{/usr/l
ocal/texlive/2024/texmf-dist/fonts/enc/dvips/tex-gyre/q-ec.enc}]
[2]
No file botan.toc.

[1]
[2]
Chapter 1.

LaTeX Warning: Hyper reference `building::doc' on page 1 undefined on input lin
e 93.

(/usr/local/texlive/2024/texmf-dist/tex/latex/tex-gyre/ts1qtm.fd)

LaTeX Warning: Hyper reference `api_ref/block_cipher:block-cipher-example' on p
age 1 undefined on input line 106.

LaTeX Warning: Hyper reference `api_ref/cipher_modes:cipher-modes-example' on p
age 1 undefined on input line 110.

LaTeX Warning: Hyper reference `api_ref/hash:hash-example' on page 1 undefined 
on input line 114.

LaTeX Warning: Hyper reference `api_ref/kdf:key-derivation-function-example' on
 page 1 undefined on input line 118.

LaTeX Warning: Hyper reference `api_ref/message_auth_codes:mac-example' on page
 1 undefined on input line 122.

LaTeX Warning: Hyper reference `api_ref/pbkdf:pbkdf-example' on page 1 undefine
d on input line 126.

LaTeX Warning: Hyper reference `api_ref/pubkey:ecdh-example' on page 1 undefine
d on input line 130.

LaTeX Warning: Hyper reference `api_ref/pubkey:ecdsa-example' on page 1 undefin
ed on input line 134.

LaTeX Warning: Hyper reference `api_ref/pubkey:kyber-example' on page 1 undefin
ed on input line 138.

LaTeX Warning: Hyper reference `api_ref/pubkey:rsa-example' on page 1 undefined
 on input line 142.

LaTeX Warning: Hyper reference `api_ref/pubkey:xmss-example' on page 1 undefine
d on input line 146.

LaTeX Warning: Hyper reference `api_ref/stream_ciphers:stream-ciphers-example' 
on page 1 undefined on input line 150.

LaTeX Warning: Hyper reference `api_ref/tls:tls-client-example' on page 1 undef
ined on input line 154.

LaTeX Warning: Hyper reference `api_ref/tls:tls-hybrid-client-example' on page 
1 undefined on input line 158.

LaTeX Warning: Hyper reference `api_ref/tls:https-client-example' on page 1 und
efined on input line 162.

LaTeX Warning: Hyper reference `api_ref/tls:tls-server-example' on page 1 undef
ined on input line 166.

LaTeX Warning: Hyper reference `api_ref/x509:x509-certificates-example' on page
 1 undefined on input line 170.

Overfull \hbox (15.69487pt too wide) in paragraph at lines 174--177
[]\T1/qtm/m/n/10 You'll find ad-di-tional ex-am-ples of us-age in the [][]src/e
xamples[][] (https://github.com/randombit/botan/tree/master/src/examples)

Underfull \hbox (badness 10000) in paragraph at lines 178--182
[]\T1/qtm/m/n/10 An ad-di-tional source for ex-am-ple code is in the im-ple-men
-ta-tion of the [][]com-mand line in-ter-face[][]

[1{/usr/local/texlive/2024/texmf-dist/fonts/enc/dvips/tex-gyre/q-ts1.enc}]
Underfull \hbox (badness 10000) in paragraph at lines 203--205
[][][]\T1/qtm/m/n/10 Se-cu-rity En-gi-neer-ing ^^U A Guide to Build-ing De-pend
-able Dis-tributed Sys-tems[][]

[2]
Chapter 2.

[3] (/usr/local/texlive/2024/texmf-dist/tex/latex/txfonts/t1txtt.fd)
[4]
Chapter 3.

[5]
! Missing \cr inserted.
<inserted text> 
                \cr 
l.599 \end{tabulary}

? 

A fix would be lovely. Thanks!

mouse07410 commented 4 months ago

it looks like the current master addressed the docs build problem, and it's again all good. Thank you!