[Midnightbsd-cvs] [MidnightBSD/mports] 09b318: devel/py-poetry-core: update to 2.4.1

Lucas Holt noreply at github.com
Mon Aug 17 18:26:55 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 09b3188d32e86c281cf7c8af62cd35aba4173db7
      https://github.com/MidnightBSD/mports/commit/09b3188d32e86c281cf7c8af62cd35aba4173db7
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-16 (Sun, 16 Aug 2026)

  Changed paths:
    M devel/py-poetry-core/Makefile
    M devel/py-poetry-core/distinfo

  Log Message:
  -----------
  devel/py-poetry-core: update to 2.4.1

1.9.1 only understands the legacy [tool.poetry] metadata, so projects that
declare PEP 621 [project] metadata fail to build against it:

  RuntimeError: The Poetry configuration is invalid:
    - The fields ['authors', 'description', 'name', 'version'] are required
      in package mode.        (audio/py-audioread)
  ERROR Missing dependencies: poetry-core>=2.0.0   (math/py-pandas-stubs)

2.x still supports the legacy layout, so existing consumers keep working.
Both ports above build against 2.4.1 here.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: e396fc034bc1a944c78428ff1d7bc81034e6b45f
      https://github.com/MidnightBSD/mports/commit/e396fc034bc1a944c78428ff1d7bc81034e6b45f
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-16 (Sun, 16 Aug 2026)

  Changed paths:
    M devel/py-boto/Makefile

  Log Message:
  -----------
  devel/py-boto: depend on py-six at build time

setup.py imports boto, which imports boto.compat, which imports six, so the
module is needed before the package is built and not only at run time:

  File "boto/compat.py", line 49, in <module>
    import six
  ModuleNotFoundError: No module named 'six'

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 924748e58993711ac1423fdea082884d987738c6
      https://github.com/MidnightBSD/mports/commit/924748e58993711ac1423fdea082884d987738c6
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-16 (Sun, 16 Aug 2026)

  Changed paths:
    M x11-fonts/py-compreffor/Makefile

  Log Message:
  -----------
  x11-fonts/py-compreffor: add the missing py-wheel build dependency

The pep517 build stops with "ERROR Missing dependencies: wheel".

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 194e19281339f480cbff5b1bf3f45a499d6ee678
      https://github.com/MidnightBSD/mports/commit/194e19281339f480cbff5b1bf3f45a499d6ee678
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-16 (Sun, 16 Aug 2026)

  Changed paths:
    M devel/thrift-cpp/Makefile

  Log Message:
  -----------
  devel/thrift-cpp: fix the staging path in post-install

post-install used ${STAGEDIR}${PREFIX}.  During fake, PREFIX already contains
FAKE_DESTDIR, so the path was doubled and strip could not find the libraries:

  strip: open .../fake-inst-amd64/magus/work/.../fake-inst-amd64/usr/local/lib/lib*.so
  failed: No such file or directory

The three compatibility symlinks were created in the same bogus directory.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 6ac23e80144b4f8d02cc7b3bb00995a8ee627936
      https://github.com/MidnightBSD/mports/commit/6ac23e80144b4f8d02cc7b3bb00995a8ee627936
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-16 (Sun, 16 Aug 2026)

  Changed paths:
    M filesystems/httpdirfs/Makefile
    A filesystems/httpdirfs/files/patch-meson.build

  Log Message:
  -----------
  filesystems/httpdirfs: do not build the test suite

tests/meson.build pulls in the "unity" subproject through a wrap that meson
resolves by cloning it with git.  Ports must not fetch anything at build time,
and git is not a build dependency, so configure fails:

  ERROR: Subproject unity is buildable: NO
  tests/meson.build:5:12: ERROR: Git program not found, cannot download
  unity.wrap via git.

