Opened 7 years ago

Last modified 4 years ago

#55761 new defect

gpsbabel-app @1.5.4: Project ERROR: Unknown module(s) in QT: webkit webkitwidgets

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: gpsbabel-app

Description

gpsbabel-app fails to build on all buildbot builders with:

WARNING: Project ERROR: Unknown module(s) in QT: webkit webkitwidgets
mkdir -p objects/GPSBabelFE.app/Contents/MacOS/translations
cp *.qm  objects/gpsbabelFE.app/Contents/MacOS/translations
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
make: *** [install] Error 64

https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/18227

I see that gpsbabel-app has a qtwebkit variant, but apparently the port requires qtwebkit even when not using that variant.

Change History (1)

comment:1 Changed 4 years ago by tsteven4

The standard error message "WARNING: Project ERROR: Unknown module(s) in QT: webkit webkitwidgets" results from the Qt tools lupdate and lrelease incorrectly processing the conditional in the pro file. This is a known issue with those tools, https://bugreports.qt.io/browse/QTBUG-40243. While this message is output lupdate and lrelease return exit code 0. Although the original log files seem to be lost I assert this did not cause the build failures.

From the snippet in the description it appears the failure was caused by the cp command. This was fixed in https://github.com/macports/macports-ports/pull/10437. You can see this in the log file https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/54506/steps/install-port/logs/main.log which shows the warning related to webkit and webkitwidgets is still present but the build succeeds.

Note: See TracTickets for help on using tickets.