[MacPorts] #74285: legacy-support does not work correctly with Python packages
MacPorts
noreply at macports.org
Sun Aug 2 07:13:59 UTC 2026
#74285: legacy-support does not work correctly with Python packages
----------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: legacy-support | Version: 2.12.5
Keywords: | Port:
----------------------------+--------------------
Simple example: take `py-dukpy` port, build 0.6.0 version (which needs
`clock_gettime`):
{{{
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c
-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup legacysupport 1.1
PortGroup python 1.0
# clock_gettime
legacysupport.newest_darwin_requires_legacy 15
name py-dukpy
version 0.6.0
revision 0
categories-append devel
license MIT
maintainers {@barracuda156 macos-powerpc.org:barracuda}
openmaintainer
description Simple JavaScript interpreter
long_description {*}${description} for Python.
homepage https://github.com/amol-/dukpy
checksums rmd160 504c008aa439039b787195accb1d9a850a989294 \
sha256
f8b1d1f75c6a5be9b525dc80f05b6c869a671481be689da146b2c6937b3450ee \
size 2629112
python.versions 310 311 312 313 314
}}}
The build succeeds, but `legacy-support` is not linked: run `dukpy-3.14`
(or whichever python subport), and you get `symbol not found:
_clock_gettime`.
--
Ticket URL: <https://trac.macports.org/ticket/74285>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list