There is no meson option to turn the tests off, so patch out the subdir call.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: e6d5fec3de444e03203d203081f113823d5ca422
      https://github.com/MidnightBSD/mports/commit/e6d5fec3de444e03203d203081f113823d5ca422
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-16 (Sun, 16 Aug 2026)

  Changed paths:
    M ai/github-copilot-cli/Makefile

  Log Message:
  -----------
  ai/github-copilot-cli: run the phdr relocation after the patch phase

The program header relocation needs python, but python:build registers a
BUILD_DEPENDS, and those are only installed at the start of the configure
phase -- well after post-extract runs:

  make: exec(/usr/local/bin/python3.12) failed (No such file or directory)

Use python:patch and do the work in post-patch, which runs after
patch-depends.  The relocation now reports "moved 14 program headers to
offset 64" and the port packages.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: dc0f9d3025da542aee6a760f63c8438944d14b0e
      https://github.com/MidnightBSD/mports/commit/dc0f9d3025da542aee6a760f63c8438944d14b0e
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-16 (Sun, 16 Aug 2026)

  Changed paths:
    M databases/py-pg8000/Makefile
    M databases/py-pg8000/distinfo

  Log Message:
  -----------
  databases/py-pg8000: update to 1.31.5

1.17.0 builds through an old versioneer.py that calls
configparser.SafeConfigParser, removed in Python 3.12:

  AttributeError: module 'configparser' has no attribute 'SafeConfigParser'

1.31.5 uses hatchling and PEP 517.  Unlike FreeBSD this depends on
devel/py-hatchling rather than the py-hatch CLI, which is what pyproject.toml
actually lists in build-system.requires and is the port mports has.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 2a78def1fe8be4a920b4e9015628b122bc0a365f
      https://github.com/MidnightBSD/mports/commit/2a78def1fe8be4a920b4e9015628b122bc0a365f
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    M audio/libsamplerate/Makefile
    M audio/libsamplerate/distinfo
    A audio/libsamplerate/files/patch-cmake_FindSndFile.cmake
    R audio/libsamplerate/files/patch-examples_audio__out.c
    R audio/libsamplerate/files/patch-src_samplerate.h
    M audio/libsamplerate/pkg-plist

  Log Message:
  -----------
  audio/libsamplerate: update to 0.2.2

0.1.9 predates src_clone(), so audio/py-samplerate does not build:

  samplerate.cpp:129:14: error: use of undeclared identifier 'src_clone'

Upstream moved to github.com/libsndfile/libsamplerate, switched to cmake and
relicensed from GPLv2 to BSD 2-clause in 0.2.0; the LICENSE change is
confirmed against COPYING in the 0.2.2 tarball.  The two local patches were
0.1.9-era and no longer apply, so take FreeBSD's FindSndFile patch instead.

The shared library version stays libsamplerate.so.0, so the 17 dependent
ports need no revision bump.

do-install-EXAMPLES-on uses ${FAKE_DESTDIR}${PREFIX}: option helper targets
run in the main make, where PREFIX is not stage-prefixed and STAGEDIR is
empty.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 2f810f7e4c7c0f43dd187136f48b4b46aa555b11
      https://github.com/MidnightBSD/mports/commit/2f810f7e4c7c0f43dd187136f48b4b46aa555b11
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    M devel/py-pyproject-metadata/Makefile
    M devel/py-pyproject-metadata/distinfo

  Log Message:
  -----------
  devel/py-pyproject-metadata: update to 0.12.1

Needed by devel/meson-python 0.18.0, which requires >= 0.9.0.  Upstream moved
to github.com/pypa/pyproject-metadata, renamed the sdist to
pyproject_metadata-*, and switched the build backend to flit-core.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: fec85a962f6d7a16afb3ea49834e3fa236098c27
      https://github.com/MidnightBSD/mports/commit/fec85a962f6d7a16afb3ea49834e3fa236098c27
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    M devel/meson-python/Makefile
    M devel/meson-python/distinfo

  Log Message:
  -----------
  devel/meson-python: update to 0.18.0

