pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

textproc/libfyaml fails to package if py-sphinx is installed.



During my quarterly package rebuilds I found this: textproc/libfyaml
fails to package if py-sphinx is installed.

The error is very late: in the staging install phase. When creating the
package, it apparently detects Sphinx and wants to run it, which fails. It
wants some module called "linuxdoc" which we don't seem to have.

After "pkg_delete -r py313-sphinx-9.1.0" the package was created without
apparent errors.

This is on the new pkgsrc 2026Q2 branch.

Unless somebody has a better solution, I will commit a fix on HEAD so
that the package doesn't detect the presence of Sphinx. It was never
declared as a dependency so it was never installed in bulk builds, so
this doesn't affect the pre-built packages. I don't think it is worth it
to chase down this "linuxdoc" module just to re-generate the
pre-generated manual pages (I'm guessing that's what it does).

Full failing log:

===> do-bin-install [libfyaml-0.9.6nb1 appstream-1.1.2nb2 gimp-3.2.4nb3] ===> Binary install for libfyaml>=0.9
=> Installing libfyaml>=0.9 from /pkg_comp/packages/All
pkg_add: no pkg found for 'libfyaml>=0.9', sorry.
pkg_add: 1 package addition failed
=> No binary package found for libfyaml>=0.9; installing from source.
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for libfyaml-0.9.6.tar.gz
=> Checksum SHA512 OK for libfyaml-0.9.6.tar.gz
===> depends-message [libfyaml-0.9.6nb1 appstream-1.1.2nb2 gimp-3.2.4nb3] ===> Installing dependencies for libfyaml-0.9.6nb1
=> Tool dependency cmake>=0: found cmake-4.3.3
=> Tool dependency mktools-[0-9]*: found mktools-20250213
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc12>=12.1.0nb1: found gcc12-12.5.0nb2
===> _pkgformat-check-vulnerable [libfyaml-0.9.6nb1 appstream-1.1.2nb2 gimp-3.2.4nb3] ===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> tools-message [libfyaml-0.9.6nb1 appstream-1.1.2nb2 gimp-3.2.4nb3] ===> Overriding tools for libfyaml-0.9.6nb1
===> extract-message [libfyaml-0.9.6nb1 appstream-1.1.2nb2 gimp-3.2.4nb3] ===> Extracting for libfyaml-0.9.6nb1
===> patch-message [libfyaml-0.9.6nb1 appstream-1.1.2nb2 gimp-3.2.4nb3] ===> Patching for libfyaml-0.9.6nb1
=> Applying pkgsrc patches for libfyaml-0.9.6nb1
=> Verifying /usr/pkgsrc/textproc/libfyaml/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /usr/pkgsrc/textproc/libfyaml/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.1 2026/04/01 08:53:14 tnn Exp $
|
|https://github.com/pantoniou/libfyaml/commit/238082d09eb2453a9b6e98f359fb0eed05086694.patch
|
|--- CMakeLists.txt.orig        2026-03-15 13:48:50.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 606.
done
=> Verifying /usr/pkgsrc/textproc/libfyaml/patches/patch-include_libfyaml_libfyaml-util.h
=> Applying pkgsrc patch /usr/pkgsrc/textproc/libfyaml/patches/patch-include_libfyaml_libfyaml-util.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_libfyaml_libfyaml-util.h,v 1.1 2026/04/01 08:53:14 tnn Exp $
|
|https://github.com/pantoniou/libfyaml/commit/e7f1b117d458e202498f0a3862761661c26ca7ae.patch
|
|--- include/libfyaml/libfyaml-util.h.orig      2026-03-15 13:48:50.000000000 +0000
|+++ include/libfyaml/libfyaml-util.h
--------------------------
Patching file include/libfyaml/libfyaml-util.h using Plan A...
Hunk #1 succeeded at 797.
Hunk #2 succeeded at 1058.
done
=> Verifying /usr/pkgsrc/textproc/libfyaml/patches/patch-include_libfyaml_libfyaml-vlsize.h
=> Applying pkgsrc patch /usr/pkgsrc/textproc/libfyaml/patches/patch-include_libfyaml_libfyaml-vlsize.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_libfyaml_libfyaml-vlsize.h,v 1.1 2026/04/01 08:53:14 tnn Exp $
|
|https://github.com/pantoniou/libfyaml/commit/0982fcefc6a16d4c8cb5b06747d3fc8e630de3ae.patch
|https://github.com/pantoniou/libfyaml/commit/9192deaac095f9881cc1e5756dede683f36b09d6.patch
|
|--- include/libfyaml/libfyaml-vlsize.h.orig    2026-03-15 13:48:50.000000000 +0000
|+++ include/libfyaml/libfyaml-vlsize.h
--------------------------
Patching file include/libfyaml/libfyaml-vlsize.h using Plan A...
Hunk #1 succeeded at 810.
done
=> Verifying /usr/pkgsrc/textproc/libfyaml/patches/patch-src_lib_fy-walk.c
=> Applying pkgsrc patch /usr/pkgsrc/textproc/libfyaml/patches/patch-src_lib_fy-walk.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_lib_fy-walk.c,v 1.1 2026/03/26 13:58:33 wiz Exp $
|
|Use proper variable.
|Already fixed upstream.
|
|--- src/lib/fy-walk.c.orig     2026-03-26 13:55:53.286272086 +0000
|+++ src/lib/fy-walk.c
--------------------------
Patching file src/lib/fy-walk.c using Plan A...
Hunk #1 succeeded at 4618.
done
===> wrapper-message [libfyaml-0.9.6nb1 appstream-1.1.2nb2 gimp-3.2.4nb3] ===> Creating toolchain wrappers for libfyaml-0.9.6nb1
===> configure-message [libfyaml-0.9.6nb1 appstream-1.1.2nb2 gimp-3.2.4nb3] ===> Configuring for libfyaml-0.9.6nb1
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 12.5.0
-- The ASM compiler identification is GNU
-- Found assembler: /tmp/pkgsrc/textproc/libfyaml/default/.cwrapper/bin/gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /tmp/pkgsrc/textproc/libfyaml/default/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- 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
-- Looking for alloca.h
-- Looking for alloca.h - not found
-- Looking for byteswap.h
-- Looking for byteswap.h - not found
-- Looking for __builtin_bswap16
-- Looking for __builtin_bswap16 - not found
-- Looking for __builtin_bswap32
-- Looking for __builtin_bswap32 - not found
-- Looking for __builtin_bswap64
-- Looking for __builtin_bswap64 - not found
-- Looking for qsort_r
-- Looking for qsort_r - not found
-- Looking for mremap
-- Looking for mremap - found
-- Performing Test HAVE_DECL_ENVIRON
-- Performing Test HAVE_DECL_ENVIRON - Success
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
    Reason given by package: The command
      "/tmp/pkgsrc/textproc/libfyaml/default/.tools/bin/pkg-config" --version
    failed with output:

    stderr:

    result:
