Opened 4 years ago

Closed 2 years ago

#60985 closed defect (fixed)

phantomjs-qt-qtbase: build error

Reported by: amake (Aaron Madlon-Kay) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port: phantomjs-qt-qtbase

Description

I am unable to build phantomjs-qt-qtbase; log is attached.

Attachments (1)

main.log (209.5 KB) - added by amake (Aaron Madlon-Kay) 4 years ago.

Download all attachments as: .zip

Change History (8)

Changed 4 years ago by amake (Aaron Madlon-Kay)

Attachment: main.log added

comment:1 Changed 4 years ago by amake (Aaron Madlon-Kay)

The log says

Warning: The macOS 10.15 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.

But I do have it:

❯ ls -al /Library/Developer/CommandLineTools/SDKs
total 0
drwxr-xr-x  6 root  wheel  192 Aug 11 10:51 .
drwxr-xr-x  5 root  wheel  160 Jan  6  2020 ..
lrwxr-xr-x  1 root  wheel   15 Aug 11 10:51 MacOSX.sdk -> MacOSX10.15.sdk
drwxr-xr-x  7 root  wheel  224 Aug 11 10:51 MacOSX10.14.sdk
drwxr-xr-x  8 root  wheel  256 Aug 11 10:51 MacOSX10.15.sdk
drwxr-xr-x  7 root  wheel  224 Jul 17 19:25 MacOSX11.0.sdk

Reinstalling the Xcode 11.5 CLT doesn't help.

I did notice that Software Update installed the Xcode 12 beta 3 CLT package a few days ago, despite my not asking for it.

  • macOS 10.15.6 19G73
  • Xcode 11.6 11E708
Last edited 4 years ago by amake (Aaron Madlon-Kay) (previous) (diff)

comment:2 Changed 4 years ago by jmroot (Joshua Root)

Cc: mcalhoun@… removed
Owner: set to MarcusCalhoun-Lopez
Status: newassigned

That's an incorrect warning which is generated because this port changes configure.sdk_version (I think there's a ticket for that but don't have the number handy). It looks like the real issue here is not related to the SDK, but rather some questionable C++ that the compiler rejects.

comment:3 Changed 4 years ago by amake (Aaron Madlon-Kay)

I find that if I blacklist clang 11 then it falls back to macports-clang-9.0 and the build succeeds.

I had to uncomment the pre-fetch fail relating to #53151 however.

comment:4 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

I did not notice this ticket when I reported #62051. At least some of the errors in the log are described in that ticket, and the fact that the port fails to build with Xcode clang 11.5 and later while LLVM clang 9.0 works is consistent with that ticket.

comment:5 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:6 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

Can this ticket be closed (possibly as duplicate of #62051)? I believe it was resolved by [8cebbb3b6c/macports-ports].

Last edited 3 years ago by chrstphrchvz (Christopher Chavez) (previous) (diff)

comment:7 Changed 2 years ago by neverpanic (Clemens Lang)

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