Opened 2 years ago

Closed 19 months ago

#66463 closed defect (fixed)

Failed to configure openvdb: boost176 must be installed with +python39.

Reported by: Davidpmorrow Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc: jasonliu-- (Jason Liu)
Port: openvdb

Description

This is occurring while installing openvdb on a 2017 iMac running macOS Monterey 12.6.1. Ive tried multiple times with rev-upgrade. Ive also tried to install boost separately. Any suggestions as to why I can't upgrade to boost176?

Change History (6)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Cc: jasonliu-- added
Keywords: openvdb boost176 +python39 removed
Owner: set to MarcusCalhoun-Lopez
Port: openvdb added
Status: newassigned

comment:2 Changed 2 years ago by kencu (Ken)

the default python variant has not been updated in openvdb to match the default python variant in boost. It should be.

For now, until it is updated, you can install openvdb with the python variant that matches boost's default (3.10) like this:

sudo port clean openvdb
sudo port uninstall openvdb
sudo port -v install openvdb +python310

comment:3 Changed 2 years ago by jasonliu-- (Jason Liu)

Cc: jasonliu-- removed

comment:4 Changed 2 years ago by jasonliu-- (Jason Liu)

Cc: jasonliu-- added

comment:5 Changed 2 years ago by sbgraphic (Eric Scheurer)

Hello, same issue here on iMac Pro 10.6.2. I tried the suggestion above but I get the following new error.

Processing of port openvdb failed
[ 72%] Built target doc
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openvdb/openvdb/work/build'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openvdb/openvdb/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openvdb/openvdb/work/build" && /usr/bin/make -j20 -w all VERBOSE=ON 
Exit code: 2
Error: Failed to build openvdb: command execution failed

latest from log

latest from openvdb log:

:info:build Exit code: 2
:error:build Failed to build openvdb: command execution failed
:debug:build Error code: CHILDSTATUS 8720 2
: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 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/

Thanks for any update…

comment:6 Changed 19 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In 6059b74d6775bf8b1e683e4444c3dbd7b161157c/macports-ports (master):

openvdb: update to 10.0.1; default +python311

Closes: #66463

Note: See TracTickets for help on using tickets.