math/py-numpy 2.x requires meson-python >= 0.18.0.  Bump the
pyproject-metadata requirement to >= 0.9.0 and packaging to >= 23.2 to match,
and add the sysutils/patchelf run dependency the newer backend uses.

The MidnightBSD-local meson-${PYTHON_VER} naming and the MESON make
environment override are kept.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 20c0595129d03e66722976f38fcb4c7d4e6f87b8
      https://github.com/MidnightBSD/mports/commit/20c0595129d03e66722976f38fcb4c7d4e6f87b8
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    M math/py-numpy/Makefile
    M math/py-numpy/distinfo
    R math/py-numpy/files/patch-clang
    R math/py-numpy/files/patch-numpy-distutils-exec_command.py
    R math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py
    R math/py-numpy/files/patch-numpy-distutils-fcompiler-gnu.py
    R math/py-numpy/files/patch-numpy-distutils-system_info.py
    R math/py-numpy/files/patch-numpy_core_setup.py
    R math/py-numpy/files/patch-numpy_core_src_common_npy__cpu__features.c
    R math/py-numpy/files/patch-numpy_distutils_mingw32ccompiler.py
    R math/py-numpy/files/patch-numpy_f2py_f2py2e.py
    R math/py-numpy/files/patch-numpy_random_setup.py
    R math/py-numpy/files/patch-pyproject.toml
    R math/py-numpy/files/patch-swig44
    R math/py-numpy/files/site.cfg

  Log Message:
  -----------
  math/py-numpy: update to 2.4.6

mports has carried math/py-numpy1 at 1.26.4 for a while, so the 1.x line is
already provided; math/py-numpy itself was simply never moved to 2.x.  This
blocks consumers that require the new ABI, e.g. math/py-ml-dtypes:

  py312-ml-dtypes-0.5.1_2 depends on package: py312-numpy>=2.0,1<3,1 - not found

None of the 56 ports depending on math/py-numpy pin an upper bound below 2, so
nothing needed relaxing.

numpy 2 removed numpy.distutils, so all twelve local patches and site.cfg are
gone along with the distutils-era configure plumbing; the build is meson via
PEP 517.  FreeBSD carries no patches at this version either.

The BLAS choice keeps ATLAS, NETLIB and OPENBLAS: mports' blaslapack extension
knows atlas, gotoblas, netlib and openblas only, so FreeBSD's BLIS and
FlexiBLAS options have nothing to select here.  CONFLICTS_INSTALL against
py*-numpy1 is added, and post-install-DOCS-on keeps ${FAKE_DESTDIR} because
option helper targets run in the main make.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 39de5aa1ca13d665b14d0532e38a8dc3caeaa59b
      https://github.com/MidnightBSD/mports/commit/39de5aa1ca13d665b14d0532e38a8dc3caeaa59b
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    M math/or-tools/Makefile

  Log Message:
  -----------
  math/or-tools: take libbzip2 from misc/vxl

archivers/bzip2 installs libbz2.so, not libbzip2.so, so the dependency could
never be satisfied:

  or-tools-9.14 depends on shared library: libbzip2.so - not found

misc/vxl bundles and installs lib/libbzip2.so, which is where FreeBSD points
this dependency too.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: a4f8d3237916330fbbffb3640546fda613c9a242
      https://github.com/MidnightBSD/mports/commit/a4f8d3237916330fbbffb3640546fda613c9a242
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    M ai/py-sagemaker-schema-inference-artifacts/Makefile

  Log Message:
  -----------
  ai/py-sagemaker-schema-inference-artifacts: fix the staging path of the install

PEP517_INSTALL_CMD passed --destdir ${STAGEDIR} --prefix ${PREFIX}, but
do-install runs with PREFIX already stage-prefixed, so the wheel unpacked into
a doubled path and the RECORD lookup that follows failed:

  FileNotFoundError: .../fake-inst-amd64/usr/local/lib/python3.12/site-packages/
  sagemaker_schema_inference_artifacts-0.0.5*.dist-info/RECORD

