Opened 3 days ago

Closed 11 hours ago

#71275 closed defect (fixed)

vtk @9.3.1_1+clang17+python311: ModuleNotFoundError: No module named 'setuptools'

Reported by: dyne2meter Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.10.4
Keywords: Cc: Dave-Allured (Dave Allured)
Port: vtk

Description

:info:destroot make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vtk/vtk/work/build'
:debug:destroot Executing proc-post-org.macports.destroot-destroot-0
:debug:destroot system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vtk/vtk/work/build: cmake -DVTK_WHEEL_BUILD:BOOL=ON -DVTK_VERSION_SUFFIX= /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vtk/vtk/work/VTK-9.3.1
:info:destroot -- Could not use git to determine source version, using version 
:info:destroot -- Found Python3: /opt/local/bin/python3.11 (found version "3.11.10") found components: Interpreter Development.Module
:info:destroot -- Found Python3: /opt/local/bin/python3.11 (found suitable version "3.11.10", minimum required is "3.4") found components: Interpreter Development.Module Development.Embed
:info:destroot -- Configuring done (6.9s)
:info:destroot -- Generating done (17.8s)
:info:destroot -- Build files have been written to: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vtk/vtk/work/build
:debug:destroot system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vtk/vtk/work/build: /opt/local/bin/python3.11 setup.py dist_info
:info:destroot Traceback (most recent call last):
:info:destroot   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vtk/vtk/work/build/setup.py", line 1, in <module>
:info:destroot     from setuptools import Extension, setup
:info:destroot ModuleNotFoundError: No module named 'setuptools'
:info:destroot Command failed: /opt/local/bin/python3.11 setup.py dist_info
:info:destroot Exit code: 1
:error:destroot Failed to destroot vtk: command execution failed
:debug:destroot Error code: NONE
:debug:destroot Backtrace: command execution failed
:debug:destroot     while executing
:debug:destroot "$post $targetname"
:debug:destroot dropping privileges: euid changed to 502, egid changed to 501.
:error:destroot See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vtk/vtk/main.log for details.

Attachments (1)

vtk.log.gz (1.1 MB) - added by dyne2meter 3 days ago.
vtk main.log

Download all attachments as: .zip

Change History (5)

Changed 3 days ago by dyne2meter

Attachment: vtk.log.gz added

vtk main.log

comment:1 Changed 3 days ago by ryandesign (Ryan Carsten Schmidt)

Cc: Dave-Allured added
Owner: set to stromnov
Status: newassigned
Summary: vtk fails to destrootvtk @9.3.1_1+clang17+python311: ModuleNotFoundError: No module named 'setuptools'

comment:2 Changed 33 hours ago by Dave-Allured (Dave Allured)

@dyne2meter A Python bug fix for VTK was added after you filed this ticket. Your error looks like it is related, but I am not sure.

https://github.com/macports/macports-ports/commit/4548cd5067f7f08291c8f0ca88b4cdedbecd1830

Please port selfupdate and try again. Let us know whether it fixed your problem. If it is still broken, please attach a new main.log. Thank you.

comment:3 Changed 18 hours ago by dyne2meter

Yes, it's fixed, so it looks like it was related.

comment:4 Changed 11 hours ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.