Opened 4 years ago

Closed 4 years ago

#61786 closed defect (fixed)

qt5-qtwebengine @5.14.2: Could not resolve SDK Path for 'macosx10.16' using --show-sdk-path

Reported by: cgilles (HumanDynamo) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: bigsur Cc:
Port: qt5-qtwebengine

Description (last modified by ryandesign (Ryan Carsten Schmidt))

MacOS version: 11.01
Xcode Version: 12.2 (12B45b)
MacOS backward compatibilty: 10.13

The problem appears while compiling dependenies to compile digiKam. As you can see, other Qt5 components from 5.14.2 compile fine. So MacOS version and SDK version are properly detected, but not with qtwebengine:

bash-3.2$ ./01-build-macports.sh
01-build-macports.sh : build a bundle Macports install with digiKam dependencies.
---------------------------------------------------------------------------------
Check run as root passed...
/Applications/Xcode.app/Contents/Developer
Check XCode CLI tools passed...
Target OSX minimal version: 10.13
CPU Cores to use : 7
---------- Detected OSX version 11.0 and code name BigSur
/opt/digikam already exist. Do you want to remove it or to continue an aborted previous installation ? [(r)emove/(c)ontinue/(s)top] c
---------- Continue aborted previous installation in /opt/digikam


---------- Updating MacPorts
--->  Updating MacPorts base sources using rsync

Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.


receiving file list ... done

sent 16 bytes  received 55 bytes  47.33 bytes/sec
total size is 85731840  speedup is 1207490.70

Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.


receiving file list ... done

sent 16 bytes  received 62 bytes  156.00 bytes/sec
total size is 512  speedup is 6.56
MacPorts base version 2.6.4 installed,
MacPorts base version 2.6.4 downloaded.
--->  Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/macports/release/tarballs/ports.tar

Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.


receiving file list ... done
./

sent 68 bytes  received 99 bytes  111.33 bytes/sec
total size is 80980480  speedup is 484913.05
Creating port index in /opt/digikam/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports

Total number of ports parsed:	0 
Ports successfully parsed:	0 
Ports failed:			0 
Up-to-date ports skipped:	24934

--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated


---------- Building digiKam dependencies with Macports


--->  Computing dependencies for ld64
--->  Cleaning ld64
--->  Computing dependencies for subversion
--->  Cleaning subversion
--->  Computing dependencies for cmake
--->  Cleaning cmake
--->  Computing dependencies for libpng
--->  Cleaning libpng
--->  Cleaning jpeg
--->  Computing dependencies for tiff
--->  Cleaning tiff
--->  Computing dependencies for boost
--->  Cleaning boost
--->  Cleaning eigen3
--->  Computing dependencies for gettext
--->  Cleaning gettext
--->  Cleaning libusb
--->  Computing dependencies for libgphoto2
--->  Cleaning libgphoto2
--->  Computing dependencies for jasper
--->  Cleaning jasper
--->  Computing dependencies for lcms2
--->  Cleaning lcms2
--->  Cleaning expat
--->  Computing dependencies for libxml2
--->  Cleaning libxml2
--->  Computing dependencies for libxslt
--->  Cleaning libxslt
--->  Computing dependencies for libical
--->  Cleaning libical
--->  Computing dependencies for lensfun
--->  Cleaning lensfun
--->  Computing dependencies for bison
--->  Cleaning bison
--->  Cleaning x265
--->  Computing dependencies for ffmpeg
--->  Cleaning ffmpeg
--->  Computing dependencies for qt5-qtbase
--->  Cleaning qt5-qtbase
--->  Computing dependencies for qt5-qtdeclarative
--->  Cleaning qt5-qtdeclarative
--->  Computing dependencies for qt5-qtmacextras
--->  Cleaning qt5-qtmacextras
--->  Computing dependencies for qt5-qtquickcontrols
--->  Cleaning qt5-qtquickcontrols
--->  Computing dependencies for qt5-qtxmlpatterns
--->  Cleaning qt5-qtxmlpatterns
--->  Computing dependencies for qt5-qtsvg
--->  Cleaning qt5-qtsvg
--->  Computing dependencies for qt5-qttools
--->  Cleaning qt5-qttools
--->  Computing dependencies for qt5-qttranslations
--->  Cleaning qt5-qttranslations
--->  Computing dependencies for qt5-qtimageformats
--->  Cleaning qt5-qtimageformats
--->  Computing dependencies for qt5-sqlite-plugin
--->  Cleaning qt5-sqlite-plugin
--->  Computing dependencies for qt5-mysql-plugin
--->  Cleaning qt5-mysql-plugin
--->  Computing dependencies for wget
--->  Cleaning wget
--->  Computing dependencies for ImageMagick
--->  Cleaning ImageMagick
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
--->  Computing dependencies for qt5-qtwebengine
--->  Configuring qt5-qtwebengine
Error: Failed to configure qt5-qtwebengine: configure failure: command execution failed
Error: See /opt/digikam/var/macports/logs/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtwebengine/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port qt5-qtwebengine failed
FAILED COMMAND: port install qt5-qtwebengine
bash-3.2$ 

