Opened 5 years ago

Closed 5 years ago

Last modified 10 months ago

#59321 closed defect (fixed)

qt56-qtscript @5.6.3_2: : error: unknown type name 'This'

Reported by: kencu (Ken) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: tehcog (tehcog), chrstphrchvz (Christopher Chavez)
Port: qt56-qtscript

Description

This port defaults to clang-9.0 for building on 10.7, but this is a failure, in the end (log attached). The first error is as above, but a litany of errors follow.

The build succeeds with clang-3.7, but not clang-5.0.

qt56-qtscript @5.6.3_2 (active) platform='darwin 11' archs='x86_64' date='2019-10-13T13:06:49-0700'

Attachments (1)

qt56-qtscript-10.7-fail-clang-9.0.log (103.5 KB) - added by kencu (Ken) 5 years ago.

Download all attachments as: .zip

Change History (9)

Changed 5 years ago by kencu (Ken)

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

Has "duplicate", although with qt58 59325

comment:2 Changed 5 years ago by tehcog (tehcog)

Cc: tehcog added

comment:3 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

C++20 will likely have a header file called version. Qt Script has a file called VERSION. On a case-insensitive file systems, the wrong file will be found.

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

Indeed. I build all these older ports with clang-5.0 (which I hope we never get rid of), and don't see how we could realistically spend the time to upgrade all these older ports to build with clang-9.0. I don't plan to do that, myself.

Perhaps someone on the wild wide web has found the time to make it build with new, different, stricter compilers.

Version 0, edited 5 years ago by kencu (Ken) (next)

comment:5 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In e1b366527ad1c0f7bc8e42005df2285aaa1c606c/macports-ports (master):

qt5*-qtscript: allow C++20 compilers to work

C++20 will likely have a header file called version.
Qt Script has a file called VERSION.
On a case-insensitive file systems, the wrong file will be found.

Fixes #59321

comment:6 Changed 11 months ago by chrstphrchvz (Christopher Chavez)

This issue was addressed upstream only since 5.12: https://codereview.qt-project.org/c/qt/qtscript/+/254871

So the fix is still needed for qt59-qtscript and qt511-qtscript: https://github.com/macports/macports-ports/pull/21972

comment:7 Changed 11 months ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:8 Changed 10 months ago by chrstphrchvz (Christopher Chavez)

In 38bda3ab4bdc4d794a37f3635ac1f1e723032a24/macports-ports (master):

qt(59|511)-qtscript: allow C++20 compilers to work

As done previously for older Qt versions.

See: #59321

Note: See TracTickets for help on using tickets.