#65655 closed defect (fixed)

botan1 @1.10.17: rev-upgrade fails in destroot step with sphinx configuration error

Reported by: cooljeanius (Eric Gallager) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: botan1

Description

Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_botan1/botan1/work/Botan-1.10.17" && /usr/bin/make -w install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_botan1/botan1/work/destroot/opt/local 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_botan1/botan1/work/Botan-1.10.17" && /usr/bin/make -w install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_botan1/botan1/work/destroot/opt/local 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_botan1/botan1/work/Botan-1.10.17'
cp readme.txt build/docs
sphinx-build  -b html doc build/docs/manual
Running Sphinx v5.1.1

Configuration error:
There is a syntax error in your configuration file: Missing parentheses in call to 'print'. Did you mean print("This Sphinx is too old - upgrade to at least 1.0.7")? (conf.py, line 46)

make: *** [docs] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_botan1/botan1/work/Botan-1.10.17'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_botan1/botan1/work/Botan-1.10.17" && /usr/bin/make -w install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_botan1/botan1/work/destroot/opt/local 
Exit code: 2
Error: Failed to destroot botan1: command execution failed
DEBUG: Error code: CHILDSTATUS 60081 2
DEBUG: Backtrace: command execution failed
    while executing
"system {*}$notty {*}$callback {*}$nice $fullcmdstring"
    invoked from within
"command_exec -callback portprogress::target_progress_callback destroot"
    (procedure "portdestroot::destroot_main" line 2)
    invoked from within
"$procedure $targetname"
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_botan1/botan1/main.log for details.
DEBUG: Rebuilding port botan1 finished with status 1
DEBUG: rev-upgrade failed: Error rebuilding botan1
    while executing
"error "Error rebuilding $portname""
    (procedure "revupgrade_scanandrebuild" line 451)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    ("uplevel" body line 3)
    invoked from within
"uplevel 1 $body"
Error: rev-upgrade failed: Error rebuilding botan1
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

I'm on Big Sur with Xcode 13.

Attachments (1)

botan1-main.log (164.7 KB) - added by cooljeanius (Eric Gallager) 21 months ago.
main.log for botan1

Download all attachments as: .zip

Change History (3)

Changed 21 months ago by cooljeanius (Eric Gallager)

Attachment: botan1-main.log added

main.log for botan1

comment:1 Changed 21 months ago by cooljeanius (Eric Gallager)

(the reason I still have botan1 installed despite it being old and outdated is because it's a dependency for qt4-creator-mac, btw)

comment:2 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 25787e2770d86253b029ab65a2f1805374ebc331/macports-ports (master):

botan1: Don't use Sphinx even if it is found

If the user had used "sudo port select sphinx py27-sphinx" they would
have gotten Sphinx documentation files. If the user had selected a
Python 3 version of sphinx the destroot phase would have failed.

Closes: #65655

Note: See TracTickets for help on using tickets.