Use --destdir ${FAKE_DESTDIR} --prefix ${TRUE_PREFIX}, matching the default
PEP517_INSTALL_CMD in Mk/extensions/python.mk.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 60fba952dc9154b61880cf6a9b4fd05b3d447b38
      https://github.com/MidnightBSD/mports/commit/60fba952dc9154b61880cf6a9b4fd05b3d447b38
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    R www/gitlab-workhorse/files/patch-internal_gitaly_blob.go

  Log Message:
  -----------
  www/gitlab-workhorse: drop the obsolete blob.go patch

patch-internal_gitaly_blob.go widened a len() comparison against
math.MaxUint32 in BlobClient.SendListBlobs.  18.8.2 no longer has that
function or the comparison, so the patch fails to apply and the port stops in
the patch phase:

  No such line 69 in input file, ignoring
  1 out of 1 hunks failed--saving rejects to internal/gitaly/blob.go.rej

The only remaining math.MaxUint32 uses in workhorse are in vendored third
party code.  The patch phase completes cleanly without it.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 5aaf83a4bdc4d59af1f9ab50367111ce4480caee
      https://github.com/MidnightBSD/mports/commit/5aaf83a4bdc4d59af1f9ab50367111ce4480caee
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    M japanese/nethack34/Makefile

  Log Message:
  -----------
  japanese/nethack34: keep the stage directory out of the launcher script

sys/unix/Makefile.top builds bin/jnethack by substituting GAMEDIR, which is
${PREFIX}/share/${HACKNAME}.  PREFIX is stage-prefixed during install, so the
launcher shipped with the stage path baked in and fake rejected it:

  bin/jnethack contains the fake destdir

  HACKDIR=.../work/fake-inst-amd64/usr/local/share/jnethack

Strip FAKE_DESTDIR back out in post-install; the launcher now reads
HACKDIR=/usr/local/share/jnethack.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 0b784101c001d9647e7f6d8366f4a6494655dceb
      https://github.com/MidnightBSD/mports/commit/0b784101c001d9647e7f6d8366f4a6494655dceb
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    M lang/cython0/Makefile

  Log Message:
  -----------
  lang/cython0: drop the py27 flavor

Cython 0.29.37 fails to cythonize its own sources under python 2.7:

  Cython.Compiler.Errors.CompileError: .../Cython/Compiler/FlowControl.py

FreeBSD no longer has python 2.7 at all, so its python:2.7-3.12 range never
generates a py27 flavor there; mports still ships lang/python27, so it does.
Nothing in the tree depends on lang/cython0 and the port is already marked
DEPRECATED with an expiration date that has passed, so narrow the range rather
than chase the 2.7 build.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: db588224cdf6b478e4a30b68377d352e53877d26
      https://github.com/MidnightBSD/mports/commit/db588224cdf6b478e4a30b68377d352e53877d26
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    M lang/gnat12/Makefile

  Log Message:
  -----------
  lang/gnat12: build as FreeBSD and fix the PLIST_SUB values

gcc's configure has no midnightbsd case, so _PLATFORM=${OPSYS:tl}${OSREL} gave
a triplet it rejects outright:

  *** Configuration x86_64-portbld-midnightbsd4 not supported
  gmake[1]: *** [Makefile:4549: configure-gcc] Error 1

Use freebsd13.0, which is what lang/gcc12 does and what this port's own
bootstrap assets (gnat-*-freebsd.13-*) already are.

With the build fixed, packaging then failed because the architecture and
multilib PLIST_SUB values were a single space rather than empty, so every
entry using them gained a leading space:

  Could not stat .../usr/local/ gnat12/lib/gcc/.../adainclude/g-sse.ads

