py39-pdm-backend fails to build in Sonoma 14.7.6

Lluc Pallejà lluc at squeakycarrot.com
Tue Apr 29 13:29:49 UTC 2025


Hi,

Since a few days ago the py39-pdm-backend package fails to build under 
Sonoma 14.7.6 using Macports 2.10.5 or 2.10.6

:debug:build system:  cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pdm-backend/py39-pdm-backend/work/pdm_backend-2.4.4" 
&& 
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 
-m build --no-isolation --wheel --outdir 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pdm-backend/py39-pdm-backend/work
:info:build * Getting build dependencies for wheel...
:info:build ERROR Missing dependencies:
:info:build 	importlib-metadata>=3.6; python_version < "3.10"
:info:build Command failed:  cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pdm-backend/py39-pdm-backend/work/pdm_backend-2.4.4" 
&& 
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 
-m build --no-isolation --wheel --outdir 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pdm-backend/py39-pdm-backend/work
:info:build Exit code: 1
:error:build Failed to build py39-pdm-backend: command execution failed
:debug:build Error code: CHILDSTATUS 31640 1
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback 
portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pdm-backend/py39-pdm-backend/main.log 
for details.


I just checked with sudo port installed and the two folling packages are 
also installed:

py39-importlib-metadata @8.6.1_0 (active)
  py310-importlib-metadata @8.5.0_0 (active)

Any idea how ti fix this?

Thanks,

-- 
Lluc Pallejà | UX/UI & Web Designer
lluc at squeakycarrot.com | www.squeakycarrot.com



More information about the macports-users mailing list