Opened 4 years ago

Last modified 4 years ago

#56728 assigned defect

zshdb fails to configure during install

Reported by: carlofdtam (Carlo Tambuatco) Owned by: g5pw (Aljaž Srebrnič)
Priority: Normal Milestone:
Component: ports Version: 2.5.2
Keywords: Cc:
Port: zshdb

Description (last modified by jmroot (Joshua Root))

The following error occurs when configuring zshdb:

configure: error: You might want to retry with another zsh using the --with-zsh option.
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_zshdb/zshdb/work/zshdb-0.92" && ./configure --prefix=/opt/local 
Exit code: 1
Error: Failed to configure zshdb, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_zshdb/zshdb/work/zshdb-0.92/config.log
Error: Failed to configure zshdb: configure failure: command execution failed
DEBUG: Error code: NONE
DEBUG: Backtrace: configure failure: command execution failed
DEBUG:     while executing
DEBUG: "$procedure $targetname"

Attachments (1)

zshdb.log (47.6 KB) - added by carlofdtam (Carlo Tambuatco) 4 years ago.
zshdb log file

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by carlofdtam (Carlo Tambuatco)

Attachment: zshdb.log added

zshdb log file

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

Description: modified (diff)
Owner: set to g5pw
Status: newassigned

Please remember to Cc the maintainer.

comment:2 Changed 4 years ago by ylluminate (ylluminate)

I think I'm having the same problem here:

sudo port install zshdb
--->  Computing dependencies for zshdb
--->  Fetching archive for zshdb
--->  Attempting to fetch zshdb-0.92_0.darwin_18.noarch.tbz2 from https://packages.macports.org/zshdb
--->  Attempting to fetch zshdb-0.92_0.darwin_18.noarch.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/zshdb
--->  Attempting to fetch zshdb-0.92_0.darwin_18.noarch.tbz2 from http://aus.us.packages.macports.org/macports/packages/zshdb
--->  Fetching distfiles for zshdb
--->  Verifying checksums for zshdb
--->  Extracting zshdb
--->  Configuring zshdb
Error: Failed to configure zshdb, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_zshdb/zshdb/work/zshdb-0.92/config.log
Error: Failed to configure zshdb: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_zshdb/zshdb/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port zshdb failed

I guess the real problem is that for some reason the version of zsh that's installed via MacPorts isn't compatible with this version of zshdb for some reason:

:info:configure checking Checking whether /opt/local/bin/zsh is compatible with zshdb... Looks like you don't have funcfiletrace.
:info:configure We need a zsh new enough which has that.
:info:configure no dice :-(
:info:configure configure: error: You might want to retry with another zsh using the --with-zsh option.

Anyone have any idea of what's going on? Again, I'm running the MacPorts zsh:

$ zsh --version
zsh 5.7.1 (x86_64-apple-darwin18.2.0)

$ port info zsh
zsh @5.7.1 (shells)
Variants:             universal
...

$ port search zsh
zsh @5.7.1 (shells)
    The Z shell

zshdb @0.92 (devel)
    GDB-like debugger for zsh scripts.

comment:3 Changed 4 years ago by g5pw (Aljaž Srebrnič)

Hmm... It seems like our zshdb version was a bit old, I updated it in 9540aae9517fc42946581b3d020050b42559360c and it installs correctly for me! Let me know it the update solves it for you, too :)

Note: See TracTickets for help on using tickets.