[Bug 294672] devel/py-build print/py-fonttools, and a number of others failing with errors about Makefile errors related to UNIQUE

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Apr 2026 19:05:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294672

            Bug ID: 294672
           Summary: devel/py-build print/py-fonttools, and a number of
                    others failing with errors about Makefile errors
                    related to UNIQUE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: russo@bogodyn.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

Trying to update devel/py-build (current port status ports
96208f0a17d4f6b1dc184e41e6155a3c3b028fd5), I now get a makefile error that I've
never seen before.  Several other python ports are giving me similar errors,
but I am focusing on this one because it's one that other ports depend on.

uname -a:
FreeBSD xxx.xxx 14.4-STABLE FreeBSD 14.4-STABLE stable/14-n273983-7dfe77679c0a
GENERIC amd64

"make" in the /usr/ports/devel/py-build directory gets me this:
# make
===>  License MIT accepted by the user
===>   py311-build-1.4.2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py311-build-1.4.2 for building
===>  Extracting for py311-build-1.4.2
=> SHA256 Checksum OK for build-1.4.2.tar.gz.
===>  Patching for py311-build-1.4.2
===>   py311-build-1.4.2 depends on file: /usr/local/bin/python3.11 - found
===>   py311-build-1.4.2 depends on package: py311-flit-core>=3.11 - found
===>   py311-build-1.4.2 depends on package: py311-installer>=0 - found
===>   py311-build-1.4.2 depends on file: /usr/local/bin/ccache - found
===>  Configuring for py311-build-1.4.2
===>  Building for py311-build-1.4.2
Building wheel from /usr/ports/devel/py-build/work-py311/build-1.4.2
Wheel built
/usr/ports/devel/py-build/work-py311/build-1.4.2/dist/build-1.4.2-py3-none-any.whl
===>  Staging for py311-build-1.4.2
===>   py311-build-1.4.2 depends on package: py311-packaging>=24.0 - found
===>   py311-build-1.4.2 depends on package: py311-pyproject-hooks>=0 - found
===>   py311-build-1.4.2 depends on file: /usr/local/bin/python3.11 - found
===>   Generating temporary packing list
===> Creating unique files: Move MAN files needing SUFFIX
===> Creating unique files: Move files needing SUFFIX
Makefile error: UNIQUE (suffix): bin/pyproject-build not found
*** Error code 1


There is no "bin/pyproject-build" file anywhere in the work directory, but
there is one with a -3.11 suffix:

# find . -name 'pyproject-build*'
./work-py311/stage/usr/local/bin/pyproject-build-3.11

I haven't enumerated *all* of the packages that are failing in this similar
way, but print/py-fonttools is doing it, too:

# cd /usr/ports/print/py-fonttools
# make
...
removing build/bdist.freebsd-14.4-STABLE-amd64/wheel
Successfully built fonttools-4.62.1-cp311-cp311-freebsd_14_4_stable_amd64.whl
===>  Staging for py311-fonttools-4.62.1
===>   py311-fonttools-4.62.1 depends on package: py311-lxml>=4.0 - found
===>   py311-fonttools-4.62.1 depends on file: /usr/local/bin/python3.11 -
found
===>   py311-fonttools-4.62.1 depends on package: py311-unicodedata2>=17.0.0 -
found
===>   Generating temporary packing list
/usr/bin/find
/usr/ports/print/py-fonttools/work-py311/stage/usr/local/lib/python3.11/site-packages
-name '*.so' -exec /usr/bin/strip {} +
===> Creating unique files: Move MAN files needing SUFFIX
Move: share/man/man1/ttx.1 --> share/man/man1/ttx-3.11.1
Link: @share/man/man1/ttx.1 --> share/man/man1/ttx-3.11.1
===> Creating unique files: Move files needing SUFFIX
Makefile error: UNIQUE (suffix): bin/fonttools not found
*** Error code 1

Stop.
make[1]: stopped making
"/usr/ports/print/py-fonttools/work-py311/.stage_done.fonttools._usr_local" in
/usr/ports/print/py-fonttools
*** Error code 1

# find . -name 'fonttools*'
./work-py311/fonttools-4.62.1
./work-py311/fonttools-4.62.1/Lib/fonttools.egg-info
./work-py311/fonttools-4.62.1/fonttools
./work-py311/fonttools-4.62.1/dist/fonttools-4.62.1-cp311-cp311-freebsd_14_4_stable_amd64.whl
./work-py311/stage/usr/local/bin/fonttools-3.11
./work-py311/stage/usr/local/lib/python3.11/site-packages/fonttools-4.62.1.dist-info

# git log .
commit f0b01595946ab1971b3821430790355086b3741c

Not sure what to make of this or how to get past it.

-- 
You are receiving this mail because:
You are the assignee for the bug.