Opened 3 weeks ago

Closed 11 days ago

#70644 closed defect (worksforme)

qt6-qtwebengine @6.7.2_6 upgrade fails

Reported by: pietvo (Pieter van Oostrum) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc: pietvo (Pieter van Oostrum), reneeotten (Renee Otten)
Port: qt6-qtwebengine

Description

Upgrading qt6-qtwebengine to version 6.7.2_6 fails with a compilation error:

:info:build In file included from gen/components/viz/service/service_jumbo_3.cc:5:
:info:build In file included from ./../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/components/viz/service/display/display_resource_provider_software.cc:5:
:info:build In file included from ../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/components/viz/service/display/display_resource_provider_software.h:9:
:info:build In file included from ../../../../../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/vector:3359:
:info:build ../../../../../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/algorithm:1751:10: fatal error: '__algorithm/is_permutation.h' file not found
:info:build #include <__algorithm/is_permutation.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build 1 error generated.

Attachments (1)

main.log.bz2 (212.5 KB) - added by jmroot (Joshua Root) 3 weeks ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 3 weeks ago by pietvo (Pieter van Oostrum)

Cc: pietvo added

Changed 3 weeks ago by jmroot (Joshua Root)

Attachment: main.log.bz2 added

comment:2 Changed 3 weeks ago by jmroot (Joshua Root)

Cc: reneeotten added
Owner: set to MarcusCalhoun-Lopez
Port: qt6-qtwebengine added
Status: newassigned
Summary: qt6-qtwebengine upgrade failsqt6-qtwebengine @6.7.2_6 upgrade fails

comment:3 Changed 3 weeks ago by reneeotten (Renee Otten)

not sure what the issue it - the port appears to be building fine on the buildbots...

I doubt that I will be able to provide any real help, but what do xcode-select -print-path and xcrun -sdk macosx --show-sdk-path return for you?

comment:4 in reply to:  3 Changed 3 weeks ago by pietvo (Pieter van Oostrum)

Replying to reneeotten:

not sure what the issue it - the port appears to be building fine on the buildbots...

I doubt that I will be able to provide any real help, but what do xcode-select -print-path and xcrun -sdk macosx --show-sdk-path return for you?

xcode-select -print-path:
/Applications/Xcode.app/Contents/Developer

xcrun -sdk macosx --show-sdk-path:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk

I am running Ventura 13.6.9 with XCode 15.2. Is this a valid combination or would I need a MacOSX13 SDK?

comment:5 Changed 3 weeks ago by pietvo (Pieter van Oostrum)

I tried to find out if the SDK version was the problem. I installed MacOSX13.3.sdk from a backup, and then used:

export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk
sudo port upgrade outdated

which upgraded qt6-qtwebengine.

(I could have done a combined command, of course)

This upgraded without problems. So apparently the SDK version mismatch with the OS was the problem.

comment:6 Changed 3 weeks ago by josephsacco

Also fails to build on an iMac running Sonoma 14.6.1

xcode-select -print-path:
/Applications/Xcode.app/Contents/Developer

xcrun -sdk macosx --show-sdk-path:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk

-Joseph

Last edited 13 days ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 Changed 2 weeks ago by josephsacco

After updating the version of MacOS, I failed to "migrate" MacPorts. Oops!!!

wiki:Migration

Now all is well.

-Joseph

Last edited 13 days ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:8 Changed 11 days ago by reneeotten (Renee Otten)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.