1

-- libclang support disabled (ENABLE_LIBCLANG=OFF)
-- Performing Test COMPILER_SUPPORTS_SSE2
-- Performing Test COMPILER_SUPPORTS_SSE2 - Success
-- Performing Test COMPILER_SUPPORTS_SSE41
-- Performing Test COMPILER_SUPPORTS_SSE41 - Success
-- Performing Test COMPILER_SUPPORTS_AVX2
-- Performing Test COMPILER_SUPPORTS_AVX2 - Success
-- Performing Test COMPILER_SUPPORTS_AVX512
-- Performing Test COMPILER_SUPPORTS_AVX512 - Success
-- Performing Test COMPILER_SUPPORTS_WNO_UNUSED_FUNCTION
-- Performing Test COMPILER_SUPPORTS_WNO_UNUSED_FUNCTION - Success
-- Performing Test COMPILER_SUPPORTS_WNO_STRINGOP_OVERFLOW
-- Performing Test COMPILER_SUPPORTS_WNO_STRINGOP_OVERFLOW - Success
-- Performing Test COMPILER_SUPPORTS_WNO_TAUTOLOGICAL_CONSTANT_OUT_OF_RANGE_COMPARE
-- Performing Test COMPILER_SUPPORTS_WNO_TAUTOLOGICAL_CONSTANT_OUT_OF_RANGE_COMPARE - Success
-- Performing Test COMPILER_SUPPORTS_GNU2X
-- Performing Test COMPILER_SUPPORTS_GNU2X - Success
-- Performing Test COMPILER_SUPPORTS_HEAP_TRAMPOLINES
-- Performing Test COMPILER_SUPPORTS_HEAP_TRAMPOLINES - Failed
-- GCC heap trampolines not available or runtime missing, using stack trampolines
-- Performing Test HAVE_STATEMENT_EXPRESSIONS
-- Performing Test HAVE_STATEMENT_EXPRESSIONS - Success
-- Sphinx found: /usr/pkg/bin/sphinx-build
--   make doc-html     - Build HTML documentation
--   make doc-man      - Build man pages
--   make doc-latexpdf - Build PDF documentation
--
-- ---{ libfyaml 0.9.6 }---
--
-- VERSION:               0.9.6
-- MAJOR.MINOR:           0.9
-- PATCH:                 6
-- EXTRA:
-- LIBTOOL_VERSION:       5:0:3
-- prefix:                /usr/pkg
-- Build system:          NetBSD x86_64
-- Target system:         NetBSD x86_64
-- Cross compiling:       0
-- C compiler:            /tmp/pkgsrc/textproc/libfyaml/default/.cwrapper/bin/gcc
-- Build type:
-- HAVE_BASH:             1
-- HAVE_CHECK:            0
-- HAVE_COMPATIBLE_CHECK: 0
-- HAVE_LIBYAML:          0
-- HAVE_CMAKE_GEXPR:      1
-- HAVE_LIBCLANG:         0
-- HAVE_CLANG_BLOCKS:     0
-- HAVE_NETWORK:          1
-- HAVE_DEVMODE:          0
-- HAVE_GIT:              1
-- HAVE_JQ:               0
-- HAVE_DOCKER:           0
-- HAVE_SPHINX:           TRUE
-- HAVE_ASAN:             0
-- TARGET_HAS_SSE2:       TRUE
-- TARGET_HAS_SSE41:      TRUE
-- TARGET_HAS_AVX2:       TRUE
-- TARGET_HAS_AVX512:     TRUE
-- TARGET_HAS_NEON:       FALSE
-- HAVE_HEAP_TRAMPOLINES: 0
-- TESTSUITEURL:          https://github.com/yaml/yaml-test-suite
-- TESTSUITECHECKOUT:     6e6c296ae9c9d2d5c4134b4b64d01b29ac19ff6f
-- JSONTESTSUITEURL:      https://github.com/nst/JSONTestSuite
-- JSONTESTSUITECHECKOUT: d64aefb55228d9584d3e5b2433f720ea8fd00c82
-- CAN_TEST:              0
--
-- Configuring done (2.0s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/pkgsrc/textproc/libfyaml/default/libfyaml-0.9.6/cmake-pkgsrc-build
===> build-message [libfyaml-0.9.6nb1 appstream-1.1.2nb2 gimp-3.2.4nb3] ===> Building for libfyaml-0.9.6nb1
[  1%] Building C object CMakeFiles/b3portable.dir/src/blake3/blake3_portable.c.o
[  2%] Building C object CMakeFiles/b3portable.dir/src/blake3/blake3.c.o
[  2%] Building C object CMakeFiles/b3avx2.dir/src/blake3/blake3_avx2.c.o
[  3%] Building C object CMakeFiles/b3avx512.dir/src/blake3/blake3_avx512.c.o
[  4%] Building C object CMakeFiles/b3sse2.dir/src/blake3/blake3_sse2.c.o
[  5%] Building C object CMakeFiles/b3sse41.dir/src/blake3/blake3_sse41.c.o
[  6%] Building ASM object CMakeFiles/b3sse2.dir/src/blake3/blake3_sse2_x86-64_unix.S.o
[  7%] Building ASM object CMakeFiles/b3sse41.dir/src/blake3/blake3_sse41_x86-64_unix.S.o
[  7%] Built target b3portable
[  8%] Building ASM object CMakeFiles/b3avx2.dir/src/blake3/blake3_avx2_x86-64_unix.S.o
[  9%] Building C object CMakeFiles/b3avx2.dir/src/blake3/blake3.c.o
[ 10%] Building C object CMakeFiles/b3sse2.dir/src/blake3/blake3.c.o
[ 11%] Building C object CMakeFiles/b3sse41.dir/src/blake3/blake3.c.o
[ 11%] Built target b3avx2
[ 12%] Building ASM object CMakeFiles/b3avx512.dir/src/blake3/blake3_avx512_x86-64_unix.S.o
[ 13%] Building C object CMakeFiles/b3avx512.dir/src/blake3/blake3.c.o
[ 13%] Built target b3sse2
[ 13%] Built target b3sse41
[ 13%] Built target b3avx512
[ 17%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-accel.c.o
[ 17%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-atom.c.o
[ 17%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-accel.c.o
[ 18%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-composer.c.o
[ 17%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-atom.c.o
[ 19%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-composer.c.o
[ 20%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-diag.c.o
[ 21%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-diag.c.o
[ 22%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-doc.c.o
[ 23%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-doc.c.o
[ 25%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-docbuilder.c.o
[ 26%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-docbuilder.c.o
[ 27%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-docstate.c.o
[ 28%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-docstate.c.o
[ 29%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-dump.c.o
[ 30%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-dump.c.o
[ 31%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-emit.c.o
[ 32%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-event.c.o
[ 33%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-emit.c.o
[ 34%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-input.c.o
[ 35%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-parse.c.o
[ 35%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-path.c.o
[ 36%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-token.c.o
[ 37%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-event.c.o
[ 38%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-types.c.o
[ 39%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-input.c.o
[ 40%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-parse.c.o
[ 41%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-walk.c.o
[ 42%] Building C object CMakeFiles/fyaml_static.dir/src/util/fy-blob.c.o
[ 43%] Building C object CMakeFiles/fyaml_static.dir/src/util/fy-ctype.c.o
[ 44%] Building C object CMakeFiles/fyaml_static.dir/src/util/fy-utf8.c.o
[ 45%] Building C object CMakeFiles/fyaml_static.dir/src/util/fy-utils.c.o
[ 46%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-path.c.o
[ 47%] Building C object CMakeFiles/fyaml_static.dir/src/xxhash/xxhash.c.o
[ 48%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-token.c.o
[ 50%] Building C object CMakeFiles/fyaml_static.dir/src/thread/fy-thread.c.o
[ 51%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-types.c.o
[ 52%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-walk.c.o
[ 53%] Building C object CMakeFiles/fyaml_static.dir/src/allocator/fy-allocator.c.o
[ 54%] Building C object CMakeFiles/fyaml.dir/src/util/fy-blob.c.o
[ 55%] Building C object CMakeFiles/fyaml_static.dir/src/allocator/fy-allocator-linear.c.o
[ 56%] Building C object CMakeFiles/fyaml.dir/src/util/fy-ctype.c.o
[ 57%] Building C object CMakeFiles/fyaml.dir/src/util/fy-utf8.c.o
[ 58%] Building C object CMakeFiles/fyaml_static.dir/src/allocator/fy-allocator-malloc.c.o
[ 59%] Building C object CMakeFiles/fyaml_static.dir/src/allocator/fy-allocator-mremap.c.o
[ 60%] Building C object CMakeFiles/fyaml.dir/src/util/fy-utils.c.o
[ 61%] Building C object CMakeFiles/fyaml.dir/src/xxhash/xxhash.c.o
[ 62%] Building C object CMakeFiles/fyaml_static.dir/src/allocator/fy-allocator-dedup.c.o
[ 63%] Building C object CMakeFiles/fyaml_static.dir/src/allocator/fy-allocator-auto.c.o
[ 64%] Building C object CMakeFiles/fyaml.dir/src/thread/fy-thread.c.o
[ 65%] Building C object CMakeFiles/fyaml.dir/src/allocator/fy-allocator.c.o
[ 66%] Building C object CMakeFiles/fyaml_static.dir/src/blake3/blake3_host_state.c.o
[ 67%] Building C object CMakeFiles/fyaml_static.dir/src/blake3/blake3_backend.c.o
[ 68%] Building C object CMakeFiles/fyaml_static.dir/src/blake3/blake3_be_cpusimd.c.o
[ 69%] Building C object CMakeFiles/fyaml.dir/src/allocator/fy-allocator-linear.c.o
[ 69%] Building C object CMakeFiles/fyaml.dir/src/allocator/fy-allocator-malloc.c.o
[ 70%] Building C object CMakeFiles/fyaml.dir/src/allocator/fy-allocator-mremap.c.o
[ 71%] Building C object CMakeFiles/fyaml_static.dir/src/blake3/fy-blake3.c.o
[ 72%] Building C object CMakeFiles/fyaml.dir/src/allocator/fy-allocator-dedup.c.o
[ 73%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-composer-diag.c.o
[ 75%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-doc-diag.c.o
[ 76%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-docbuilder-diag.c.o
[ 78%] Building C object CMakeFiles/fyaml.dir/src/blake3/blake3_host_state.c.o
[ 77%] Building C object CMakeFiles/fyaml.dir/src/allocator/fy-allocator-auto.c.o
[ 79%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-input-diag.c.o
[ 80%] Building C object CMakeFiles/fyaml_static.dir/src/lib/fy-parse-diag.c.o
[ 81%] Building C object CMakeFiles/fyaml.dir/src/blake3/blake3_backend.c.o
[ 82%] Building C object CMakeFiles/fyaml.dir/src/blake3/blake3_be_cpusimd.c.o
[ 83%] Building C object CMakeFiles/fyaml.dir/src/blake3/fy-blake3.c.o
[ 84%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-composer-diag.c.o
[ 85%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-doc-diag.c.o
[ 86%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-docbuilder-diag.c.o
[ 87%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-input-diag.c.o
[ 88%] Building C object CMakeFiles/fyaml.dir/src/lib/fy-parse-diag.c.o
[ 89%] Linking C static library libfyaml_static.a
[ 89%] Built target fyaml_static
[ 92%] Building C object CMakeFiles/fy-thread.dir/src/internal/fy-thread.c.o
[ 92%] Building C object CMakeFiles/fy-b3sum.dir/src/internal/fy-b3sum.c.o
[ 92%] Building C object CMakeFiles/fy-allocators.dir/src/internal/fy-allocators.c.o
[ 93%] Linking C executable fy-allocators
[ 94%] Linking C executable fy-b3sum
[ 94%] Built target fy-allocators
[ 95%] Linking C executable fy-thread
[ 95%] Built target fy-b3sum
[ 95%] Built target fy-thread
[ 96%] Linking C shared library libfyaml.so
[ 96%] Built target fyaml
[ 96%] Building C object CMakeFiles/fy-tool.dir/src/tool/fy-tool-dump.c.o
[ 98%] Building C object CMakeFiles/fy-tool.dir/src/tool/fy-tool-util.c.o
[ 98%] Building C object CMakeFiles/fy-tool.dir/src/tool/fy-tool.c.o
[100%] Linking C executable fy-tool
[100%] Built target fy-tool
===> install-message [libfyaml-0.9.6nb1 appstream-1.1.2nb2 gimp-3.2.4nb3] ===> Installing for libfyaml-0.9.6nb1
=> Generating pre-install file lists
[  2%] Built target b3portable
[  8%] Built target b3avx512
[  8%] Built target b3sse41
[ 11%] Built target b3sse2
[ 13%] Built target b3avx2
[ 61%] Built target fyaml
[ 90%] Built target fyaml_static
[ 98%] Built target fy-tool
[ 97%] Built target fy-thread
[ 97%] Built target fy-b3sum
[100%] Built target fy-allocators
Installing the project stripped...
-- Install configuration: ""
Running Sphinx v9.1.0
loading translations [en]... done

Extension error!
Versions
========

* Platform:         netbsd10; (NetBSD-10.1-amd64-x86_64-64bit-ELF)
* Python version:   3.13.14 (CPython)
* Sphinx version:   9.1.0
* Docutils version: 0.23
* Jinja2 version:   3.1.6
* Pygments version: 2.20.0

Last Messages
=============

None.

Loaded Extensions
=================

None.

Traceback
=========

      File "/usr/pkg/lib/python3.13/site-packages/sphinx/registry.py", line 553, in load_extension
        raise ExtensionError(
            __('Could not import extension %s') % extname, err
        ) from err
    sphinx.errors.ExtensionError: Could not import extension linuxdoc.rstFlatTable (exception: No module named 'linuxdoc')


The full traceback has been saved in:
/tmp/sphinx-err-lk2dg6wr.log

To report this error to the developers, please open an issue at <https://github.com/sphinx-doc/sphinx/issues/>. Thanks!
Please also report this if it was a user error, so that a better error message can be provided next time.
CMake Error at cmake_install.cmake:48 (message):
  Failed to generate Sphinx man pages during install

*** [install/strip] Error code 1

make[6]: stopped in /tmp/pkgsrc/textproc/libfyaml/default/libfyaml-0.9.6/cmake-pkgsrc-build
1 error

make[6]: stopped in /tmp/pkgsrc/textproc/libfyaml/default/libfyaml-0.9.6/cmake-pkgsrc-build
*** Error code 2

Stop.
make[5]: stopped in /usr/pkgsrc/textproc/libfyaml
*** Error code 1

Stop.
make[4]: stopped in /usr/pkgsrc/textproc/libfyaml
*** Error code 1

Stop.
make[3]: stopped in /usr/pkgsrc/textproc/libfyaml
*** Error code 1

Stop.
make[2]: stopped in /usr/pkgsrc/devel/appstream
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/devel/appstream
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/gimp
pkg_comp:default101.conf#


Fix:

pkg_comp:default101.conf# pkg_delete -r py313-sphinx-9.1.0
pkg_comp:default101.conf# cd /usr/pkgsrc/textproc/libfyaml
pkg_comp:default101.conf# make clean
===> su-do-clean [libfyaml-0.9.6nb1] ===> Cleaning for libfyaml-0.9.6nb1
pkg_comp:default101.conf# make
=> Bootstrap dependency digest>=20211023: found digest-20220214
...almost the same as above, but doesn't find Sphinx...
[100%] Linking C executable fy-tool
[100%] Built target fy-tool
pkg_comp:default101.conf# make package
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> _pkgformat-check-vulnerable [libfyaml-0.9.6nb1] ===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> install-message [libfyaml-0.9.6nb1] ===> Installing for libfyaml-0.9.6nb1
=> Generating pre-install file lists
[  2%] Built target b3portable
[  6%] Built target b3avx512
[ 11%] Built target b3sse2
[ 10%] Built target b3avx2
[ 14%] Built target b3sse41
[ 52%] Built target fyaml_static
[ 90%] Built target fyaml
[ 92%] Built target fy-b3sum
[ 94%] Built target fy-allocators
[ 96%] Built target fy-thread
[100%] Built target fy-tool
Installing the project stripped...
-- Install configuration: ""
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/man/man1/fy-tool.1
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/lib/libfyaml.so.0.9.6
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/lib/libfyaml.so.0
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/lib/libfyaml.so
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/include/libfyaml.h
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/bin/fy-tool
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/include/libfyaml/libfyaml-util.h
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/include/libfyaml/libfyaml-core.h
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/include/libfyaml/libfyaml-path-exec.h
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/include/libfyaml/libfyaml-dociter.h
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/include/libfyaml/libfyaml-docbuild.h
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/include/libfyaml/libfyaml-composer.h
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/include/libfyaml/libfyaml-allocator.h
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/include/libfyaml/libfyaml-thread.h
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/include/libfyaml/libfyaml-blake3.h
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/include/libfyaml/libfyaml-align.h
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/include/libfyaml/libfyaml-endian.h
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/include/libfyaml/libfyaml-vlsize.h
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/include/libfyaml/libfyaml-atomics.h
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/lib/cmake/libfyaml/libfyaml-targets.cmake
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/lib/cmake/libfyaml/libfyaml-targets-noconfig.cmake
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/lib/cmake/libfyaml/libfyaml-config.cmake
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/lib/cmake/libfyaml/libfyaml-config-version.cmake
-- Installing: /tmp/pkgsrc/textproc/libfyaml/default/.destdir/usr/pkg/lib/pkgconfig/libfyaml.pc
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for libfyaml-0.9.6nb1
=> Checking for non-existent script interpreters in libfyaml-0.9.6nb1
=> Checking file permissions in libfyaml-0.9.6nb1
=> Checking for PIE in libfyaml-0.9.6nb1
=> Checking for RELRO in libfyaml-0.9.6nb1
=> Checking for missing run-time search paths in libfyaml-0.9.6nb1
=> Checking for work-directory references in libfyaml-0.9.6nb1
=> Creating binary package /tmp/pkgsrc/textproc/libfyaml/default/.packages/libfyaml-0.9.6nb1.tgz
===> package-message [libfyaml-0.9.6nb1] ===> Building binary package for libfyaml-0.9.6nb1
=> Creating binary package /pkg_comp/packages/All/libfyaml-0.9.6nb1.tgz
pkg_comp:default101.conf#


-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index