Opened 7 years ago

Closed 7 years ago

#55616 closed defect (fixed)

djview-qt5 @4.10.6: cannot find qmake during configure

Reported by: hugo-ribeiro (Hugo Ribeiro) Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: djview-qt5

Description

Trying to install djview-qt5 from source on high sierra results in an error during configure. Here's the relevant output from

port -sv install djview-qt5
configure: error: Cannot successfully run Qt program qmake.
Please define variable QMAKE to a working qmake.
If you define QMAKESPEC, make sure it is correct.
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview-qt5/work/djview-4.10.6" && ./configure --prefix=/opt/local --disable-nsdejavu --disable-desktopfiles
Exit code: 1
Error: Failed to configure djview-qt5, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview-qt5/work/djview-4.10.6/config.log
Error: Failed to configure djview-qt5: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_djview/djview-qt5/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port djview-qt5 failed

qmake is installed on the system (via qt5-base from macports). I've tried to add the default installation directory to my path, but that didn't help. Here's the output from

qmake -v
QMake version 3.1
Using Qt version 5.10.0 in /opt/local/libexec/qt5/lib

Attachments (2)

config.log (50.6 KB) - added by hugo-ribeiro (Hugo Ribeiro) 7 years ago.
config.log
main.log (86.7 KB) - added by hugo-ribeiro (Hugo Ribeiro) 7 years ago.

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by hugo-ribeiro (Hugo Ribeiro)

Attachment: config.log added

config.log

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: NicosPavlov removed
Owner: set to NicosPavlov
Status: newassigned

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Please attach the main.log file.

Changed 7 years ago by hugo-ribeiro (Hugo Ribeiro)

Attachment: main.log added

comment:3 Changed 7 years ago by hugo-ribeiro (Hugo Ribeiro)

Sorry about that. Here it is.

comment:4 Changed 7 years ago by NicosPavlov

Thanks for the report. Qmake path was properly set in the Portfile, but the QMAKESPEC variable was causing issues, and the error message was not really helpful. Should be fixed with next commit.

comment:5 Changed 7 years ago by NicosPavlov

Resolution: fixed
Status: assignedclosed

In 8d86ce4f394fef0a82ce3aeaa089553bd6b0a651/macports-ports:

Djview: Fix QMAKESPEC for qt5 (fixes #55616)

Note: See TracTickets for help on using tickets.