#67687 closed defect (fixed)

"couldn't open .qmake.cache" when compiling Qt-based program

Reported by: szhorvat (Szabolcs Horvát) Owned by: szhorvat (Szabolcs Horvát)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), jmroot (Joshua Root)
Port: qtads

Description

When I try to compile QTads from source, I get the following error:

:debug:configure qt5 PortGroup: Qt is provided by qt5
:debug:configure Executing proc-pre-org.macports.configure-configure-1
:debug:configure Active variants check for source-type install considers depends_fetch depends_extract depends_lib depends_build depends_run: xz libsdl2 libsndfile mpg123 fluidsynth libvorbis qt5-qtbase qt5-qtsvg pkgconfig
:debug:configure Executing proc-pre-org.macports.configure-configure-2
:error:configure Failed to configure qtads: couldn't open "/opt/local/var/macports/build/_Users_szhorvat_macports-ports_games_qtads/qtads/work/qtads-3.3.0-source/.qmake.cache": no such file or directory
:debug:configure Error code: NONE
:debug:configure Backtrace: couldn't open "/opt/local/var/macports/build/_Users_szhorvat_macports-ports_games_qtads/qtads/work/qtads-3.3.0-source/.qmake.cache": no such file or directory
:debug:configure     while executing
:debug:configure "$pre $targetname"
:error:configure See /opt/local/var/macports/logs/_Users_szhorvat_macports-ports_games_qtads/qtads/main.log for details.

I was able to compile QTads in the past with the same version of its portfile. I expect something might have changed in the Qt/qmake portgroups?

Attachments (1)

main.log (112.3 KB) - added by szhorvat (Szabolcs Horvát) 17 months ago.

Download all attachments as: .zip

Change History (4)

Changed 17 months ago by szhorvat (Szabolcs Horvát)

Attachment: main.log added

comment:1 Changed 14 months ago by szhorvat (Szabolcs Horvát)

Any feedback on this? The error here is a MacPorts specific one, as .qmake.cache is created by the qmake5 portgroup. This is beyond my expertise to debug.

comment:2 Changed 14 months ago by szhorvat (Szabolcs Horvát)

comment:3 Changed 14 months ago by szhorvat (Szabolcs Horvát)

Owner: set to szhorvat
Resolution: fixed
Status: newclosed

In 05a310f34e93598a26edb37f4e1cf393ee506d5f/macports-ports (master):

qtads: update to 3.4.0

  • update to 3.4.0
  • fix "Could not resolve SDK Path" by removing use_xcode, see #65293
  • fixes #67687
Note: See TracTickets for help on using tickets.