Attachments (1)

main.log (1.0 MB) - added by cgilles (HumanDynamo) 4 years ago.
qt5-qtwebengien log file

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by cgilles (HumanDynamo)

Attachment: main.log added

qt5-qtwebengien log file

comment:1 Changed 4 years ago by cgilles (HumanDynamo)

Note: digiKam can be compiled with QtWebEngine or QtWebkit as Qt web interface. WebEngine is now the default choice as Webkit compnent is not maintained by Qt team.

For testing, is switch to QtWebkit to see if digiKam compile fine, and it's the case.

So the problem is mainly located in QtWebEngine 5.14.2 about BigSur support.

For info, we have a DOWSTREAM ticket here: https://bugs.kde.org/show_bug.cgi?id=429103

Gilles Caulier

comment:2 Changed 4 years ago by cgilles (HumanDynamo)

Another details: Macos SDKs on file system :

bash-3.2$ xcrun --show-sdk-path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
bash-3.2$ 

bash-3.2$ pwd
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs

bash-3.2$ ll
total 0
drwxr-xr-x  7 root  wheel  224  8 déc 22:34 .
drwxr-xr-x  6 root  wheel  192 24 oct 04:20 ..
drwxr-xr-x  5 root  wheel  160 19 oct 22:33 DriverKit20.0.sdk
drwxr-xr-x  7 root  wheel  224 19 oct 22:33 MacOSX.sdk
drwxr-xr-x@ 5 root  wheel  160  5 déc 07:14 MacOSX10.13.sdk
lrwxr-xr-x  1 root  wheel   10  8 déc 22:34 MacOSX10.16.sdk -> MacOSX.sdk
lrwxr-xr-x  1 root  wheel   10  4 déc 18:05 MacOSX11.0.sdk -> MacOSX.sdk

bash-3.2$ 

Last edited 4 years ago by cgilles (HumanDynamo) (previous) (diff)

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: qt5-qtwebengine removed
Owner: set to MarcusCalhoun-Lopez
Status: newassigned
Summary: qt5-qtwebengine 5.14.2 do not configure under BigSurqt5-qtwebengine @5.14.2: Could not resolve SDK Path for 'macosx10.16' using --show-sdk-path

comment:4 Changed 4 years ago by kencu (Ken)

I suspect you'll have a lot more luck on Big Sur if you use this PR here <https://github.com/macports/macports-ports/pull/8744> to get to qt5.15.1.

That at least installs on BIg Sur as of a couple of weeks ago, and then I think qtwebengine might need a bit more work, but it'll probably be much closer to doable...

comment:5 Changed 4 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

the referenced PR was committed.

Note: See TracTickets for help on using tickets.