Set AMD64, AARCH64, X86, 64BIT and LIB32 to "" for the enabled cases.  Builds
and packages here with MULTILIB on.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 9d352b56b9c63299ccf87fa66828e715028ceaad
      https://github.com/MidnightBSD/mports/commit/9d352b56b9c63299ccf87fa66828e715028ceaad
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    M databases/firebird40-server/Makefile
    M databases/firebird40-server/distinfo

  Log Message:
  -----------
  databases/firebird40-server: build msg.fdb for the client too, update to 4.0.5

databases/firebird40-client failed in the message file step:

  I/O error during "open" operation for file "msg.fdb"
  (E) src/msgs/build_file.epp:47: Couldn't access database DB = 'msg.fdb'

gen/msg.fdb is produced by the "databases" target, and gen/Makefile only makes
that a prerequisite of gpre when IsServer=Y:

  gen/Makefile:434  ifeq ($(IsServer), Y)
                        gpre: $(GPRE) databases
                    else
                        gpre: $(GPRE)

but "rest" depends on message_file either way, and the client package installs
the compiled .msg files.  IsServer=Y was set only for the server, which is why
firebird40-server built while firebird40-client did not.  Move it out of the
CLIENT_ONLY guard; USERS and GROUPS stay server-only.

The update to 4.0.5 is unrelated to that failure -- 4.0.4 and 4.0.5 fail
identically without the IsServer change -- and is included only to track the
release FreeBSD ships.  Both ports build and package.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: c7b22106ec4f1283fd9e83ac5aee79a48f5b9d51
      https://github.com/MidnightBSD/mports/commit/c7b22106ec4f1283fd9e83ac5aee79a48f5b9d51
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    A lang/rust-nightly/files/patch-src_bootstrap_bootstrap.py

  Log Message:
  -----------
  lang/rust-nightly: teach bootstrap.py about MidnightBSD

The build stopped immediately:

  unknown OS type: MidnightBSD
  Build completed unsuccessfully in 0:00:00

bootstrap.py maps uname(1) output to an LLVM triple and aborts on anything
missing from its table.  lang/rust already carries this hunk as
patch-src_bootstrap_bootstrap.py; rust-nightly never got it.

This is unrelated to the SIGSEGV failures in lang/rust and lang/rust188.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 3e8bc46a608755e23da1e40e3bd6ff681ba4ea48
      https://github.com/MidnightBSD/mports/commit/3e8bc46a608755e23da1e40e3bd6ff681ba4ea48
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    M Tools/lib/Magus/App/Slave/Worker.pm
    M www/firefox/Makefile
    M www/firefox/distinfo
    M www/firefox/files/patch-python_sites_build.txt
    M www/firefox/files/patch-third__party_sqlite3_ext_sqlite-vec_sqlite-vec.c
    A www/firefox/files/patch-toolkit_components_protobuf_src_google_protobuf_io_zero__copy__stream__impl.cc
    R www/firefox/files/patch-toolkit_components_protobuf_src_google_protobuf_stubs_port.h
    M www/node20/Makefile
    M www/node20/Makefile.version
    M www/node20/distinfo
    M www/node20/files/patch-src_cares__wrap.h
    M www/node22/Makefile
    M www/node22/Makefile.version
    M www/node22/distinfo
    R www/node22/files/patch-common.gypi
    M www/node22/files/patch-src-cares_wrap.h
    M www/node23/Makefile
    M www/node23/files/patch-src-cares_wrap.h
    M www/node24/Makefile
    M www/node24/Makefile.version
    M www/node24/distinfo
    M www/node24/files/patch-src-cares_wrap.h
    M www/node25/Makefile
    M www/node25/Makefile.version
    M www/node25/distinfo
    M www/node25/files/patch-src-cares_wrap.h

  Log Message:
  -----------
  Merge branch 'master' of ssh://github.com/MidnightBSD/mports


Compare: https://github.com/MidnightBSD/mports/compare/f77687f15256...3e8bc46a6087

To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list